From: Tom De Vylder<tom@xxxxxxxxxxx>
Subject: [Xen-users] Hotplug scripts not working
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, May 31, 2011, 5:44 AM
Hi all,
I'd like to know if it's possible to have more verbose
output when running a block-prefix script. Other than
xend.log.
To be more specific I'd like to use bash -x to see why I'm
running into the following error:
# xm create -c host.cfg
Using config file "host.cfg".
aa:bb:cc:dd:ee:ff
Error: Device 51712 (vbd) could not be connected.
Hotplug scripts not working.
However xm seems to disregard any output from the
block-prefix script.
xend.log hangs a few minutes on the following lines:
[2011-05-31 14:28:41 1894] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device =
vbd/51712
[2011-05-31 14:28:41 1894] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/55/51712/hotplug-status.
[2011-05-31 14:28:41 1894] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/55/51712/hotplug-status.
... and then dies, removes the vif devices and spawns the
"hotplug scripts not working" errors.