Failed to pull images from bitnami while installing MOSIP V1.2.0.1-B2

Hi Team,

I am installing mosip V1.2.0.1-B2 to set up test environment. While installing external dependencies or core module, each time I face the issue of “image pull” or “Error: INSTALLATION FAILED: context deadline exceeded”.

For example while installing postgres using the install.sh from /mosip-infra/deployment/v3/external/postgres, I am getting this error “Failed to pull image “docker.io/bitnami/postgresql:11.20.0”: rpc error: code = Unknown desc = Error response from daemon: manifest for bitnami/postgresql:11.20.0 not found: manifest unknown: manifest”

I am aware most of the images are not on on the bitnami public repository, but the install.sh files in the MOSIP Doc uses bitnami. So what can I replace or which repository can I use so that all the images can be pulled without any issues or any errors.

A lot of time is being invested to fix the image pull error, which is leading to finding the right image. More over, the version compatibility is another issue which is why I am trying to stick with the versions mentioned in the mosip doc. The challenge is to not getting the image for the mentioned versions.

Your guidance from a broader perspective will be helpful. If i get to know the alternation location or repository from where the all images mentioned in mosip docs can be pulled, then it will save my time and I can progress on my installation.
Kindly assist.

Hi, Ranjan_mosip. If your script uses something like:

helm -n $NS install postgres bitnami/postgresql --version 12.11.1 -f values.yaml --wait 

Replace it with:

helm -n $NS upgrade --install postgres bitnami/postgresql --version 12.11.1 -f values.yaml --wait \
   --set image.repository=bitnamilegacy/postgresql \
   --set volumePermissions.image.repository=bitnamilegacy/os-shell \
   --set metrics.image.repository=bitnamilegacy/postgres-exporter \
   --set global.security.allowInsecureImages=true

This fixes the issue caused by the change from the bitnami repository to the bitnamilegacy repository. See more details here: Deletion of the Bitnami public catalog

Thank you. It worked.