You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary - Plugin installer fails with 443 port error.
Test Bed - OpenShift Setup
[root@cld6b15-OpenShift-Master ~]# oc get nodes
NAME STATUS ROLES AGE VERSION
cld6b12-openshift-worker2.set.rdlabs.hpecorp.net Ready infra 23d v1.11.0+d4cacc0
cld6b15-openshift-master.set.rdlabs.hpecorp.net Ready master 35d v1.11.0+d4cacc0
cld6b16-openshift-worker1.set.rdlabs.hpecorp.net Ready compute 23d v1.11.0+d4cacc0
[root@cld6b15-OpenShift-Master ~]#
TASK [download get-pip.py] *************************************************************************************************************************************************
skipping: [10.50.0.156]
fatal: [10.50.0.162]: FAILED! => {"changed": false, "msg": "Failed to connect to bootstrap.pypa.io at port 443: [Errno -2] Name or service not known", "status": -1, "url": "https://bootstrap.pypa.io/get-pip.py"}
fatal: [10.50.0.157]: FAILED! => {"changed": false, "msg": "Failed to connect to bootstrap.pypa.io at port 443: [Errno -2] Name or service not known", "status": -1, "url": "https://bootstrap.pypa.io/get-pip.py"}
TASK [delete requests library] *********************************************************************************************************************************************
[WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false'
to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.
changed: [10.50.0.156]
TASK [uninstall docker-py if ansible version >= 2.6] ***********************************************************************************************************************
ok: [10.50.0.156]
TASK [install docker if ansible version >= 2.6] ****************************************************************************************************************************
fatal: [10.50.0.156]: FAILED! => {"changed": false, "cmd": ["/bin/pip2", "install", "docker"], "msg": "stdout: Requirement already satisfied: docker in /usr/lib/python2.7/site-packages (2.4.2)\nCollecting requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker)\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c950>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c090>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c910>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c590>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c610>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n ERROR: Could not find a version that satisfies the requirement requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker) (from versions: none)\nERROR: No matching distribution found for requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker)\n"}
Summary - Plugin installer fails with 443 port error.
Test Bed - OpenShift Setup
[root@cld6b15-OpenShift-Master ~]# oc get nodes
NAME STATUS ROLES AGE VERSION
cld6b12-openshift-worker2.set.rdlabs.hpecorp.net Ready infra 23d v1.11.0+d4cacc0
cld6b15-openshift-master.set.rdlabs.hpecorp.net Ready master 35d v1.11.0+d4cacc0
cld6b16-openshift-worker1.set.rdlabs.hpecorp.net Ready compute 23d v1.11.0+d4cacc0
[root@cld6b15-OpenShift-Master ~]#
[root@cld6b15-OpenShift-Master ~]# ansible --version
ansible 2.8.1
Pre-requisite -
Steps to reproduce -
Expected Results -
Plugin should get installed on all the nodes successfully.
Actual Results -
Automated installer shows below error.
TASK [Check if pip exists] *************************************************************************************************************************************************
changed: [10.50.0.162]
changed: [10.50.0.157]
changed: [10.50.0.156]
TASK [download get-pip.py] *************************************************************************************************************************************************
skipping: [10.50.0.156]
fatal: [10.50.0.162]: FAILED! => {"changed": false, "msg": "Failed to connect to bootstrap.pypa.io at port 443: [Errno -2] Name or service not known", "status": -1, "url": "https://bootstrap.pypa.io/get-pip.py"}
fatal: [10.50.0.157]: FAILED! => {"changed": false, "msg": "Failed to connect to bootstrap.pypa.io at port 443: [Errno -2] Name or service not known", "status": -1, "url": "https://bootstrap.pypa.io/get-pip.py"}
TASK [install pip] *********************************************************************************************************************************************************
skipping: [10.50.0.156]
TASK [delete get-pip.py] ***************************************************************************************************************************************************
skipping: [10.50.0.156]
TASK [delete requests library] *********************************************************************************************************************************************
[WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false'
to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.
changed: [10.50.0.156]
TASK [uninstall docker-py if ansible version >= 2.6] ***********************************************************************************************************************
ok: [10.50.0.156]
TASK [install docker if ansible version >= 2.6] ****************************************************************************************************************************
fatal: [10.50.0.156]: FAILED! => {"changed": false, "cmd": ["/bin/pip2", "install", "docker"], "msg": "stdout: Requirement already satisfied: docker in /usr/lib/python2.7/site-packages (2.4.2)\nCollecting requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker)\n\n:stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support\n WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c950>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c090>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c910>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c590>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15dae9c610>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/\n ERROR: Could not find a version that satisfies the requirement requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker) (from versions: none)\nERROR: No matching distribution found for requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2 (from docker)\n"}
PLAY RECAP *****************************************************************************************************************************************************************
10.50.0.156 : ok=10 changed=2 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0
10.50.0.157 : ok=8 changed=1 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0
10.50.0.162 : ok=8 changed=1 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0
localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
The text was updated successfully, but these errors were encountered: