First of all thank you very much for your kind collaboration.
Im having the same issue that this discussion thread
When i try to unplug (detach) the disk on a running linux guest guest ( previously unmounted de disk in the guest) i have this error:
OVMAPI_4010E Attempt to send command: configure_vm to server: XXXXXXXX failed. OVMAPI_4004E Sync command failed on server: 10.xxx.xx.xx. Command: configure_vm, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.RuntimeError'>:disk:setup_error:Command: ['xm', 'block-detach', '0004fb00000600007db3f23b9', '2684'] failed (1): stderr: Error: Device 2684 (vbd) could not be disconnected. stdout: Usage: xm block-detach <Domain> <DevId> [-f|--force] Destroy a domain's virtual block device. I see the error only when is Deleteting the VM Disk Mapping . Thanks for your help . I hope someone coul help me because i see there is no response for this in previous discussions.