From 876ec0a7283b62e0994e1c0b7c42d6c22fb1bb74 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Wed, 6 Mar 2013 14:14:53 +0000 Subject: [PATCH] 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 --- heat/engine/resources/loadbalancer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.45.2