SCV backup job fails to delete VM snapshots due to VMWare API session timeout
Applies to
Issue
- SCV backup job completes with warning state
- VMware snapshot named
SCV__<VM_UUID>
created by the backup job remains wfe_<job_id>.log
shows warning and error:
WARN <HOSTNAME> --- [ Thread-292] c.n.w.m.WorkflowExecutor : Activity (Unquiescing Applications) of Workflow (WorkflowExecutor), Failed with error: Unable to unquiesce on SCV: Exception when unquiescing virtual machines: <VM1>, <VM2>,... .Please check 'Remove all snapshots' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs for detailed error message.
ERROR <HOSTNAME> --- [ Thread-292] c.n.w.r.SCVBackupServiceImpl : Unable to unquiesce on SCV: Exception when unquiescing virtual machines: <VM1>, <VM2>,... .Please check 'Remove all snapshots' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs for detailed error message.
vmcontrol_<JobID>.log
shows API exception:
DEBUG <HOSTNAME> --- [l-522-thread-12] c.n.a.b.UnquiesceManager : Starting Unquiescing VM <VM>
:
DEBUG <HOSTNAME> --- [l-522-thread-12] c.n.a.v.VsphereInventoryService : Throwing API Exceptionnull
DEBUG <HOSTNAME> --- [l-522-thread-12] c.n.a.v.VsphereInventoryService : [Ljava.lang.StackTraceElement;@XXXXXXXX
ERROR <HOSTNAME> --- [l-522-thread-12] c.n.a.b.UnquiesceManager : Failed unquiesceVM : com.netapp.nvpf.api.model.ApiException
- The connection from SCV to vCenter is established over 30 minutes before the log entry
Starting unquiesce operation
is output invmcntrol_<job_id>.log
2025-03-31 05:17:35.195 DEBUG <HOSTNAMW> --- [852445367-28099] c.n.a.v.VsphereService : vSphereServiceURL is : https://<VCENTER>:443/sdk
2025-03-31 05:51:43.241 DEBUG <HOSTNAMW> --- [852445367-28099] c.n.a.b.UnquiesceManager : [JobId:<JOB_ID>] Starting unquiesce operation in UnQuiesceManager