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] Problems creating a VM after upgrading to Xen 3.2

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems creating a VM after upgrading to Xen 3.2
From: Ivan Gonzalez <smaug_valley@xxxxxxxxx>
Date: Wed, 12 Mar 2008 11:29:14 -0700 (PDT)
Delivery-date: Thu, 13 Mar 2008 06:16:30 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=P9gvrOaYTzrS9daxC0VWAHIZmVZ3eLJrVrn6Ov/o2ygRHtRdXExcsKefApRHZe9vqoFEqboAwgpu56sm2SzOnooCw8RvFoh0eA9jv0DnNa2YoiT8hQmHOzCqvKn2zVoxXDcwpOKhQaHJRx5TA8pQziKyKm+KUxhdlaPVYU9jDJo=;
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
Hello Everyone.

I have this problem, i upgrade xen 3.0 to xen 3.2,
this are the steps i did:

* download the xen and xen-libs 3.2 rpm's
* rpm -Uvh xen and xen-libs 3.2
* modify the grub.conf like this:

title CentOS (xen-3.2)
        root (hd0,0)
        kernel /boot/xen.gz-3.2 ro root=LABEL=/
        module /boot/vmlinuz-2.6.18-53.1.14.el5xen ro
root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-53.1.14.el5xen.img

Once i reboot the machine, everything seems ok, i
tried to create a VM with virt-manager but send me an
error.


This is what shows me in /var/log/xen/xend.log

[2008-03-12 12:14:43 24635] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', 'prueba06'],
['memory', '500'], ['maxmem', '500'], ['vcpus', '1'],
['uuid', '6050b81f-530d-771b-8d26-2e47a25680fd'],
['on_poweroff', 'destroy'], ['on_reboot', 'destroy'],
['on_crash', 'destroy'], ['image', ['hvm', ['kernel',
'/usr/lib/xen/boot/hvmloader'], ['device_model',
'/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot',
'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'],
['serial', 'pty']]], ['device', ['vbd', ['dev',
'hda:disk'], ['uname', 'phy:/dev/sda2'], ['mode',
'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'],
['uname', 'file:/home/ivan.gonzalez/IFE.iso'],
['mode', 'r']]], ['device', ['vif', ['mac',
'00:16:3e:54:ce:18'], ['bridge', 'virbr0']]],
['device', ['vkbd']], ['device', ['vfb', ['type',
'vnc'], ['vncunused', '1'], ['keymap', 'es']]]])
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1608) XendDomainInfo.constructDomain
[2008-03-12 12:14:43 24635] DEBUG (balloon:132)
Balloon: 63640 KiB free; need 2048; done.
[2008-03-12 12:14:43 24635] ERROR (XendDomainInfo:440)
VM start failed
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 419, in start
    XendTask.log_progress(0, 30,
self._constructDomain)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendTask.py",
line 209, in log_progress
    retval = func(*args, **kwds)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1655, in _constructDomain
    long(self.info["platform"].get("timer_mode")))
TypeError: long() argument must be a string or a
number
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1883) XendDomainInfo.destroy: domid=3
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1900) XendDomainInfo.destroyDomain(3)
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1524) No device model
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1526) Releasing devices
[2008-03-12 12:14:43 24635] ERROR (XendDomainInfo:89)
Domain construction failed
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 87, in create
    vm.start()
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 419, in start
    XendTask.log_progress(0, 30,
self._constructDomain)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendTask.py",
line 209, in log_progress
    retval = func(*args, **kwds)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1655, in _constructDomain
    long(self.info["platform"].get("timer_mode")))
TypeError: long() argument must be a string or a
number
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1883) XendDomainInfo.destroy:
domid=None
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1900)
XendDomainInfo.destroyDomain(None)
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1524) No device model
[2008-03-12 12:14:43 24635] DEBUG
(XendDomainInfo:1526) Releasing devices
[2008-03-12 12:14:43 24635] 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
    return op_method(op, req)
  File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
    raise XendError("Error creating domain: " +
str(ex))
XendError: Error creating domain: long() argument must
be a string or a number


And this is the /var/log/xen/xend-debug.log


XendInvalidDomain: <Fault 3: 'prueba06'>
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 77, in op_create
    dominfo = self.xd.domain_create(config)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 959, in domain_create
    dominfo = XendDomainInfo.create(config)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 87, in create
    vm.start()
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 419, in start
    XendTask.log_progress(0, 30,
self._constructDomain)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendTask.py",
line 209, in log_progress
    retval = func(*args, **kwds)
  File
"/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1655, in _constructDomain
    long(self.info["platform"].get("timer_mode")))
TypeError: long() argument must be a string or a
number


Does anyone have some suggestions?

I hope someone can help me.
Thanks 
Ivan


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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

<Prev in Thread] Current Thread [Next in Thread>