An NSX upgrade initiated from the SDDC fails or hangs on a specific host. The upgrade process is unable to proceed to the next step because of an incomplete host upgrade.
Upon verification in the NSX UI, the host causing the failure is visible as an "unmanaged host." This typically occurs when a host has been previously decommissioned and removed from the SDDC and vCenter, but its registration was not fully cleared from NSX.
VMware NSX
VMware vCenter Server
Software-Defined Data Center (SDDC)
The failure is caused by a stale transport node entry persisting within the NSX Manager database.
During an NSX upgrade, the upgrade process queries the NSX Manager database for all registered transport nodes and attempts to apply the upgrade to them. Because the decommissioned host is still registered in the NSX database (despite being physically or logically removed from the SDDC and vCenter), the upgrade fails when it is unable to communicate with or successfully update the stale node. The overarching upgrade sequence cannot proceed until this specific host's status is resolved.
To resolve this issue, you must manually remove the stale transport node entry from the NSX Manager database using the NSX API and reset the host upgrade plan.
Follow these steps:
DELETE https://<nsx-mgr-ip>/api/v1/transport-nodes/<transport-node-UUID>?force=true&unprepare_host=trueGET https://<nsx-mgr-ip>/api/v1/transport-nodes/<transport-node-UUID>Reset the Upgrade Plan
Verify that the upgrade-coordinator service is currently running on the NSX Manager.
Reset the host upgrade plan by running the following API call towards the NSX Manager VIP:POST https://<mgr_VIP>/api/v1/upgrade/plan?action=reset&component_type=HOST
After successfully resetting the upgrade plan, you can resume or reinitiate the NSX upgrade process.
Please check below KB for more details on resetting NSX upgrade plan: