In VMware NSX environments, users may encounter a scenario where a stale Global NSX Manager entry remains visible in the user interface and cannot be deleted. The Delete option for the stale node is greyed out.
Symptoms:
curl -k -u admin -X POST "https://<NSX_Manager_IP>/api/v1/cluster/<STALE_NODE_UUID>?action=remove_node"root@nsx-mgr-01:~# curl -k -u admin -X POST "https://192.##.##.##/api/v1/cluster/d5####-5f##-11##-98##-00##########?action=remove_node"Enter host password for user 'admin':{ "details" : null, "error_code" : 36754, "module_name" : "node-services", "error_message" : "[ClusterBootManager] Cannot detach d5####-5f##-11##-98##-00########## node as the repository is not synchronized on other nodes. Please make sure that repository is synchronized on at least one of the other node. You can check the synchronization status on 'System'-->'Appliances' page under 'VIEW DETAILS' tab.", "error_data" : null, "related_errors" : nullVMware NSX
VMware NSX Global Manager
The issue is caused by a communication breakdown between the NSX Global Manager and vCenter Server, after a vCenter certificate replacement.
If a Global Manager appliance is removed from vCenter while the connectivity/trust between NSX Global Manager and vCenter is disrupted, the automated inventory cleanup process in NSX fails. This leaves an orphaned inventory record in the NSX Global Manager database that cannot be reconciled through standard UI workflows until synchronization is restored.
To resolve this issue, you must first restore the management plane communication before manually purging the stale entry via API.
Once connectivity and synchronization are verified, use a REST API client (such as curl) to remove the orphaned node from the cluster configuration.
curl -k -u admin -X POST "https://<NSX_Manager_IP>/api/v1/cluster/<STALE_NODE_UUID>?action=remove_node"Note: Replace <NSX_Manager_IP> with your Manager's FQDN or IP, and <STALE_NODE_UUID> with the ID of the orphaned node.