Kouya Shimura
2010-Feb-16 07:32 UTC
[Xen-devel] [PATCH] hotplug: ignore xenstore-read error
A guest occasionally fails to reboot. xend.log shows:
[2010-02-16 09:52:46 5413] ERROR (XendDomainInfo:2061) Failed to restart domain
82.
Traceback (most recent call last):
File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 2047, in _restart
new_dom.waitForDevices()
File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1068, in waitForDevices
self.getDeviceController(devclass).waitForDevices()
File
"usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line 140, in waitForDevices
return map(self.waitForDevice, self.deviceIDs())
File
"usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
line 164, in waitForDevice
raise VmError("Device %s (%s) could not be connected. "
VmError: Device 51712 (tap) could not be connected. xenstore-read
backend/tap/82/51712/params failed.
The failure to read "backend/tap/<domid>/*" in the xenstore is a
usual
case since the domain is gone after xenstore-ls command is executed.
The error should be ignored.
This patch should be applied to xen-3.4 too.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel