Duplicate Harbor Add-on causes Workload Cluster deletion failures in Telco Cloud Automation (TCA)
search cancel

Duplicate Harbor Add-on causes Workload Cluster deletion failures in Telco Cloud Automation (TCA)

book

Article ID: 325363

calendar_today

Updated On:

Products

VMware VMware Telco Cloud Automation

Issue/Introduction

Symptoms:
Cluster delete operations become stuck during TCA operations and upgrades.

Environment

VMware Telco Cloud Automation 2.0.1
VMware Telco Cloud Automation 2.0
VMware Telco Cloud Automation 1.x
VMware Telco Cloud Automation 2.3
VMware Telco Cloud Automation 2.2
VMware Telco Cloud Automation 2.1
VMware Telco Cloud Automation 2.1.1

Cause

This issue is caused by the introduction of a duplicate Harbor add-on to workload clusters after using the search feature located in the VIM associations page.  When using the search feature (TCA UI - > Partner Systems - > Modify Partner Systems - > VIM Associations - > Search Filter), if the user deselects a VIM and clicks on Finish then all workload clusters are disassociated from Harbor. This procedure will introduce a duplicate add-on to each workload cluster and subsequent node pool creations will be stuck in a processing state. 

Resolution

A fix for this issue will be released with the next version of TCA.

Workaround:

Delete duplicate Harbor add-ons

1. From the TCA UI, go to the CaaS infrastructure page.

2. Select a V2 cluster which shows the add-ons count as 9.

3. In the list of add-ons, delete any add-ons named harbor and harbor-tca-addon.

4. Once the delete operation finishes, click on Deploy Add-on.

5. Select harbor from the Select Add-on list and click on NEXT.

6. Click on Select registered harbor and click OK.

7. Select the harbor instance from the Select Harbor Repository list and click on SELECT.

8. Click on Next.

9. Click on Deploy.

Repeat these steps for each cluster that has the duplicate harbor add-on.


Additional Information

Prevent duplicate Harbor add-ons during workload deletion

The following procedure can be used to avoid causing the creation of a duplicate harbor add-on during a workload cluster deletion workflow.

1. To delete a workload cluster, go to the TCA UI, navigate to Partner Systems, and select
harbor from the list of Partner Systems entries.

2. Click on the edit (three dots) button and enter the harbor password when prompted.

3. On the VIM Association page, slowly browse through the list of clusters and uncheck the cluster that you want to delete.

Do not use the search option available under Cloud Name, Cloud URL, Cloud Type, Tenant name or Connection status. If the number of entries is too large, adjust the number of entries per page at the bottom of the page.

4. Click on the Finish button to disassociate the cluster from the harbor.

5. Delete the cluster from the Virtual Infrastructure page.

6. Delete the cluster from the CaaS Infrastructure page.


Impact/Risks:
Impacts all versions of VMware Telco Cloud Automation