Deploying Private AI Services 2.1.1 fails with the error: ImagePullBackOff
search cancel

Deploying Private AI Services 2.1.1 fails with the error: ImagePullBackOff

book

Article ID: 453105

calendar_today

Updated On:

Products

VCF Private AI Services

Issue/Introduction

During the deployment of Private AI Services (PAIS) version 2.1.1, the processmay fail with ImagePullBackOff error due to an localhost image source specified in the pais.yml configuration file.

Because the deployment environment cannot resolve or access localhost:5000, the deployment fails to pull the necessary imgpkg bundle.

Environment

  • Private AI Services (PAIS) 2.1.1
  • Standard deployment scenarios using Carvel tooling

Cause

The pais.yml 2.1.1 file points to a local development registry for the Carvel image rather than the official public repository.

The erroneous image reference is:

localhost:5000/dev-sup-svc/pais@sha256:0ee1487c50d1841288f7bdb404e8f8795f546b29111eb836dd7c0280f0f4d8b1

Resolution

To resolve this issue, the image reference in the pais.yml file must be manually updated to point to the correct Broadcom public repository.

  1. Locate and open the pais.yml file in your deployment directory.
  2. Find the imgpkgBundle section and locate the image key. Example:
     - imgpkgBundle:
              image: localhost:5000/dev-sup-svc/pais@sha256:0ee1487c50d1841288f7bdb404e8f8795f546b29111eb836dd7c0280f0f4d8b1

     

  3. Replace the existing value with the following public repository path:

    pais-docker.packages.broadcom.com/pais-bundle-2.1.1@sha256:0ee1487c50d1841288f7bdb404e8f8795f546b29111eb836dd7c0280f0f4d8b1

    Example: 
     - imgpkgBundle:
              image: pais-docker.packages.broadcom.com/pais-bundle-2.1.1@sha256:0ee1487c50d1841288f7bdb404e8f8795f546b29111eb836dd7c0280f0f4d8b1

     

  4. Save the file and restart the deployment process.

    NOTE: The digest (sha256:0ee1487c50d1841288f7bdb404e8f8795f546b29111eb836dd7c0280f0f4d8b1) remains identical to the one in the original file; only the registry and repository path prefix are changed to ensure reachability.