ibm-mas / ansible-devops

Ansible collection supporting devops for IBM Maximo Application Suite
https://ibm-mas.github.io/ansible-devops/
Eclipse Public License 2.0
49 stars 88 forks source link

Grafana V5 operator fails to install in Airgap mode #1230

Closed saurabhrajguru closed 5 months ago

saurabhrajguru commented 8 months ago

After the last update from V4 to V5 we have attempted installations. https://github.com/ibm-mas/ansible-devops/issues/1196

Grafana V5 operator fails to install in the airgap mode.

This time we are observing the failures within install plan. We are seeing errors about.

unpack job not completed: Unpack pod(openshift-marketplace/67894be2e29a8ac0ffa0cd0ea7a6ef4760ffb784a688bd1624783b5ccbv6xm7) container(pull) is pending. Reason: ImagePullBackOff, Message: Back-off pulling image "quay.io/community-operator-pipeline-prod/grafana-operator@sha256:2e1074f75d88b0371b8ea7cabc35c051db3ace5095df5d9ceec6c37922b71b42".

We have checked in the private registry and it looks like that image and tag do exist.

Subscription failure. image

andrercm commented 7 months ago

@saurabhrajguru is this issue still valid with latest ansible-devops collection?

SalaryTheft commented 7 months ago

@andrercm I got same error with latest ansible-devops collection (19.0.0). Modifying ICSP (#1264) didn't worked for me so I had to skip Grafana installation.

export CLUSTER_MONITORING_INCLUDE_GRAFANA=False
durera commented 6 months ago

Merging duplicate issue https://github.com/ibm-mas/ansible-devops/issues/1264 into this and closing 1264.

Hello,

the Grafana operator gets its dependencies from ghcr.io/grafana and docker.io/grafana

These are not in redhat-catalogs.yml.j2 and thus the installation fails

For example I had to add the following entries to the generated ICSP:

    - mirrors:
        - 'registry.gym.lan:8443/grafana'
      source: ghcr.io/grafana
    - mirrors:
        - 'registry.gym.lan:8443/grafana'
      source: docker.io/grafana
stonepd commented 5 months ago

Fixed in https://github.com/ibm-mas/ansible-devops/releases/tag/20.1.0 with https://github.com/ibm-mas/ansible-devops/pull/1314