OCP v3.11 has this issue. openshift-ansible-3.11.0-0.11.0.git.0.3c66516None.noarch pod/registry-console-1-deploy 0/1 Error 0 36m Containers: registry-console: Image: registry.access.redhat.com/openshift3/registry-console:v3.11 +++ This bug was initially created as a clone of Bug #1608476 +++ Description of problem: Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-3.10.23-1.git.0.a9c7e7d.el7.noarch rpm -q ansible ansible-2.4.6.0-1.el7ae.noarch ansible --version ansible 2.4.6.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/cloud-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Feb 20 2018, 09:19:12) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] How reproducible: Always Steps to Reproduce: 1. Set oreg_url: 'registry.reg-aws.openshift.com:443/openshift3/ose-${component}:${version}' and openshift_release to a tag that's not available in https://access.redhat.com/containers 2. Deploy OpenShift-Ansible with registry-console 3. Notice the error Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated fatal: [infra-node-0.openshift.example.com]: FAILED! => {"changed": true, "checks": {"disk_availability": {"skipped": true, "skipped_reason": "Disabled by user request"}, "docker_image_availability": {"changed": true, "failed": true, "failures": [["OpenShiftCheckException", "One or more required container images are not available:\n registry.access.redhat.com/openshift3/registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.reg-aws.openshift.com:443, registry.access.redhat.com\n"]], "msg": "One or more required container images are not available:\n registry.access.redhat.com/openshift3/registry-console:v3.10\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: registry.reg-aws.openshift.com:443, registry.access.redhat.com\n"}, "docker_storage": {"skipped": true, "skipped_reason": "Disabled by user request"}, "memory_availability": {"skipped": true, "skipped_reason": "Disabled by user request"}, "package_availability": {"skipped": true, "skipped_reason": "Disabled by user request"}, "package_version": {"skipped": true, "skipped_reason": "Disabled by user request"}}, "failed": true, "msg": "One or more checks failed", "playbook_context": "install"} Expected results: registry-console is fetched from registry.reg-aws.openshift.com:443. Additional info: Please attach logs from ansible-playbook with the -vvv flag --- Additional comment from Michael Gugino on 2018-08-06 17:58:40 EDT --- PR Created: https://github.com/openshift/openshift-ansible/pull/9447
PR: https://github.com/openshift/openshift-ansible/pull/9447
Seen like the above PR is not enough, re-test this with openshift-ansible-3.11.0-0.16.0.git.0.e82689aNone.noarch, still reproduce. 1. Hosts: qe-jialiu311-auto-mpdn-master-1.0816-ko4.qe.rhcloud.com, qe-jialiu311-auto-mpdn-master-2.0816-ko4.qe.rhcloud.com, qe-jialiu311-auto-mpdn-master-3.0816-ko4.qe.rhcloud.com, qe-jialiu311-auto-mpdn-node-1.0816-ko4.qe.rhcloud.com, qe-jialiu311-auto-mpdn-node-infra-1.0816-ko4.qe.rhcloud.com Play: OpenShift Health Checks Task: Run health checks (install) - EL Message: One or more checks failed Details: check "docker_image_availability": One or more required container images are not available: registry.access.redhat.com/openshift3/registry-console:v3.11 Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image> Default registries searched: registry.redhat.io Blocked registries: registry.hacker.com
Should've been fixed in https://github.com/openshift/openshift-ansible/pull/9607
Still hit it on openshift-ansible-3.11.0-0.20.0.git.0.ec6d8caNone.noarch When do upgrade with registry.dev.redhat.io registry sepecified. Image healthy check failed and it still try to check the image from old registry.access.redhat.com. 1. Hosts: host-8-248-12.host.centralci.eng.rdu2.redhat.com Play: OpenShift Health Checks Task: Run health checks (upgrade) Message: One or more checks failed Details: check "docker_image_availability": One or more required container images are not available: registry.access.redhat.com/openshift3/registry-console:v3.11 Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image> Default registries searched: registry.redhat.io
Refactor image checks, PR created in master: https://github.com/openshift/openshift-ansible/pull/9827 backport to 3.10 after merge.
BP to 3.10 created: https://github.com/openshift/openshift-ansible/pull/9947
The PR 9827 was merged to openshift-ansible-3.11.0-0.29.0,please check if this bug could be verified.
Verified this bug with openshift-ansible-3.11.0-0.32.0.git.0.b27b349.el7.noarch, and PASS. Removing registry-console:v3.11 image from my private mirror registry, trigger installation, the error message from pre-check is correct and expected. 1. Hosts: host-8-252-196.host.centralci.eng.rdu2.redhat.com Play: OpenShift Health Checks Task: Run health checks (install) - EL Message: One or more checks failed Details: check "docker_image_availability": One or more required container images are not available: host-8-241-45.host.centralci.eng.rdu2.redhat.com:5000/testing/ocp3/registry-console:v3.11 Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>
This should be fixed in the following versions now, likely earlier versions, but the commits are present in these versions which are latest at the time of posting this comment. openshift-ansible-3.11.43-1 openshift-ansible-3.10.73-1
*** Bug 1630375 has been marked as a duplicate of this bug. ***