From: Steven Hardy Date: Tue, 18 Sep 2012 14:59:04 +0000 (+0100) Subject: heat engine : loadbalancer add missing calculate_properties() X-Git-Tag: 2014.1~1386 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=15e02a245e719d440d0152e0ea264e362536fb3b;p=openstack-build%2Fheat-build.git heat engine : loadbalancer add missing calculate_properties() Add calculate_properties() call to ensure the user defined parameter values are correctly updated in self.parameters Ref #241 Change-Id: I7f4ec0ac546a5599359b6aa2e713ea1b6051ff34 Signed-off-by: Steven Hardy --- diff --git a/heat/engine/loadbalancer.py b/heat/engine/loadbalancer.py index fab1e67f..b8418f6d 100644 --- a/heat/engine/loadbalancer.py +++ b/heat/engine/loadbalancer.py @@ -316,6 +316,7 @@ class LoadBalancer(stack.Stack): save it to the db. rely on the cfn-hup to reconfigure HAProxy ''' + self.calculate_properties() self.properties['Instances'] = inst_list templ = json.loads(lb_template) cfg = self._haproxy_config(templ)