]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : make watchrule actions run in stack ThreadGroup
authorSteven Hardy <shardy@redhat.com>
Wed, 16 Jan 2013 16:21:16 +0000 (16:21 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 21 Jan 2013 20:24:20 +0000 (20:24 +0000)
commit84500c75bcd8d0e7cc6d03f6f12159e8f694e00a
treec8bf0a0ddc49823e88a9cdb6a3213a960c96468c
parent52bea7e4e508d3f6e52cbfa4e8ef06fcdaa616f8
heat engine : make watchrule actions run in stack ThreadGroup

Make watchrule alarm actions run via greenthreads in the stack
ThreadGroup - this allows them to be correctly cancelled if the
stack is deleted whilst an alarm action is in progress.

fixes bug 1097847

Change-Id: I3190a05e3d0abd492961071d2db59a212bd4d373
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/service.py
heat/engine/watchrule.py
heat/tests/test_engine_service.py
heat/tests/test_watch.py