Edge node passwords and edge inventory are out-of-sync in SDDC Manager.
search cancel

Edge node passwords and edge inventory are out-of-sync in SDDC Manager.

book

Article ID: 451085

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Edge node passwords and/or edge node inventory showing out of sync or showing as disconnected in SDDC manager. 

Environment

  • VMware Cloud Foundation 4.x
  • VMware Cloud Foundation 5.x

Cause

This could be caused because the edge node VM was torn down and re-created on a different cluster outside of the SDDC manager.

Resolution

To resolve this issue the edge node needs to be torn down and re-created from the SDDC Manager directly

  1. Download the attached migrate_edge_node.py script.

  2. Copy the migrate_edge_node to the /home/vcf/ directory on the SDDC Manager.

  3. SSH into the SDDC Manager with vcf user and then elevate with su.

  4. Run the script. (audit password is optional)

    python3 migrate_edge_node.py \
        --target-cluster <name-or-uuid> \
        [--force] \
        <sso_user> <sso_pass> \
        <nsx_mgr_fqdn> <nsx_user> <nsx_pass> \
        <edge_fqdn> <root_pass> [admin_pass] [audit_pass]

Attachments

migrate_edge_node.py get_app