python-ironicclient/ironicclient
Dmitry Tantsur 4565af8ccd Do not try to use /v1/v1 when endpoint_override is used
In one of the places where endpoint_override is used we did not strip
the /v1 suffix, resulting in doube /v1/v1 sometimes.

This patch also corrects the way we strip this suffix (str.rstrip accepts
a set of symbols, not a substring; use regex instead).

It remains unclear why the breakage passed the gate initially. I assume
it was not on the active code path until some Nova change.

Story: #2005723
Task: #31051
Change-Id: I3b25f4fb170aa93159ffa8074dc74fa6f50671b7
2019-05-16 17:01:48 +02:00
..
common Do not try to use /v1/v1 when endpoint_override is used 2019-05-16 17:01:48 +02:00
osc Follow-up to the configdrive change 2019-03-07 10:28:56 +01:00
tests Do not try to use /v1/v1 when endpoint_override is used 2019-05-16 17:01:48 +02:00
v1 Support passing a dictionary for configdrive 2019-03-05 17:11:28 +01:00
__init__.py Fix pep8 stderr warning regarding __all__ defined as list 2016-03-28 11:02:27 -07:00
client.py Accept 'valid_interfaces' in client setup 2019-03-07 02:39:44 +00:00
exc.py Add --wait flag for provision actions and wait_for_provision_state function 2016-08-19 15:48:13 +02:00
shell.py Support node's deploy_step field 2018-07-11 02:19:41 +00:00