Use'openstack_region_name' in cloudkitty collectors and fetchers

Change-Id: I9fb4151261fba227dda09241bc141826589ad169
Signed-off-by: Rafael Weingärtner <rafael@apache.org>
This commit is contained in:
Rafael Weingärtner 2019-05-17 14:18:31 -03:00
parent 22a6e0216e
commit a01294a4de

View File

@ -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]