You cannot delete or add a transport node.

Problem

The error occurs in the following scenario:

  1. An ESXi host is a fabric node and a transport node.

  2. The host is removed as a transport node. However, transport node deletion fails. The state of the transport node is Orphaned.

  3. The host is removed as a fabric node immediately.

  4. The host is added as a fabric node again.

  5. The host is added as a transport node with a new transport zone and switch. This step results in the error Failed/Partial Success.

Cause

In step 2, if you wait for a few minutes, the transport node deletion will succeed because NSX Manager will retry the deletion. When you delete the fabric node immediately, NSX Manager cannot retry because the host is removed from NSX-T Data Center. This results in incomplete cleanup of the host, with the switch configuration still present, which causes step 5 to fail.

Solution

  1. Delete all vmknics from vCenter Server on the host that are connected to the NSX-T Data Center switch.
  2. Get the switch name using the esxcfg-vswitch -l CLI command. For example:
    esxcfg-vswitch -l
    Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
    vSwitch0         1536        4           128               1500    vmnic0
     
      PortGroup Name        VLAN ID  Used Ports  Uplinks
      VM Network            0        0           vmnic0
      Management Network    0        1           vmnic0
     
    Switch Name      Num Ports   Used Ports  Uplinks
    nsxvswitch       1536        4
  3. Delete the switch name using the esxcfg-vswitch -d <switch-name> --dvswitch CLI command. For example:
    esxcfg-vswitch -d nsxvswitch --dvswitch