From a01294a4de278f36bb574c0e1e912e89942a0312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Fri, 17 May 2019 14:18:31 -0300 Subject: [PATCH] Use'openstack_region_name' in cloudkitty collectors and fetchers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9fb4151261fba227dda09241bc141826589ad169 Signed-off-by: Rafael Weingärtner --- ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 b/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 index a25dc0a606..270bdfd9f6 100644 --- a/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 +++ b/ansible/roles/cloudkitty/templates/cloudkitty.conf.j2 @@ -44,10 +44,12 @@ services = compute,image{% if enable_cinder | bool %},volume{% endif %},network. [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]