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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error restoring a domU
From: Michael Mey <michael.mey@xxxxxx>
Date: Mon, 13 Feb 2006 17:20:50 +0100
Delivery-date: Mon, 13 Feb 2006 16:32:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
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
----------------------------------------------------------------------------------------

Attachment: pgpr9yh1ZDjVM.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>