VMware failed with message Another task is already in progress

By | September 6, 2012

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.

First method

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

(vmodl.fault.SystemError) {

dynamicType = <unset>,

faultCause = (vmodl.MethodFault) null,

reason = “Invalid fault”,

msg = “vim.fault.TaskInProgress”,

VMware KB

Second Method

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.

VMware KB

Read the VMware reference articles before performing anything.

Cheers!!

Melbin Mathew

www.techiesweb.com

Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More
Category: Virtualization

About Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More