book
Article ID: 336457
calendar_today
Updated On:
Environment
VMware NSX for vSphere 6.1.x
Cause
An ESXi host that had been previously prepared for NSX was removed from the NSX cluster, and then added back to an NSX-prepared cluster (or different cluster) triggering a host preparation activity. When the ESXi host was removed initially, it should have triggered an un-prepare action. However, the un-prepare did not complete successfully, the host was not rebooted to complete the un-preparation, and /or the VXLAN Tunnel End Point (VTEP vmkernel interface removal failed, which causes the host preparation task to fail when trying to re-create the VTEP as it already exist.
Resolution
To resolve this issue, after removing the ESXi host from an NSX-prepared cluster, ensure that the VTEP vmkernel interface is removed before attempting to add it back into an NSX-prepared cluster.
To manually remove the VTEP vmkernel interface on the ESXi host:
- Put the ESXi host into maintenance mode
- Remove the ESXi host from the NSX prepared cluster.
- Reboot the host
- If the VTEP vmkernel interface is still present on the ESXi host after the reboot, manually delete it from the host networking VMkernel interface configuration.
- Re-add the ESXi host to the NSX prepared cluster and allow it to be prepared.