Skip to content

Commit 4515dc1

Browse files
neoaggelosyoctozepto
authored andcommitted
Use Volume V3 API in OpenStack exporter
Kolla has removed the Volume V2 API by default since OpenStack Wallaby. However, openstack-exporter attempts to use the Volume V2 API by default, resulting in clean installs failing to fetch Cinder metrics in Prometheus. This patch updates the clouds.yml configuration file for openstack-exporter to use the Volume V3 API instead. Closes-Bug: #1938194 Change-Id: Ifbb601be3ef1a1e853d5a7e832adf556c0ae38b9 (cherry picked from commit 4410ca7)
1 parent 6cb0e10 commit 4515dc1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ansible/roles/prometheus/templates/clouds.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ clouds:
33
region_name: {{ openstack_region_name }}
44
identity_api_version: 3
55
identity_interface: internal
6+
volume_api_version: 3
67
auth:
78
username: {{ keystone_admin_user }}
89
password: {{ keystone_admin_password }}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Use Volume V3 API in OpenStack exporter. Volume V2 API has been removed
5+
since OpenStack Wallaby.
6+
`LP#1938194 <https://bugs.launchpad.net/kolla-ansible/+bug/1938194>`__

0 commit comments

Comments
 (0)