SCSQL log backup retention fails after upgrading to SC 5.0
Applies to
- SnapCenter Server (SC) 5.0
- ONTAP 9.14.1P2 and later
- PowerShell Toolkit (PSTK)
Issue
After upgrading to SnapCenter Server and SCSQL Plug-ins to 5.0, SQL log backup retention starts failing with the following errors:
SnapCenter UI:
Full Backup retention failed with error: Retention: Error: Snapshot enumeration failed. The operation has timed outSMCoreService.log:DEBUG SMCore PID=[5776] TID=[43] Command: Remove-NcSnapshot. Storage System: <SVM_IP>. Version: NetApp Release 9.14.1P2: Tue Mar 19 23:28:08 UTC 2024. Connection Mode: RESTDEBUG SMCore PID=[5776] TID=[43] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Record doesn't existDEBUG SMCore PID=[5776] TID=[43] Remove Snapshot <RGROUP_NAME>_<HOST_FQDN>_<DATE>_<TIME>.#### on <SVM_NAME> is failed. Error: 102DEBUG SMCore PID=[5776] TID=[43] Command: Get-NcSnapshot. Storage System: <SVM_IP>. Version: NetApp Release 9.14.1P2: Tue Mar 19 23:28:08 UTC 2024. Connection Mode: RESTDEBUG SMCore PID=[5776] TID=[43] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The operation has timed outSnapManagerWeb_<Job_ID>.log:ERROR SnapManagerWeb_34643 PID=[4188] TID=[257] ErrorCode (-1), ErrorMessage (Error: Snapshot enumeration failed. The operation has timed out)WARN SnapManagerWeb_34643 PID=[4188] TID=[257] DeleteSnapshotInfo failed with errorcode: -1. Erro message: Error: Snapshot enumeration failed.The operation has timed outERROR SnapManagerWeb_34643 PID=[4188] TID=[257] RemoveBackupComponentByBackupAndResourceId failed: Error: Snapshot enumeration failed. The operation has timed outERROR SnapManagerWeb_34643 PID=[4188] TID=[257] Asynchronous retention failed for backupId: <BU_ID>, backupJobId: <JOB_ID> with error: Retention : Error: Snapshot enumeration failed. The operation has timed out