From 71dad1a001e4c4af9a5765e3fd9d63993bcfe6a6 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Tue, 31 Oct 2017 15:28:22 -0400 Subject: [PATCH] Increase the size of the Mistral output limit This patch adds a new MistralExecutionFieldSizeLimit which can be used to control the Mistral output limit. Also, increases the default on the undercloud to 16MB. Change-Id: If101566a22c7cce4af92c890cb9eb29e146b1599 Related-bug: #1718384 --- environments/undercloud.yaml | 1 + puppet/services/mistral-engine.yaml | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/environments/undercloud.yaml b/environments/undercloud.yaml index 161eacf580..a0c0a9162c 100644 --- a/environments/undercloud.yaml +++ b/environments/undercloud.yaml @@ -24,3 +24,4 @@ parameter_defaults: ZaqarManagementStore: 'sqlalchemy' # our undercloud default eth1 for the control plane bridged interface NeutronPublicInterface: eth1 + MistralExecutionFieldSizeLimit: 16384 diff --git a/puppet/services/mistral-engine.yaml b/puppet/services/mistral-engine.yaml index 879c74aa80..5c8aa1dbfc 100644 --- a/puppet/services/mistral-engine.yaml +++ b/puppet/services/mistral-engine.yaml @@ -30,6 +30,11 @@ parameters: description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json + MistralExecutionFieldSizeLimit: + default: 1024 + description: The default maximum size in KB of large text fields of runtime + execution objects. Use -1 for no limit. + type: number resources: MistralBase: @@ -48,7 +53,9 @@ outputs: value: service_name: mistral_engine config_settings: - get_attr: [MistralBase, role_data, config_settings] + map_merge: + - get_attr: [MistralBase, role_data, config_settings] + - mistral::engine::execution_field_size_limit_kb: {get_param: MistralExecutionFieldSizeLimit} step_config: | include ::tripleo::profile::base::mistral::engine upgrade_tasks: