Reinstalled ESXi have Validation Error "9548 - Host is not added to VDS" when attempting to add back to the same NSX prepared cluster
search cancel

Reinstalled ESXi have Validation Error "9548 - Host is not added to VDS" when attempting to add back to the same NSX prepared cluster

book

Article ID: 389845

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Attempts to add hosts back to cluster and add to VDS do not seem to work.
  • While adding back reinstalled ESXi hosts to the same NSX prepared cluster the NSX UI shows the following Validation Error: 
  •  

Preparation Failed

9548: - Host dc97e0df-4ce2-Ba5c-############ is not added to VDS value: 50 2c 41 29 58 b7 5e 6b-## ## ## ## ## ## ## ##

Environment

VMware NSX 4.x

Cause

This issue can happen if the original ESXi host was not removed from NSX before being removed from vCenter Server inventory. 

Resolution

Workaround #1

  1. Remove the host from the cluster and place into either:
    1. Another non-NSX cluster.
    2. The Data Center level object in the vCenter inventory.
  2. Move the host back into the NSX prepared cluster

NOTE: When the host is removed from the NSX cluster you must wait several minutes for the NSX VIBs to be completely removed. The current state of this can be observed in the NSX UI under System > Fabric > Hosts > Other Nodes. 

Workaround #2 (relevant if the NSX inventory reference for this ESXi host is stale or from the original ESXi host, or cannot perform workaround #1 for any reason)

  1. Gather the ESXi host TN UUID from the NSX GUI (in NSX GUI System > Fabric > Hosts > expand appropriate cluster > View Details for the appropriate ESXi host > ID)
  2. Ensure the new ESXi host is in maintenance mode in vCenter Server.
  3. Disconnect the ESXi host in vCenter Server (in VC GUI, right click the appropriate ESXi host > Connection > Disconnect).
  4. Remove the ESXi host from vCenter Server inventory (in VC GUI, right click the same ESXi host > Remove from Inventory). 
  5. Run the following API call to the NSX Manager to remove the ESXi host from NSX inventory entirely. 
    1. DELETE  /api/v1/transport-nodes/<transport-node-id>?force=true&unprepare_host=false
  6. Re-add the ESXi host back to vCenter Server inventory.
  7. Re-add the ESXi host to the VDS in vCenter Server.
  8. Move it to the appropriate cluster so NSX preparation will begin. 

 

 

 

Additional Information