Sometimes after failing the operation to Move VM, Copy VM, or Export VM on a Virtual Machine (VM) it will not start. Furthermore, it ends up with an Internal error.
The Control Domain connection can be seen on the disk by selecting the Storage Repository Object on the Left Pane of the XenCenter, by browsing to the Storage Tab.
In the VM column, the Disk (VDI) is seen being attached to both the Control Domain of a XenServer and the VM itself.
What triggers Citrix XenServer internal error ?
This error occurs when the Control Domain on XenServer that runs VM, attaches Virtual Disk Image (VDI) of VM to Control Domain.
- The Control Domain uses this disk to perform the operations that have been initiated on the VM.
- If any operation fails, the VDI will still have an attachment to the control domain through a Virtual Block Device. We have to destroy the connection.
- The Control Domain connection can be seen on the disk by selecting the Storage Repository Object.
- This can be seen on the Left Pane of the XenCenter, in the Storage Tab.
How to resolve Citrix XenServer internal error ?
We can use the following steps to fix this error:
1. First, we need to open the Console to the XenServer that is hosting the VM.
2. And run the following command:
3. Then we have to copy the UUID corresponding to id=0.
This is the UUID of the Control Domain.
4. After that we need to run the following command to obtain the UUID of the VBD (Virtual Block Device) object linking the Control Domain:
#xe vbd-list vm-uuid=<uuid of the Control Domain>
5. Finally, we need to run the following commands to unplug and destroy the VBD:
#xe vbd-unplug uuid=<uuid of the vbd>
#xe vbd-destroy uuid=<uuid of the vbd>