VMware Networking Community
ppgdtap
Enthusiast
Enthusiast
Jump to solution

NSX-V delete controller stuck at REMOVING

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...

0 Kudos
1 Solution

Accepted Solutions
engyak
Enthusiast
Enthusiast
Jump to solution

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...

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

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

View solution in original post

2 Replies
engyak
Enthusiast
Enthusiast
Jump to solution

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...

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

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

ppgdtap
Enthusiast
Enthusiast
Jump to solution

Thanks, that did the trick indeed.

0 Kudos