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 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] domain crashes with xen 3.1 on creation - Error: (22, 'Inval

To: "Xen-Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] domain crashes with xen 3.1 on creation - Error: (22, 'Invalid argument')
From: "Philippe Trolliet" <p.trolliet@xxxxxxxxxxxxxxx>
Date: Fri, 25 May 2007 14:55:58 +0200
Delivery-date: Fri, 25 May 2007 05:54:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
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 recently installed xen 3.1. i´m using my config created for a domU with
xen 3.0.3. in xen 3.0.3 it worked. i copied the new kernel modules to the
appropriate directory on the domU.

here my config:
---------------------------------
name = "mailserver-FC6"
kernel = "/boot/vmlinuz-2.6.18-xen"
ramdisk = "/boot/xen-initrd-domU.img"
memory = 512
disk = ['phy:/dev/VolGroup00/MailserverRoot,sda1,w',
'phy:/dev/VolGroup00/MailserverVar,sda2,w',
'phy:/dev/VolGroup00/MailserverSwap,sda3,w']
root = "/dev/sda1"
extra = "ro selinux=0 3"
# vcpus = 1
# vif = [ 'mac=00:16:3e:1a:c5:ad, bridge=xenbr0' ]
# nographic=1
---------------------------------

when i want to create the domU i get following error on the console:

Error: (22, 'Invalid argument')


here the log:

[2007-05-25 14:49:08 xend.XendDomainInfo 3624] DEBUG (XendDomainInfo:190)
XendDomainInfo.create(['vm', ['name', 'mailserver-FC6'], ['memory', 512],
['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-xen'],
['ramdisk', '/boot/xen-initrd-domU.img'], ['root', '/dev/sda1'], ['args',
'ro selinux=0 3']]], ['device', ['vbd', ['uname',
'phy:/dev/VolGroup00/MailserverRoot'], ['dev', 'sda1'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:/dev/VolGroup00/MailserverVar'], ['dev',
'sda2'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/VolGroup00/MailserverSwap'], ['dev', 'sda3'], ['mode', 'w']]]])
[2007-05-25 14:49:08 xend.XendDomainInfo 3624] DEBUG (XendDomainInfo:296)
parseConfig: config is ['vm', ['name', 'mailserver-FC6'], ['memory', 512],
['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-xen'],
['ramdisk', '/boot/xen-initrd-domU.img'], ['root', '/dev/sda1'], ['args',
'ro selinux=0 3']]], ['device', ['vbd', ['uname',
'phy:/dev/VolGroup00/MailserverRoot'], ['dev', 'sda1'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:/dev/VolGroup00/MailserverVar'], ['dev',
'sda2'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/VolGroup00/MailserverSwap'], ['dev', 'sda3'], ['mode', 'w']]]]
[2007-05-25 14:49:08 xend.XendDomainInfo 3624] DEBUG (XendDomainInfo:397)
parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid':
None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image':
['linux', ['kernel', '/boot/vmlinuz-2.6.18-xen'], ['ramdisk',
'/boot/xen-initrd-domU.img'], ['root', '/dev/sda1'], ['args', 'ro selinux=0
3']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name':
'mailserver-FC6', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features':
None, 'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd',
['uname', 'phy:/dev/VolGroup00/MailserverRoot'], ['dev', 'sda1'], ['mode',
'w']]), ('vbd', ['vbd', ['uname', 'phy:/dev/VolGroup00/MailserverVar'],
['dev', 'sda2'], ['mode', 'w']]), ('vbd', ['vbd', ['uname',
'phy:/dev/VolGroup00/MailserverSwap'], ['dev', 'sda3'], ['mode', 'w']])],
'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-05-25 14:49:08 xend.XendDomainInfo 3624] DEBUG (XendDomainInfo:1264)
XendDomainInfo.construct: None
[2007-05-25 14:49:08 xend.XendDomainInfo 3624] ERROR (XendDomainInfo:202)
Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
194, in create
    vm.construct()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1268, in construct
    handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
[2007-05-25 14:49:08 xend.XendDomainInfo 3624] DEBUG (XendDomainInfo:1463)
XendDomainInfo.destroy: domid=None
[2007-05-25 14:49:08 xend 3624] ERROR (xmlrpclib2:184) (22, 'Invalid
argument')
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162,
in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py",
line 64, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 228,
in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
194, in create
    vm.construct()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1268, in construct
    handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')


are there errors in the python library or what´s the problem here?
thanks

regards
philippe


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users