NF Terminals and K8s step in Workflows are not functioning in non-airgapped TCA setups
search cancel

NF Terminals and K8s step in Workflows are not functioning in non-airgapped TCA setups

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

Below Non-Airgap (internet) environment are affected:

  • VMware Telco Cloud Automation 3.1.0.x
  • VMware Telco Cloud Automation 3.1.1.x
  • VMware Telco Cloud Automation 3.2.0.x

Airgapped environments are not affected.

Cause

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.

Resolution

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.

Steps to apply the Patch

  1. 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

  2.  SSH into the TCA-Manager and TCA-CP appliances.

  3. Switch to root user
    su -

  4. Grant Execution Permissions
    chmod +x /home/admin/update_repo_url.sh

  5. 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.

Attachments

update_repo_url.sh get_app