Virtual Machine snapshot removal task is stuck with Error: Another task is already in progress
book
Article ID: 392609
calendar_today
Updated On:
Feedback
Subscribe
Products
VMware vSphere ESXi
VMware vSphere ESX 8.x
VMware vSphere ESX 7.x
Show More
Show Less
Issue/Introduction
Task gets pilled up and stuck with Error " Another task is already in progress"
Environment
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Cause
3rd Party Backup software was initiating snapshot removal task every 5 minutes once, while the initial task was still running.
Resolution
Wait for the consolidation task to either complete or fail, before triggering another job to remove snapshot.
Identify the VM IDs required for subsequent commands, and find the VMID for the corresponding VMs.vim-cmd vmsvc/getallvms
Get the list of tasks associated with a particular VM. vim-cmd vmsvc/get.tasklist VMID
Find out more about the task, including the process, completion time, etc. vim-cmd vimsvc/task_info task_identifier
Try restarting ESXi management Agents to clear the task, Refer to below KBRestarting Management Agents in ESXi
Note: If we are not able to kill the stale task or clear it with management agent restart, we will have to eventually reboot the ESXi host by placing Host in maintenance mode .
Feedback
thumb_up
Yes
thumb_down
No