Skip to main content
NetApp adopts Microsoft’s Business-to-Customer (B2C) Identity Management
Effective December 3 - NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources. For accounts that did not pre-register (prior to Dec 3) access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity. To learn more, Read the FAQ and Watch the video. Need assistance? Complete this form and select “Registration Issue” as the Feedback Category. 
NetApp Knowledge Base

upgrade-mnode script on mNode failing with error: Failed to establish a new connection: Errno 111 Connection refused

Views:
3,014
Visibility:
Public
Votes:
1
Category:
element-software
Specialty:
hci
Last Updated:

Applies to

  • mNode 11.x
  • mNode 12.x

Issue

After successful upgrade of the cluster, the mnode-upgrade script fails 

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

  • Traceback (most recent call last):
      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',))
  • The script will perform automatic clean up, so after a failure there will be no running containers.

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

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