]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Limit maximum size of all templates
authorClint Byrum <clint@fewbar.com>
Wed, 21 Aug 2013 20:24:17 +0000 (13:24 -0700)
committerClint Byrum <clint@fewbar.com>
Thu, 22 Aug 2013 15:26:13 +0000 (08:26 -0700)
commit9fe8cbacd26bbf003ba31c415cd4a4798fc50201
tree9d60a2c67f19e6f6eabae091ea0a923667ac3b7b
parent1623b035177272d290b7a7aa2918d9fba36405fe
Limit maximum size of all templates

Templates of an extremely large size can eat up tons of CPU time,
memory and storage. By refusing to parse any template over a certain
size, we can prevent users from abusing the service.

Fixes bug #1214234

Change-Id: I2f731c8e2fc9e1f497199e310de81fa48c9582af
etc/heat/heat.conf.sample
heat/common/config.py
heat/common/exception.py
heat/common/template_format.py
heat/tests/test_template_format.py