Strange behaviour from NSX Manager once I started deployment of contollers.
The controller deployment was getting stuck in a deploying status, from the nsx manager it’s quite visible from the installation tab, from the cli you can check it’s progress or lack of it from the cli with :
#show controller list all
To resolve this I looked at :
- Removing via VC web client, Network and Security, Installation, Under Management, select controller to delete or forcefully delete.
- NSX manager -reboot
- vCenter – restarted services, – reboot
- NSX API was the only way to remove the contoller
To remove via the api :
- connected to nsx manger and get thhe controller-id #https://nsxmgr-01/api/2.0/vdn/controller

- With the controller id and using the DELETE API
#https://nsxmgr-01/api/2.0/vdn/controller/controller-5?forceRemoval=False
If there is only 1 controller you have to forcefully remove, forceRemoval=True