Bug 1575994

Summary: OpenShift installation from Satellite 6 task '[openshift_cli : Pull CLI Image]' ignores oreg_url
Product: OpenShift Container Platform Reporter: Birol Bilgin <bbilgin>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.1CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-08 13:56:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Birol Bilgin 2018-05-08 13:48:56 UTC
Description of problem:
OpenShift installation from Satellite 6 task '[openshift_cli : Pull CLI Image]' ignores oreg_url

Version-Release number of the following components:
$ rpm -q openshift-ansible
openshift-ansible-3.7.42-1.git.2.9ee4e71.el7.noarch

$ rpm -q ansible
ansible-2.4.0.0-5.el7.noarch

$ ansible --version
ansible 2.4.0.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, Oct 11 2015, 17:47:16) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]

How reproducible:

Steps to Reproduce:
1. configure oreg_url in inventory file to use satellite
2. configure osm_etcd_image in inventory file to use satellite
3. run the installation

Actual results:
 TASK [openshift_cli : Pull CLI Image] ******************************************************************************************************************************************************************************************************************************************
fatal: [master-1.customer-1]: FAILED! => {"changed": false, "cmd": ["docker", "pull", "openshift3/ose:v3.7.42"], "delta": "0:00:00.040473", "end": "2018-05-04 14:24:45.437878", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-05-04 14:24:45.397405", "stderr": "unknown: Not Found", "stderr_lines": ["unknown: Not Found"], "stdout": "Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... ", "stdout_lines": ["Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... "]}
fatal: [master-0.customer-1]: FAILED! => {"changed": false, "cmd": ["docker", "pull", "openshift3/ose:v3.7.42"], "delta": "0:00:00.038918", "end": "2018-05-04 14:24:45.464230", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-05-04 14:24:45.425312", "stderr": "unknown: Not Found", "stderr_lines": ["unknown: Not Found"], "stdout": "Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... ", "stdout_lines": ["Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... "]}
fatal: [master-2.customer-1]: FAILED! => {"changed": false, "cmd": ["docker", "pull", "openshift3/ose:v3.7.42"], "delta": "0:00:00.041482", "end": "2018-05-04 14:24:45.525414", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2018-05-04 14:24:45.483932", "stderr": "unknown: Not Found", "stderr_lines": ["unknown: Not Found"], "stdout": "Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... ", "stdout_lines": ["Trying to pull repository satellite.cor00005.cna.ukcloud.com:5000/openshift3/ose ... "]}

Expected results:

Additional info:

There seems to be an issue on GitHub, it is closed but it is not clear what is the resolution.
https://github.com/openshift/openshift-ansible/issues/7019

Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

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

Comment 1 Scott Dodson 2018-05-08 13:56:41 UTC
You need to set osm_image to point at the master image location and this is also used by the cli image.

This is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1516534

*** This bug has been marked as a duplicate of bug 1516534 ***