VM management task from vCenter hang at 12% with below error:
VMware vCenter 8.x
VMware ESXi 8.x
The task initiated at vCenter level has not traversed to the ESXi causing the task to be in hung state.
Step 1: Find the vm-id of the vm using below command:
# vim-cmd vmsvc/getallvms | less
Step 2: Verify the command does not show at the ESXi layer:
# vim-cmd vmsvc/get.tasklist <vm-id>(
For more information, refer Collecting information about tasks in VMware ESXi to collect task related information.
# service-control --stop vmware-vpxd
# service-control --start vmware-vpxd
Note: Restarting vpxd service will stop all the tasks running at vCenter level. Hence, it is important to validate if any critical backup's or any other critical tasks running in vCenter, before restarting the service.