Snippets Groups Projects
Commit 673eda91 authored by Michal Arbet's avatar Michal Arbet Committed by Maksim Malchuk
Browse files

Enable instance usage audit only when ceilometer is enabled

This patch disables periodic compute.instance.exists
notifications when designate is enabled.

Related-Bug: #2049503
Change-Id: I39fe2db9182de23c1df814d911eec15e86317702
(cherry picked from commit 66c4f72c)
parent 45b831f7
Branches
Tags 15.5.0
......@@ -26,7 +26,7 @@ compute_driver = libvirt.LibvirtDriver
# Though my_ip is not used directly, lots of other variables use $my_ip
my_ip = {{ api_interface_address }}
{% if enable_ceilometer | bool or enable_designate | bool %}
{% if enable_ceilometer | bool %}
instance_usage_audit = True
instance_usage_audit_period = hour
{% if enable_watcher | bool %}
......
......@@ -16,7 +16,7 @@ allow_resize_to_same_host = true
# Though my_ip is not used directly, lots of other variables use $my_ip
my_ip = {{ api_interface_address }}
{% if enable_ceilometer | bool or enable_designate | bool %}
{% if enable_ceilometer | bool %}
instance_usage_audit = True
instance_usage_audit_period = hour
{% endif %}
......
---
fixes:
- |
Fixes enabled usage audit notifications when they
are not needed. See `LP##2049503
<https://bugs.launchpad.net/kolla-ansible/+bug/2049503>`__.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment