Comment 7 for bug 1364019

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/liberty)

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