Description of problem: install OCP behind proxy failed at TASK [container_runtime : Create credentials for docker cli registry auth (alternative)] install success without proxy Version-Release number of the following components: openshift-ansible-3.11.0-0.10.0.git.0.91bb588None.noarch.rpm How reproducible: Always Steps to Reproduce: 1. install OCP 3.11 behind proxy Actual results: install failed. TASK [container_runtime : Create credentials for docker cli registry auth (alternative)] *** Wednesday 01 August 2018 18:40:46 +0800 (0:00:04.733) 0:02:03.131 ****** FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (3 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (3 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (3 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (2 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (2 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (2 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (1 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (1 retries left). FAILED - RETRYING: Create credentials for docker cli registry auth (alternative) (1 retries left). An exception occurred during task execution. To see the full traceback, use -vvv. The error was: urllib2.URLError: <urlopen error [Errno 110] Connection timed out> fatal: [host-8-253-1.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"attempts": 3, "changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_32ClGw/ansible_module_docker_creds.py\", line 237, in <module>\n main()\n File \"/tmp/ansible_32ClGw/ansible_module_docker_creds.py\", line 233, in main\n run_module()\n File \"/tmp/ansible_32ClGw/ansible_module_docker_creds.py\", line 219, in run_module\n validate_registry_login(module, registry, encoded_auth)\n File \"/tmp/ansible_32ClGw/ansible_module_docker_creds.py\", line 141, in validate_registry_login\n urllib.request.urlopen(req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 154, in urlopen\n return opener.open(url, data, timeout)\n File \"/usr/lib64/python2.7/urllib2.py\", line 431, in open\n response = self._open(req, data)\n File \"/usr/lib64/python2.7/urllib2.py\", line 449, in _open\n '_open', req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 409, in _call_chain\n result = func(*args)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1258, in https_open\n context=self._context, check_hostname=self._check_hostname)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1214, in do_open\n raise URLError(err)\nurllib2.URLError: <urlopen error [Errno 110] Connection timed out>\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: urllib2.URLError: <urlopen error [Errno 110] Connection timed out> fatal: [host-8-252-179.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"attempts": 3, "changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_1Alykn/ansible_module_docker_creds.py\", line 237, in <module>\n main()\n File \"/tmp/ansible_1Alykn/ansible_module_docker_creds.py\", line 233, in main\n run_module()\n File \"/tmp/ansible_1Alykn/ansible_module_docker_creds.py\", line 219, in run_module\n validate_registry_login(module, registry, encoded_auth)\n File \"/tmp/ansible_1Alykn/ansible_module_docker_creds.py\", line 141, in validate_registry_login\n urllib.request.urlopen(req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 154, in urlopen\n return opener.open(url, data, timeout)\n File \"/usr/lib64/python2.7/urllib2.py\", line 431, in open\n response = self._open(req, data)\n File \"/usr/lib64/python2.7/urllib2.py\", line 449, in _open\n '_open', req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 409, in _call_chain\n result = func(*args)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1258, in https_open\n context=self._context, check_hostname=self._check_hostname)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1214, in do_open\n raise URLError(err)\nurllib2.URLError: <urlopen error [Errno 110] Connection timed out>\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: urllib2.URLError: <urlopen error [Errno 110] Connection timed out> fatal: [hostxxx.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"attempts": 3, "changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_M_6Tgo/ansible_module_docker_creds.py\", line 237, in <module>\n main()\n File \"/tmp/ansible_M_6Tgo/ansible_module_docker_creds.py\", line 233, in main\n run_module()\n File \"/tmp/ansible_M_6Tgo/ansible_module_docker_creds.py\", line 219, in run_module\n validate_registry_login(module, registry, encoded_auth)\n File \"/tmp/ansible_M_6Tgo/ansible_module_docker_creds.py\", line 141, in validate_registry_login\n urllib.request.urlopen(req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 154, in urlopen\n return opener.open(url, data, timeout)\n File \"/usr/lib64/python2.7/urllib2.py\", line 431, in open\n response = self._open(req, data)\n File \"/usr/lib64/python2.7/urllib2.py\", line 449, in _open\n '_open', req)\n File \"/usr/lib64/python2.7/urllib2.py\", line 409, in _call_chain\n result = func(*args)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1258, in https_open\n context=self._context, check_hostname=self._check_hostname)\n File \"/usr/lib64/python2.7/urllib2.py\", line 1214, in do_open\n raise URLError(err)\nurllib2.URLError: <urlopen error [Errno 110] Connection timed out>\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1} Expected results: install success
Hi, Michael Is PR https://github.com/openshift/openshift-ansible/pull/9349 going to fix this issue?
(In reply to Weihua Meng from comment #2) > Hi, Michael > > Is PR https://github.com/openshift/openshift-ansible/pull/9349 going to fix > this issue? Yes, everything should work as it did previously.
add testblocker keyword as all proxy related test is blocked for now.
Fixed. openshift-ansible-3.11.0-0.11.0.git.0.3c66516None.noarch.rpm Kernel Version: 3.10.0-862.10.2.el7.x86_64 Operating System: Red Hat Enterprise Linux Atomic Host 7.5.3
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:2652