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
}
}
Below Non-Airgap (internet) environment are affected:
Airgapped environments are not affected.
For released builds, the kubectl and pod-debugger images should reference vmwaresaas.jfrog.io/registry
.
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.
The Attached Bash script patches the TCA imgpkg bundle by updating the vmwaresaas.jfrog.io/registry
references for kubectl and pod-debugger images, resolving issues with the terminal and workflow k8s step functionalities.
update_repo_url.sh
script to both the TCA and TCA-CP appliances./home/admin/update_repo_url.sh
su -
chmod +x /home/admin/update_repo_url.sh
root
user:./home/admin/update_repo_url.sh