Created
September 5, 2016 07:26
-
-
Save packetninja/d27020074de60d4f3d572037cb2dcfc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [galera_client | Install pip packages] ********************************** | |
<192.168.0.160> ESTABLISH CONNECTION FOR USER: root | |
<192.168.0.160> REMOTE_MODULE pip name=MySQL-python state=present extra_args='' | |
<192.168.0.160> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.160 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python' | |
<192.168.0.160> REMOTE_MODULE pip name=MySQL-python state=present extra_args='' | |
<192.168.0.160> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.160 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python' | |
Result from run 1 is: {u'msg': u"stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7ff0975ef890>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/\n Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7ff0975efa10>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/\n Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7ff0975efb90>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/\n Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7ff0975efd10>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/\n Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7ff0975efe90>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/\n Could not find a version that satisfies the requirement MySQL-python (from versions: )\nNo matching distribution found for MySQL-python\n", u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install MySQL-python'} | |
root@infra1-galera-container-dc070b07:~# /usr/local/bin/pip install MySQL-python -vvv | |
Ignoring indexes: https://pypi.python.org/simple | |
Collecting MySQL-python | |
1 location(s) to search for versions of MySQL-python: | |
* http://172.30.10.10:8181/os-releases/13.2.0/ | |
Skipping link http://172.30.10.10:8181/os-releases/13.2.0/ (from -f); unsupported archive format: .0 | |
Getting page http://172.30.10.10:8181/os-releases/13.2.0/ | |
Starting new HTTP connection (1): 172.30.10.10 | |
Incremented Retry for (url='/os-releases/13.2.0/'): Retry(total=4, connect=None, read=None, redirect=None) | |
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382c21910>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/ | |
Starting new HTTP connection (2): 172.30.10.10 | |
Incremented Retry for (url='/os-releases/13.2.0/'): Retry(total=3, connect=None, read=None, redirect=None) | |
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382c21a90>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/ | |
Starting new HTTP connection (3): 172.30.10.10 | |
Incremented Retry for (url='/os-releases/13.2.0/'): Retry(total=2, connect=None, read=None, redirect=None) | |
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382c21c10>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/ | |
Starting new HTTP connection (4): 172.30.10.10 | |
Incremented Retry for (url='/os-releases/13.2.0/'): Retry(total=1, connect=None, read=None, redirect=None) | |
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382c21d90>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/ | |
Starting new HTTP connection (5): 172.30.10.10 | |
Incremented Retry for (url='/os-releases/13.2.0/'): Retry(total=0, connect=None, read=None, redirect=None) | |
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382c21f10>: Failed to establish a new connection: [Errno 111] Connection refused',)': /os-releases/13.2.0/ | |
Starting new HTTP connection (6): 172.30.10.10 | |
Could not fetch URL http://172.30.10.10:8181/os-releases/13.2.0/: connection error: HTTPConnectionPool(host='172.30.10.10', port=8181): Max retries exceeded with url: /os-releases/13.2.0/ (Caused by NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f4382bd80d0>: Failed to establish a new connection: [Errno 111] Connection refused',)) - skipping | |
Could not find a version that satisfies the requirement MySQL-python (from versions: ) | |
Cleaning up... | |
No matching distribution found for MySQL-python | |
Exception information: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main | |
status = self.run(options, args) | |
File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 310, in run | |
wb.build(autobuilding=True) | |
File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 750, in build | |
self.requirement_set.prepare_files(self.finder) | |
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 370, in prepare_files | |
ignore_dependencies=self.ignore_dependencies)) | |
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 522, in _prepare_file | |
finder, self.upgrade, require_hashes) | |
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 268, in populate_link | |
self.link = finder.find_requirement(self, upgrade) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 491, in find_requirement | |
'No matching distribution found for %s' % req | |
DistributionNotFound: No matching distribution found for MySQL-python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment