Removing host in SDDC Manager fails with error_message=Cannot delete a transport node which is part of TNP applied compute collection
search cancel

Removing host in SDDC Manager fails with error_message=Cannot delete a transport node which is part of TNP applied compute collection

book

Article ID: 389571

calendar_today

Updated On:

Products

VMware SDDC Manager VMware Cloud Foundation

Issue/Introduction

  • Remove host task in SDDC manager fails at deleting host from transport node profile stage
  • Error in /var/log/vmware/vcf/domainmanager/domainmanager.log
    ERROR [vcf_dm,############4857,b386] [c.v.v.c.f.p.n.a.DeleteTransportNodes,dm-exec-2]  Exception occurred while deleting the transport node, hence retrying as forced delete, Excepton details:
    com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => {
        messages = [],
        data = struct => {error_message=Cannot delete a transport node ########-####-####-####-########2814 which is part of TNP applied compute collection ########-####-####-####-########d787:domain-c8. Please use the object name or UUID in
     Global Search to find all linked objects., httpStatus=BAD_REQUEST, error_code=9411, module_name=NsxSwitching service},
        errorType = INVALID_REQUEST
    }

     

    ERROR [vcf_dm,############4857,a467] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-16]  [32SSLQ] TRANSPORT_NODE_DELETION_TASK_FAILED Transport node deletion operation failed
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Transport node deletion operation failed
    
    
    Caused by: java.util.concurrent.CompletionException: com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => {
        messages = [],
        data = struct => {error_message=Cannot delete a transport node ########-####-####-####-########2814 which is part of TNP applied compute collection ########-####-####-####-########d787:domain-c8. Please use the object name or UUID in Global Search to find all linked objects., httpStatus=BAD_REQUEST, error_code=9411, module_name=NsxSwitching service},
        errorType = INVALID_REQUEST
    }
  • Resolution in KB Removing domain in SDDC Manager fails with error_message=Cannot delete a transport node which is part of TNP applied compute collection cannot be applied as other hosts in cluster using the TNP

Cause

The removing host workflow cannot remove the transport nodes because it fails to remove the Transport Node Profile from the host.

Resolution

  1. Login to vSphere Client and locate the host to be removed.
  2. Ensure host is in Maintenance Mode.
  3. Manually take the host out of the vSphere Cluster (This will detach the host from the TNP applied to the cluster)
  4. Login to NSX UI and navigate to System > Fabric > Nodes and Ensure Host is out the Cluster and is in Standalone host.
  5. Select the host and click "Remove NSX"
  6. Restart the Remove host task in SDDC Manager UI.