Reviewed: https://review.openstack.org/287027 Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=ca9905a13de5372e8ab05c3af4f5db7f42699e72 Submitter: Jenkins Branch: stable/liberty
commit ca9905a13de5372e8ab05c3af4f5db7f42699e72 Author: Lars Kellogg-Stedman <email address hidden> Date: Mon Sep 1 13:39:16 2014 -0400
remove containers on delete
This patch calls client.remove_container after a container has stopped running in response to client.kill.
In the event that a container is created with an explict name, as in:
docker_dbserver: type: "DockerInc::Docker::Container" properties: image: mysql name: dbserver
Failure to remove the container on delete will prevent the stack from being re-deployed.
closes-bug: #1364019 (cherry picked from commit 363c0d148d743d5bcb304df8882ab47a2681b135)
Conflicts: contrib/heat_docker/heat_docker/tests/test_docker_container.py
Change-Id: I241d1b588cca2a1909ecf385d9d5b57a5d40a765
Reviewed: https:/ /review. openstack. org/287027 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=ca9905a13de 5372e8ab05c3af4 f5db7f42699e72
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit ca9905a13de5372 e8ab05c3af4f5db 7f42699e72
Author: Lars Kellogg-Stedman <email address hidden>
Date: Mon Sep 1 13:39:16 2014 -0400
remove containers on delete
This patch calls client. remove_ container after a container has stopped
running in response to client.kill.
In the event that a container is created with an explict name, as in:
docker_ dbserver: :Docker: :Container"
type: "DockerInc:
properties:
image: mysql
name: dbserver
Failure to remove the container on delete will prevent the stack from being
re-deployed.
closes-bug: #1364019 bcb304df8882ab4 7a2681b135)
(cherry picked from commit 363c0d148d743d5
Conflicts: heat_docker/ heat_docker/ tests/test_ docker_ container. py
contrib/
Change-Id: I241d1b588cca2a 1909ecf385d9d5b 57a5d40a765