In case any one is interested I found part of the problem. EPEL currently has Cobbler 2.4 and koan 2.4 I downgraded koan to 2.2 on a visualization host and now it I can create VM's I still get one the first traceback.
- looking for Cobbler at http://spacewalk.host.name:443/cobbler_api Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/koan/utils.py", line 542, in __try_connect xmlrpc_server.ping() File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request return self._parse_response(h.getfile(), sock) File "/usr/lib64/python2.6/xmlrpclib.py", line 1387, in _parse_response p.feed(response) File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed self._parser.Parse(data, 0) ExpatError: syntax error: line 1, column 49 It looks like we have the makings of a bug ticket here. Also I think we need to re-examine the dependance on EPEL as much as I agree with using stock packages this is not the first time a cobbler update has cause spacewalk a problem. I still haven't tracked down the Expat error however I have confirmed that downgrading cobbler to 2.2 doesn't help, and the bug is still present in the nightly build. On Thu, Dec 26, 2013 at 10:14 AM, Paul Robert Marino <[email protected]> wrote: > I know I haven't gotten any useful comments back on any of my previous > posts about this but I figured I would try one more time before > putting in a bug ticket to see if any one has any Ideas on this, > > Ive been trying to debug koan issues I've had with spacewalk 1.8-2.0 > on Scientific Linux 6.4. > > here is the koan versions on the client > " > spacewalk-koan-2.0.1-1.el6.noarch > koan-2.4.0-1.el6.noarch > " > > here ids the cobbler version on the spacewalk server > " > cobbler-2.4.0-1.el6.noarch > cobbler-epel-2.0.11-20.el6.noarch > " > > here are some errors Im consistantly seeing in my cobbler logs when > ever I try a kickstart of ha host or VM note the host names and UID's > have been modified so no information is accidentally leaked > > > " > Tue Dec 24 14:46:03 2013 - INFO | REMOTE get_system_as_rendered; > user(?); name(my.test.host:1:testvm) > Tue Dec 24 14:46:04 2013 - INFO | REMOTE generate_kickstart; user(?) > Tue Dec 24 14:46:04 2013 - INFO | generate_kickstart > Tue Dec 24 14:46:04 2013 - WARNING | errors were encountered rendering > the template > Tue Dec 24 14:46:04 2013 - WARNING | > [{'code': u'VFFSL(SL,"K6Kpzjn5",True)', > 'exc_val': NotFound("cannot find 'K6Kpzjn5'",), > 'lineCol': (19, 22), > 'rawCode': u'$K6Kpzjn5', > 'time': 'Tue Dec 24 14:46:04 2013'}, > {'code': u'VFFSL(SL,"D7VOYk",True)', > 'exc_val': NotFound("cannot find 'D7VOYk'",), > 'lineCol': (19, 31), > 'rawCode': u'$D7VOYk', > 'time': 'Tue Dec 24 14:46:04 2013'}, > {'code': u'VFFSL(SL,"kickstart_start",True)', > 'exc_val': NotFound("cannot find 'kickstart_start'",), > 'lineCol': (90, 1), > 'rawCode': u'$kickstart_start', > 'time': 'Tue Dec 24 14:46:04 2013'}, > {'code': u'VFFSL(SL,"kickstart_done",True)', > 'exc_val': NotFound("cannot find 'kickstart_done'",), > 'lineCol': (455, 1), > 'rawCode': u'$kickstart_done', > 'time': 'Tue Dec 24 14:46:04 2013'}] > Tue Dec 24 14:46:10 2013 - INFO | REMOTE find_items(system); > criteria({'uid': 'somestringhere'}); sort(None); user(?) > Tue Dec 24 14:46:10 2013 - INFO | find_items; ['system'] > " > > here is a sample of what I'm seeing from rhn_check when I try to > create a VM which fails. > > " > [root@localhost ~]# rhn_check > - looking for Cobbler at http://Spacewalk.host.name:443/cobbler_api > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/koan/utils.py", line 549, in > __try_connect > xmlrpc_server.ping() > File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ > return self.__send(self.__name, args) > File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request > verbose=self.__verbose > File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request > return self._parse_response(h.getfile(), sock) > File "/usr/lib64/python2.6/xmlrpclib.py", line 1387, in _parse_response > p.feed(response) > File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed > self._parser.Parse(data, 0) > ExpatError: syntax error: line 1, column 49 > - looking for Cobbler at https://Spacewalk.host.name:443/cobbler_api > - reading URL: > http://Spacewalk.host.name/cblr/svc/op/ks/system/my.test.host:1:testvm > install_tree: http://Spacewalk.host.name/ty/QxXBuNm5 > libvirtd (pid 6841) is running... > - ['qemu-img', 'create', '-f', 'raw', '/var/lib/libvirt/images/testvm', '6G'] > Formatting '/var/lib/libvirt/images/test1vm', fmt=raw size=6442450944 > - adding disk: /var/lib/libvirt/images/test1vm of size 6 (driver type=raw) > <type 'exceptions.TypeError'> > int() argument must be a string or a number, not 'NoneType' > File "/usr/share/rhn/spacewalkkoan/spacewalkkoan.py", line 243, in > initiate_guest > k.run() > File "/usr/lib/python2.6/site-packages/koan/app.py", line 424, in run > self.virt() > File "/usr/lib/python2.6/site-packages/koan/app.py", line 800, in virt > return self.net_install(after_download) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 669, in > net_install > after_download(self, profile_data) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 798, in > after_download > self.virt_net_install(profile_data) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 1427, in > virt_net_install > osimport = self.virtinstall_osimport, > File "/usr/lib/python2.6/site-packages/koan/qcreate.py", line 31, > in start_install > cmd = virtinstall.build_commandline("qemu:///system", *args, **kwargs) > File "/usr/lib/python2.6/site-packages/koan/virtinstall.py", line > 382, in build_commandline > cmd += "--wait %d " % int(wait) > " > > when I try to kickstart a host with no options changed here is what > happens when I run rhn_check this works but not perfectly as you can > see from the traceback > > " > [root@localhost ~]# rhn_check > Preserve files! : [] > - looking for Cobbler at http://Spacewalk.host.name:443/cobbler_api > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/koan/utils.py", line 549, in > __try_connect > xmlrpc_server.ping() > File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ > return self.__send(self.__name, args) > File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request > verbose=self.__verbose > File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request > return self._parse_response(h.getfile(), sock) > File "/usr/lib64/python2.6/xmlrpclib.py", line 1387, in _parse_response > p.feed(response) > File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed > self._parser.Parse(data, 0) > ExpatError: syntax error: line 1, column 49 > - looking for Cobbler at https://Spacewalk.host.name:443/cobbler_api > - reading URL: http://Spacewalk.host.name/cblr/svc/op/ks/system/my.test.host:1 > install_tree: http://Spacewalk.host.name/ty/tXZ5SDzz > downloading initrd initrd.img to /boot/initrd.img_koan > url=http://Spacewalk.host.name/cobbler/images/Scientific-Linux-64-x86_64:1:Testing/initrd.img > - reading URL: > http://Spacewalk.host.name/cobbler/images/Scientific-Linux-64-x86_64:1:Testing/initrd.img > downloading kernel vmlinuz to /boot/vmlinuz_koan > url=http://Spacewalk.host.name/cobbler/images/Scientific-Linux-64-x86_64:1:Testing/vmlinuz > - reading URL: > http://Spacewalk.host.name/cobbler/images/Scientific-Linux-64-x86_64:1:Testing/vmlinuz > - reading URL: http://Spacewalk.host.name/cblr/svc/op/ks/system/my.test.host:1 > <type 'exceptions.TypeError'> > not enough arguments for format string > File "/usr/share/rhn/spacewalkkoan/spacewalkkoan.py", line 167, in initiate > k.run() > File "/usr/lib/python2.6/site-packages/koan/app.py", line 429, in run > self.replace() > File "/usr/lib/python2.6/site-packages/koan/app.py", line 1168, in replace > return self.net_install(after_download) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 669, in > net_install > after_download(self, profile_data) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 1041, in > after_download > profile_data > File "/usr/lib/python2.6/site-packages/koan/app.py", line 1213, in > build_initrd > fd.write(self.get_insert_script(initrd)) > File "/usr/lib/python2.6/site-packages/koan/app.py", line 1195, in > get_insert_script > """ % initrd > > > " _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
