Increase size of Heat HeatMaxJsonBodySize

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 template HeatMaxJsonBodySize default value was 1M and now
it will be 4M. There is aslo corresponding change in instack-undercloud
where we bumped 'max_template_size' to the same value.

Change-Id: I974f6d4adbc08f2960a164b90ebb784ca466e76a
Closes-Bug: 1752467
(cherry picked from commit c310cd131f)
This commit is contained in:
Radoslaw Smigielski 2018-03-05 12:43:34 +00:00
parent 5b5e124898
commit 8fe461db02
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ parameters:
Cron to purge db entries marked as deleted and older than $age - Log destination
default: '/dev/null'
HeatMaxJsonBodySize:
default: 1048576
default: 4194304
description: Maximum raw byte size of the Heat API JSON request body.
type: number
NotificationDriver: