Migrating a virtual machine in vSphere 5.x fails with the error: The operation is not allowed in the current connection state of the host
book
Article ID: 310181
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms:
Cannot migrate a virtual machine in a vSphere 5.x environment.
Migrating a virtual machine fails with the error:
Relocate virtual machine The operation is not allowed in the current connection state of the host Time: xx/xx/xxxx xx:xx:xx Target: xxxxx vCenter Server: xxxxx
The Summary tab of the powered on virtual machine reports this information:
CPU Usage - 0 MHz
Memory Usage - 0.00 MB
Environment
VMware vSphere ESXi 5.0 VMware vSphere ESXi 5.1 VMware vCenter Server 5.0.x VMware vCenter Server 5.1.x
Resolution
To resolve this issue, perform these steps, verifying if the issue is resolved after each step:
Disconnect and reconnect the ESX host that is running the virtual machine to force vCenter Server to retrieve an updated set of data relating to the objects registered to the host.