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
search cancel

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 Server VMware 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:
  1. Restart the VMware VirtualCenter Server Service.
  2. Restart the Management agents on the ESX host running the virtual machine. For more information, see Restarting the Management agents on an ESXi or ESX host (1003490).
  3. 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.
Note: If the problem persists even after performing the steps in this article, file a support request with VMware Support and note this KB article ID (2046356) in the problem description. For more information, see Filing a Support Request in Customer Connect (2006985) and How to Submit a Support Request.


Additional Information

This issue may also occur if vCenter Server does not have sufficient memory. Ensure that the appropriate resources are allocated to the vCenter Server virtual machine. Restarting the Management agents in ESXi
How to file a Support Request in Customer Connect
在 vSphere 5.x 中迁移虚拟机失败,并显示以下错误:在主机的当前连接状态下不允许该操作
vSphere 5.x での仮想マシンの移行が次のエラーによって失敗する:現在のホストの接続状態では、この操作を実行できません