From 04540ab3e544e65e253e47cb97dce699c0943e9e Mon Sep 17 00:00:00 2001 From: Radoslaw Smigielski Date: Thu, 1 Mar 2018 06:12:54 +0000 Subject: [PATCH] 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 (cherry picked from commit 8ae1c7d8fa397a398c4181b2e0b2bbd62b23cb1b) --- elements/puppet-stack-config/puppet-stack-config.yaml.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/puppet-stack-config/puppet-stack-config.yaml.template b/elements/puppet-stack-config/puppet-stack-config.yaml.template index 61c37f70c..726a2ddd0 100644 --- a/elements/puppet-stack-config/puppet-stack-config.yaml.template +++ b/elements/puppet-stack-config/puppet-stack-config.yaml.template @@ -184,7 +184,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')}"