Comment 2 for bug 1662598

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Faced similar issue with 1.12.6 while upgrading with an instance running.
Almost all containers are restarted, but libvirt is removed and exist with similar error:
RUNNING HANDLER [nova : Restart nova-libvirt container] ************************
fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_1FNRnQ/ansible_module_kolla_docker.py\", line 781, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_1FNRnQ/ansible_module_kolla_docker.py\", line 588, in recreate_or_restart_container\\n self.remove_container()\\n File \"/tmp/ansible_1FNRnQ/ansible_module_kolla_docker.py\", line 487, in remove_container\\n force=True\\n File \"/usr/lib/python2.7/site-packages/docker/utils/decorators.py\", line 21, in wrapped\\n return f(self, resource_id, *args, **kwargs)\\n File \"/usr/lib/python2.7/site-packages/docker/api/container.py\", line 278, in remove_container\\n self._raise_for_status(res)\\n File \"/usr/lib/python2.7/site-packages/docker/client.py\", line 174, in _raise_for_status\\n raise errors.APIError(e, response, explanation=explanation)\\nAPIError: 500 Server Error: Internal Server Error (\"{\"message\":\"Driver devicemapper failed to remove root filesystem 2e9ca10f7ad0950fe867e1a2a6a67d1874543f6678f40877f51b9b2094adb76b: Device is Busy\"}\")\\n'"}