跳转到主内容

MNode 上的 upgrade-mnode 脚本失败、出现错误:无法建立新连接: errno 111 连接被拒绝

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

适用场景

  • mNode 11.x
  • mNode 12.x

问题描述

成功升级集群后, mnode-upgrade 脚本将失败 

mNodeCLI # /sf/packages/mnode/upgrade-mnode -mu <mnode user>

  • 回写(最近一次调用):
      File "setup_scripts/config_util.py", line 102, in retry_operation
      File "setup_scripts/mnode_api_client.py", line 31, in get_root_assets
      File "setup_scripts/mnode_api_client.py", line 339, in retry_on_401
      File "requests/sessions.py", line 521, in get
      File "requests_oauthlib/oauth2_session.py", line 425, in request
      File "requests/sessions.py", line 508, in request
      File "requests/sessions.py", line 618, in send
      File "requests/adapters.py", line 508, in send
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /mnode/1/assets (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb42076550>: Failed to establish a new connection: [Errno 111] Connection refused',))
    [Date/Time Stamp]:[mnodecfg:69] ERROR:HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /mnode/1/assets (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fcb42076550>: Failed to establish a new connection: [Errno 111] Connection refused',))
  • 脚本将执行自动清理,因此在出现故障后将不会运行任何容器。

    mNodeCLI $ sudo docker ps
    CONTAINER ID    IMAGE     COMMAND      CREATED      STATUS     PORTS      NAMES

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.