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
This commit is contained in:
parent
416851ce9d
commit
66c4f72c50
@ -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 %}
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes enabled usage audit notifications when they
|
||||
are not needed. See `LP##2049503
|
||||
<https://bugs.launchpad.net/kolla-ansible/+bug/2049503>`__.
|
Loading…
Reference in New Issue
Block a user