Increase the Mistral cron_trigger interval
Reducing the frequency of the Mistral cron trigger subsystem greatly reduces the load that is has on the system. Previously it would query the database every second, now it will only do this every 10 minutes. Closes-Bug: #1747386 Depends-On: I6445ff1b6691a098f15e8402ae9d971e751f5552 Depends-On: I9060253bc416be28af4ef81f3edf694059d92066 Change-Id: I18ae5bc0b2192a393959186ba756d1e6a6c62d83
This commit is contained in:
parent
8dc0d289a7
commit
3e702f3bdf
|
@ -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
|
||||
|
|
|
@ -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')}"
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue