[et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)

Michael DeHaan mdehaan at redhat.com
Wed Jun 4 13:45:12 UTC 2008


Joseph Boyer Jr. wrote:
> OH forgot to mention I suspect the issue to be that /var/lib/cobbler/snippets is not accessible by the http server. If I move the snippets directory some where accessible by apache than the ks template will be render but the none of the snippets are ran????
>   

That's not the problem as cobblerd reads that directory, not Apache.    
Removing it will obviously keep it from being found.

What you likely have is a Cheetah syntax error, which I'm not sure why 
you didn't have before, but that's likely it.   You should
be able to find more information in /var/log/cobbler/cobbler.log.    
Paste the last few tracebacks and we'll see what's up.

--Michael


>
>
> -----Original Message-----
> From: et-mgmt-tools-bounces at redhat.com [mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Joseph Boyer Jr.
> Sent: Tuesday, June 03, 2008 6:24 PM
> To: Fedora/Linux Management Tools
> Subject: RE: [et-mgmt-tools] [ANNOUNCE] Cobbler 1.0.1 (minor fixes)
>
> 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...
>   




More information about the et-mgmt-tools mailing list