Hosts remain visible in NSX UI after manually removing it from vCenter
search cancel

Hosts remain visible in NSX UI after manually removing it from vCenter

book

Article ID: 446817

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

ESXi host is still showing up on the NSX UI after manually removing it from vCenter. 

Cause

When a host is manually removed from vCenter and not NSX first, it can cause a stale entry within the NSX UI. 

Resolution

Stale Presence on the UI per KB: How to remove a stale host entry

This occurs when a host is no longer part of the vCenter inventory or is scheduled for decommissioning, and NSX has already been uninstalled. To detect such stale host entries, follow these steps:

  • Access the NSX management UI and navigate to the inventory or host section.

  • Look for any hosts that do not exist in the vCenter inventory or have NSX uninstalled.

  • If any such hosts are found, they can be considered stale entries and should be removed from the NSX inventory.

These host entries can be removed from the UI by selecting the host in question and clicking "Remove NSX" or using the API:

DELETE "https://localhost/api/v1/transport-nodes/<transport-node-UUID>?force=true"

Additional Information

If the steps above doesn't work, do a rolling reboot of the NSX Managers.