Last active
April 20, 2016 13:02
-
-
Save celikmustafa89/68313101b1bd5ccf42621fbd7c24ed43 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: [lxc_hosts | Patch lxc-ubuntu cache path] ******************************* | |
<172.29.236.16> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
<172.29.236.11> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
<172.29.236.13> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
<172.29.236.14> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
<172.29.236.12> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
ok: [ansible01] => {"changed": false, "msg": ""} | |
ok: [ansible06] => {"changed": false, "msg": ""} | |
ok: [ansible03] => {"changed": false, "msg": ""} | |
ok: [ansible04] => {"changed": false, "msg": ""} | |
<172.29.236.15> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
<172.29.236.17> REMOTE_MODULE replace replace=/var/cache/lxc regexp='\$LOCALSTATEDIR/cache/lxc' dest=/usr/share/lxc/templates/lxc-ubuntu | |
ok: [ansible02] => {"changed": false, "msg": ""} | |
ok: [ansible05] => {"changed": false, "msg": ""} | |
ok: [b3lab_haproxy] => {"changed": false, "msg": ""} | |
TASK: [lxc_hosts | Install pip packages] ************************************** | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.11> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.12> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.13> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.16> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.14> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible01] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible02] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible03] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible06] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible04] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 1 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 1, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 2 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 2, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 3 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 3, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
Result from run 4 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 4, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
<172.29.236.15> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
<172.29.236.17> REMOTE_MODULE pip name=lxc-python2 state=present extra_args='' | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [ansible05] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
Result from run 5 is: {u'msg': u'\n:stderr: Traceback (most recent call last):\n File "/usr/local/bin/pip", line 11, in <module>\n sys.exit(main())\n File "/usr/local/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main\n locale.setlocale(locale.LC_ALL, \'\')\n File "/usr/lib/python2.7/locale.py", line 579, in setlocale\n return _setlocale(category, locale)\nlocale.Error: unsupported locale setting\n', u'failed': True, 'attempts': 5, u'cmd': u'/usr/local/bin/pip install lxc-python2'} | |
failed: [b3lab_haproxy] => (item=lxc-python2) => {"attempts": 5, "cmd": "/usr/local/bin/pip install lxc-python2", "failed": true, "item": "lxc-python2"} | |
msg: Task failed as maximum retries was encountered | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/root/setup-hosts.retry | |
ansible01 : ok=29 changed=3 unreachable=0 failed=1 | |
ansible02 : ok=29 changed=3 unreachable=0 failed=1 | |
ansible03 : ok=29 changed=3 unreachable=0 failed=1 | |
ansible04 : ok=29 changed=3 unreachable=0 failed=1 | |
ansible05 : ok=29 changed=3 unreachable=0 failed=1 | |
ansible06 : ok=29 changed=3 unreachable=0 failed=1 | |
b3lab_haproxy : ok=29 changed=3 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here is the solution:
sudo ln -s /usr/share/i18n/SUPPORTED /var/lib/locales/supported.d/all
sudo locale-gen
dpkg-reconfigure locales
related page: https://docs.moodle.org/dev/Table_of_locales