Situation. You want to power off VM, but vc is sending message that operation failed since another task is in progress.
You start to wonder, WHAT TASK!?!?!?!?, in tasks you can not see any tasks that are ongoing. So where is that task ?
Login to esx via ssh for example.
[root@gxxx uuu# vmware-vim-cmd vimsvc/task_list
There you go 😉 in my case it was due to last night backups. They have started to “create snapshot” which has timed out. Apparently that task was still there and blocking other tasks.
in my case restarting service console helped: service mgmt-vmware restart.
Useful informations that might help :