Error: warning for the endpoint Certificate of Kubernetes Cluster will be expiring soon
search cancel

Error: warning for the endpoint Certificate of Kubernetes Cluster will be expiring soon

book

Article ID: 438536

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform

Issue/Introduction

  • TCA Alarms TCA warning for the endpoint: <endpoint name>

  • Description: The Certificate of Kubernetes Cluster will expire soon.

Environment

TCA: 3.4

TCP: 5.1

Cause

After upgrading TCA from 3.2 to 3.4, the connected endpoints are stale and need to be refreshed

Resolution

  1. To refresh the connected endpoints in the TCA web UI:
    Infrastructure, Virtual Infrastructure: locate the endpoint and update it with the current username and password. 

  2. There is the possibility of duplicate endpoint instances in the database
    ssh admin@<TCA Manager IP>

    kubectl exec -it -n tca-cp-cn postgres-0 -- psql
    \c tca

    SELECT * FROM observability_endpoint WHERE address='[INSERT-ENDPOINT-FQDN]';


    DELETE FROM observability_endpoint WHERE instance_uuid='[INSERT_UUID_HERE]';