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
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.
Thanks! It works.
Lan Lan
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
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
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:
vimsh -ne vmsvc/getallvms <--- will return VM ids
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.