Password remediation for NSX edge nodes fail with '<Edge node FQDN> are not in active state' in the VCF Operations or SDDC Manager
search cancel

Password remediation for NSX edge nodes fail with '<Edge node FQDN> are not in active state' in the VCF Operations or SDDC Manager

book

Article ID: 441135

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware Cloud Foundation VMware NSX

Issue/Introduction

  • Password remediation tasks are failing in SDDC Manager / VCF Operations
  • The failed task shows an error message <node_FQDN> are not in active state:
    Prevalidation password remediation request
    Resources <Edge FQDN> are not available/ready
    ...
    Cause: Resources: <Edge FQDN> are not in ACTIVE state.
  • Additionally, the Password Manager tab might display an error banner like
    Password management operation failed in pre-validation stage

Environment

VMware Cloud Foundation 9.x

SDDC 5.2.x, 9.x

NSX 9.x

Cause

Edge cluster in SDDC database is in error status.

Resolution

Update the NSX-T edge cluster status to ACTIVE in the platform database

  1. Take a snapshot of the SDDC manager VM.
  2. Login to SDDC manager SSH session as the VCF user
  3. Switch to the root user 
    su
  4. Connect to platform database:
    psql -h localhost -U postgres -d platform
  5. List the status of NSXT_Edge and its relevant ID:
    SELECT status, id FROM nsxt_edge_cluster;
    
    Sample output:
     status |                  id
    --------+--------------------------------------
     ERROR | ########-####-####-####-########7a6f
    (1 row)
  6. Change the status:
    UPDATE nsxt_edge_cluster SET status ='ACTIVE' WHERE id='<obtained from above>';
    
    Example:
    UPDATE nsxt_edge_cluster SET status ='ACTIVE' WHERE id='########-####-####-####-########7a6f';
  7. Verify change has been implemented
    SELECT status, id FROM nsxt_edge_cluster;
    
    Sample output:
     status |                  id
    --------+--------------------------------------
     ACTIVE | ########-####-####-####-########7a6f
    (1 row)
  8. See Synchronize domain inventory to identify and delete any remaining task locks.
  9. Remediate passwords.