forked from openstack/kolla-ansible
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Nova API 2.79 in openstack-exporter queries
Nova API version 2.88 removed details from the os-hypervisors API [1]. These details are queried by openstack-exporter for metrics such as openstack_nova_running_vms. However, a change between v1.3.0 and v1.4.0 of the exporter caused it to use the latest API version, breaking collection of these metrics [2]. Starting from v1.5.0 of the exporter, OS_COMPUTE_API_VERSION can be set to configure the Nova API version to be used. Set it to 2.79 (maximum in Train), which also fixes an issue displaying the flavor ID [4]. [1] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-wallaby [2] openstack-exporter/openstack-exporter#191 [3] openstack-exporter/openstack-exporter#201 [4] openstack-exporter/openstack-exporter#220 Change-Id: I7605a3f9f74effb29ecec3b28e4709fd5f7f8cd4
- Loading branch information
Showing
5 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/openstack-exporter-nova-version-9e75cb7ec04658f2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
features: | ||
- | | ||
Adds support for configuring the Nova API microversion used by the | ||
OpenStack exporter for Prometheus using the | ||
``prometheus_openstack_exporter_compute_api_version`` variable. Its default | ||
value is ``2.79`` to keep some metrics which became unavailable in | ||
`microversion 2.88 | ||
<https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-wallaby>`__. | ||
upgrade: | ||
- | | ||
Some metrics provided by the OpenStack exporter for Prometheus may change | ||
or become unavailable based on the API microversion being used. |