Recently I had a customer call me because he was recieving error The operation is not allowed in the current connection state of the host when trying to vMotion.
Usually when customers see this error it is because the host is entering maintenance mode.
Reasons why it did not finish could be a VM with local resources to that host.
For example ISO file on local datastore or SCSI device.
However for this customer that was not the case.
After investigating I decided to restart the management agents on the host.
The process is as follows:
Step 1: Go to the console or the host OR ssh to the host and use command DCUI
Step 2: Login and open Troubleshooting Options
Step 3: Restart Management Agents
Step 4: Test vMotion again
In a few rare cases the vMotion would still give the same error message.
If that is the case you can right click the host from and disconnect it. Wait 10-20 seconds, then right click and click reconnect.
VMware also has a knowledgebase article on the subject:
KB1003829 – Troubleshooting migration compatibility error: The operation is not allowed in the current state
If this helped you PLEASE leave a comment! 🙂
Incoming search terms:
- the operation is not allowed in the current state of the host
- operation is not allowed in the current state
- operation not allowed current state of the host matinece mode
- Vmware vmotion the operation is not allowed in the current condition of the host