You find the tmc-agent-installer resources and/or namespace svc-tmc-cX have been deleted, modified or moved. So Tanzu Mission Control cannot be installed.
vCenter 8.0.3
Supervisor: v1.29.7
The tmc-agent-installer resources and/or namespace have been deleted, modified or moved
1. On vCenter, confirm that the Supervisor cluster name, in this example it is "domain-c9"
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -c "select cluster from wcp.cluster_db_configs;"
2. On the Supervisor the TMC namespace, where the tmc-agent-installer is set up by default, should in this case be be svc-tmc-c9. The resources are defined in the yaml file: /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml
.
Confirm that it has the correct Namespace, svc-tmc-c9, by running the command
grep svc-tmc-c9 /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml
You should see output like this
# grep svc-tmc-c9 /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml
name: svc-tmc-c9
namespace: svc-tmc-c9
namespace: svc-tmc-c9
namespace: svc-tmc-c9
namespace: svc-tmc-c9
namespace: svc-tmc-c9
namespace: svc-tmc-c9
3. There are two options: Reconcile the base tmc-agent-installer resources or Delete and Recreate the base tmc-agent-installer resources
a. To reconcile the base tmc-agent-installer resources you can you kubectl
kubectl apply -f /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml
b. To Delete and Recreate the base tmc-agent-installer resources
kubectl delete -f /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml
kubectl apply -f /usr/lib/vmware-wcp/objects/PodVM-GuestCluster/70-tmc-agent-installer/tmc-agent-installer.yaml