Repository: openshift/openshift-ansible

Issue #8565: Hardcoded references to docker.io should be cleaned up
Created: 2018-05-29T19:40:26Z
Description
https://github.com/openshift/openshift-ansible/blame/release-3.9/roles/openshift_web_console/defaults/main.yml#L9
Hardcoded references to docker.io in the image prevent deploys on enterprise networks behind firewalls.
release-3.9
Please put the following version information in the code block
indicated below.

Your ansible version per ansible --version

If you're operating from a git clone:

The output of git describe

If you're running from playbooks installed via RPM

The output of rpm -q openshift-ansible

Place the output between the code block below:
ansible 2.5.2

Steps To Reproduce

View https://github.com/openshift/openshift-ansible/blame/release-3.9/roles/openshift_web_console/defaults/main.yml#L9 to see hardcoded registry.

Expected Results
I would expect this to respect variables set in inventory.ini
null

Observed Results
OpenShift attempts to pull webconsole container images from docker.io.
null

Additional Information
null

Duplicate issue #8717: WebConsole install fails
Created: 2018-06-11T19:39:20Z
Description
I know that there are a couple other issues that might be related, but not sure (#8703). If any are closely related, I can close this and continue discussion there.
On a single master, single etcd, and multiple node install (4 nodes, one of which is master), the playbook fails when trying to start the webconsole. I saw some other solutions that got it to work by specifying openshift_web_console_nodeselector={'region':'infra'} in inventory/hosts, but that did not work as I got the same errors.
I successfully got OpenShift running ~1 month ago using the same steps as I am now. I feel like the only difference is that I am working off a different git commit. I tried to go back to the repo when I installed it before (git reset --hard f2a6114c650886afde616f4d5822b84b47877cd9), but no success.
When inspecting the webconsole pod, I see the following event after SuccessfulMountVolume:
  Warning  FailedCreatePodSandBox  1s (x14 over 2m)  kubelet, <master-hostname>  Failed create pod sandbox: rpc error: code = Unknown desc = failed pulling image "openshift3/ose-pod:v3.9.30": repository docker.io/openshift3/ose-pod not found: does not exist or no pull access

Version
$ ansible --version
ansible 2.4.4.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ec2-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)]
$ git describe
openshift-ansible-3.9.30-1

Steps To Reproduce

ansible-playbook -vv -i inventory/hosts playbooks/prerequisites.yml
ansible-playbook -vvv -i inventory/hosts playbooks/deploy_cluster.yml

Expected Results
I expected OpenShift to be properly installed, but I got the following error:
Failure summary:

  1. Hosts:    <master-hostname>
     Play:     Web Console
     Task:     Report console errors
     Message:  Console install failed.

Additional Information
openshift_deployment_type=openshift-enterprise
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Closing comment (2018-06-11T20:04:42Z): While I do not think that this is related to #8565 since I am not installing origin, I do not know why the installer is trying to go to docker.io.