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

Re: [Xen-users] Problems creating a VM after upgrading to Xen 3.2

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems creating a VM after upgrading to Xen 3.2
From: Ivan Gonzalez <smaug_valley@xxxxxxxxx>
Date: Thu, 13 Mar 2008 09:26:46 -0700 (PDT)
Delivery-date: Thu, 13 Mar 2008 09:27:23 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OuveZuIGd4k+mwiUQ36syv54sCbAVL/UCbVM/JqUGkRCgPpfV/pp7fdaGey3yOJw9HoLZmT6NRlBuyrFRy5Eyhj/22HhQLH2P8MZRv32HqEvxc9rIeIuJzP0D2Qp/O+MUM71XD3on84nK4HKLn2Y06G4X2DSrOIiT4w2+dYMp2A=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <598754.53047.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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 there.

I fix the problem, it was a bug in xen 3.2

http://www.redhat.com/archives/fedora-extras-commits/2008-February/msg00575.html

Thanks
Ivan

--- Ivan Gonzalez <smaug_valley@xxxxxxxxx> wrote:

> 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
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

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