Just a follow up to this, in case anyone else is having similar problems.
snv_134 exhibits similar behaviour (ie. the ftp install method seems broken)
works fine with a nfs mount on the dom0.
Trev
Hi,
I''ve been using xVM with no problems since 2009.06 release
(centos4/5, rhel4/5, sol10 as guests). This was using the 111a version. Just
installed a new server with the 111b version
and ....
virt-install --nographics -p -r 8192 -n CentOS_48_64_92 -f
/dev/zvol/dsk/zm0/vm/CentOS_48_64_92 -l ftp://192.168.101.120/pub/CentOS-48 -w
bridge=aggr0 --os-type=linux --os-variant=rhel4
Starting install...
Retrieving file vmlinuz.. 100% |=========================| 0 B 00:00
Retrieving file initrd.im 100% |=========================| 0 B 00:00
virDomainCreateLinux() failed POST operation failed: (xend.err "Error
creating domain: (22, ''Invalid argument'')")
Domain installation may not have been
successful. If it was, you can restart
your domain
by running ''virsh start CentOS_48_64_92''; otherwise, please
restart your installation.
Mon, 07 Jun 2010 23:15:57 ERROR virDomainCreateLinux() failed POST operation
failed: (xend.err "Error creating domain: (22, ''Invalid
argument'')")
Traceback (most recent call last):
File "/usr/bin/virt-install", line 511, in ?
main()
File "/usr/bin/virt-install", line 471, in main
dom = guest.start_install(conscb,progresscb)
File
"/export/builds/xvm_111a///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 923, in start_install
File
"/export/builds/xvm_111a///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 944, in _do_install
File "libvirt.py", line 585, 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'')")
xend.log seem to give no further clues
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:85)
XendDomainInfo.create([''vm'', [''name'',
''CentOS_48_64_92''], [''memory'',
''8192''], [''maxmem'',
''8192''], [''vcpus'', ''1''],
[''uuid'',
''cc0ef9fb-95e4-fff8-4ce6-2a0d0473a3e7''],
[''on_poweroff'', ''destroy''],
[''on_reboot'', ''destroy''],
[''on_crash'', ''destroy''],
[''distro'', ''centos''],
[''image'', [''linux'',
[''kernel'',
''/var/tmp/virtinst-vmlinuz.l0PCWc''],
[''ramdisk'',
''/var/tmp/virtinst-initrd.img.YPkxEy''],
[''args'', ''
method=ftp://192.168.101.120/pub/CentOS-48'']]],
[''device'', [''vbd'', [''dev'',
''xvda''], [''uname'',
''phy:/dev/zvol/dsk/zm0/vm/CentOS_48_64_92''],
[''mode'', ''w'']]],
[''device'', [''vif'', [''mac'',
''00:16:3e:2f:e0:b3''], [''bridge'',
''aggr0'']]]])
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1643)
XendDomainInfo.constructDomain
[2010-06-07 23:15:57 365] DEBUG (balloon:116) Balloon: 8395016 KiB free; need
2048; done.
[2010-06-07 23:15:57 365] DEBUG (XendDomain:435) Adding Domain: 7
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1710) XendDomainInfo.initDomain:
7 256
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1752)
_initDomain:shadow_memory=0x0, memory_static_max=0x200000000,
memory_static_min=0x0.
[2010-06-07 23:15:57 365] DEBUG (balloon:116) Balloon: 8395008 KiB free; need
8388608; done.
[2010-06-07 23:15:57 365] INFO (image:129) buildDomain os=linux dom=7 vcpus=1
[2010-06-07 23:15:57 365] DEBUG (image:204) domid = 7
[2010-06-07 23:15:57 365] DEBUG (image:205) memsize = 8192
[2010-06-07 23:15:57 365] DEBUG (image:206) image
/var/tmp/virtinst-vmlinuz.l0PCWc
[2010-06-07 23:15:57 365] DEBUG (image:207) store_evtchn = 1
[2010-06-07 23:15:57 365] DEBUG (image:208) console_evtchn = 2
[2010-06-07 23:15:57 365] DEBUG (image:209) cmdline =
method=ftp://192.168.101.120/pub/CentOS-48
[2010-06-07 23:15:57 365] DEBUG (image:210) ramdisk =
/var/tmp/virtinst-initrd.img.YPkxEy
[2010-06-07 23:15:57 365] DEBUG (image:211) vcpus = 1
[2010-06-07 23:15:57 365] DEBUG (image:212) features [2010-06-07 23:15:57
365] ERROR (XendDomainInfo:1794) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1769, in _initDomain
File
"/usr/lib/python2.4/site-packages/xen/xend/image.py", line 112, in
createImage
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 131,
in createDomain
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 538,
in buildDomain
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 221,
in buildDomain
Error: (22, ''Invalid argument'')
[2010-06-07 23:15:57 365] ERROR (XendDomainInfo:441) VM start failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 421, in start
File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line
209, in log_progress
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1797, in _initDomain
VmError: (22, ''Invalid argument'')
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1943) XendDomainInfo.destroy:
domid=7
[2010-06-07 23:15:57 365] DEBUG
(XendDomainInfo:1962) XendDomainInfo.destroyDomain(7)
[2010-06-07 23:15:57 365] ERROR (XendDomainInfo:90) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 88, in create
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 421, in start
File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line
209, in log_progress
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1797, in _initDomain
VmError: (22, ''Invalid argument'')
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1943) XendDomainInfo.destroy:
domid=None
[2010-06-07 23:15:57 365] DEBUG (XendDomainInfo:1962)
XendDomainInfo.destroyDomain(None)
[2010-06-07 23:15:57 365] ERROR (SrvBase:88) Request create failed.
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in
perform
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
XendError: Error creating domain: (22, ''Invalid argument'')
Sorry to post but I''ve no idea how to fix (other than going back to
111a ?), googling I found similar errors relating to 32bit problems and seem to
recall vaguely that 111b has
some 32bit hooks to get the dev image-update working.
Any ideas ?
Thanks in advance
Trev