Fix notifications for Cinder
At the moment, the Cinder usage audit runs every 5 minutes which is excessive and causes load on the system. Also, it defaults to auditing an entire month which can take ages for large systems. This patch makes it run sanely at the 5th minute of ever hour and also runs the audit for the past hour only. Change-Id: I59d1230fa4d33a2cf0364ade1a710e65ef449057 Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
parent
311fb5bf69
commit
909824ac2b
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Cinder
|
||||
name: cinder
|
||||
version: 0.2.13
|
||||
version: 0.2.14
|
||||
home: https://docs.openstack.org/cinder/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png
|
||||
sources:
|
||||
|
@ -69,7 +69,7 @@ images:
|
||||
|
||||
jobs:
|
||||
volume_usage_audit:
|
||||
cron: "*/5 * * * *"
|
||||
cron: "5 * * * *"
|
||||
starting_deadline: 600
|
||||
history:
|
||||
success: 3
|
||||
@ -859,6 +859,7 @@ conf:
|
||||
app_name: cinder-volume
|
||||
cinder:
|
||||
DEFAULT:
|
||||
volume_usage_audit_period: hour
|
||||
resource_query_filters_file: /etc/cinder/resource_filters.json
|
||||
log_config_append: /etc/cinder/logging.conf
|
||||
use_syslog: false
|
||||
|
@ -30,4 +30,5 @@ cinder:
|
||||
- 0.2.11 Update htk requirements repo
|
||||
- 0.2.12 Remove cinder v1/v2 defaults
|
||||
- 0.2.13 Upgrade default images to ussuri
|
||||
- 0.2.14 Fix notifications
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user