When trying to delete an edge from NSX. This will go into updeploy in progress and will not finish the task, also if you go into the Vcenter you will see the edge vm still power on.
VMware NSX
Step 1
Note: if the edge VM does not exist, proceed with step 2
Step 2
After we have removed the edge VM from VCenter:
Attempt Edge Deletion:
DELETE https://<manager-ip>/api/v1/transport-nodes/<tn-id> API.
Monitor Deletion Progress:
/state API output./state API will transit from “pending” -> “in_progress” -> “failed” -> “orphaned”.GET https://<manager-ip>/api/v1/transport-nodes/<tn-id>/state API.Identify Stuck Deletion:
/etc/init.d/nsx-proxy status | restart