Task 'Remove Snapshot' stuck with Error " Another task is already in progress" in vSphere Client:
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vCenter server 7.x
VMware vCenter server 8.x
3rd Party Backup software consistently initiates snapshot removal task every 5 minutes, while the initial task is still running.
Wait for the consolidation task to either complete or fail, before triggering another job to remove the snapshot.
vim-cmd vmsvc/getallvms
vim-cmd vmsvc/get.tasklist VMID
vim-cmd vimsvc/task_info task_identifierNote: If the stale task can't killed / cancelled, it can be cleared by restarting ESXi host management agents. In case no success, reboot the respective ESXi host by placing Host in maintenance mode.