Skip to content

Instantly share code, notes, and snippets.

@celikmustafa89
Created April 22, 2016 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celikmustafa89/b9ef6599364ef223887cebd996c8c547 to your computer and use it in GitHub Desktop.
Save celikmustafa89/b9ef6599364ef223887cebd996c8c547 to your computer and use it in GitHub Desktop.
TASK: [galera_client | Install pip packages] **********************************
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
Result from run 1 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: 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'}
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
Result from run 2 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement MySQL-python from http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement MySQL-python from http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install MySQL-python'}
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
Result from run 3 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: 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': 3, u'cmd': u'/usr/local/bin/pip install MySQL-python'}
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
Result from run 4 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement MySQL-python from http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement MySQL-python from http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install MySQL-python'}
<172.29.237.248> REMOTE_MODULE pip name=MySQL-python state=present extra_args=''
Result from run 5 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting MySQL-python\n\n:stderr: 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': 5, u'cmd': u'/usr/local/bin/pip install MySQL-python'}
failed: [ansible03_galera_container-1f508f49] => (item=MySQL-python) => {"attempts": 5, "cmd": "/usr/local/bin/pip install MySQL-python", "failed": true, "item": "MySQL-python"}
msg: Task failed as maximum retries was encountered
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
Result from run 1 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting python-memcached\n\n:stderr: Could not find a version that satisfies the requirement python-memcached (from versions: )\nNo matching distribution found for python-memcached\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install python-memcached'}
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
Result from run 2 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting python-memcached\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement python-memcached from http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl\nCould not install requirement python-memcached from http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install python-memcached'}
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
Result from run 3 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting python-memcached\n\n:stderr: Could not find a version that satisfies the requirement python-memcached (from versions: )\nNo matching distribution found for python-memcached\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install python-memcached'}
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
Result from run 4 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting python-memcached\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement python-memcached from http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl\nCould not install requirement python-memcached from http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/python_memcached-1.57-py2.py3-none-any.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install python-memcached'}
<172.29.237.248> REMOTE_MODULE pip name=python-memcached state=present extra_args=''
Result from run 5 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting python-memcached\n\n:stderr: Could not find a version that satisfies the requirement python-memcached (from versions: )\nNo matching distribution found for python-memcached\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install python-memcached'}
failed: [ansible03_galera_container-1f508f49] => (item=python-memcached) => {"attempts": 5, "cmd": "/usr/local/bin/pip install python-memcached", "failed": true, "item": "python-memcached"}
msg: Task failed as maximum retries was encountered
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
Result from run 1 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
Result from run 2 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement pycrypto from http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement pycrypto from http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
Result from run 3 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
Result from run 4 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: HTTP error 404 while getting http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n Could not install requirement pycrypto from http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement pycrypto from http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.17:8181/os-releases/13.0.1/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.17:8181/os-releases/13.0.1/)\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.248> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
Result from run 5 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install pycrypto'}
failed: [ansible03_galera_container-1f508f49] => (item=pycrypto) => {"attempts": 5, "cmd": "/usr/local/bin/pip install pycrypto", "failed": true, "item": "pycrypto"}
msg: Task failed as maximum retries was encountered
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/galera-install.retry
ansible01_galera_container-358094a0 : ok=78 changed=36 unreachable=0 failed=0
ansible02_galera_container-017d9f5a : ok=3 changed=1 unreachable=0 failed=0
ansible03_galera_container-1f508f49 : ok=22 changed=14 unreachable=0 failed=1
@celikmustafa89
Copy link
Author

<172.29.237.80> ESTABLISH CONNECTION FOR USER: root
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /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 pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
Result from run 2 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: HTTP error 404 while getting http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.11:8181/os-releases/master/)\n Could not install requirement pycrypto from http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement pycrypto from http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.11:8181/os-releases/master/)\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
Result from run 3 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
Result from run 4 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: HTTP error 404 while getting http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.11:8181/os-releases/master/)\n Could not install requirement pycrypto from http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of error 404 Client Error: Not Found for url: http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl\nCould not install requirement pycrypto from http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl for URL http://172.29.236.11:8181/os-releases/master/pycrypto-2.6.1-cp27-cp27mu-linux_x86_64.whl (from http://172.29.236.11:8181/os-releases/master/)\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install pycrypto'}
<172.29.237.80> REMOTE_MODULE pip name=pycrypto state=present extra_args=''
<172.29.237.80> EXEC ssh -C -vvv -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 172.29.237.80 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
Result from run 5 is: {u'msg': u'stdout: Ignoring indexes: https://pypi.python.org/simple\nCollecting pycrypto\n\n:stderr: Could not find a version that satisfies the requirement pycrypto (from versions: )\nNo matching distribution found for pycrypto\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install pycrypto'}
failed: [ansible01_galera_container-78679792] => (item=pycrypto) => {"attempts": 5, "cmd": "/usr/local/bin/pip install pycrypto", "failed": true, "item": "pycrypto"}
msg: Task failed as maximum retries was encountered

@celikmustafa89
Copy link
Author

something wrong with load balancer. configure your load balancer again....
assign all repo hosts haproxy server in openstack_user_config.yml and reinstall the whole environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment