跳转到主内容

" 尝试检索身份验证令牌 " 时出现错误

Views:
66
Visibility:
Public
Votes:
0
Category:
element-software
Specialty:
hci
Last Updated:

适用场景

  • NetApp Element软件11.3及更高版本
  • 管理节点(mNode)

问题描述

在AIQ收集器连接程序(mnode-Svc-aiq-Collector)日志中可以看到以下输出:

AIQ收集器容器(mnode-Svc-aiq-Collector)日志:

MainThread:[sf.mon.mnode_api_client:get_mnode_settings:101]INFO:Attempting to get session from mnode API
MainThread:[sf.mon.mnode_api_client:log_it:36]DEBUG:Retrying sf.mon.mnode_api_client.MNodeApiClient.get_mnode_settings_with_retries in 60.0 seconds as it raised (Unable to decrypt stored MNode auth configuration settings. The data protection keys may have been removed or overwritten.)

INFO Attempting to retrieve auth token...
/tmp/_MEIpLgicD/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/la...l#ssl-warnings
ERROR (missing_token) Missing access token parameter.
Traceback (most recent call last):
*
*
*
  File "site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 389, in validate_token_parameters
MissingTokenError: (missing_token) Missing access token parameter

 调用SetAuthConfiguration时xDBVersion不匹配的错误 将显示在新集群主节点的验证日志/var/log/sf-element-auth.info()中:
element-auth[22660]: An error occurred while refreshing the key ring. Will try again in 2 minutes.
element-auth[22660]: element_auth_svc.Exceptions.ServiceUnavailableException: Unable to store configuration data to Element API: ms/MSRestAPIServer.cpp:951
6 void solidfire::MSRestAPIServer::SetAuthConfiguration(const solidfire::JsonParams&, Json::Value&): Check failed: [Throw]
element-auth[22660]: Exception: xDBVersionMismatch at void solidfire::ThrowIfFatalError(const solidfire::DBException&, const string&) (cs/DBCommon.cpp:134): DBClient operation failed due to version mismatch at [/elementauth/mNode]
element-auth[22660]:  ---> Element.Core.Exceptions.ApiServerException: ms/MSRestAPIServer.cpp:9516 void solidfire::MSRestAPIServer::SetAuthConfiguration(const solidfire::JsonParams&, Json::Value&): Check failed: [Throw]
element-auth[22660]: Exception: xDBVersionMismatch at void solidfire::ThrowIfFatalError(const solidfire::DBException&, const string&) (cs/DBCommon.cpp:134): DBClient operation failed due to version mismatch at [/elementauth/mNode]
Swagger UI 无法登录集群或向集群进行身份验证
  • Swagger UI提供 Internal Server error
  • Hybrid Cloud Control (HCC) UI显示500连接错误
  • HCC UI无法向集群进行身份验证
  • mnode-Svc-aiq-Collector 服务 反复显示以下错误

mnode_mnode-svc-aiq-collector.1.ldqo22pevihd@SF-F9D9    | Sep 12 2020 14:58:49.620 INFO Attempting to retrieve asset information...
mnode_mnode-svc-aiq-collector.1.wli9iaea4d1d@SF-F9D9    | Sep 12 2020 10:31:51.407 INFO Attempting to retrieve asset information...

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.