跳转到主内容

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

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

适用于

  • NetApp Element 软件 11.3 , 11.5 和 12.0
  • 管理节点

问题

  • 在 AIQ 收集器容器 (Mnode-svc -aiq-collector) 日志中观察到以下输出。

<DATE TIME>:MainThread:[sf.mon.mnode_api_client:get_mnode_settings:101]INFO:Attempting to get session from mnode API
<DATE TIME>: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.)

<DATE TIME> 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
<DATE TIME>ERROR (missing_token) Missing access token parameter.
Traceback (most recent call last):
  File "mnode-aiq-collector.py", line 390, in main
  File "mnode-aiq-collector.py", line 30, in startup
  File "mnode-aiq-collector.py", line 359, in _get_mnode_service_session
  File "mnode-aiq-collector.py", line 339, in _get_client_credentials_session
  File "site-packages/requests_oauthlib/oauth2_session.py", line 244, in fetch_token
  File "site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 411, in parse_request_body_response
  File "site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 379, in parse_token_response
  File "site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 389, in validate_token_parameters
MissingTokenError: (missing_token) Missing access token parameter.

  •  调用 SetAuthConfiguration 时出现 XDBVersionMismatch 错误将显示在新的集群主机的验证日志中(/var/log/sf-element-auth.info

<DATE TIME> NODENAME element-auth[22660]:     An error occurred while refreshing the key ring. Will try again in 2 minutes.
<DATE TIME> NODENAME 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]
<DATE TIME> NODENAME 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]
<DATE TIME> NODENAME element-auth[22660]:  ---> Element.Core.Exceptions.ApiServerException: ms/MSRestAPIServer.cpp:9516 void solidfire::MSRestAPIServer::SetAuthConfiguration(const solidfire::JsonParams&, Json::Value&): Check failed: [Throw]
<DATE TIME> NODENAME 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 显示 " 内部服务器错误 "
  • 混合云控制( HCC ) UI 显示 500 连接错误
  • 混合云控制 UI 无法向集群进行身份验证
  • mNode AIQ 收集器服务重复显示以下错误 -

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...
mnode_mnode-svc-aiq-collector.1.wli9iaea4d1d@SF-F9D9    | Sep 12 2020 10:32:00.672 INFO Attempting to retrieve asset information...
mnode_mnode-svc-aiq-collector.1.rsboa14rojfy@SF-F9D9    | Sep 12 2020 15:05:05.919 INFO Attempting to retrieve asset information...

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support