"Cannot perform Remove NSX on cluster because of following validation errors on transport nodes (Error code: 26907)" when uninstalling NSX 9.0
book
Article ID: 407707
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
After deletion of a workload domain in VCF Operations using a shared NSX Manager with another workload domain, ESXi transport nodes and Compute Manager entries are still left on the NSX Manager UI.
VCF Operations for Networks was configured for the affected/deleted workload domain and its hosts.
When trying to uninstall NSX from the ESXi hosts, using the NSX Manager UI, under System -> Hosts, the uninstallation fails with the following error: Error: Cannot perform Remove NSX on cluster because of following validation errors on transport nodes - 1)c7b#####-####-####-####-############# : One or more relationships exist for object with id TransportNode/c7b#####-####-####-####-#############. 2)6f2#####-####-####-####-############# : One or more relationships exist for object with id TransportNode/6f2#####-####-####-####-#############. (Error code: 26907)
When clicking on one of the affected nodes that needs to be uninstalled, under "Groups", you see that this host belongs to the vRNI-Node_Group_Profile (Group created by VCF Operations for Networks):
Environment
VMware NSX 9.0
Cause
The groups were not properly removed during the VCF workflow. This is causing the NSX uninstallation to fail due to the relationship with this existing group object and, consequently, the old Compute Manager to remain on the NSX Manager UI.
Resolution
This is a known issue impacting VMware NSX 9.x.
Workaround:
Remove the datasource from VCF Operations for Network.
Remove both vRNI-Node_Group_Profile groups using the NSX Manager UI. 2a) If the the UI gives an error, please proceed with the following API: DELETE /policy/api/v1/infra/domains/default/groups/vRNI-Node_Group_Profile_TN_<...>