Skip to main content
NetApp Knowledge Base

SCV backup fails to discover resources with "Incorrect credentials" error

Views:
535
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Plug-in for VMware vSphere (SCV)

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 that Unauthorized 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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.