Created
April 18, 2017 22:02
-
-
Save duffn/6e075ee60bb75554354786e4fca4e6ae to your computer and use it in GitHub Desktop.
ansible-container-0.9.1rc0-failed_build
This file contains hidden or 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
PLAYBOOK: playbook.yml ********************************************************* | |
1 plays in /tmp/tmpXO0aY_/playbook.yml | |
PLAY [web] ********************************************************************* | |
TASK [Gathering Facts] ********************************************************* | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/basic.py | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/facts.py | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/_text.py | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/pycompat24.py | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/__init__.py | |
Using module_utils file /usr/local/lib/python2.7/dist-packages/ansible/module_utils/six/_six.py | |
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/system/setup.py | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> ESTABLISH DOCKER CONNECTION FOR USER: root | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> EXEC ['/usr/local/bin/docker', 'exec', '-i', u'7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566', u'/bin/sh', '-c', u"/bin/sh -c 'echo ~ && sleep 0'"] | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> EXEC ['/usr/local/bin/docker', 'exec', '-i', u'7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644 `" && echo ansible-tmp-1492552934.17-87202228563644="` echo /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644 `" ) && sleep 0\''] | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> PUT /tmp/tmpk9CiNv TO /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644/setup.py | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> EXEC ['/usr/local/bin/docker', 'exec', '-i', u'7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566', u'/bin/sh', '-c', u"/bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644/ /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644/setup.py && sleep 0'"] | |
<7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566> EXEC ['/usr/local/bin/docker', 'exec', '-i', u'7feccf799df8541cecf741096c5a89011d8b11fd0b1e25479fad7d494bd11566', u'/bin/sh', '-c', u'/bin/sh -c \'/_usr/bin/python /root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644/setup.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1492552934.17-87202228563644/" > /dev/null 2>&1 && sleep 0\''] | |
fatal: [web]: FAILED! => { | |
"changed": false, | |
"cmd": "/_usr/bin/lsb_release -a", | |
"failed": true, | |
"invocation": { | |
"module_args": { | |
"fact_path": "/etc/ansible/facts.d", | |
"filter": "*", | |
"gather_subset": [ | |
"all" | |
], | |
"gather_timeout": 10 | |
} | |
}, | |
"msg": "[Errno 2] No such file or directory", | |
"rc": 2 | |
} | |
to retry, use: --limit @/tmp/tmpXO0aY_/playbook.retry | |
PLAY RECAP ********************************************************************* | |
web : ok=0 changed=0 unreachable=0 failed=1 | |
2017-04-18T22:02:14.848731 Error applying role! [container.core] caller_file='/_ansible/container/core.py' caller_func='apply_role_to_container' caller_line=597 engine=<container.docker.engine.Engine object at 0x7fd930d82150> exit_code=2 playbook=[{'hosts': u'web', 'roles': ['myrole'], 'vars': {}}] | |
2017-04-18T22:02:14.852541 Playbook run finished. [container.core] caller_file='/_ansible/container/core.py' caller_func='conductorcmd_build' caller_line=678 exit_code=2 | |
Traceback (most recent call last): | |
File "/usr/local/bin/conductor", line 11, in <module> | |
load_entry_point('ansible-container', 'console_scripts', 'conductor')() | |
File "/_ansible/container/__init__.py", line 19, in __wrapped__ | |
return fn(*args, **kwargs) | |
File "/_ansible/container/cli.py", line 351, in conductor_commandline | |
**params) | |
File "/_ansible/container/__init__.py", line 19, in __wrapped__ | |
return fn(*args, **kwargs) | |
File "/_ansible/container/core.py", line 680, in conductorcmd_build | |
raise RuntimeError('Build failed.') | |
RuntimeError: Build failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment