Error: "Object with type VM vbd.hdb does not exist in xenopsd" during VM Migration

Error: "Object with type VM vbd.hdb does not exist in xenopsd" during VM Migration

book

Article ID: CTX216994

calendar_today

Updated On:

Description

When trying to migrate virtual machine, it fails with following error

Error: "Object with type VM vbd.hdb does not exist in xenopsd"


Instructions

1. Find the VM disk UUID which had control domain lock.
 
xe vdi-list sr-uuid=<SR UUID> name-label=<VDI-name-label>

2. Find the “virtual block device” which has the lock on the host.
 
xe vbd-list vdi-uuid=<VDI UUID> 

Choose the VBD that has "Control domain on Dom 0" in the param field.

3. This command will unplug the Virtual Block Device which is connected from the VDI to the HOST.
 
xe vbd-unplug uuid=<VBD UUID in step2>

4. Destroy the VBD :
 
xe vbd-destroy uuid=<VBD UUID>

Issue/Introduction

VM migration fails with error "Internal error: Object with type VM and id 9008214d-d401-7e56-7a04-4077f8db747a/vbd.hdb does not exist in xenopsd"

Additional Information

The Virtual  Machines disk is being controlled by the Dom0 due to a failure in previous operation like Migration,snapshot