Hi,
Whatever I do, I get always this error:
libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err "Error creating domain: (22, 'Invalid argument')")
[root@matisse ~]# rpm -q cobbler
cobbler-0.4.3-0.fc6
[root@matisse ~]# rpm -q koan
koan-0.2.6-1.fc6
[root@matisse ~]# /etc/init.d/xend status
xend is running
[root@matisse ~]# xm list
Name ID Mem(MiB) VCPUs State
Time(s)
Domain-0 0 1500 2 r-----
439.3
[root@matisse ~]# cobbler report
distro : centos4.4_server
kernel : /home/Centos/images/pxeboot/vmlinuz
initrd : /home/Centos/images/pxeboot/initrd.img
kernel options : {}
architecture : x86
ks metadata : {}
breed : redhat
profile : webserver
distro : centos4.4_server
kickstart : /etc/cobbler/default.ks
kernel options : {}
ks metadata : {}
virt name : virtguest
virt file size : 5
virt ram : 512
virt paravirt : True
repos :
[root@matisse ~]# koan --virt --profile=webserver --server=localhost
- processing profile: webserver
- fetching configuration for profile: webserver
- url=http://localhost/cobbler/profiles/webserver
- {'kickstart':
'http://127.0.0.1/cobbler_track/kickstarts/webserver/ks.cfg', 'name':
'webserver', 'virt_ram': 512, 'repos': '', 'kernel_options':
'ksdevice=eth0 text syslog=127.0.0.1:25150 lang== devfs=nomount
ramdisk_size=16438 append ', 'virt_name': 'virtguest', 'virt_file_size':
5, 'distro': 'centos4.4_server', 'virt_paravirt': 'True', 'ks_meta': ''}
- fetching configuration for distro: centos4.4_server
- url=http://localhost/cobbler/distros/centos4.4_server
- {'kernel': '/home/Centos/images/pxeboot/vmlinuz', 'ks_meta': '',
'breed': 'redhat', 'kernel_options': 'ksdevice=eth0 text
syslog=127.0.0.1:25150 lang== devfs=nomount ramdisk_size=16438 append
', 'initrd': '/home/Centos/images/pxeboot/initrd.img', 'arch': 'x86',
'name': 'centos4.4_server'}
- downloading initrd initrd.img to /tmp/initrd.img
- url=http://localhost/cobbler/images/centos4.4_server/initrd.img
- downloading kernel vmlinuz to /tmp/vmlinuz
- url=http://localhost/cobbler/images/centos4.4_server/vmlinuz
- kernel saved = /tmp/vmlinuz
- initrd saved = /tmp/initrd.img
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: (22, 'Invalid argument')")
Failed to create domain virtguest
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 155, in run
self.do_virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 300, in
do_virt
return self.do_net_install("/tmp",after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 256, in
do_net_install
after_download(self, distro_data, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 299, in
after_download
self.do_virt_net_install(profile_data, distro_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 599, in
do_virt_net_install
extra=kextra
File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 201,
in start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 329, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err "Error creating domain: (22, 'Invalid argument')")