Created
June 27, 2015 22:57
-
-
Save Mierdin/2e355f847f273215f224 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: [docker | set up consul] ************************************************ | |
failed: [docker01] => {"failed": true, "parsed": false} | |
BECOME-SUCCESS-travydmhekgumojmvhaxsudlasfwilzh | |
Traceback (most recent call last): | |
File "/home/vagrant/.ansible/tmp/ansible-tmp-1435445713.23-171670802505893/docker", line 3104, in <module> | |
main() | |
File "/home/vagrant/.ansible/tmp/ansible-tmp-1435445713.23-171670802505893/docker", line 1449, in main | |
manager = DockerManager(module) | |
File "/home/vagrant/.ansible/tmp/ansible-tmp-1435445713.23-171670802505893/docker", line 558, in __init__ | |
docker_api_version=docker.client.DEFAULT_DOCKER_API_VERSION | |
AttributeError: 'module' object has no attribute 'DEFAULT_DOCKER_API_VERSION' | |
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: /etc/ssh_config line 102: Applying options for * | |
debug1: auto-mux: Trying existing master | |
debug1: mux_client_request_session: master session id: 2 | |
Shared connection to 127.0.0.1 closed. | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/Users/mierdin/docker01.retry | |
docker01 : ok=5 changed=1 unreachable=0 failed=1 | |
Ansible failed to complete successfully. Any error output should be | |
visible above. Please fix these errors and try again. | |
>>> elapsed time 18s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Mierdin,
Do you have the latest version of docker-py installed? I was running into this, and then installed 1.1.0 and everything worked again. It's unclear if the latest updates to 1.2 fix this issue, but 1.1.0 is definitely working for me.
Not sure if this is your issue, but thought I would mention it.
Cheers,
Jeff