981a19bba1d5a8477d51ed4751c87a3a4d130aee

When a non-keystone plugin is used together with an unversioned endpoint, we give up on discovery before figuring out both major version and the correct endpoint. This is because get_endpoint_data is called with discover_versions=False, so discovery assumes we have all information already. It may be an issue in discovery itself, but I'm afraid to touch that code. Instead, if get_endpoint_data returns no API version with discover_versions=False, try with discover_versions=True, which matches what the identity plugins do. Also increase the unit test coverage. Change-Id: Ie623931b150748d7759cf276e0023a2f06a8d4db
Team and repository tags
keystoneauth
This package contains tools for authenticating to an OpenStack-based cloud. These tools include:
- Authentication plugins (password, token, and federation based)
- Discovery mechanisms to determine API version support
- A session that is used to maintain client settings across requests (based on the requests Python library)
Further information:
- Free software: Apache license
- Documentation: https://docs.openstack.org/keystoneauth/latest/
- Source: https://opendev.org/openstack/keystoneauth
- Bugs: https://bugs.launchpad.net/keystoneauth
- Release notes: https://docs.openstack.org/releasenotes/keystoneauth/
Description
Languages
Python
100%