[cobbler] Build Report throws 500 Error

Tom Brown tom at ng23.net
Mon Mar 11 23:13:40 UTC 2013


Hi

I have enabled build reporting but at the end of the ks when the post install trigger is run the following occurs in the apache log

[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5] mod_wsgi (pid=7347): Exception occurred processing WSGI script '/var/www/cobbler/svc/services.py'.
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5] Traceback (most recent call last):
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/var/www/cobbler/svc/services.py", line 83, in application
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     content = func( **form )
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib/python2.6/site-packages/cobbler/services.py", line 152, in trig
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     rc = self.remote.run_install_triggers(mode,"system",system,ip)
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     return self.__send(self.__name, args)
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     verbose=self.__verbose
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     return self._parse_response(h.getfile(), sock)
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     return u.close()
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]   File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5]     raise Fault(**self._stack[0])
[Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5] Fault: <Fault 1: "<type 'exceptions.NameError'>:global name 'config' is not defined">

I get a 500 Internal Server Error on the wget - 

This is on cobbler-2.2.3-2.el6.noarch

thanks


More information about the cobbler mailing list