http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=491
Summary: reboot failed in route configuration
Product: Xen
Version: unstable
Platform: x86
OS/Version: Linux-2.6
Status: NEW
Severity: major
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: wenshengwang@xxxxxxxxx
In route configuration, guest domain failed to reboot, it just shutdown and not
come back. (In bridge mode, reboot works fine.)
This is my dom config file:
---------------------------------
kernel = "/boot/vmlinuz-2.6.12.6-xenU"
memory = 256
name = "fc4a"
vcpus = 2
vif = [ 'ip=192.168.1.11, mac=00:16:3e:00:00:18' ]
#vif = [ '' ] #this is for bridge mode
disk = [ 'phy:vg0/fc4a,sda1,w','phy:vg0/swap-fc4a,sda2,w' ]
ip="192.168.1.11"
netmask="255.255.255.0"
gateway="192.168.1.1"
hostname= "fc4a"
root = "/dev/sda1 ro"
extra = "3"
--------------------------------------------
Use this config file, I successfully created guest domain. Everything worked.
But when I reboot it, either "reboot" inside domU, or "xm shutdown -R" in dom0,
it just shutdown without coming back.
/var/log/message:
----------------------------
Jan 25 17:12:02 m8 logger: /etc/xen/scripts/vif-route:
/etc/xen/scripts/vif-route failed; error detected.
----------------------------
/var/log/xend.log
----------------------------
[2006-01-25 17:12:02 xend.XendDomainInfo] ERROR (XendDomainInfo:1444) Failed to
restart domain 23.
Traceback (most recent call last):
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1433, in restart
new_dom = XendDomain.instance().domain_create(config)
File "/usr/lib/python/xen/xend/XendDomain.py", line 226, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 182, in create
vm.initDomain()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1199, in initDomain
self.createDevices()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1338, in createDevices
self.createDevice(n, c)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 975, in createDevice
return self.getDeviceController(deviceClass).createDevice(devconfig)
File "/usr/lib/python/xen/xend/server/DevController.py", line 80, in
createDevice
(devid, back, front) = self.getDeviceDetails(config)
File "/usr/lib/python/xen/xend/server/netif.py", line 91, in getDeviceDetails
back['ip'] = ' '.join(ipaddr)
TypeError: sequence item 0: expected string, list found
----------------------------------------
I will attach a longer xend.log.
Upon comparing "XendDomainInfo.create" line of create and reboot, the item "ip"
in "device->vif" changed.
In create, it is: ['ip', '192.168.1.11']
In reboot, it become: ['ip', ['192.168.1.11']]
That's why it says "expect string, list found"
Thanks.
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|