/bin/sh -c /usr/bin/python /root/.ansible/tmp/ansible-tmp-1583519059.95-177837680766003/AnsiballZ_yum.py && sleep 0
root 15517 1.9 3.2 472052 61420 pts/1 S+ 02:24 0:02 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1583519059.95-177837680766003/AnsiballZ_yum.py
root 15529 1.9 4.5 311484 84692 pts/1 S+ 02:24 0:02 /usr/bin/python /usr/bin/yum -d 2 -y install docker-ce git python-setuptools
yum -d 2 -y install docker-ce git python-setuptools
fatal: [kolla-compute-storage]: FAILED! => {"changed": false, "msg": "error: Download error for https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f/pip-20.0.2.tar.gz#sha256=7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618) "}
fatal: [kolla-compute-storage]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip2", "install", "-U", "docker"], "msg": "stdout: Collecting docker :stderr: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. 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 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)': /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)': /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)': /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)': /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),)) "}
le docker apt repository] *********************************************************************************************************************************************
skipping: [kolla-control-netw]
skipping: [kolla-compute-storage]
TASK [baremetal : Ensure yum repos directory exists] ****************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]
TASK [baremetal : Enable docker yum repository] *********************************************************************************************************************************************
ok: [kolla-compute-storage]
ok: [kolla-control-netw]
TASK [baremetal : Install docker rpm gpg key] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
fatal: [kolla-compute-storage]: FAILED! => {"changed": false, "msg": "failed to fetch key at https://download.docker.com/linux/centos/gpg , error was: Request failed: <urlopen error ('_ssl.c:602: The handshake operation timed out',)>"}
TASK [baremetal : include_tasks] ************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/install.yml for kolla-control-netw
TASK [baremetal : Update apt cache] *********************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Set firewall default policy] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Check if firewalld is installed] ******************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Disable firewalld] ********************************************************************************************************************************************************
ok: [kolla-control-netw] => (item=firewalld)
TASK [baremetal : Check which containers are running] ***************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Install apt packages] *****************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Install deltarpm packages] ************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Install yum packages] *****************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Start docker] *************************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Wait for Docker to start] *************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Ensure containers are running after Docker upgrade] ***********************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Install virtualenv packages] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Install pip] **************************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Install latest pip in the virtualenv] *************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Install
SDK for python] ********************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Remove packages] **********************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Remove packages] **********************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : include_tasks] ************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/baremetal/tasks/post-install.yml for kolla-control-netw
TASK [baremetal : Create kolla user] ********************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Add public key to kolla user authorized keys] *****************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Grant kolla user passwordless sudo] ***************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Ensure virtualenv has correct ownership] **********************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Ensure node_config_directory directory exists for user kolla] *************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Ensure node_config_directory directory exists] ****************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Ensure docker config directory exists] ************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Merge Zun docker config] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Warn about deprecations] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Setup docker insecure registries] *****************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Setup docker storage driver] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Setup docker runtime directory] *******************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Merge custom docker config] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Write docker config] ******************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Remove old docker options file] *******************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Ensure docker service directory exists] ***********************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Configure docker service] *************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Reload docker service file] ***********************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Get stat of libvirtd apparmor profile] ************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Remove apparmor profile for libvirt] **************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Create docker group] ******************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Add kolla user to docker group] *******************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Start docker] *************************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Restart docker] ***********************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Enable docker] ************************************************************************************************************************************************************
ok: [kolla-control-netw]
TASK [baremetal : Stop time service] ********************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Stop time service] ********************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Synchronizing time one-time] **********************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Start time sync service] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Start time sync service] **************************************************************************************************************************************************
skipping: [kolla-control-netw]
TASK [baremetal : Change state of selinux] **************************************************************************************************************************************************
[WARNING]: Reboot is required to set SELinux state to 'permissive'
ok: [kolla-control-netw]
修改pip easy_install的源为国内的源