SQL database restore fails with "Unable to find snapshot information" error
Applies to
- SnapCenter Server (SC) 5.0 and later
- SnapCenter Plug-in for Microsoft SQL Server (SCSQL) 5.0 and later
Issue
After upgrading SnapCenter from 4.9 and earlier, to 5.0 and later, SQL database restores fail with the following errors:
- SnapManagerWeb_<JobID>.log
ERROR SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxxx] ErrorCode (105), ErrorMessage (Unable to find snapshot information)
ERROR SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxxx] Exception in method: RecoverAppObject.
System.Exception: Failed to find snapshot (<Snapshot_Name>) on storage (<SVM_Name>:<Volume_Name>). Error: Unable to find snapshot information.
ERROR SnapManagerWeb_<JobID> PID=[xxxx] TID=[xxxx] ErrorCode (-1), ErrorMessage (Failed to find snapshot (<Snapshot_Name>) on storage (<SVM_Name>:<Volume_Name>). Error: Unable to find snapshot information.)
- SMCoreService.log
ERROR SMCore PID=[xxxx] TID=[xxxx] Failed to connect to storage system: <SVM_Name> : Reason = Failed to connect to storage system. Please check the connectivity between host and storage system. DEBUG SMCore PID=[xxxx] TID=[xxxx] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: User is not authorized.DEBUG SMCore PID=[xxxx] TID=[xxxx] Failed to connect to storage system <SVM_Name>.User is not authorized.ERROR SMCore PID=[xxxx] TID=[xxxx] Caching storage connection to SAL failed: Error. Failed to connect to storage system <SVM_Name>.User is not authorized.ERROR SMCore PID=[xxxx] TID=[xxxx] Cannot retrieve storage connection setting from SnapCenter server. Error: Error. Failed to connect to storage system <SVM_Name>.User is not authorized.ERROR SMCore PID=[xxxx] TID=[xxxx] Message : Error: The credentials for the storage system <SVM_Name> is not configured. Resolution: Please check if storage system <SVM_Name> is assigned to the user and is resolvable or add an entry to etc/hosts file.DEBUG SMCore PID=[xxxx] TID=[xxxx] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: User is not authorized.