Description of problem: EPEL did it to us again there was an update to cobbler from 2.2 to 2.4 from the server side it doesn't seam to be a big problem so far, but the syntax for koan seems to have changed. this specifically causes a problem with visualization and visualization platform Version-Release number of selected component (if applicable): any version of spacewalk >= 1.8 with koan 2.4.x How reproducible: install the Virtualization or Virtualization Platform package group on a spacewalk managed host. stop osad on the virtualization host so you can manually trigger rhn_check latter to view the output entitle the box for Virtualization or Virtualization Platform in spacewalk go to Virtualization -> Provisioning for the host. attempt to create a VM from the command line on the virtualization host run rhn_check Actual results: the build will fail and rhn_check will give you output like this " - 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 " Expected results: Virtual machine to be created Additional info:
This is a bug in cobbler / koan, not in Spacewalk. It was caused by the following cobbler.git commit: 21b3c1a3eb77269ddb354313795a9edc05693e4f Since, the commit added another %s into the return string of get_insert_script() routine, another initrd needs to be added at the end for proper expansion.
Filed upstream, working on an update
cobbler-2.4.3-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/cobbler-2.4.3-1.el6
cobbler-2.4.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.fc20
cobbler-2.4.4-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.fc19
cobbler-2.4.4-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.el6
cobbler-2.4.4-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.el5
Package cobbler-2.4.4-1.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing cobbler-2.4.4-1.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1211/cobbler-2.4.4-1.el5 then log in and leave karma (feedback).
cobbler-2.4.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
cobbler-2.4.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
cobbler-2.4.4-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
cobbler-2.4.4-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.