Comment 3 for bug 1548433

Revision history for this message
Jamie Lennox (jamielennox) wrote :

Keystoneauth decided not to have a dependency on oslo_config. This is a choice and won't be reverted.

A keystoneauth.Opt is NOT a substitute for an oslo_config opt. You can generate an oslo_config opt from a keystoneauth Opt using the function [1] available as keystoneauth1.loading.get_auth_plugin_conf_options. This function can take either a string name or an existing plugin (yes, they probably should have been two functions).

This is a neutron bug for returning keystoneauth Opts instead of oslo_config Opts.

[1] https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/loading/conf.py#L45
[2] https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/loading/__init__.py#L25