Merge "Enable instance usage audit only when ceilometer is enabled" into stable/2023.2

This commit is contained in:
Zuul 2024-02-05 10:22:25 +00:00 committed by Gerrit Code Review
commit eb628e9b8a
3 changed files with 8 additions and 2 deletions

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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>`__.