eb97ff32c4
Parameter 'endpoint' in v1 client object is mandatory if os_ironic_api_version isn't specified. It's used to fetch version from cache[1] and as endpoint override in session client[2]. But since it passed via *args, it could be missing, and creation fails with IndexError. [1] https://github.com/openstack/python-ironicclient/blob/master/ironicclient/v1/client.py#L42 [2] https://github.com/openstack/python-ironicclient/blob/master/ironicclient/common/http.py#L595 Change-Id: I0310f748a1254dd7e54d93f913cff53aadaff16b
6 lines
170 B
YAML
6 lines
170 B
YAML
---
|
|
fixes:
|
|
- Fail with EndpointException instead of IndexError while creating
|
|
v1 client without ``endpoint`` argument if os_ironic_api_version
|
|
isn't specified.
|