Remove Plain Text Password/Kubeconfig from the NF LCM and VIM API Responses in Telco Cloud Automation (TCA) 3.0
book
Article ID: 325379
calendar_today
Updated On:
Products
VMwareVMware Telco Cloud Automation
Issue/Introduction
This KB is meant to not show the plain text password from the Rollback screen and removes the kubeconfig from the tenants API response in TCA 3.0.
Symptoms: 1. The CNF rollback screen shows the plain text harbor password in the selected operation payload preview section. 2. The API call https://tcam-ip/hybridity/api/vims/v1/vimId/tenants returns the kubeconfig of the workload cluster if the vimId of the workload cluster is specified in the URL.
Environment
VMware Telco Cloud Automation 3.0
Resolution
Adressed in TCA 3.1.
Workaround: 1.Downloadthe patch-changes.tarpatch bundle. 2. SSH into the TCA Manager and switch user to root. 3. Copy the patch-changes.tar patch bundle to the /tmp directory of the TCA Manager appliance. 4. Extract the patch-changes.tar file: tar -xvf patch-changes.tar 5. Change to the patch-changes folder: cd patch-changes 6. Execute the patch-tca.sh patch file: ./patch-tca.sh 7. Monitor the patch status to completion. One can also review the contents of the tca-patch.log, in the same directory from which the script was ran.