The Harbor addon appears stuck in a "Deleting" state in the Telco Cloud Automation (TCA) UI.
TCA Manager logs (app.log or tca_cp logs) show timeout errors connecting to the cluster: ClusterConnectionReady:failed to create cluster accessor... Client.Timeout exceeded while awaiting headers
Validating the backend via kubectl confirms the Harbor resource is already gone.
3.2
The issue is caused by a stale entry in the TCA Manager database. A network timeout or connectivity interruption between TCA Manager and the workload cluster prevented the system from processing the final deletion event, leaving the database row orphaned while the actual Kubernetes resource was successfully removed.
Prerequisites:
Procedure:
kubectl exec -it postgres-0 -n tca-mgr -- psql -d tca -U tca_admin -h localhost
delete from "K8sClusterDetails" where val->>'rowType'='addOn' and val->'metadata'->>'name'='harbor' and val->'metadata'->>'clusterName'='your_cluster_name';