In the Tanzu Mission Control (TMC) web UI, one or more workload clusters with provider vSphere with Tanzu (also known as vSphere Supervisor) remain stuck in Unknown state.
While connected to the workload cluster context, one or more of the following symptoms are observed:
kubectl get pods -n vmware-system-tmc
kubectl logs -n vmware-system-tmc <intent-agent pod>
unauthenticated - no valid authentication credentials
vSphere Supervisor managed by Tanzu Mission Control (TMC)
Tanzu Mission Control (TMC) monitors the status of a workload cluster by deploying pods and services directly into the cluster.
If these pods are failing or not working properly, TMC will not be able to accurately report on the state of the cluster.
Confirm that TMC pods are not failing in the workload cluster.
kubectl get pods -n vmware-system-tmc
If any TMC pods are failing, check their logs and describe the pods for more information on the cause. All TMC pods must be in a healthy state for accurate monitoring.
kubectl describe pod -n vmware-system-tmc <pod name>
kubectl logs -n vmware-system-tmc <pod name>
tanzu mission-control cluster validate --kubeconfig <path/to/kubeconfig for the workload cluster>
Checks:
Connectivity to TMC Invalid authentication credentials: rpc error: code - Unauthenticated desc - No valid authentication credentials
Reattach this cluster to VMware Tanzu Mission Control using this command:
tanzu mission-control cluster reattach <workload cluster name> --management-cluster-name <management cluster name> --provisioner-name <namespace> --kubeconfig </path/to/kubeconfig>
TMC CLI was deprecated in 2023 and will not function properly with TMC.
Tanzu CLI with TMC plugin should be used instead.
Download and Install the Tanzu CLI and Tanzu Mission Control Plug-ins
Ensure that all plugins are updated properly with the below command:
tanzu plugin sync --target tmc