Merge "mistral: align parameters with undercloud"

This commit is contained in:
Zuul 2018-04-06 16:19:10 +00:00 committed by Gerrit Code Review
commit 7e5c7af7ed
2 changed files with 30 additions and 0 deletions

View File

@ -35,6 +35,22 @@ parameters:
description: The default maximum size in KB of large text fields of runtime
execution objects. Use -1 for no limit.
type: number
MistralEvaluationInterval:
default: 120
description: How often will the executions be evaluated
(in minutes). For example for value 120 the interval
will be 2 hours (every 2 hours).
type: number
MistralFinishedExecutionDuration:
default: 2880
description: Evaluate from which time remove executions in minutes.
For example when set to 60, remove all executions
that finished a 60 minutes ago or more.
Minimum value is 1.
Note that only final state execution will remove (SUCCESS/ERROR).
constraints:
- range: { min: 1 }
type: number
resources:
MistralBase:
@ -56,6 +72,8 @@ outputs:
map_merge:
- get_attr: [MistralBase, role_data, config_settings]
- mistral::engine::execution_field_size_limit_kb: {get_param: MistralExecutionFieldSizeLimit}
mistral::engine::evaluation_interval: {get_param: MistralEvaluationInterval}
mistral::engine::older_than: {get_param: MistralFinishedExecutionDuration}
step_config: |
include ::tripleo::profile::base::mistral::engine
upgrade_tasks:

View File

@ -0,0 +1,12 @@
---
features:
- |
MistralEvaluationInterval is a new parameter that allow to configure
how often will the Mistral Executions be evaluated.
For example for value 120 the interval will be 2 hours (every 2 hours).
- |
MistralFinishedExecutionDuration is a new parameter that allow to configure
how Mistral will evaluate from which time remove executions in minutes.
For example when set to 60, remove all executions that finished a 60 minutes
ago or more.
Note that only final state execution will remove (SUCCESS/ERROR).