Description of problem: Unable to pull etcd system container behind proxy while using package docker Version-Release number of the following components: openshift-ansible-3.9.0-0.20.0.git.0.dce44f0.el7.noarch.rpm ansible-2.4.2.0-2.el7.noarch How reproducible: always Steps to Reproduce: 1. Trigger installation with etcd system container enabled + package docker # cat inventory_host <--snip--> containerized=true openshift_http_proxy=http://xxx.redhat.com:3128 openshift_https_proxy=http://xxx.redhat.com:3128 openshift_use_system_containers=true system_images_registry=http:brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888 <--snip--> 2. Run following playbooks: openshift-ansible/playbooks/prerequisites.yml openshift-ansible/playbooks/deploy_cluster.yml Actual results: TASK [etcd : Pull etcd system container] *************************************** fatal: [aos-127.lab.sjc.redhat.com]: FAILED! => {"changed": false, "cmd": ["atomic", "pull", "--storage=ostree", "registry.access.redhat.com/rhel7/etcd"], "delta": "0:00:31.143550", "end": "2018-01-17 00:46:26.435008", "msg": "non-zero return code", "rc": 1, "start": "2018-01-17 00:45:55.291458", "stderr": "time=\"2018-01-17T00:46:26-05:00\" level=fatal msg=\"Error initializing image from source docker://registry.access.redhat.com/rhel7/etcd:latest: Get https://access.redhat.com/webassets/docker/content/dist/rhel/server/7/7Server/x86_64/containers/registry/rhel7/etcd/manifests/latest: dial tcp 23.40.29.142:443: i/o timeout\" ", "stderr_lines": ["time=\"2018-01-17T00:46:26-05:00\" level=fatal msg=\"Error initializing image from source docker://registry.access.redhat.com/rhel7/etcd:latest: Get https://access.redhat.com/webassets/docker/content/dist/rhel/server/7/7Server/x86_64/containers/registry/rhel7/etcd/manifests/latest: dial tcp 23.40.29.142:443: i/o timeout\" "], "stdout": "", "stdout_lines": []} Proxy variables didn't configure in /etc/atomic.conf # grep -i proxy /etc/atomic.conf # To always use a proxy with atomic, you can uncomment and fill out #http_proxy: #https_proxy: #no_proxy: Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
Need to make sure that proxies are configured in /etc/atomic.conf during prerequisites playbook.
PR submitted: https://github.com/openshift/openshift-ansible/pull/6760
Verified in openshift-ansible-3.9.0-0.31.0.git.0.e0a0ad8.el7.noarch.rpm
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