Comment 10 for bug 1304244

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/86497
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=3e3f9a9a4daf3b3fa6465ea6bed97e318ed04b93
Submitter: Jenkins
Branch: master

commit 3e3f9a9a4daf3b3fa6465ea6bed97e318ed04b93
Author: Mitsuru Kanabuchi <email address hidden>
Date: Fri Apr 25 21:07:31 2014 +0900

    Shut the heat-engine after all threads finished

    Currently heat-engine do shutdown immediately when SIGTERM received.
    At that time, a stacks in middle of processing would terminate forcefully.
    It's not graceful.

    This patch aims to implement graceful shutdown with following methods.

      * Close rpc connection at first for preventing new requests arrived
        after SIGTERM received.
      * Stop stack processing with graceful option.
        The graceful stop functionality is provided by oslo-incubator.
      * Then terminating process.

    Change-Id: I8689b830774f7916febb59aca00979d92c0448b5
    Closes-bug: #1304244