升级到SC 5.0后、SCSQL日志备份保留失败
适用场景
- SnapCenter服务器(SC) 5.0
- ONTAP 9.14.1P2及更高版本
- PowerShell工具包(PSTK)
问题描述
在将SnapCenter Server和SCSQL插件升级到5.0之后、SQL日志备份保留开始失败、并显示以下错误:
SnapCenter UI:
Full Backup retention failed with error: Retention: Error: Snapshot enumeration failed. The operation has timed out
SMCoreService.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: REST
DEBUG 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 exist
DEBUG SMCore PID=[5776] TID=[43] Remove Snapshot <RGROUP_NAME>_<HOST_FQDN>_<DATE>_<TIME>.#### on <SVM_NAME> is failed. Error: 102
DEBUG 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: REST
DEBUG 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 out
SnapManagerWeb_<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 out
ERROR SnapManagerWeb_34643 PID=[4188] TID=[257] RemoveBackupComponentByBackupAndResourceId failed: Error: Snapshot enumeration failed.
The operation has timed out
ERROR 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