VMware failed with message Another task is already in progress
One of the virtual machine was not responding to any tasks and it was giving an error message states,
Another task is already in progress
I tried two methods to troubleshoot the problem. The first method failed to resolve the problem.
I tried to reload the .VMX file of the virtual machine, but it failed with error message,
[root@hostname ~]# vim-cmd vmsvc/getallvms
The output will show virtual machines which are registered on the ESX/ESXi host and the output will be similar to:
Vmid Name File Guest OS Version Annotation
9856 datastore [local] Win .vmx win2012 vmx-07 To be used as a template
In the above example the Vmid is 9856
[root@hostname ~]# vmware-vim-cmd vmsvc/reload 9856
dynamicType = <unset>,
faultCause = (vmodl.MethodFault) null,
reason = “Invalid fault”,
msg = “vim.fault.TaskInProgress”,
Restarted the VMware management services and reconnected the ESX server to the vCenter.
Caution: Ensure Automatic Startup/Shutdown of virtual machines is disabled before running this command or you risk rebooting the virtual machines
#service mgmt-vmware restart
#service vmware-vpxa restart
At last after waiting for around 10 minutes after the service restart, I was able to perform tasks in the problematic virtual machine.
Read the VMware reference articles before performing anything.
Latest posts by Melbin Mathew (see all)
- VMware virtual IDE to virtual SCSI hard disk conversion steps – Windows XP - August 6, 2015
- Stop Error “CRITICAL_STRUCTURE_CORRUPTION - August 5, 2015
- Error installing Windows server role and feature required for the Exchange 2010 - December 3, 2013