NF Terminals and K8s step in Workflows are not functioning in non-airgapped set up
book
Article ID: 388618
calendar_today
Updated On:
Products
VMware Telco Cloud Automation
Issue/Introduction
Network Function Workflow - K8S type, Standalone Workflow - K8S type and Network Function → Open Terminal (both SSH Terminal and Debug Pod Terminal) features fail.
The below logs and exceptions are observed in the tca-cp proxy pod:
waiting: class V1ContainerStateWaiting {
message: rpc error: code = NotFound desc = failed to pull and unpack image "tca-docker-dev-docker-local.artifactory.eng.vmware.com/kubectl:3.1.1-ob-23912405": failed to resolve reference "tca-docker-dev-docker-local.artifactory.eng.vmware.com/kubectl:3.1.1-ob-23912405": tca-docker-dev-docker-local.artifactory.eng.vmware.com/kubectl:3.1.1-ob-23912405: not found
reason: ErrImagePull
}
}
Environment
3.1.0, 3.1.1.x, 3.2.0.x
Note: Airgapped environments are not affected.
Cause
For released builds, the kubectl and pod-debugger images should reference tca.packages.broadcom.com.
However, it incorrectly points to the internal development Artifactory: tca-docker-dev-docker-local.artifactory.eng.vmware.com.
As the internal artifactory is not available outside of VMware network, these features do not function as expected.
Resolution
The Attached Bash script patches the TCA imgpkg bundle by updating the tca.packages.broadcom.com references for kubectl and pod-debugger images, resolving issues with the terminal and workflow k8s step functionalities.
Steps to apply the Patch
Transfer the Script: Copy the attached update_repo_url.sh script to both the TCA and TCA-CP appliances. Example path: /home/admin/update_repo_url.sh
SSH into the TCA-Manager and TCA-CP appliances.
Switch to root user su -
Grant Execution Permissions chmod +x /home/admin/update_repo_url.sh
Run the Script Execute the script on both the TCA-Manager and TCA-CP appliances as the root user:
./home/admin/update_repo_url.sh
This will ensure the registry URLs are correctly updated, restoring full functionality.