TASK [common : Pulling common images] ********************************************************************************************************************************************
[WARNING]: Module did not set no_log for auth_password
failed: [localhost] (item={'key': u'cron', 'value': {u'environment': {u'DUMMY_ENVIRONMENT': u'kolla_useless_env'}, u'image': u'operator.local:4000/lokolla/centos-binary-cron:4.0.0', u'volumes': [u'/etc/kolla//cron/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'cron'}}) => {"changed": true, "failed": true, "item": {"key": "cron", "value": {"container_name": "cron", "environment": {"DUMMY_ENVIRONMENT": "kolla_useless_env"}, "image": "operator.local:4000/lokolla/centos-binary-cron:4.0.0", "volumes": ["/etc/kolla//cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_BvcV8G/ansible_module_kolla_docker.py\", line 793, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_BvcV8G/ansible_module_kolla_docker.py\", line 459, in pull_image\\n repository=image, tag=tag, stream=True\\n File \"/usr/lib/python2.7/site-packages/docker/api/image.py\", line 358, in pull\\n header = auth.get_config_header(self, registry)\\nAttributeError: \\'module\\' object has no attribute \\'get_config_header\\'\\n'"}
failed: [localhost] (item={'key': u'fluentd', 'value': {u'environment': {u'KOLLA_CONFIG_STRATEGY': u'COPY_ALWAYS'}, u'image': u'operator.local:4000/lokolla/centos-binary-fluentd:4.0.0', u'volumes': [u'/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/'], u'container_name': u'fluentd'}}) => {"changed": true, "failed": true, "item": {"key": "fluentd", "value": {"container_name": "fluentd", "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"}, "image": "operator.local:4000/lokolla/centos-binary-fluentd:4.0.0", "volumes": ["/etc/kolla//fluentd/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/"]}}, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_7TKuOP/ansible_module_kolla_docker.py\", line 793, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_7TKuOP/ansible_module_kolla_docker.py\", line 459, in pull_image\\n repository=image, tag=tag, stream=True\\n File \"/usr/lib/python2.7/site-packages/docker/api/image.py\", line 358, in pull\\n header = auth.get_config_header(self, registry)\\nAttributeError: \\'module\\' object has no attribute \\'get_config_header\\'\\n'"}
failed: [localhost] (item={'key': u'kolla-toolbox', 'value': {u'environment': {u'ANSIBLE_LIBRARY': u'/usr/share/ansible', u'ANSIBLE_NOCOLOR': u'1'}, u'image': u'operator.local:4000/lokolla/centos-binary-kolla-toolbox:4.0.0', u'privileged': True, u'volumes': [u'/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'/dev/:/dev/', u'/run/:/run/:shared', u'kolla_logs:/var/log/kolla/'], u'container_name': u'kolla_toolbox'}}) => {"changed": true, "failed": true, "item": {"key": "kolla-toolbox", "value": {"container_name": "kolla_toolbox", "environment": {"ANSIBLE_LIBRARY": "/usr/share/ansible", "ANSIBLE_NOCOLOR": "1"}, "image": "operator.local:4000/lokolla/centos-binary-kolla-toolbox:4.0.0", "privileged": true, "volumes": ["/etc/kolla//kolla-toolbox/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/dev/:/dev/", "/run/:/run/:shared", "kolla_logs:/var/log/kolla/"]}}, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_H34e_h/ansible_module_kolla_docker.py\", line 793, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_H34e_h/ansible_module_kolla_docker.py\", line 459, in pull_image\\n repository=image, tag=tag, stream=True\\n File \"/usr/lib/python2.7/site-packages/docker/api/image.py\", line 358, in pull\\n header = auth.get_config_header(self, registry)\\nAttributeError: \\'module\\' object has no attribute \\'get_config_header\\'\\n'"}
There is created pull request for that - https://github.com/openstack/kolla-ansible/pull/6
Hi, new releases will need docker instead of docker-py.
Only one docker library can be installed, both will cause conflict between them while authenticating.
Install docker or docker-py depends of your version. docker-py in ocata and before and docker from pike(current master)
Regards