Increase size of Heat max_template_size

Most of the HTTP servers default max body size to 1MB, Apache, Nginx.
That default value is ok as long as users mostly get data from server
but when something needs to be uploaded, 1MB limit is often not enough.
This is what we see with Heat and some of the large templates.
It's not uncommon that WSGI apps have 10MB+ body size limit,
so with the current Heat default value we are still in low range sizes.

Original Heat 'max_template_size' default value was 1M.
In instack-undercloud we bumped it to 2M, bug #1667697.
This change increases it to 4MB.

Change-Id: Ic913ecb44dac800131292d1f3661be5b71f35a78
Closes-Bug: 1752467
This commit is contained in:
Radoslaw Smigielski 2018-03-01 06:12:54 +00:00
parent 945b1d041e
commit 8ae1c7d8fa
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ heat::cron::purge_deleted::destination: '/dev/null'
heat::notification_driver: 'messaging'
heat::yaql_memory_quota: 100000
heat::yaql_limit_iterators: 1000
heat::max_json_body_size: 2097152
heat::max_json_body_size: 4194304
# Keystone
keystone::debug: "%{hiera('debug')}"