Bug 1611129 - install OCP behind proxy failed at TASK [container_runtime : Create credentials for docker cli registry auth (alternative)]
Summary: install OCP behind proxy failed at TASK [container_runtime : Create credentia...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.11.0
Assignee: Michael Gugino
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-02 06:37 UTC by Weihua Meng
Modified: 2018-10-11 07:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 07:23:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:23:41 UTC

Description Weihua Meng 2018-08-02 06:37:30 UTC
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

Comment 2 Weihua Meng 2018-08-02 06:41:23 UTC
Hi, Michael

Is PR https://github.com/openshift/openshift-ansible/pull/9349 going to fix this issue?

Comment 3 Michael Gugino 2018-08-02 12:26:49 UTC
(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.

Comment 4 Weihua Meng 2018-08-03 02:59:29 UTC
add testblocker keyword as all proxy related test is blocked for now.

Comment 5 Weihua Meng 2018-08-05 07:25:22 UTC
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

Comment 7 errata-xmlrpc 2018-10-11 07:23:07 UTC
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


Note You need to log in before you can comment on or make changes to this bug.