On Mon, Mar 11, 2013 at 6:13 PM, Tom Brown <[email protected]> wrote: > 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 >
I believe this was fixed by this patch: commit 596579e8edf31029bd95c3c1e040550b0a7e0883 Author: James Cammarata <[email protected]> Date: Thu Jul 12 23:10:33 2012 -0500 Fix post_report trigger typo Diff here: https://github.com/cobbler/cobbler/commit/596579e8edf31029bd95c3c1e040550b0a7e0883 If you want to try and apply that patch to your file (remove the .pyo/.pyc afterward and restart cobblerd).
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
