I have exactly the same error with CentOS 5.2. I have checked the links generated by cobbler when importing the centos dvd and there's no link to xen kernel, only standard one. Looking further I realized there's no xen profile generated by centos dvd import.
Is this normal or did I make a mistake ?
[root@sg07 ~]# !koan
koan --virt --server=192.168.56.102 --system=command01 --virt-name=command01
- reading URL: http://192.168.56.102/cblr/svc/op/ks/system/command01
install_tree: http://192.168.56.102:80/cblr/links/rhel53-x86_64
libvirtd (pid 6327) is running...
downloading initrd initrd.img to /var/lib/xen/initrd.img
url=http://192.168.56.102/cobbler/images/rhel53-x86_64/initrd.img
- reading URL: http://192.168.56.102/cobbler/images/rhel53-x86_64/initrd.img
downloading kernel vmlinuz to /var/lib/xen/vmlinuz
url=http://192.168.56.102/cobbler/images/rhel53-x86_64/vmlinuz
- reading URL: http://192.168.56.102/cobbler/images/rhel53-x86_64/vmlinuz
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByUUID
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\\n')")
libvirt.libvirtError
virDomainCreateLinux() failed POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\\n')")
File "/usr/lib/python2.4/site-packages/koan/app.py", line 191, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 408, in run
self.virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 683, in virt
return self.net_install(after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 602, in net_install
after_download(self, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 681, in after_download
self.virt_net_install(profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 1105, in virt_net_install
virt_type = self.virt_type
File "/usr/lib/python2.4/site-packages/koan/xencreate.py", line 174, in start_install
guest.start_install()
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 822, in start_install
return self._do_install(consolecb, meter, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 843, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 573, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler