diff --git a/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 b/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 index 480a956e7e..e4e38307a1 100644 --- a/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 +++ b/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 @@ -46,10 +46,12 @@ metrics_conf = /etc/cloudkitty/{{ cloudkitty_custom_metrics_yaml_file }} [keystone_fetcher] keystone_version = 3 auth_section = keystone_authtoken +region_name = {{ openstack_region_name }} {% if cloudkitty_collector_backend == "gnocchi" %} [gnocchi_collector] auth_section = keystone_authtoken +region_name = {{ openstack_region_name }} {% endif %} [api]