One of the control plane machine in the management clusters is stuck in provisioned state.
On running kubectl get node -o wide , there is no external ip assigned.
Verified the the vsphere-cloud-controller-manager pod logs and it complains "VCenter thumbprint does not match"
Environment
TCA: 3.2
TCP: 5.0
Cause
This is due to the VCenter thumbprint does not not match.
The thumprint were updated manually and not via script due to which it was missed to be updated in the Management cluster. To resolve this, thumbprint needs to be updated manually.
Update the vcenter thumbprint in config map kube-system/vsphere-cloud-config
Login to the Management cluster
Edit the config map:
kubectl edit configmap -n kube-system sphere-cloud-config -o yaml //replace the thumbprint with the exact VC thumbprint
Restart by deleting all 3 cloud pods:
kubectl get pod -A |grep cloud kubectl delete pod sphere-cloud-controller-manager-<abcde> kubectl delete pod sphere-cloud-controller-manager-<fghi> kubectl delete pod sphere-cloud-controller-manager-<jklm>