Skip to main content
NetApp Knowledge Base

Hitachi OPs Center data source addition fails with 401 Unauthorized in OCI

Views:
269
Visibility:
Public
Votes:
0
Category:
oncommand-insight
Specialty:
om
Last Updated:

Applies to

  • OnCommand Insight (OCI) 7.3.12+
  • Hitachi HDS Ops Center

Issue

  • Hitachi OPs Center data source addition  fails with 401 Unauthorized in OCI in the test credential step
  • acq.log:
ERROR [DSM-pool-3-thread-92/<opscenter_name>(test)] com.onaro.sanscreen.acquisition.datasource.hds_opscenter.OpsCenterFoundationPackage (OpsCenterFoundationPackage.java:84) - Failed to execute test command on device: Unable to login to the device. Error message received from device is : Request failed with status 401 : https://<opscenter_name>:20961/v1/security/tokens
com.onaro.sanscreen.acquisition.framework.datasource.DataSourceErrorException: Unable to login to the device. Error message received from device is : Request failed with status 401 : https://<opscenter_name>:20961/v1/security/tokens
at com.onaro.sanscreen.acquisition.datasource.hds_opscenter.transport.OpsCenterAdministratorRestClient.fetchSecurityTokenForOpsCenterAdministrator(OpsCenterAdministratorRestClient.java:70) ~[hds_opscenter.jar:?]
at com.onaro.sanscreen.acquisition.datasource.hds_opscenter.OpsCenterFoundationPackage.doTest(OpsCenterFoundationPackage.java:73) [hds_opscenter.jar:?]
at com.onaro.sanscreen.acquisition.foundation.datasource.BaseFoundationPackage.test(BaseFoundationPackage.java:301) [hds_opscenter.jar:?]
at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.test(BaseDataSource.java:817) [au.jar:?]
at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.test(BaseDataSource.java:744) [au.jar:?]
at com.onaro.sanscreen.acquisition.framework.mgmt.DataSourceManager$DataSourceTest.run(DataSourceManager.java:678) [au.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_333]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_333]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_333]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_333]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_333]
  • The same credentials when tried directly to access OpsCenter works fine

 

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.