VMware NSX

  • 1.  NSX-V delete controller stuck at REMOVING

    Posted May 13, 2022 01:06 PM

    I started the task with the forceRemoval option, but it appears to have shutdown the controller VM only and is stuck on REMOVING.

    An extract from https://msx-mgr-ip/api/2.0/vdn/controller:

    <status>REMOVING</status>
    <upgradeStatus>UPGRADED</upgradeStatus>
    <version>6.3.7073587</version>
    <upgradeAvailable>false</upgradeAvailable>

    I think the corresponding log entry is this:

    "ERROR TaskFrameworkExecutor-3 ControllerRemovalTask:324 - cannot get controller node uuid / remove node from cluster"

    any idea how I can bypass this and delete the controller? this is an old test environment where all controllers were showing disconnected and I need to redeploy...



  • 2.  RE: NSX-V delete controller stuck at REMOVING
    Best Answer

    Posted May 14, 2022 03:11 PM

    VMware actually updated their docs to show the API call to force a delete recently!

    https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/com.vmware.nsx.troubleshooting.doc/GUID-794D77A1-BB77-4B02-ABB6-3FE2930677B0.html

    DELETE /2.0/vdn/controller/{controllerId}?forceRemoval=true

    You were pretty close! Just use the parameter and you should be good to go.



  • 3.  RE: NSX-V delete controller stuck at REMOVING

    Posted May 16, 2022 11:56 AM

    Thanks, that did the trick indeed.