I encontered an strange error, when we try to power on a VM through a vCenter the error message appears :The operation is not allowed in the current connection state of the host, to solve the problem, you must disconnect the host, and connect it again, any one know why ?
It looks like the communication between the host and vCenter Server does not work properly anymore. If restarting the Management Agents (see http://kb.vmware.com/kb/1003490) does not help, you may need to restart the host.
You mean rebooting the ESXi host every day.
1. Where are the VM's are placed in the Local datastore of ESXi host or a SAN datastore or NFS volume.
2. Are you rebooting vCenter server also. If so then there might be issue in reading the information in the database. where we might required to disconnect the host and reconnect it.
1. Suggesting you to check the recent tasks and active tasks of that particular ESX server. Someone may initiated Maintenance mode and host could trying to enter into maintenance mode.
Select ESX. And go to summary > Active Tasks.
2. If there is nothing strange in the tasks, I recommend you to restart VC server service before powering on your VM.
Encountered the same problem.
Like Ganesh suggested is checked recent tasks of the ESX server, nothing special there...
enabled the ESX hosts' Maintenance mode.... then disabled maintenance mode... after that the guest started up as is should have..
no more problems since..
Hope this helps.
I encountered this after a not clean vCVA shutdown. Restart of the vpxd service after a restart of the vpxa agent did the trick for me. Only restarting vpxa was no good. Restarting vpxd solved the issue only for a host that had already restarted vpxa, but the problem continued for another that had not.
Bumping into maintenance mode did not help.
The same problem has occurred in ESXi 4.1. I do the following to solve to problem.
login to esx host
wait until the VM disconnected from the vSphere Client
I faced the same issue in my lab environment. Issue resolved me after restarting vcenter server services.
if you power off all the AD, SAN, ESXi and vCenter servers you will face this kind of issue. After power on the vcenter server, restart the vcenter server services once again, it will work.
If you are connecting to vCenter or (vCSA) then try connecting to the host directly and doing the start from there.
I had to reboot a host and did not shut down vCSA first (missed it) and I got this message.
Rebooted vCSA but while waiting connected directly to host and could start VM from there.