Description of problem: 1. According to BZ#1506138, the default value for IMAGE_PREFIX should be "registry.access.redhat.com/openshift3/" in https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_hosted_templates/files/v3.7/enterprise/registry-console.yaml#L105. 2. When user set oreg_url to a customized registry, user want installer pull registry-console image from the customized registry by setting openshift_examples_modify_imagestreams=true, but in a result, installer still pull image from registry.access.redhat.com, the openshift_examples_modify_imagestreams=true setting did not take effect as user expectation. Version-Release number of the following components: openshift-ansible-3.7.14-1.git.0.4b35b2d.el7.noarch How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
https://github.com/openshift/openshift-ansible/pull/6797
This bug is targeted for 3.9, while this bug is attached to a 3.5/3.6/3.7 errata, pls attach it to a correct errata.
Verified this bug with openshift-ansible-3.9.0-0.31.0.git.0.e0a0ad8.el7.noarch, and PASS. Setting the following options in inventory file, no openshift_cockpit_deployer_prefix setting. openshift_examples_modify_imagestreams=true oreg_url=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-${component}:v3.9 Installation log: TASK [openshift_hosted_templates : Modify registry paths if registry_url is not registry.access.redhat.com] *** Monday 29 January 2018 06:49:23 +0000 (0:00:00.143) 0:03:33.847 ******** changed: [host-8-241-117.host.centralci.eng.rdu2.redhat.com] => {"changed": true, "cmd": "find /usr/share/openshift/hosted -type f | xargs -n 1 sed -i 's|registry.access.redhat.com|brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888|g'", "delta": "0:00:00.005076", "end": "2018-01-29 01:49:22.938419", "rc": 0, "start": "2018-01-29 01:49:22.933343", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} # oc describe po registry-console-1-xckqx|grep Image Image: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/registry-console:v3.9
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/RHBA-2018:0489