WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] Error: (22, 'Invalid argument')

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: (22, 'Invalid argument')
From: "ashutosh mehra" <mehra.ashutosh@xxxxxxxxx>
Date: 2007年9月20日 03:54:26 +0530
Delivery-date: 2007年9月19日 15:25:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=JjoZMUoCMoUhjN+Ne06IVp02f+Uxu2ztIMqFP8lkPaU=; b=cJ+avcrOHKccps8cYd1x2sSdpJ2QHGel3q3l1N23LxrR4t7+4JHlLZwtXgZO0FXC6SgMjjQshrU5I+EO5ISnPLejK0RqocPo1OPKxHUPwQDnGCeOUcR1emGxr5XKlpWtbBy0AqsmmdNe+f6PkQa2Dhb29B7+4VAydiUcf201tdo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hiw2EWsi6X880gPqEXCIKbfvG7rKsJ30HQx6VOhYX0P5OtrOJrHdpHbe9jiqxRRQl6Hp96Fotrsuj2o8UU3QSbWmRDJjcKA10OGd0vfulnNhLWgViszZi7WExjPjPlhhhX/UDGiDAFnUPjGNzEmHk+tf9QXUkls8i/oH0BR12A8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I have set up an ubuntu edgy guest domain on a fiesty host domain. The installation was successful but on running xm create -c baseimage, I get the following error message:
Error: (22, 'Invalid argument')

The problem seems very similar to the one here: http://lists.xensource.com/archives/html/xen-users/2007-07/msg00361.html but I'm not able to figure out what the post means by "There was an old binary installation of the tools"

The log contents (xm log):
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'xen1.example.com '], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', ' 192.168.12.150']]]])
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', ' xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', ' 192.168.12.150']]]]
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': ' xen1.example.com', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', ' 192.168.12.150']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1262) XendDomainInfo.construct : None
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] ERROR (__init__:1021) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
[2007年09月20日 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None
[2007年09月20日 15:43:33 xend 29373] ERROR (__init__:1021) (22, 'Invalid argument')
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
response = self._dispatch(method, params)
File "SimpleXMLRPCServer.py", line 415, in _dispatch
return func(*params)
File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', ' xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', ' 192.168.12.150']]]])
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', ' xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', ' 192.168.12.150']]]]
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/xen- 3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': ' xen1.example.com', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', ' 192.168.12.150']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1262) XendDomainInfo.construct : None
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] ERROR (__init__:1021) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
[2007年09月20日 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None
[2007年09月20日 15:43:54 xend 29373] ERROR (__init__:1021) (22, 'Invalid argument')
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
response = self._dispatch(method, params)
File "SimpleXMLRPCServer.py", line 415, in _dispatch
return func(*params)
File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')

***************************************************************************************************************

Contents of baseimage (config file for guest domain):

# -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.18-xen"
ramdisk = "/boot/initrd.img-2.6.18-xen"
memory = 128
name = "baseimage"
vif = ['bridge=xenbr0']
disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base-swap.img,hda2,w']
ip = "192.168.0.101"
netmask = "255.255.255.0"
gateway = "192.168.0.1"
hostname = "baseimage"
root = "/dev/hda1 ro"
extra = "4"

**************************************************************************************************************

The IP address of the guest domain is not same as that of host domain. Host domain network config is:
IP address: 192.168.12.18
netmask: 255.255.0.0
gateway: 192.168.3.254

If anyone has any suggestions regarding this issue...plz share them with us.
Thanks



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] xm console access to Redhat 7.3 HVM , Simon Gao
Next by Date: [Xen-users] Xen disk IO performance , Dave Brown
Previous by Thread: [Xen-users] xm console access to Redhat 7.3 HVM , Simon Gao
Next by Thread: Re: [Xen-users] Error: (22, 'Invalid argument') , Bryan Brown
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /