Modify the ESXi hostname to use lowercase instead of uppercase characters to match the entry in the NCP logs. Or modify the ESXi hostname to match FQDN.
This issue is resolved in vSphere ESXi 7.0 U2c (build number 18426014).
Workaround:
1. To view ESXi hostname in vCenter, navigate to the Hosts & Clusters view in Inventory -> Select the ESXi host -> select the Configure tab -> under Networking, select TCP/IP Configuration -> expand the Default TCP/IP Stack -> verify the Hostname and Domain fields.
2. To view the node name in NSX manager (NCP), from NSX Manager GUI navigate to Inventory -> Containers -> Clusters -> under the Nodes column, select the hyperlinked number of nodes to view the nodenames.
- Alternatively, view the NCP node name by logging into the Supervisor cluster context and running kubectl get nodes
3. Compare the ESXi hostname in vCenter with the node names in NSX for case sensitivity as well as FQDN vs. shortname mismatch.
If there is a mismatch identified in the above steps, use the below procedure to correct the mismatch:
1. Open port 10250 bidirectionally between Supervisor Nodes and ESXi
2. Confirm port is opened using curl to test from Supervisor CP Node SSH session
- # curl -v https://<ESXI_HOSTNAME>:10250
3. Place 1 host in Maintenance Mode
4. Once the host enters Maintenance Mpde; from Supervisor Cluster context, delete the node using kubectl delete node <ESXI_NODE_NAME>
5. From vCenter Web client, click on ESXi host -> Configure -> Networking -> TCP/IP Configuration -> Default stack -> Edit -> change name to lowercase, or change the domain to match the FQDN.
6. Exit ESXi Maintenance Mode. When the host exits Maintenance Mode, it will automatically be added back to the Supervisor Cluster as a worker node.
Perform this operation on all ESXi hosts 1 by 1