Skip to content
Snippets Groups Projects
Commit 66c4f72c authored by Michal Arbet's avatar Michal Arbet
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
parent 416851ce
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ compute_driver = libvirt.LibvirtDriver ...@@ -26,7 +26,7 @@ compute_driver = libvirt.LibvirtDriver
# Though my_ip is not used directly, lots of other variables use $my_ip # Though my_ip is not used directly, lots of other variables use $my_ip
my_ip = {{ api_interface_address }} my_ip = {{ api_interface_address }}
{% if enable_ceilometer | bool or enable_designate | bool %} {% if enable_ceilometer | bool %}
instance_usage_audit = True instance_usage_audit = True
instance_usage_audit_period = hour instance_usage_audit_period = hour
{% if enable_watcher | bool %} {% if enable_watcher | bool %}
......
...@@ -16,7 +16,7 @@ allow_resize_to_same_host = true ...@@ -16,7 +16,7 @@ allow_resize_to_same_host = true
# Though my_ip is not used directly, lots of other variables use $my_ip # Though my_ip is not used directly, lots of other variables use $my_ip
my_ip = {{ api_interface_address }} my_ip = {{ api_interface_address }}
{% if enable_ceilometer | bool or enable_designate | bool %} {% if enable_ceilometer | bool %}
instance_usage_audit = True instance_usage_audit = True
instance_usage_audit_period = hour instance_usage_audit_period = hour
{% endif %} {% endif %}
......
---
fixes:
- |
Fixes enabled usage audit notifications when they
are not needed. See `LP##2049503
<https://bugs.launchpad.net/kolla-ansible/+bug/2049503>`__.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment