Skip navigation
VMware

This Question is Answered (go to answer)

2 "helpful" answers available (6 pts)
2,721 Views 5 Replies Last post: Sep 2, 2009 8:21 AM by vmw-sfraser RSS
olano Enthusiast 83 posts since
Jul 30, 2009
Currently Being Moderated

Aug 19, 2009 2:14 AM

snapshot failed since another task is in process

 

  Hi,

 

 

    I am using VCB to backup vm, and met a snapshot problem. The log shows that "Snapshot creation failed: Operation failed since another task is in progress".

 

 

    Are there anyone know what it means and how to fix it?

 

 

   The below is the log:

 

 

snapshot failed since another task is in process Error: Other error encountered: Snapshot creation failed: Operation failed since another task is in progress.

 

 

snapshot failed since another task is in process An error occurred, cleaning up...

 

 

Deleted directory E:\VCBBackupRoot\CSGSGPKEXT04

 

 

Error VM :'CSGSGPKEXT04' snapshot failed

 

 

snapshot failed since another task is in process From: BSM@omckbak1.omcapj.adapps.hp.com "VM-csgsgpkext04-FS-Daily"  Time: 18/08/2009 9:56:17 PM

 

 

      Session remote exec script vmwarepreexec.cmd

 

 

      on host tkimxcvomc01.omcapj.adapps.hp.com failed. Exit code = 1

 

 

 

 

 

snapshot failed since another task is in process From: BSM@omckbak1.omcapj.adapps.hp.com "VM-csgsgpkext04-FS-Daily"  Time: 18/08/2009 9:56:17 PM

 

 

      None of the Disk Agents completed successfully.

 

 

      Session has failed.

 

 

 

 

 

Thanks in advance!

 

 

Lan Lan

 

 

a2alpha Expert 432 posts since
Apr 20, 2008
Currently Being Moderated
1. Aug 19, 2009 2:24 AM in response to: olano
Re: snapshot failed since another task is in process

I had this recently and I concluded it was stuck either creating or thinking it was creating a snapshot. Try a:

 

service mgmt-vmware restart

 

 

on the host that the vm is running on and if it is connected to a VirtualCenter / vCenter also try a

 

 

service vmware-vpxa restart

 

 

if the first one on its own doesn't fix it.

 

 

Also confirm in the VM's folder that there are no snapshots already there, if there are you may need to create and delete all snapshots after the serives are restarted as above.

Eire09 Hot Shot 241 posts since
Jan 6, 2009
Currently Being Moderated
3. Sep 1, 2009 1:28 AM in response to: a2alpha
Re: snapshot failed since another task is in process

 

Hi,

 

 

I'm having the same issue as outined here. Quick question for you.

 

 

If I restart the service on the host "service mgmt-vmware restart" will this cause VM's on this host to go off line?

 

 

Also I'm on my vCenter server and I cannot find the service vmware-vpxa to restart it. Should this be located in services on the vCenter server?

 

 

Thanks in advance,

 

 

Pedro

 

 

a2alpha Expert 432 posts since
Apr 20, 2008
Currently Being Moderated
4. Sep 1, 2009 3:49 AM in response to: Eire09
Re: snapshot failed since another task is in process

 

Restarting the agent won't make the vm's go off line however there was an issue that they would restart if you had VMM virtual machine monitoring turned on. This is located in the Cluster settings and is easy to turn off if it is on.

 

 

The management agent is located on each host NOT on the vCenter server. So pick the host that is having the issue and ssh into it using putty or another ssh client and restart it.

 

 

Thanks,

 

 

Dan

 

 

vmw-sfraser Enthusiast VMware Employees 23 posts since
Jun 30, 2008
Currently Being Moderated
5. Sep 2, 2009 8:21 AM in response to: a2alpha
Re: snapshot failed since another task is in process

In ESX 3.5 U4 or later, you can also run the following commands to see what the VM has in it's task list:

 

  1. vimsh -ne vmsvc/getallvms            <--- will return VM ids

  2. vimsh -ne vmsvc/get.tasklist id      <--- Replace with VM's id from the previous command to view its task list

 

The following knowledge base articles may also be of assistance:

 

Deleting snapshots of virtual machines with heavy disk I/O might cause host to be disconnected from VirtualCenter

http://kb.vmware.com/kb/1003024

 

Command to monitor snapshot deletion

http://kb.vmware.com/kb/1007566

 

Cheers!

 





There are 10 types of people in this world. Those who understand binary, and those who do not.

There are 10 types of people in this world. Those who understand binary, and those who do not.

Bookmarked By (0)

Share This Page

Communities