Hi,
With Ansible 2.2.1.0, Python 2.7.12
i deployed docker and containers without pb for weeks using playbooks with
docker_container module
now after ansible upgrade and docker engine new version i receive an error
when trying to start containers with docker_container
the error is :
fatal: [web1]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "Shared connection to web1 closed.\r\n", "module_stdout":
"Traceback (most recent call last):\r\n File
\"/tmp/ansible_ejWvBJ/ansible_module_docker_container.py\", line 652, in
<module>\r\n from ansible.module_utils.docker_common import *\r\n File
\"/tmp/ansible_ejWvBJ/ansible_modlib.zip/ansible/module_utils/docker_common.py\",
line 124, in <module>\r\nTypeError: Error when calling the metaclass
bases\r\n module.__init__() takes at most 2 arguments (3 given)\r\n",
"msg": "MODULE FAILURE"}
i tried to downgrade docker engine, docker-py, ansible python on ansible
host or on target host etc... but nothing to do
still the same error
here is what is installed on target server :
python 2.7.5
#Rpms
python-docker-pycreds-1.10.6-1.el7.noarch
docker-engine-selinux-17.03.0.ce-1.el7.centos.noarch
docker-engine-17.03.0.ce-1.el7.centos.x86_64
python-docker-py-1.10.6-1.el7.noarch
[root@localhost ~]# pip list
docker (2.1.0)
docker-compose (1.11.2)
docker-py (1.10.6)
docker-pycreds (0.2.1)
dockerpty (0.4.1)
any idea of what could resolve this ?
thanks in advance
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6a6d5a65-70b3-446d-89cc-ccc746dd582b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.