]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Change rpc cleanup to occur before killing engine thread
authorJeff Peeler <jpeeler@redhat.com>
Sat, 15 Sep 2012 01:52:15 +0000 (21:52 -0400)
committerJeff Peeler <jpeeler@redhat.com>
Sat, 15 Sep 2012 02:07:13 +0000 (22:07 -0400)
commit137e3592223f5a4f4591cf30e1bc197b4058da8c
tree3cb4a37b4bf229649344285461adb14c493fac5e
parent1650f849fb09bbb521360b352248f63c26b1752e
Change rpc cleanup to occur before killing engine thread

This bug only manifested itself after a heat request was made to the
engine. Once a request was made a Qpid connection handler continued
to wait in a select call, presumably for a subsequent request. Closing
the connection immediately after detecting a keyboard interrupt and then
terminating the thread yields a clean shutdown with no traceback.

Closes #176

Change-Id: Ifdb82d33a6c52a004bbd6b08c564264f4140e800
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
heat/service.py