ESXi hosts which were prepared for NSX were taken out of cluster for maintenance activities. While re-adding the ESXi hosts to the same cluster, NSX vibs installation on the hosts failed with the failure as shown below
NSX installation starts but fails almost immediately with the error "Failed to install software on host. Unable to connect the host https://<IPaddress>/sdk . (here the IP address is incorrect management IP address of ESXi)
VMware ESXi, 7.0.3, 24585291
NSXT Version 3.2.2.0.0.20737185
TCP 2.2
The NSX vibs installation failed on ESXi host since the NSX manager was attempting to connect via incorrect IP address of the ESXi host.
Perform below actions to recover the ESXi hosts and to re-install NSX vibs
esxcli software vib list | grep -i nsx nsxcli -c del nsx /var/run/log/esxupdate.log If the issue still persists, refer KB 206567 to contact Broadcom support
To uninstall NSX from ESXi refer Uninstall NSXT 3.2