Description of problem: Currently there is not a option for custom docker registry source outside of direct access to registry.access.redhat.com: grep -irn ./ -e "registry.access.redhat.com" ./roles/ceph-grafana/defaults/main.yml:8: container_name: registry.access.redhat.com/rhceph/rhceph-3-dashboard-rhel7 ./roles/ceph-prometheus/defaults/main.yml:4: container_name: registry.access.redhat.com/openshift3/prometheus The option for custom source should be added similar way it is in ceph-ansible. Version-Release number of selected component (if applicable): cephmetrics-ansible-2.0-5.el7cp.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
We just merged a PR that allows the user to avoid pulling images for prometheus and grafana: https://github.com/ceph/cephmetrics/pull/234
btw: That is not enough to make us work without internet access. We also need to set 'trust_image_content' to true in order for that to work (see comment#10).
With the latest cephmetrics-ansible build (2.0.4-1), you can use the following ansible options (set in group_vars/all.yml file) to control the pull_image/trust_image_content behaviour for grafana/prometheus: prometheus.pull_image prometheus.trust_image_content grafana.pull_image grafana.trust_image_content
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:2538