Error: Established Connection! The connection to a cloud might take some time since it may need to do the debugger image
search cancel

Error: Established Connection! The connection to a cloud might take some time since it may need to do the debugger image

book

Article ID: 382574

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • Cannot connect the workload cluster through the Open Terminal in TCA.

  • Error when trying to open the terminal from the TCA manager UI:

Connecting to VIM...
Established Connection! The connection to a cloud might take some time since it may need to do the debugger image.
Connection closed cleanly!
Closing client connection..

 

Environment

2.1

2.2

Cause

The airgap server FQDN is missing from the TCA Control Plane node database.
This could happen after cluster certs are renewed using manual/automated workarounds provided.

Resolution

Update Airgap FQDN for management cluster in TCA-CP DB

  1. SSH login to the TCA-CP where cluster is configured.

  2. Connect to the mongo database using the following command:
    mongo hybridity

  3. Verify the record exists:
    db.ApplianceConfig.find({"config.clusterName": "<CLUSTER_NAME>"}).pretty();

  4. Check the entries for the cluster, confirm the Airgap entry is missing or incorrect.

  5. Run the following command on the mongo shell to update the config.airgapFqdn for the cluster(s):
    db.ApplianceConfig.update({"config.clusterName": "<CLUSTER_NAME>"}, {$set: { "config.airgapFqdn": "<AIRGAP_FQDN>" }});

Note: In the above commands, update the <CLUSTER_NAME> and <AIRGAP_FQDN> values appropriately

 

Examples:

Before adding airgap FQDN:

{ "_id" : ObjectId("63ee0fced91947fc27f9b96d"), "config" : { "url" : "[https://10.0.0.1:6443|https://10.0.0.1:6443/]", "clusterName" : "<CLUSTER_NAME>", , "UUID" : "a7640b6b-f3b5-4a6d-98f3-b19e16c6dbe2", "version" : "1.22", "kubeSystemUUID" : "9f24e947-61bc-46c3-874f-2a430554befb", "clusterType" : "WORKLOAD" } , "section" : "kubernetes", "enterprise" : "HybridityAdmin", "organization" : "HybridityAdmin", "lastUpdated" : ISODate("2024-03-20T07:59:24.211Z"), "lastUpdateEnterprise" : "HybridityAdmin", "lastUpdateOrganization" : "HybridityAdmin", "lastUpdateUser" : "HybridityAdmin", "creationDate" : ISODate("2023-02-16T11:13:18.802Z"), "creationEnterprise" : "HybridityAdmin", "creationOrganization" : "HybridityAdmin", "creationUser" : "HybridityAdmin", "isDeleted" : false }

 After updating the changes in DB:

{ "_id" : ObjectId("63ee0fced91947fc27f9b96d"), "config" : { "url" : "[https://10.0.0.1:6443|https://10.0.0.1:6443/]", "clusterName" : "<CLUSTER_NAME>","kubeconfig" : "", "UUID" : "a7640b6b-f3b5-4a6d-98f3-b19e16c6dbe2", "version" : "1.22", "kubeSystemUUID" : "9f24e947-61bc-46c3-874f-2a430554befb", "clusterType" : "WORKLOAD", "airgapFqdn" : "[<AIRGAP_FQDN>|http://<AIRGAP_FQDN>/]"} , "section" : "kubernetes", "enterprise" : "HybridityAdmin", "organization" : "HybridityAdmin", "lastUpdated" : ISODate("2024-03-20T07:59:24.211Z"), "lastUpdateEnterprise" : "HybridityAdmin", "lastUpdateOrganization" : "HybridityAdmin", "lastUpdateUser" : "HybridityAdmin", "creationDate" : ISODate("2023-02-16T11:13:18.802Z"), "creationEnterprise" : "HybridityAdmin", "creationOrganization" : "HybridityAdmin", "creationUser" : "HybridityAdmin", "isDeleted" : false }