Uninstalling NSX-T from a host fails due to the host still being a member group: NSGroup with TransportNode for CPU Mem Threshold
search cancel

Uninstalling NSX-T from a host fails due to the host still being a member group: NSGroup with TransportNode for CPU Mem Threshold

book

Article ID: 322421

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • You recently migrated from NSX for vSphere to NSX-T.
  • The NSX-T version is less than 3.2.1.
  • Your ESXi version is 7.x
  • You are trying to uninstall NSX-T from a host.
  • The following error is seen in the UI:
error seen when trying to uninstall.png
  • Text seen in screenshot:
    • Feb 22, 2022, 10:25:03 AM : Failed to remove NSX on the cluster: Cannot perform Remove NSX on cluster because of following validation errors on transport nodes - 1)4e861f42-aaeb-ce92-61dc-15ec977cee4a : One or more relationships exist for object with id TransportNode/4e861f42-aaeb-ce92-61dc-15ec977cee4a from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774. 2)aabb1f42-85c3-c05a-e9c7-8830f1aa8ce1 : One or more relationships exist for object with id TransportNode/aabb1f42-85c3-c05a-e9c7-8830f1aa8ce1 from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774. 3)4cdb1f42-4dd6-8ec5-c768-d0b803fdfbf4 : One or more relationships exist for object with id TransportNode/4cdb1f42-4dd6-8ec5-c768-d0b803fdfbf4 from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774.
  • In the NSX-T manager log /var/log/proton/nsxapi.log:
    • 2022-02-22T10:26:57.981Z ERROR http-nio-127.0.0.1-7440-exec-2 NsxComputeCollectionServiceImpl 8672 FABRIC [nsx@6876 comp="nsx-manager" errorCode="PM26907" level="ERROR" reqId="26de7333-f770-4a40-885b-5ed5336ded3c" subcomp="manager" username="admin"] Cannot perform Remove NSX on cluster 2a578b1c-49f6-43b4-b97d-b4c8c8c75c6d:domain-c34811 because of following validation errors on transport nodes - 1)4e861f42-aaeb-ce92-61dc-15ec977cee4a : One or more relationships exist for object with id TransportNode/4e861f42-aaeb-ce92-61dc-15ec977cee4a from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774. 2)aabb1f42-85c3-c05a-e9c7-8830f1aa8ce1 : One or more relationships exist for object with id TransportNode/aabb1f42-85c3-c05a-e9c7-8830f1aa8ce1 from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774. 3)4cdb1f42-4dd6-8ec5-c768-d0b803fdfbf4 : One or more relationships exist for object with id TransportNode/4cdb1f42-4dd6-8ec5-c768-d0b803fdfbf4 from NSGroup/15fb9ef1-da18-424f-973c-b224660bd774.


Environment

VMware NSX-T

Cause

During the v2T migration, the ESXi hosts are added to a group created by NSX-T called:
NSGroup with TransportNode for CPU Mem Threshold
This group ensures that the transport nodes have the correct CPU memory threshold settings in NSX-T.
As this host is part of the group, it prevents the VIBs from being removed until the host is removed from the group.
This issue is outlined in the NSX-T migration guide as a warning that you should remove it from the group before trying to remove NSX-T from a host that was migrated.
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/migration/GUID-CEA71E88-F7DF-444B-ACD6-DF20DB1D5674.html

Resolution

From NSX-T 3.2.1 onwards, there is no longer a need to remove the transport node from this group prior to uninstall of NSX-T from the host.

Workaround:
Before removing a host which was migrated from NSX for vSphere to NSX-T, you need to remove the host from the group: NSGroup with TransportNode for CPU Mem Threshold
Please review the following guide for more details:
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/migration/GUID-CEA71E88-F7DF-444B-ACD6-DF20DB1D5674.html