diff --git a/elements/puppet-stack-config/puppet-stack-config.pp b/elements/puppet-stack-config/puppet-stack-config.pp index 3f8862b94..0727b99ec 100644 --- a/elements/puppet-stack-config/puppet-stack-config.pp +++ b/elements/puppet-stack-config/puppet-stack-config.pp @@ -572,6 +572,7 @@ include ::mistral::api include ::mistral::engine include ::mistral::executor include ::mistral::cors +include ::mistral::cron_trigger # ensure TripleO common entrypoints for custom Mistral actions # are installed before performing the Mistral action population diff --git a/elements/puppet-stack-config/puppet-stack-config.yaml.template b/elements/puppet-stack-config/puppet-stack-config.yaml.template index e9e65dbe1..d762661c4 100644 --- a/elements/puppet-stack-config/puppet-stack-config.yaml.template +++ b/elements/puppet-stack-config/puppet-stack-config.yaml.template @@ -647,6 +647,7 @@ mistral::rabbit_host: "{{LOCAL_IP_WRAPPED}}" mistral::database_connection: mysql+pymysql://mistral:{{UNDERCLOUD_MISTRAL_PASSWORD}}@{{LOCAL_IP_WRAPPED}}/mistral mistral::rpc_backend: rabbit mistral::rpc_response_timeout: 120 +mistral::cron_trigger::execution_interval: 600 mistral::keystone::authtoken::password: {{UNDERCLOUD_MISTRAL_PASSWORD}} mistral::keystone::authtoken::auth_uri: "%{hiera('keystone_auth_uri')}" mistral::keystone::authtoken::auth_url: "%{hiera('keystone_identity_uri')}" diff --git a/releasenotes/notes/mistral_cron_trigger_subsystem_interval-fdacb60599948e91.yaml b/releasenotes/notes/mistral_cron_trigger_subsystem_interval-fdacb60599948e91.yaml new file mode 100644 index 000000000..3d8fc018c --- /dev/null +++ b/releasenotes/notes/mistral_cron_trigger_subsystem_interval-fdacb60599948e91.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + If you had cron triggers for Mistral in the undercloud, they will now only + execute at most every 10 minutes. Previously they could run as frequently + as every second.