On Thu, Nov 01, 2012 at 12:25:35PM -0400, Edson Manners wrote: > I found the following error while trying to figure out why my > > pxe_just_once: true > > statement in cobbler wasn't working properly. I haven't been able to > google anything that resembles the error. > but I get it once per kickstart and I seemed to have tracked it down > to this statement in my kickstart snippet. > > #if $pxe_just_once in [ "1", "true", "yes", "y" ] > #if $breed == 'redhat' > #set nopxe = "\nwget > \"http://%s/cblr/svc/op/nopxe/system/%s\" -O /dev/null" % (srv, > system_name) > > Any ideas anyone? > > Running spacewalk nightlies as of 11-01-2012 > CentOS 6.3 > postgres DB > cobbler 2.2.3-2 > > > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] mod_wsgi > (pid=15897): Exception occurred processing WSGI script > '/var/www/cobbler/svc/services.py'. > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] Traceback > (most recent call last): > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/var/www/cobbler/svc/services.py", line 83, in application > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] content > = func( **form ) > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib/python2.6/site-packages/cobbler/services.py", line 152, in > trig > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] rc = > self.remote.run_install_triggers(mode,"system",system,ip) > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] return > self.__send(self.__name, args) > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] > verbose=self.__verbose > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] return > self._parse_response(h.getfile(), sock) > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] return u.close() > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] File > "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] raise > Fault(**self._stack[0]) > [Mon Oct 29 12:33:38 2012] [error] [client 10.176.4.10] Fault: > <Fault 1: "<type 'exceptions.TypeError'>:warning() takes exactly 2 > arguments (3 given)">
I wonder if this error is related to Spacewalk in any way. In other words -- if you take fresh OS and cobbler with no Spacewalk and try to do the same operation just in cobbler -- does it work? -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
