The “Another task is already in progress” error in esx4
I tried to do a shutdown of a VM from VirtualCenter (vSphere client) only to recieve an error: “another task is already in progress”.
Looking through my event-log in VirtualCenter, I saw that an earlier task (a cloning of same VM) had failed due to a timout.
The solution seems to be to log into the ESX servers service console and stop and start the mgmt-vmware service by doing:
# service mgmt-vmware stop
wait 30 seconds or so and start the service again
# service mgmt-vmware start
It seems that the wait is important. A mere “# service mgmg-vmware restart” did not resolve the issue.
This procedure will temporarily disconnect your esx-server – and VM’s running on it – from Virtual Center but otherwise it will not disturb your operation.