[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] could not reboot domU in latest xen-unstable


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Wensheng Wang <wenshengwang@xxxxxxxxx>
  • Date: Sun, 6 Nov 2005 01:30:20 -0600
  • Delivery-date: Sun, 06 Nov 2005 07:31:13 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tRDghAX/LP74AZyf4FB/RJYedzw7HMsVF9Zk4Z+tmY6Bwc188DmTjzi81FpEZGlKS9PaRzTgbh9GTc1YeNqSXUhxjsDSELJOVR1QpHZmJ/AkwpOP+S3Yli0pnM2stU1m92kbnYAZaUIDfbM+bUxEiDwPQKB9v2h4c93sgOLnTKc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

With lastest unstable, I can no longer reboot domU( either within the
domU itself or using "xm shutdown -R").
xm create and destroy is working fine.

After I reboot a domU and do "xm list" a few times, it seems hang, but
after more than 1 minute the prompt came back but with only domain-0,
domU didn't get rebooted.
The xend.log show following errors:

----------------------------------------------------------------------
[2005-11-06 02:06:21 xend.XendDomainInfo] ERROR (XendDomainInfo:158)
Domain construction failed
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create
   vm.initDomain()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109, in initDomain
   self.createDevices()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222, in createDevices
   self.createDevice(n, c)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893, in createDevice
   return self.getDeviceController(deviceClass).createDevice(devconfig)
 File "/usr/lib/python/xen/xend/server/DevController.py", line 66, in
createDevice
   raise VmError( ("Device %s (%s) could not be connected. "
VmError: Device 2049 (vbd) could not be connected. Hotplug scripts not working
[2005-11-06 02:06:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1156)
XendDomainInfo.destroy: domid=8
[2005-11-06 02:06:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.destroyDomain(8)
[2005-11-06 02:06:22 xend.XendDomainInfo] ERROR (XendDomainInfo:1306)
Failed to restart domain 7.
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1299, in restart
   new_dom = xd.domain_create(config)
 File "/usr/lib/python/xen/xend/XendDomain.py", line 215, in domain_create
   dominfo = XendDomainInfo.create(config)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create
   vm.initDomain()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109, in initDomain
   self.createDevices()
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222, in createDevices
   self.createDevice(n, c)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893, in createDevice
   return self.getDeviceController(deviceClass).createDevice(devconfig)
 File "/usr/lib/python/xen/xend/server/DevController.py", line 66, in
createDevice
   raise VmError( ("Device %s (%s) could not be connected. "
VmError: Device 2049 (vbd) could not be connected. Hotplug scripts not working
[2005-11-06 02:06:22 xend] ERROR (xswatch:50) read_watch failed
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 48, in watchMain
   watch.fn(*watch.args, **watch.kwargs)
 File "/usr/lib/python/xen/xend/XendDomain.py", line 112, in onReleaseDomain
   self.refresh()
 File "/usr/lib/python/xen/xend/XendDomain.py", line 176, in refresh
   d.update(info)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 849, in update
   self.refreshShutdown(info)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 781, in refreshShutdown
   self.maybeRestart(restart_reason)
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 801, in maybeRestart
   {"destroy"        : self.destroy,
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1312, in restart
   new_dom.removeVm('xend/restart_in_progress')
UnboundLocalError: local variable 'new_dom' referenced before assignment
[2005-11-06 02:06:22 xend] ERROR (xswatch:50) read_watch failed
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 48, in watchMain
   watch.fn(*watch.args, **watch.kwargs)
 File "/usr/lib/python/xen/xend/server/DevController.py", line 267, in
hotplugStatus
   status = self.readBackend(devid, HOTPLUG_STATUS_NODE)
 File "/usr/lib/python/xen/xend/server/DevController.py", line 201, in
readBackend
   return xstransact.Read(backpath, *args)
 File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 225, in Read
   t = cls(path)
 File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 17, in __init__
   self.path = path.rstrip("/")
AttributeError: 'NoneType' object has no attribute 'rstrip'
----------------------------------------------------------------------------------

Did I do anything wrong or indeed hotplug script is broken?

Thanks

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.