Skip to content

Commit 967aa7a

Browse files
keukommalchuk
authored andcommitted
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 66c4f72)
1 parent 5b38eae commit 967aa7a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

ansible/roles/nova-cell/templates/nova.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ compute_driver = libvirt.LibvirtDriver
2626
# Though my_ip is not used directly, lots of other variables use $my_ip
2727
my_ip = {{ api_interface_address }}
2828

29-
{% if enable_ceilometer | bool or enable_designate | bool %}
29+
{% if enable_ceilometer | bool %}
3030
instance_usage_audit = True
3131
instance_usage_audit_period = hour
3232
{% if enable_watcher | bool %}

ansible/roles/nova/templates/nova.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ allow_resize_to_same_host = true
1616
# Though my_ip is not used directly, lots of other variables use $my_ip
1717
my_ip = {{ api_interface_address }}
1818

19-
{% if enable_ceilometer | bool or enable_designate | bool %}
19+
{% if enable_ceilometer | bool %}
2020
instance_usage_audit = True
2121
instance_usage_audit_period = hour
2222
{% endif %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes enabled usage audit notifications when they
5+
are not needed. See `LP##2049503
6+
<https://bugs.launchpad.net/kolla-ansible/+bug/2049503>`__.

0 commit comments

Comments
 (0)