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
TASK [mariadb : pips for mysql/mariadb online] *********************************
failed: [10.62.31.59] (item=PyMySQL) => {"ansible_loop_var": "pip_item", "changed": false, "cmd": ["/usr/local/bin/pip3", "install", "PyMySQL"], "msg": "\n:stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369b93a90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369b936d8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba52e8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5748>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5898>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nERROR: Could not find a version that satisfies the requirement PyMySQL (from versions: none)\nERROR: No matching distribution found for PyMySQL\n", "pip_item": "PyMySQL"}
最小安装centos7.6后换阿里的repo,update到7.9的3.10内核后all in one安装,报错如下。
PLAY [mariadb_node] ************************************************************
TASK [Gathering Facts] *********************************************************
ok: [10.62.31.59]
TASK [mariadb : gather os specific variables] **********************************
ok: [10.62.31.59] => (item=/opt/cloudpods/ocboot/onecloud/roles/mariadb/vars/centos.yml)
TASK [mariadb : Include Pre Install tasks if any] ******************************
TASK [mariadb : Install mariadb] ***********************************************
changed: [10.62.31.59] => (item=mariadb-server)
TASK [mariadb : pips for mysql/mariadb online] *********************************
failed: [10.62.31.59] (item=PyMySQL) => {"ansible_loop_var": "pip_item", "changed": false, "cmd": ["/usr/local/bin/pip3", "install", "PyMySQL"], "msg": "\n:stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369b93a90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369b936d8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba52e8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5748>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa369ba5898>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pymysql/\nERROR: Could not find a version that satisfies the requirement PyMySQL (from versions: none)\nERROR: No matching distribution found for PyMySQL\n", "pip_item": "PyMySQL"}
PLAY RECAP *********************************************************************
10.62.31.59 : ok=76 changed=29 unreachable=0 failed=1 skipped=30 rescued=0 ignored=0
目前环境pip版本如下:
[root@sdn59 ocboot]# pip show pip
Name: pip
Version: 21.3.1
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.6/site-packages
Requires:
Required-by:
[root@sdn59 ocboot]#
The text was updated successfully, but these errors were encountered: