Anton wrote:
# koan -x -p vm_CentOS-4.4-x86_64_images_pxeboot -s 10.147.105.6
<http://10.147.105.6>
- processing profile: vm_CentOS-4.4-x86_64_images_pxeboot
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: (22, 'Invalid argument')")
Failed to create domain vm_CentOS-4.4-x86_64_images_pxeboot
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koan/app.py", line 96, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 154, in run
self.do_virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 295, in
do_virt
return self.do_net_install("/tmp",after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in
do_net_install
after_download(self, distro_data, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 294, in
after_download
self.do_virt_net_install(profile_data, distro_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 574, in
do_virt_net_install
extra=kextra
File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line
196, in start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 249, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirtError: virDomainCreateLinux() failed
I have no idea of the State of Xen on Centos, though the most common
reason for this failure in Fedora/RHEL5 is that a non-Xen kernel and
initrd pair were used for installation. Judging from the profile you
used, this looks to be what happened. Usually xen images come from a
directory labelled "xen" not "pxeboot".
If you follow the same steps with the same images using
xenguest-install, I expect you would see the same error.
--Michael