Demetri Mouratis wrote:
> Hi,
>
> I'm running cobbler 1.02-1 on CentOS 4.
>
> [EMAIL PROTECTED] ~]# rpm -q cobbler
> cobbler-1.0.2-1.el4
>
> When I hit the url for my default kickstart, I get a python error.
> This is causing all my kickstarts to fail.
>
> I tried removing and re-adding the profile and system but no luck.
>
> Thanks.
>
> http://lncbuild.lnc.rnmd.net/cblr/svc/op/ks/system/default
>
> Mod_python error: "PythonHandler services"
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python2.3/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.3/site-packages/cobbler/services.py", line 70, in ks
>     data = 
> self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
>
>   File "/usr/lib/python2.3/xmlrpclib.py", line 1029, in __call__
>     return self.__send(self.__name, args)
>
>   File "/usr/lib/python2.3/xmlrpclib.py", line 1316, in __request
>     verbose=self.__verbose
>
>   File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in request
>     return self._parse_response(h.getfile(), sock)
>
>   File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in _parse_response
>     return u.close()
>
>   File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close
>     raise Fault(**self._stack[0])
>
> Fault:
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

This is most likely caused by a Cheetah error in your kickstart 
template, please check /var/log/cobbler/cobbler.log for further details.

(The error reporting on 1.2.0 is substantially better, where as in 1.0.X 
I believe another error sometimes masks reporting of the template 
problem in the log)

--Michael


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to