-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openstack_nova_security_groups metric unavailable #221
Comments
Not pretty sure that most of the Openstack clusters installed out there are all >=wallaby. |
This endpoint was dropped with 2.36 microversion, even Victoria clusters are impacted. |
Please note that you can set |
Yes, you're right, but I don't understand where it fit with this issue? We want the exporter to target the latest API for compute while still getting the security group (not the old os-security-group api endpoint which is deprecated) list, by using the env var we won't benefit from the latest data/information available with API. Or did I missed something? |
I just ran into the same issue as this here, aswell as #249. Are we really meant to pin the microversion for the exporter? If so I think the exporter should pin itself inside the api calls, shoulnd it? EDIT: |
Another side node for this. Pinning the microversion is not possible in this case as the api was completely removed with openstack ussuri. |
I actually use ZED and put the microversion using the environment variable, but as openstack API gives a way to discover available and supported version, we shouldn't have to do that when looking to target the currently latest available version on the targeted cloud. We should use that feature only when targeting either OLD/DEPRECATED or EDGE version that aren't yet considered as prod version. |
exporter errored with
ERRO[0036] Failed to collect metric for exporter: nova, error: failed to collect metric: security_groups, error: Resource not found: [GET https://my.domain.cloud:8774/v2.1/os-security-groups], error message: {"itemNotFound": {"code": 404, "message": "The resource could not be found."}} source="exporter.go:123"
nova droped '/os-security-group*' since 2.36 api microversion
https://docs.openstack.org/nova/wallaby/reference/api-microversion-history.html#id33
maybe openstack exporter should drop the metric too
nova: wallaby
openstack-exporter: 1.4.0, master
The text was updated successfully, but these errors were encountered: