[RFE] unify endpoint discovery for services by using keystoneauth adapters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Wishlist
|
Pavlo Shchelokovskyy |
Bug Description
the keystoneauth lib provides 3 abstractions to use when instantiating an instance of the client:
- auth plugin for keystone auth options
- session for transport options
- adapter for endpoint discovery options
Settings for all three can be loaded from config and used to create clients for other services in a more or less unified manner, with sessions and auth plugins.
Currently we do not do this for all clients, sometimes just using a raw tokens from request.
We also have a multitude of differently named options that one way or the other allow to point to a specific service api url (and some a even mandatory).
This RFE proposes to start moving all clients to a common configuration scheme where all auth plugin, session and adapter related options are set in each client's config section and are loaded from there.
This will also deprecate a number of options in those sections, namely those that are related to sessions (like certificates and timeouts) and selecting a predefined api url. The latter will be replaced by 'endpoint_override' per-client option in all clients-related config sections.
For more discussion, see this ML
http://
Changed in ironic: | |
status: | Triaged → In Progress |
Changed in ironic: | |
assignee: | Pavlo Shchelokovskyy (pshchelo) → Julia Kreger (juliaashleykreger) |
Changed in ironic: | |
assignee: | Julia Kreger (juliaashleykreger) → Pavlo Shchelokovskyy (pshchelo) |
Changed in ironic: | |
assignee: | Pavlo Shchelokovskyy (pshchelo) → Sam Betts (sambetts) |
Changed in ironic: | |
assignee: | Sam Betts (sambetts) → Pavlo Shchelokovskyy (pshchelo) |
when the sort of 'noauth' auth plugin becomes available in keystoneauth (proposed patch [0]),
we could even further unify clients loading for keystone and noauth modes.
[0] https:/ /review. openstack. org/#/c/ 469863/