Activity log for bug #1668402

Date Who What changed Old value New value Message
2017-02-27 21:09:52 kbaegis bug added bug
2017-03-01 17:44:28 kbaegis description Gentoo with docker 1.13.1, docker-py 2.1.0, ansible 2.2.1.0, and kolla-ansible stable/ocata Following bug reported for python 2.7/3.4 Passes all kolla-ansible prechecks. Error -vvv output: **Note: ansible/roles/prechecks/tasks/package_checks.yml should have: :3: command: "{{ ansible_python.executable }} -c \"import docker; print (docker.__version__)\"" not :3: command: "{{ ansible_python.executable }} -c \"import docker; print docker.__version__\"" for python 3+ TASK [common : Starting fluentd container] ************************************* fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 214, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/lib64/python3.4/site-packages/requests/models.py\", line 909, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localunixsocket/v1.26/containers/create?name=fluentd\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 781, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 603, in start_container\\n self.create_container()\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 573, in create_container\\n self.dc.create_container(**options)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/container.py\", line 446, in create_container\\n return self.create_container_from_config(config, name)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/container.py\", line 457, in create_container_from_config\\n return self._result(res, True)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 220, in _result\\n self._raise_for_status(response)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 216, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/lib64/python3.4/site-packages/docker/errors.py\", line 30, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\ndocker.errors.APIError: 400 Client Error: Bad Request for url: http+docker://localunixsocket/v1.26/containers/create?name=fluentd (\"No command specified\")\\n'"} Gentoo with docker 1.13.1, docker-py 2.1.0, ansible 2.2.1.0, and kolla-ansible stable/ocata Following bug reported for python 2.7/3.4 Passes all kolla-ansible prechecks. **Note: ansible/roles/prechecks/tasks/package_checks.yml should have: :3: command: "{{ ansible_python.executable }} -c \"import docker; print (docker.__version__)\"" not :3: command: "{{ ansible_python.executable }} -c \"import docker; print docker.__version__\"" for python 3+ Error -vvv output: TASK [common : Starting fluentd container] ************************************* fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 214, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/lib64/python3.4/site-packages/requests/models.py\", line 909, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localunixsocket/v1.26/containers/create?name=fluentd\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 781, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 603, in start_container\\n self.create_container()\\n File \"/tmp/ansible_belmzyst/ansible_module_kolla_docker.py\", line 573, in create_container\\n self.dc.create_container(**options)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/container.py\", line 446, in create_container\\n return self.create_container_from_config(config, name)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/container.py\", line 457, in create_container_from_config\\n return self._result(res, True)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 220, in _result\\n self._raise_for_status(response)\\n File \"/usr/lib64/python3.4/site-packages/docker/api/client.py\", line 216, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/lib64/python3.4/site-packages/docker/errors.py\", line 30, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\ndocker.errors.APIError: 400 Client Error: Bad Request for url: http+docker://localunixsocket/v1.26/containers/create?name=fluentd (\"No command specified\")\\n'"}
2017-03-04 04:05:36 Jeffrey Zhang marked as duplicate 1668346