SCV 备份无法发现资源,并显示 "Incorrect credentials" 错误
适用场景
问题描述
- 选择控制器备份作业失败,并出现错误
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
显示Unauthorized
存储系统返回错误
[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.
- 在
/etc/log/mlog/audit.log
存储系统中检测到与帐户锁定相关的错误消息
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