I am trying to install openshift origin (OKD) 3.11 in an environment using proxy. When I run the prerequisites.yml it fails with the following error.
fatal: [hostname_of_master]: FAILED! => {"attemps": 3, "changed": false, "msg": "time=\"2019-12-****" level=fatal msg=\"pinging docker registry returned: Get https://registry.redhat.io/v2/: proxyconnect tcp: EOF\" \n", "state": "unknown"}
I am able to curl to https://registry.redhat.io successfully, but it seems that the playbooks is trying to ping registry.redhat.io.
I tried docker login https://registry.redhat.io but it also failed with the following error. It seems it is also trying to connect to registry.redhat.io network routing instead of http_proxy.
Error response from daemon: Get https://registry.redhat.io:443/v1/users/: dial tcp 104.84.217.186:443: connect: network is unreachable
I found this very similar to my problem on google but couldn't make any use of it. https://bugzilla.redhat.com/show_bug.cgi?id=1511869
I have configured proxy at OS level as well as in openshift inventory. I am using openshift-ansible 3.11 which i cloned from git and cheched out the branch 3.11.