「認証トークンを取得しようとしています」時の missingToken エラー
環境
- NetApp Elementソフトウェア11.3以降のバージョン
- 管理ノード(mNode)
問題
次の出力がAIQ Collector Contaner(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を呼び出すと、xDBVersionMismatchエラーが 新しいクラスタマスターの認証ログ(
/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の特長
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...