"HTTP 401:在运行setup-mnode时获取根资产时出错"
适用场景
- 管理节点( MNode )
- Element软件11.3及更高版本
问题描述
运行 setup-mnode脚本 (/sf/packages/mnode/setup-mnode
)时、出现以下错误:
HTTP 401: Error getting root assets
完整错误输出:
2019-08-21T06:47:00.513774Z]:[config_util:75] INFO:Retrying 45/45 time...
[2019-08-21T06:47:00.514760Z]:[config_util:78] INFO:Waiting 10 seconds before next attempt.
[2019-08-21T06:47:10.577006Z]:[config_util:72] ERROR:Maximum Retry Attempts (45) Reached. Raising Error.
Traceback (most recent call last):
File "setup_scripts/config_util.py", line 59, in retry_operation
File "setup_scripts/mnode_api_client.py", line 32, in get_root_assets
File "setup_scripts/mnode_api_client.py", line 343, in handle_response
sfprime.MnodeCfgError: Error: HTTP 401: Error getting root assets. -
[2019-08-21T06:47:10.577901Z]:[mnodecfg:69] ERROR:Error: HTTP 401: Error getting root assets. -