After upgrading to TCA 3.3 ImagePullBack issue observed for the Airgapped Environment
search cancel

After upgrading to TCA 3.3 ImagePullBack issue observed for the Airgapped Environment

book

Article ID: 396666

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

- Post upgrade TCA 3.3 failed to pull the container images after the reboot

- During TCA 3.3.0 upgrade, a bug in the cleanup-images.sh causes deletion of both old (3.2.0.1) and new (3.3.0) images for some critical services like Kafka and Postgres. Since containerd permits image deletion even if pods are running, any pod crash or reboot leads to ImagePullBackOff errors due to missing images.

Environment

3.3

Cause

After upgrading to version 3.3.0, a cleanup script is executed to remove old TCA images. However, due to a bug in the script, some off-the-shelf (OTS) images (e.g., Kafka, Postgres, Istio) that remained unchanged between versions 3.2.0.1 and 3.3.0 are also being inadvertently deleted.

As a result, if any pods using these images are recreated, they fail to start and enter an ImagePullBackOff state because the corresponding images are no longer available locally.

Pods can be recreated in several scenarios, including:

  • Restart of any of the service triggered via the Platform Manager UI.
  • Pod crashes due to OOM kills or other failures.
  • VM reboot.
  • Manual deletion of the pod to force a restart, etc.

 

Impact:

All OTS pods like istio,kafka etc fails to comeback leading TCA non-functional.

Resolution

VMware by Broadcom is aware of this issue and working to fix it in  TCA 3.3 Patch.

Workaround:

To fix the issue download the patch manually and apply in both TCA-M and TCA-CP appliances.

  1. Download the attached recover-missing-images-tca-3-3-0-patch.tar.gz file from the KB.
  2. Copy the "recover-missing-images-tca-3-3-0-patch.tar.gz" file all 3.3.0 TCA-M and TCA-CP VMs (Example copy/scp the file to TCA-M > /tmp )
  3. Switch to root user and execute the following commands:
    tar -xvzf recover-missing-images-tca-3-3-0-patch.tar.gz
    
    bash recover-missing-images-tca-3-3-0-patch/recover-missing-images-tca-3-3-0.sh
  4. After applying the above patch impacted images will be restored and pods will be back and Image pull works as expected.

Additional Information

NOTE : MD5 | SHA256 details of recover-missing-images-tca-3-3-0-patch.tar.gz

MD5: 1b88f048e2645c9978502e9a441757d0

SHA256: 85a34abfe7ffd038ad312338fa5c685105cb89331d18deeafb14d8a651a819ea

Attachments

recover-missing-images-tca-3-3-0-patch.tar.gz get_app