Browse Source

heat engine : LoadBalancer resource delete nested stack

Ensure LoadBalancer resource deletes the underlying nested
stack when the owning stack is deleted - needs to inherit
from stack.NestedStack as this implements handle_delete()

fixes bug 1097394

Change-Id: I2002bed361511a495cbdf38cad7b61e148a68ba2
Signed-off-by: Steven Hardy <shardy@redhat.com>
changes/26/19226/1
Steven Hardy 9 years ago
parent
commit
c975a0e005
  1. 2
      heat/engine/resources/loadbalancer.py

2
heat/engine/resources/loadbalancer.py

@ -153,7 +153,7 @@ lb_template = '''
# file at the moment this is because we will probably need to implement a
# LoadBalancer based on keepalived as well (for for ssl support).
#
class LoadBalancer(stack.Stack):
class LoadBalancer(stack.NestedStack):
listeners_schema = {
'InstancePort': {'Type': 'Number',

Loading…
Cancel
Save