b2ee05a0b1
Currently we expect keystoneauth to raise on missing endpoint, but in many cases it returns None from get_endpoint instead. This causes two kinds of problems: * Raising Python exceptions in the code that is not ready to handle None (e.g. get_ironic_api_url in deploy_utils). * Passing endpoint_override=None to client constructors, thus effectively ignoring provided adapter configuration options. This change turns None into a proper error. Change-Id: I8dad2e8ef5ff39167995dfe8266a48e80a29788b
9 lines
259 B
YAML
9 lines
259 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes a confusing ``AttributeError`` if an adapter returns ``None`` for
|
|
the bare metal API.
|
|
- |
|
|
Prevents the adapter configuration options from getting ignored if
|
|
a matching endpoint cannot be found. An error is now raised.
|