Configure the 'max_json_body_size' option for Heat

Default max template size and default max JSON body size
are 524288 (0.5 MB) and 1048576 (1 MB) respectively.
The value for max template size was increased to 5440000,
so we need to set appropriate value for max JSON body size
to 10880000.

Change-Id: Ib517117681bf70667e16b98d0eb34ac277d3ed31
Closes-bug: #1486616
This commit is contained in:
iberezovskiy 2015-08-19 18:21:20 +03:00 committed by Ivan Berezovskiy
parent 1085b330c6
commit d9615e4317
2 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,7 @@ class openstack::heat (
heat_config {
'DEFAULT/max_template_size': value => '5440000';
'DEFAULT/max_json_body_size': value => '10880000';
'DEFAULT/max_resources_per_stack': value => '20000';
'DEFAULT/rpc_response_timeout': value => '600';
}

View File

@ -19,6 +19,7 @@ describe manifest do
it 'should configure template size and request limit' do
should contain_heat_config('DEFAULT/max_template_size').with_value('5440000')
should contain_heat_config('DEFAULT/max_resources_per_stack').with_value('20000')
should contain_heat_config('DEFAULT/max_json_body_size').with_value('10880000')
end
it 'should configure heat rpc response timeout' do