跳转到主内容

在部署MNode资产阶段、Setup-mnode失败并显示TokenExpiredError

Views:
2
Visibility:
Public
Votes:
0
Category:
element-software<a>用于翻译</a>
Specialty:
solidfire
Last Updated:

适用场景

  • Element Management Node (mNode)版本12.2
  • 运行 Element 软件的 NetApp 存储集群

问题描述

使用setup-mnode脚本配置12.2 mNode时、初始步骤完成、但部署MNode资产阶段失败、并在多次重试后回滚、并出现以下错误:

[2020-12-28T23:06:25.431752Z]:[config_util:122] INFO:Retrying 42/45 time...
[2020-12-28T23:06:25.432365Z]:[config_util:125] INFO:Waiting 10 seconds before next attempt.
[2020-12-28T23:06:42.052092Z]:[config_util:122] INFO:Retrying 43/45 time...
[2020-12-28T23:06:42.052717Z]:[config_util:125] INFO:Waiting 10 seconds before next attempt.
[2020-12-28T23:06:58.571998Z]:[config_util:122] INFO:Retrying 44/45 time...
[2020-12-28T23:06:58.572724Z]:[config_util:125] INFO:Waiting 10 seconds before next attempt.
[2020-12-28T23:07:15.101743Z]:[config_util:122] INFO:Retrying 45/45 time...
[2020-12-28T23:07:15.102404Z]:[config_util:125] INFO:Waiting 10 seconds before next attempt.
[2020-12-28T23:07:25.162756Z]:[config_util:119] ERROR:Maximum Retry Attempts (45) Reached. Raising Error.
Traceback (most recent call last):
  File "setup_scripts/config_util.py", line 106, in retry_operation
  File "setup_scripts/mnode_api_client.py", line 34, in get_root_assets
  File "setup_scripts/mnode_api_client.py", line 373, in retry_on_401
  File "requests/sessions.py", line 521, in get
  File "requests_oauthlib/oauth2_session.py", line 395, in request
  File "oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
[2020-12-28T23:07:25.164008Z]:[mnodecfg:68] ERROR:(token_expired)
Traceback (most recent call last):
  File "setup_scripts/mnodecfg.py", line 66, in config_pre_networked_mnode
  File "setup_scripts/mnodecfg.py", line 173, in _config_mnode
  File "setup_scripts/config_util.py", line 573, in launch_mnode_assets
  File "setup_scripts/config_util.py", line 640, in _ensure_root_asset
  File "setup_scripts/config_util.py", line 120, in retry_operation
  File "setup_scripts/config_util.py", line 106, in retry_operation
  File "setup_scripts/mnode_api_client.py", line 34, in get_root_assets
  File "setup_scripts/mnode_api_client.py", line 373, in retry_on_401
  File "requests/sessions.py", line 521, in get
  File "requests_oauthlib/oauth2_session.py", line 395, in request
  File "oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
[2020-12-28T23:07:25.164833Z]:[mnodecfg:73] ERROR:mNode configuration has failed in a unrecoverable state. Attempting to cleanup docker environment.

 

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.