Deleting stale transport node fails with Error: Cannot delete a transport node <TN_ID> which is part of TNP applied compute collection <CC_ID>. Please use the object name or UUID in Global Search to find all linked objects.
search cancel

Deleting stale transport node fails with Error: Cannot delete a transport node <TN_ID> which is part of TNP applied compute collection <CC_ID>. Please use the object name or UUID in Global Search to find all linked objects.

book

Article ID: 431779

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Stale transport node exists. For example:
  • Deleting the stale transport node with DELETE /api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/<TN_ID>?force=true&unprepare_host=false throws Error:
    nsxapi.log
    <TIMESTAMP>  INFO http-nio-127.0.0.1-7440-exec-43 NsxBaseRestController 88399 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Error in API /nsxapi/api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/<TN_ID>?force=true&unprepare_host=false caused by exception com.vmware.nsx.management.switching.common.exceptions.SwitchingException:  {"moduleName":"NsxSwitching service","errorCode":9411,"errorMessage":"Cannot delete a transport node <TN_ID> which is part of TNP applied compute collection <CC_ID>. Please use the object name or UUID in Global Search to find all linked objects."}

Environment

NSX 4.1

Cause

Deleting a transport node is not allowed if a host is part of TNP (Transport Node Profile) applied cluster.
Moving the host out of TNP applied cluster is required before attempt to delete the host.

Resolution

  1. Navigate to vSphere Client.
  2. Move the corresponding host out of the TNP applied cluster.
  3. Re-try delete operations such as:
    DELETE /api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/<TN_ID>?force=true&unprepare_host=false

 

Additional Information

Installing or Upgrading NSX on an ESXi host fails reporting the node already exists