Description of problem: If you use koan to create a guest, you get the following error: # koan --server=localhost --virt --virt-type=qemu --system=foo - looking for Cobbler at http://localhost:80/cobbler_api - reading URL: http://192.168.122.1/cblr/svc/op/ks/system/foo install_tree: http://192.168.122.1/cblr/links/rhel5-x86_64 libvirtd (pid 3581) is running... - using qemu hypervisor, type=kvm Wed, 23 May 2012 15:40:11 DEBUG No conn passed to Guest, opening URI 'qemu:///system' Wed, 23 May 2012 15:40:11 DEBUG DistroInstaller location is a network source. libvir: QEMU error : Domain not found: no domain with matching name 'foo' exceptions.AttributeError 'FullVirtGuest' object has no attribute 'set_autostart' File "/usr/lib/python2.4/site-packages/koan/app.py", line 245, in main k.run() File "/usr/lib/python2.4/site-packages/koan/app.py", line 385, in run self.virt() File "/usr/lib/python2.4/site-packages/koan/app.py", line 739, in virt return self.net_install(after_download) File "/usr/lib/python2.4/site-packages/koan/app.py", line 630, in net_install after_download(self, profile_data) File "/usr/lib/python2.4/site-packages/koan/app.py", line 737, in after_download self.virt_net_install(profile_data) File "/usr/lib/python2.4/site-packages/koan/app.py", line 1291, in virt_net_install qemu_net_type = self.qemu_net_type File "/usr/lib/python2.4/site-packages/koan/qcreate.py", line 161, in start_install guest.set_autostart(virt_auto_boot) # Version-Release number of selected component (if applicable): koan-2.2.2-1.el5 python-virtinst-0.400.3-13.el5 How reproducible: Every time. Steps to Reproduce: 1. Configure a cobbler server. 2. Run the command above to create a guest. Actual results: The exception above. Expected results: Virtual machine is created. Additional info:
This appears to be fixed in 2.2.3-2.el5.
koan is a sub-package of cobbler