VMware vCenter Server
VMware NSX
When NSX is uninstalled, the "Delete Compute Manager" step in the NSX UI unregisters the extension from vCenter. If the NSX Manager was deleted or formatted before this step, the vCenter Managed Object Browser (MOB) still contains the com.vmware.nsx.management.nsxt extension.
This stale extension prevents the automated cleanup of NSX-managed network objects.
Prerequisites:
https://<vCenter_FQDN>/mob/?moid=ExtensionManager. com.vmware.nsx.management.nsxt UnregisterExtension method. com.vmware.nsx.management.nsxt in the extensionKey field and click Invoke Method.If specific port groups remain after unregistering the extension:
dvs-id and dvportgroup-id for the stale segment from the browser URL when selected in the vSphere Client.https://<vCenter_FQDN>/mob/?moid=<dvs-id>&method=removeNsxPortgroups. dvportgroup-id in the parameters field and click Invoke Method Remove Stale NSX Segments.Restart the vSphere Client service via SSH to clear the inventory cache by running the following command:service-control --restart vsphere-ui