]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat workaround for HA/Autoscaling regression
authorSteven Hardy <shardy@redhat.com>
Thu, 15 Nov 2012 10:03:46 +0000 (10:03 +0000)
committerSteven Hardy <shardy@redhat.com>
Thu, 15 Nov 2012 10:52:16 +0000 (10:52 +0000)
commitad1e45573ece5bb5ca5d6b2273d0d3ab8faba806
tree63d57f0dc49c2c01a9c4aba84829edc8ff57643d
parent27c5ea86f3c888be909788e40688624cc9b71b10
heat workaround for HA/Autoscaling regression

Interim workaround for HA/Autoscaling regression, caused by change of
scope for stack_get_by_name to be per-tenant, meaning we need to do a
brute-force lookup to find the stack entry when using the stored admin
context.

A better, more comprehensive (but more intrusive) fix is in-progress
but this at least returns us to the same functionality we had before

Note this means that all stacks using WatchRule still need to have names
unique accross all tenants.

bug 1078779

Change-Id: Iad1830d38262d1afb63cee16a3e366d9fd09acb4
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/watchrule.py