Mailing List Archive

Re: vbd-unplug timeout issue
Hi Team,


While running "xe vbd-unplug" command against VBD which is used by VM, it should return an error. On XenServer 6.0, when I am doing it, I will get an error at 1st time, but when I do it again, it does not return error for 1200 seconds (20 minutes). I am getting timeout error after 1200 seconds.



The error message on console Is::



The server failed to handle your request, due to an internal error.

The given message may give details useful for debugging the problem.

message: Watch.Timeout(1200.)





In logs:



[20111214T00:49:27.381Z|debug|iida-dl018|611167 unix-RPC||cli] Xapi_cli.exception_handler: Got exception DEVICE_DETACH_REJECTED: [ VBD; OpaqueRef:2d1d0de6-be4c-c214-cade-d8e11d0e2365; 16 Device in use; refusing to close ]


Dec 14 09:49:27 iida-dl018 xapi: [error|iida-dl018|611167 unix-RPC|VBD.unplug R:72e01c62a8be|xapi] Xapi_vbd.destroy_vbd got an error (frontend (domid=1 | kind=vbd | devid=51712); backend (domid=0 | kind=vbd | devid=51712)) 16 Device in use; refusing to close

Dec 14 10:09:42 iida-dl018 xapi: [error|iida-dl018|611175 unix-RPC|VBD.unplug R:88079c7cb782|xenops] watch: timeout while watching xenstore after 1200.000000 seconds



On XenServer 5.6 (Midnight Ride), I do not see this issue. Is there any change in the xapi?? What is the possible cause of the failure??

Is any work-around for this ??


Thanks & Regards,
PANKAJ KUMAR BISWAS