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] Problem with reboot of domU's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem with reboot of domU's
From: Jan-Petter Kruger <jpk@xxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2006 14:30:38 +0200
Delivery-date: Thu, 30 Mar 2006 12:32:28 +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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
I have been playing with Xen 3.0.1 for some days now, using debian sarge for dom0 and domU's, and it works like a charm. But, I have a problem with rebooting domU's. Here is the output from /var/log/xend.log


[2006-03-30 13:44:58 xend.XendDomainInfo] INFO (XendDomainInfo:823) Domain has shutdown: name=vmintraweb1 id=5 reason=reboot
.
[2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:1317) XendDomainInfo.destroyDomain(5) [2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['domain', ['domid', 5], ['uuid', '1d7f1bb2-eaa8-f7ff-bc2a-92097a3ac24e'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 1 28], ['maxmem', 128], ['name', 'vmintraweb1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'] , ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['root', '/dev/hda1 ro']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['ip', ['192.168.1.12']], ['mac', '00:16:3e:5e:7b:07']]], ['device', ['vbd', ['backend', 0], [ 'dev', 'hda1'], ['uname', 'phy:VG01/vmintraweb1-root'], ['mode', 'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname', 'phy:VG01/vmintraweb1-swap'], ['mode', 'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time', 6 3.367343194], ['online_vcpus', 1], ['up_time', '78572.956449'], ['start_time', '1143640525.92'], ['store_mfn', 24172], ['con
sole_mfn', 24171]])
[2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:282) parseConfig: config is ['domain', ['domid', 5], ['uuid' , '1d7f1bb2-eaa8-f7ff-bc2a-92097a3ac24e'], ['ssidref', 0], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 128], ['maxmem', 128], ['name', 'vmintraweb1'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart' ], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'], ['root', '/dev/hda1 ro']]], ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'], ['ip', ['192.168.1.12']], ['mac', '00:16:3e:5e:7b:07']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'phy:VG01/vmintraweb1-root'], ['mode', 'w']]], ['device', ['vbd', ['backend', 0], ['dev', 'hda2'] , ['uname', 'phy:VG01/vmintraweb1-swap'], ['mode', 'w']]], ['state', '---s--'], ['shutdown_reason', 'reboot'], ['cpu_time', 63.367343194], ['online_vcpus', 1], ['up_time', '78572.956449'], ['start_time', '1143640525.92'], ['store_mfn', 24172], ['co
nsole_mfn', 24171]]
[2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:376) parseConfig: result is {'ssidref': 0, 'uuid': '1d7f1bb2 -eaa8-f7ff-bc2a-92097a3ac24e', 'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux', ['kernel', '/boot/vmlinuz-2 .6.12.6-xenU'], ['root', '/dev/hda1 ro']], 'on_poweroff': 'destroy', 'cpus': None, 'name': 'vmintraweb1', 'backend': [], 'vc pus': 1, 'cpu_weight': 1.0, 'vcpu_avail': 1, 'memory': 128, 'device': [('vif', ['vif', ['backend', 0], ['script', 'vif-bridg e'], ['ip', ['192.168.1.12']], ['mac', '00:16:3e:5e:7b:07']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda1'], ['uname', 'p hy:VG01/vmintraweb1-root'], ['mode', 'w']]), ('vbd', ['vbd', ['backend', 0], ['dev', 'hda2'], ['uname', 'phy:VG01/vmintraweb
1-swap'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 128}
[2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:1151) XendDomainInfo.construct: None 0 [2006-03-30 13:44:58 xend.XendDomainInfo] DEBUG (XendDomainInfo:1183) XendDomainInfo.initDomain: 13 1.0 [2006-03-30 13:44:58 xend] DEBUG (balloon:84) Balloon: free 1503; need 129; done. [2006-03-30 13:44:58 xend] INFO (image:133) buildDomain os=linux dom=13 vcpus=1
[2006-03-30 13:44:58 xend] DEBUG (image:171) dom            = 13
[2006-03-30 13:44:58 xend] DEBUG (image:172) image = /boot/vmlinuz-2.6.12.6-xenU
[2006-03-30 13:44:58 xend] DEBUG (image:173) store_evtchn   = 1
[2006-03-30 13:44:58 xend] DEBUG (image:174) console_evtchn = 2
[2006-03-30 13:44:58 xend] DEBUG (image:175) cmdline = root=/dev/hda1 ro
[2006-03-30 13:44:58 xend] DEBUG (image:176) ramdisk        =
[2006-03-30 13:44:58 xend] DEBUG (image:177) vcpus          = 1
[2006-03-30 13:44:59 xend.XendDomainInfo] ERROR (XendDomainInfo:189) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 182, in create
   vm.initDomain()
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 1220, in initDomain
   self.createDevices()
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 1375, in createDevices
   self.createDevice(n, c)
File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 996, in createDevice
   return self.getDeviceController(deviceClass).createDevice(devconfig)
File "/usr/lib/python2.3/site-packages/xen/xend/server/DevController.py", line 80, in createDevice
   (devid, back, front) = self.getDeviceDetails(config)
File "/usr/lib/python2.3/site-packages/xen/xend/server/netif.py", line 91, in getDeviceDetails
   back['ip'] = ' '.join(ipaddr)
TypeError: sequence item 0: expected string, list found


And here is the config file used to create the domU

kernel = '/boot/vmlinuz-2.6.12.6-xenU'
memory = 128
name   = 'vmintraweb1'
root   = '/dev/hda1 ro'
disk = [ 'phy:VG01/vmintraweb1-root,hda1,w', 'phy:VG01/vmintraweb1-swap,hda2,w' ]
vif = ['ip=192.168.1.12']

Any ideas what might be wrong here ?

Regards,
Jan-Petter Kruger

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

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