Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is this a kolla or docker-py issue?

docker-py 2.1.0 looks broken with docker 1.13.1 which breaks Kolla stable/ocata

TASK [elasticsearch : Get container facts] ***********

task path: /usr/share/kolla-ansible/ansible/roles/elasticsearch/tasks/precheck.yml:2

. . . .

localhost EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1488210165.18-260795829921334/kolla_container_facts.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1488210165.18-260795829921334/" > /dev/null 2>&1 && sleep 0'

An exception occurred during task execution. The full traceback is:

Traceback (most recent call last):

File "/tmp/ansible_LSUL8n/ansible_module_kolla_container_facts.py", line 82, in module

main()

File "/tmp/ansible_LSUL8n/ansible_module_kolla_container_facts.py", line 64, in main

client = docker.Client(version=module.params.get('api_version'))

AttributeError: 'module' object has no attribute 'Client'

fatal: [localhost]: FAILED! => {

"changed": false,

"failed": true,

"invocation": {

"module_name": "kolla_container_facts"

},

. . .

docker.Client(version=module.params.get('api_version'))\nAttributeError: 'module' object has no attribute 'Client'\n",

"module_stdout": "",

"msg": "MODULE FAILURE"

}