From: Steven Hardy Date: Wed, 6 Mar 2013 14:14:53 +0000 (+0000) Subject: heat engine : Loadbalancer template watch reference should be Ref X-Git-Tag: 2014.1~806 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=876ec0a7283b62e0994e1c0b7c42d6c22fb1bb74;p=openstack-build%2Fheat-build.git heat engine : Loadbalancer template watch reference should be Ref Replace hard-coded reference to latency_watcher with Ref, otherwise the name is not fully qualified for the nested stack and the engine fails to lookup the watchrule ref bug 1133510 Change-Id: If0352726ee89e2c8b78beb9436be36b811f1e1cd --- diff --git a/heat/engine/resources/loadbalancer.py b/heat/engine/resources/loadbalancer.py index d4c41d27..719fe895 100644 --- a/heat/engine/resources/loadbalancer.py +++ b/heat/engine/resources/loadbalancer.py @@ -129,7 +129,7 @@ lb_template = r''' "\n", "* * * * * /opt/aws/bin/cfn-hup -f\n", "* * * * * /opt/aws/bin/cfn-push-stats ", - " --watch latency_watcher --haproxy\n" + " --watch ", { "Ref" : "latency_watcher" }, " --haproxy\n" ]]}, "mode" : "000600", "owner" : "root",