SCV backup fails to discover resources with "Incorrect credentials" error
Applies to
Issue
- SCV backup job fails with error in
wfe_<JOB_ID>.log
DEBUG itsbkr01 --- [ Thread-23] c.n.w.r.u.RestClientUtil : Connecting to scv url: https://localhost:8144/scbr/smcoreplugin/discoverResources
ERROR itsbkr01 --- [ Thread-23] c.n.w.r.SCVBackupServiceImpl : Unable to discover resources on SCV: Unable to get storage details for datastore <DATASTORE> with managed object reference <DATASTORE>. Storage system(s) may need to be added, also ensure that the associated host is in a connected state.
Job-<JOB_ID>.log
shows thatUnauthorized
error is returned by storage system
[DBG] Connecting to <STORAGE_SYSTEM> via HTTPS
[ERR] Incorrect credentials for <STORAGE_SYSTEM>. at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.ConnectHTTP(IController filer, DataProtectionCredential credentials)
at NetApp.DataProtection.Storage.CommandAPI.ConnectNcController.Connect(String name)
[ERR] Failed to run a command NetApp.DataProtection.Storage.CommandAPI.ConnectNcController, Exception:Incorrect credentials for <STORAGE_SYSTEM>.
Incorrect credentials for <STORAGE_SYSTEM>.
[DBG] GetResource exception in initializor : Incorrect credentials for <STORAGE_SYSTEM>.. Incorrect credentials for <STORAGE_SYSTEM>.. The remote server returned an error: (401) Unauthorized.
[INF] End InitializeONTAP
[DBG] InitializeONTAP() throw exception: Failed to connect to storage system. Please check the connectivity between host and storage system.
[DBG] InitializeONTAP() ex.InnerException: Incorrect credentials for <STORAGE_SYSTEM>.. The remote server returned an error: (401) Unauthorized.
- Error messages related to the account lock are detected in
/etc/log/mlog/audit.log
of the storage system
Error: Account currently locked. Contact the storage administrator to unlock it.
Authentication failed.
Error: POST /servlets/netapp.servlets.admin.XMLrequest_filer HTTP/1.1 401 Unauthorized