]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Provide user control for maximum nesting depth
authorClint Byrum <clint@fewbar.com>
Tue, 27 Aug 2013 16:10:54 +0000 (09:10 -0700)
committerClint Byrum <clint@fewbar.com>
Wed, 28 Aug 2013 00:26:17 +0000 (17:26 -0700)
commitb1b31f170b2256cb73b330341b143f1299e424dd
treefc9c92bd75f28450fb97ec39c364f5c438462416
parent0bf83934977f55f028cf782ae1be717d91388557
Provide user control for maximum nesting depth

In the case of an infinitely recursing stack, Heat will continue to
keep nesting stacks until python's maximum stack recursion depth
is reached. By this point a lot of memory and time may have been
spent parsing/loading/etc.

The default of 3 is enough to deploy a stack of stacks of stacks. It
can be raised by deployers if there is a desire to do larger and more
complicated stacks, at the cost of more resource utilization.

Fixes bug #1214239

Change-Id: Ic492ef84b94b1f715c49eef7e1794a486fb8182f
etc/heat/heat.conf.sample
heat/common/config.py
heat/common/exception.py
heat/engine/stack_resource.py
heat/tests/test_nested_stack.py