RE: [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks good thanks again.

However now back to my original issue....

I am having a problem with kickstart templates that are using snippets. If I have snippets in my ks template cobbler will not render the ks and hence the install fails.

Here is the error from the web interface:
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()

  File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])

Fault:


And here is the error from the HTTP server when anaconda trys to pull down the ks template from the server

<pre>
Mod_python error: "PythonHandler services"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/svc/services.py", line 82, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/services.py", line 70, in ks
    data = self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 1281, in _parse_response
    p.feed(response)

  File "/usr/lib64/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)

ExpatError: not well-formed (invalid token): line 219, column 5

</pre>

Let me know more info. I would be happy to show my snippets and ks templates. I have some cool stuff...

At least I think so :-)

PS. This all work find in 8.3 not so in 1.x

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@xxxxxxxxxxxxx
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@xxxxxxxxxx [mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Joseph Boyer Jr.
Sent: Tuesday, June 03, 2008 5:31 PM
To: Fedora/Linux Management Tools
Subject: RE:  [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

GREAT!

Thanks!

I will build and test it now.

Cheers,
joe

Joseph Boyer Jr
Enterprise Technology Services
Liquidnet Holdings, Inc.
Joseph.Boyer@xxxxxxxxxxxxx
T   +1 646.660.8352
C   +1 646.284.8394


-----Original Message-----
From: et-mgmt-tools-bounces@xxxxxxxxxx [mailto:et-mgmt-tools-bounces@xxxxxxxxxx] On Behalf Of Michael DeHaan
Sent: Tuesday, June 03, 2008 5:29 PM
To: Fedora/Linux Management Tools
Subject: Re:  [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan wrote:
> Joseph Boyer Jr. wrote:
>> FYI:
>>
>> Just built cobbler 1.0.1 on RHEL 5.1 with all the latest updates and
>> cobbler 1.0.1 errors on install FYI: cobbler 1.0.0-2 built and
>> works.....
>>
>>
>
> Something that is apparently legal in Python 2.5.  Yikes.
>
> I'll rebuild it ASAP.
>
> --Michael

Here's a fix for the duplicate argument problem:

http://cobbler.et.redhat.com/download/cobbler-1.0.1-2.src.rpm

Unit tests and basic commands work for me, let me know if you find
anything else.

--Michael


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux