VMware vCenter Server troubleshooting migration fails with compatibility error: The operation is not allowed in the current state
search cancel

VMware vCenter Server troubleshooting migration fails with compatibility error: The operation is not allowed in the current state

book

Article ID: 344538

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • vMotion migration operation fails
  • When performing a vMotion migration operation, you see this compatibility error:

    Unable to migrate from <source server> to <destination server>: The operation is not allowed in the current state .



Environment

VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x

Cause

This issue can occur if the ESX/ESXi host or a virtual machine is in an unexpected state.

Resolution

To work around the issue, perform one of these options:
  • Cancel any existing task from the VMware Infrastructure Client.
  • Wait until any pending tasks are complete.
  • Restart the VMware vCenter Server service.
  • Restart management agents of the host. For more information, see Restarting the Management agents on an ESXi or ESX host (1003490).
  • Disconnect and reconnect the host to the vCenter Server.


Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box

Restarting the Management agents in ESXi