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] Error restoring a domU

To: A N <cse.syslab@xxxxxxxxx>
Subject: Re: [Xen-users] Error restoring a domU
From: Michael Mey <michael.mey@xxxxxx>
Date: Tue, 14 Feb 2006 12:14:21 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Feb 2006 11:26:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <896ae46a0602132116p12dd9004j4efa03c704546584@xxxxxxxxxxxxxx>
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>
Organization: Thinking Objects Software GmbH
References: <200602131720.58307.michael.mey@xxxxxx> <896ae46a0602132116p12dd9004j4efa03c704546584@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
They were created and started with the same version of Xen on the same host, 
just a few minutes before saving them.
I wanted to try out the features of Xen and there it happened. The error is 
reproducable.

Here is my config file:
------------------------------------------------------------
# Automatically generated xen config file
name = "tom1"
memory = "256"

disk = ['file:/data/vdisks/tom1-rhel4.img,hda1,w']

kernel = "/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1"

root = "/dev/hda1"

extra = "ro selinux=0 3"

vif = [ 'ip=10.0.10.1' ]
-------------------------------------------------------------

Regards,

Michael


On Tuesday 14 February 2006 06:16, A N wrote:
> What version of Xen were your saved images built with.
> I think you need to maintain version compatibility . Am not sure about this
> but I had a similar problem
> when trying to migrate VMs from 1 VMM to another which had slightly
> different builds.
>
> Also, can you post your vm config file ?
>
> regds
> ARN
>
> On 2/13/06, Michael Mey <michael.mey@xxxxxx> wrote:
> > Hi all,
> >
> > I just installed Xen 3.0.1 on RHEL 4.1.
> > Bringing up dom0 and a domU worked fine.
> >
> > But when I want to restore a previously saved domU, it doesn't come up
> > any more. Reading the logfiles, it seems that xen had problems
> > initializing the
> > domU's virtual nic.
> >
> > Does anyone have a clue what could be the reason for this?
> >
> > Regards,
> > Michael
> >
> > relevant output of xend.log:
> > -------------------------------
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:252)
> > XendDomainInfo.restore(['domain', ['domid', '1 4'], ['uuid',
> > '708ec234-dfe0-0415-e687-a034154a3916'], ['ssidref', '0'], ['vcpus',
> > '1'], ['vcpu_avail', '1'], ['cpu _weight', '1.0'], ['memory', '256'],
> > ['maxmem', '256'], ['name', 'tom1'], ['on_poweroff', 'destroy'],
> > ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
> > ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], [ 'root',
> > '/dev/sda1'], ['args',
> > 'ro selinux=0 3']]], ['device', ['vif', ['backend', '0'], ['script',
> > 'vif-nat'], ['i p', ['10.0.10.1']], ['mac', '00:16:3e:0c:94:cb']]],
> > ['device', ['vbd', ['backend', '0'], ['dev', 'sda1'], ['uname',
> > 'file:/data/vdisks/tom1-rhel4.img'], ['mode', 'w']]], ['state',
> > '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_ time',
> > '91.403557189'],
> > ['online_vcpus', '1'], ['up_time', '8822.35599899'], ['start_time',
> > '1139837394.24'], ['sto re_mfn', '347994'], ['console_mfn', '347993']])
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:282)
> > parseConfig: config is ['domain', ['domid', '1 4'], ['uuid',
> > '708ec234-dfe0-0415-e687-a034154a3916'], ['ssidref', '0'], ['vcpus',
> > '1'], ['vcpu_avail', '1'], ['cpu _weight', '1.0'], ['memory', '256'],
> > ['maxmem', '256'], ['name', 'tom1'], ['on_poweroff', 'destroy'],
> > ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
> > ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], [ 'root',
> > '/dev/sda1'], ['args',
> > 'ro selinux=0 3']]], ['device', ['vif', ['backend', '0'], ['script',
> > 'vif-nat'], ['i p', ['10.0.10.1']], ['mac', '00:16:3e:0c:94:cb']]],
> > ['device', ['vbd', ['backend', '0'], ['dev', 'sda1'], ['uname',
> > 'file:/data/vdisks/tom1-rhel4.img'], ['mode', 'w']]], ['state',
> > '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_ time',
> > '91.403557189'],
> > ['online_vcpus', '1'], ['up_time', '8822.35599899'], ['start_time',
> > '1139837394.24'], ['sto re_mfn', '347994'], ['console_mfn', '347993']]
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:376)
> > parseConfig: result is {'ssidref': 0, 'uuid':
> > '708ec234-dfe0-0415-e687-a034154a3916', 'on_crash': 'restart',
> > 'on_reboot':
> > 'restart', 'image': ['linux', ['kernel' ,
> > '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], ['root', '/dev/sda1'],
> > ['args',
> > 'ro selinux=0 3']], 'on_poweroff': ' destroy', 'cpus': None, 'name':
> > 'tom1',
> > 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory':
> > 25
> > 6, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-nat'],
> > ['ip',
> > ['10.0.10.1']], ['mac', '00:16:3e:0c: 94:cb']]), ('vbd', ['vbd',
> > ['backend',
> > '0'], ['dev', 'sda1'], ['uname', 'file:/data/vdisks/tom1-rhel4.img'],
> > ['mode
> > ', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 256}
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
> > XendDomainInfo.construct: None 0
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:663)
> > Storing
> > VM details: {'ssidref': '0', 'uuid': '
> > 708ec234-dfe0-0415-e687-a034154a3916',
> > 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-
> > 2.6.12.6-xen3
> > _12.1_rhel4.1) (root /dev/sda1) (args 'ro selinux=0 3'))", 'on_poweroff':
> > 'destroy', 'name': 'tom1', 'vcpus': '1', 'vcpu_avail': '1', 'memory':
> > '256',
> > 'on_crash': 'restart', 'maxmem': '256'}
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:1272)
> > XendDomainInfo.destroy: domid=18
> > [2006-02-13 17:01:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:1280)
> > XendDomainInfo.destroyDomain(18)
> > [2006-02-13 17:01:13 xend] ERROR (XendDomain:266) Restore failed
> > Traceback (most recent call last):
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomain.py",
> > line 261, in domain_restore_fd
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendCheckpoint.py",
> > line 127, in restore
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomain.py",
> > line 285, in restore_
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 258, in restore
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 1338, in createDevice s
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 975, in createDevice
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py",
> > line 80, in createDe vice
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/server/netif.py",
> > line 91, in getDeviceDetails
> > TypeError: sequence item 0: expected string, list found
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:252)
> > XendDomainInfo.restore(['domain', ['domid', '1 4'], ['uuid',
> > '708ec234-dfe0-0415-e687-a034154a3916'], ['ssidref', '0'], ['vcpus',
> > '1'], ['vcpu_avail', '1'], ['cpu _weight', '1.0'], ['memory', '256'],
> > ['maxmem', '256'], ['name', 'tom1'], ['on_poweroff', 'destroy'],
> > ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
> > ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], [ 'root',
> > '/dev/sda1'], ['args',
> > 'ro selinux=0 3']]], ['device', ['vif', ['backend', '0'], ['script',
> > 'vif-nat'], ['i p', ['10.0.10.1']], ['mac', '00:16:3e:0c:94:cb']]],
> > ['device', ['vbd', ['backend', '0'], ['dev', 'sda1'], ['uname',
> > 'file:/data/vdisks/tom1-rhel4.img'], ['mode', 'w']]], ['state',
> > '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_ time',
> > '91.403557189'],
> > ['online_vcpus', '1'], ['up_time', '8822.35599899'], ['start_time',
> > '1139837394.24'], ['sto re_mfn', '347994'], ['console_mfn', '347993']])
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:282)
> > parseConfig: config is ['domain', ['domid', '1 4'], ['uuid',
> > '708ec234-dfe0-0415-e687-a034154a3916'], ['ssidref', '0'], ['vcpus',
> > '1'], ['vcpu_avail', '1'], ['cpu _weight', '1.0'], ['memory', '256'],
> > ['maxmem', '256'], ['name', 'tom1'], ['on_poweroff', 'destroy'],
> > ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux',
> > ['kernel', '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], [ 'root',
> > '/dev/sda1'], ['args',
> > 'ro selinux=0 3']]], ['device', ['vif', ['backend', '0'], ['script',
> > 'vif-nat'], ['i p', ['10.0.10.1']], ['mac', '00:16:3e:0c:94:cb']]],
> > ['device', ['vbd', ['backend', '0'], ['dev', 'sda1'], ['uname',
> > 'file:/data/vdisks/tom1-rhel4.img'], ['mode', 'w']]], ['state',
> > '-b----'], ['shutdown_reason', 'poweroff'], ['cpu_ time',
> > '91.403557189'],
> > ['online_vcpus', '1'], ['up_time', '8822.35599899'], ['start_time',
> > '1139837394.24'], ['sto re_mfn', '347994'], ['console_mfn', '347993']]
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:376)
> > parseConfig: result is {'ssidref': 0, 'uuid':
> > '708ec234-dfe0-0415-e687-a034154a3916', 'on_crash': 'restart',
> > 'on_reboot':
> > 'restart', 'image': ['linux', ['kernel' ,
> > '/boot/vmlinuz-2.6.12.6-xen3_12.1_rhel4.1'], ['root', '/dev/sda1'],
> > ['args',
> > 'ro selinux=0 3']], 'on_poweroff': ' destroy', 'cpus': None, 'name':
> > 'tom1',
> > 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory':
> > 25
> > 6, 'device': [('vif', ['vif', ['backend', '0'], ['script', 'vif-nat'],
> > ['ip',
> > ['10.0.10.1']], ['mac', '00:16:3e:0c: 94:cb']]), ('vbd', ['vbd',
> > ['backend',
> > '0'], ['dev', 'sda1'], ['uname', 'file:/data/vdisks/tom1-rhel4.img'],
> > ['mode
> > ', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 256}
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
> > XendDomainInfo.construct: None 0
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:663)
> > Storing
> > VM details: {'ssidref': '0', 'uuid': '
> > 708ec234-dfe0-0415-e687-a034154a3916',
> > 'on_reboot': 'restart', 'image': "(linux (kernel /boot/vmlinuz-
> > 2.6.12.6-xen3
> > _12.1_rhel4.1) (root /dev/sda1) (args 'ro selinux=0 3'))", 'on_poweroff':
> > 'destroy', 'name': 'tom1', 'vcpus': '1', 'vcpu_avail': '1', 'memory':
> > '256',
> > 'on_crash': 'restart', 'maxmem': '256'}
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:1272)
> > XendDomainInfo.destroy: domid=19
> > [2006-02-13 17:01:18 xend.XendDomainInfo] DEBUG (XendDomainInfo:1280)
> > XendDomainInfo.destroyDomain(19)
> > [2006-02-13 17:01:18 xend] ERROR (XendDomain:266) Restore failed
> > Traceback (most recent call last):
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomain.py",
> > line 261, in domain_restore_fd
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendCheckpoint.py",
> > line 127, in restore
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomain.py",
> > line 285, in restore_
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 258, in restore
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 1338, in createDevice s
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/XendDomainInfo.py",
> > line 975, in createDevice
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/server/DevController.py",
> > line 80, in createDe vice
> > File
> > "/var/tmp/xen-
> > 3.0.1-12.1_rhel4.1-root/usr/lib/python/xen/xend/server/netif.py",
> > line 91, in getDeviceDetails
> > TypeError: sequence item 0: expected string, list found
> >
> >
> >
> > --
> >
> > -------------------------------------------------------------------------
> >--------------- Michael Mey
> > Thinking Objects Software GmbH  |  mailto: michael.mey@xxxxxx
> > Lilienthalstrasse 2/1 |   phone: +49 711 88770-147
> > 70825 Stuttgart-Korntal, Germany |  fax: +49 711 88770-449
> >
> > -------------------------------------------------------------------------
> >---------------
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users

-- 
----------------------------------------------------------------------------------------
Michael Mey                                  
Thinking Objects Software GmbH    |   mailto: michael.mey@xxxxxx 
Lilienthalstrasse 2/1             |   phone: +49 711 88770-147
70825 Stuttgart-Korntal, Germany  |   fax: +49 711 88770-449
----------------------------------------------------------------------------------------

Attachment: pgpqiEdEUNkbf.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>