Virtual Machine task hung with error "Resources currently in use by other operations"
search cancel

Virtual Machine task hung with error "Resources currently in use by other operations"

book

Article ID: 415852

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0

Issue/Introduction

VM management task from vCenter hang at 12% with below error:

Environment

VMware vCenter 8.x

VMware ESXi 8.x

Cause

The task initiated at vCenter level has not traversed to the ESXi causing the task to be in hung state.

Resolution

  • Firstly, validate if the task has reached the specific ESXi using below command from the ESXi ssh:

                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>(ManagedObjectReference) []

                               For more information, refer  Collecting information about tasks in VMware ESXi to collect task related information. 

 

  • Once validated that the task has not reached the ESXi level, the task can be stopped at vCenter level by restarting vpxd service:

               # 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.