Openstack plugin - allow metrics-gathering by non-admin OSP accounts #11769
Labels
feature request
Requests for new plugin and for new features to existing plugins
plugin/input
1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Use Case
telegraf version:
v1.23.2
input plugin:
openstack
My OSP account does not have permissions to list the services, but it is perfectly capable of accessing other services API.
The current implementation of the plugin seem to rely on the calls to
<auth_endpoint>/v3/services
, rendering the plugin unusable with non-admin accounts.Not sure what the request is used for, but the service catalog object is retrieved automatically after a successful authentication with the keystone service:
https://docs.openstack.org/keystone/latest/api_curl_examples.html
maybe parsing this catalog should be sufficient?
Expected behavior
admin
permissions should not be required, service catalog should be parsed from thekeystone
authentication responseActual behavior
plugin trying to gather the services by accessing the endpoint that requires admin privileges
Additional info
No response
The text was updated successfully, but these errors were encountered: