<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ironicclient.git/ironicclient, branch 2.7.2</title>
<subtitle>opendev.org: openstack/python-ironicclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/'/>
<entry>
<title>Do not try to use /v1/v1 when endpoint_override is used</title>
<updated>2019-05-17T07:39:43+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>divius.inside@gmail.com</email>
</author>
<published>2019-05-16T14:52:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=266a700534cbd166c800999dd92556cb431d2055'/>
<id>266a700534cbd166c800999dd92556cb431d2055</id>
<content type='text'>
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
(cherry picked from commit 4565af8ccd8aaa35868fae6ae31216c3e57014f3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
(cherry picked from commit 4565af8ccd8aaa35868fae6ae31216c3e57014f3)
</pre>
</div>
</content>
</entry>
<entry>
<title>Use endpoint_override in version negotiation</title>
<updated>2019-04-17T04:26:58+00:00</updated>
<author>
<name>Jason</name>
<email>jasonanderson@uchicago.edu</email>
</author>
<published>2019-03-15T15:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=b40630f3b3e747ae4a26d31e8e292554b99713f2'/>
<id>b40630f3b3e747ae4a26d31e8e292554b99713f2</id>
<content type='text'>
Change [1] introduced the usage of endpoint_filter when deciding which
endpoint to use during version negotiation. This requires properly
setting interface/region/service_type in order to properly pick the
endpoint. But, sometimes (for example in Kolla-ansible), the endpoint
url is explicitly defined. In the event of the endpoint being explicitly
defined, it should take priority here.

It should be noted that even though SessionClient extends from
keystoneauth1's adapter.LegacyJsonAdapter, the `request` function within
_make_simple_request is being called on the nested Session object, not
the Adapter itself. If it was called on the Adapter this problem
wouldn't exist, as the `endpoint_override` (or `endpoint`) kwarg passed
in to the constructor of the SessionClient would already take
precedence.

Additionally: Adds a release note to the older branch as this is a
fix that needs to be released and is worthy of change visibility
in release notes.

[1]: I42b66daea1f4397273a3f4eb1638abafb3bb28ce

Change-Id: I69dc2c88648ba1d09a9ad3ab3435662e8d1ea6ff
Related-Bug: #1818295
(cherry picked from commit 8071d5de57c728ce09d25d04c8c9fe48cd7db42e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change [1] introduced the usage of endpoint_filter when deciding which
endpoint to use during version negotiation. This requires properly
setting interface/region/service_type in order to properly pick the
endpoint. But, sometimes (for example in Kolla-ansible), the endpoint
url is explicitly defined. In the event of the endpoint being explicitly
defined, it should take priority here.

It should be noted that even though SessionClient extends from
keystoneauth1's adapter.LegacyJsonAdapter, the `request` function within
_make_simple_request is being called on the nested Session object, not
the Adapter itself. If it was called on the Adapter this problem
wouldn't exist, as the `endpoint_override` (or `endpoint`) kwarg passed
in to the constructor of the SessionClient would already take
precedence.

Additionally: Adds a release note to the older branch as this is a
fix that needs to be released and is worthy of change visibility
in release notes.

[1]: I42b66daea1f4397273a3f4eb1638abafb3bb28ce

Change-Id: I69dc2c88648ba1d09a9ad3ab3435662e8d1ea6ff
Related-Bug: #1818295
(cherry picked from commit 8071d5de57c728ce09d25d04c8c9fe48cd7db42e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Run jobs under python2 and python3</title>
<updated>2019-04-10T08:58:57+00:00</updated>
<author>
<name>Iury Gregory Melo Ferreira</name>
<email>imelofer@redhat.com</email>
</author>
<published>2019-03-11T14:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=cdd4b8c046f5902f515d782fa19fbf738d376549'/>
<id>cdd4b8c046f5902f515d782fa19fbf738d376549</id>
<content type='text'>
-Switch functional job to run under python3
-Create a functional job to run under python2
-Create a tempest job to run under python2
-Create tox env to run functional tests under python3
-Validate if `USE_PYTHON3` is set to `True` to call
the correct env for tests
-Remove hardcoded path for client when running functional tests
- Update tests failures to work for python2 and python3

Change-Id: I96d418f08c46add8bf61bf8d1b4e45b6083b8d84
(cherry picked from commit 9b881cb973bc2219df90c2b71e2a1d0e18dcd98a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-Switch functional job to run under python3
-Create a functional job to run under python2
-Create a tempest job to run under python2
-Create tox env to run functional tests under python3
-Validate if `USE_PYTHON3` is set to `True` to call
the correct env for tests
-Remove hardcoded path for client when running functional tests
- Update tests failures to work for python2 and python3

Change-Id: I96d418f08c46add8bf61bf8d1b4e45b6083b8d84
(cherry picked from commit 9b881cb973bc2219df90c2b71e2a1d0e18dcd98a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Move to zuulv3</title>
<updated>2019-03-26T16:02:04+00:00</updated>
<author>
<name>Iury Gregory Melo Ferreira</name>
<email>imelofer@redhat.com</email>
</author>
<published>2019-01-24T15:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=bab647771b2b4e37f76309ae017ed279ec7af1b7'/>
<id>bab647771b2b4e37f76309ae017ed279ec7af1b7</id>
<content type='text'>
To move ironicclient legacy jobs to zuulv3 the the following changes
were necessary:

- Change `tox.ini` to pass envrioment variables
- Clean `post_test_hook.sh` to avoid legacy variables (`$USER` and
`$BASE`), removing `generate_testr_results` function since we only
get `testrepository.subunit` in logs and the results of the tests
are present in job-output file.
- Convert `post_test_hook.sh` and `run_functional.sh` into
`playbooks/functional/run.yaml` to run after the setup.

Also includes the changes from commit
9cd6ce7eb2d96a8f58a4d00f85b405babf67d28f

Change-Id: I6a5b3f82c238083b66bdf6f379092260d367d82d
(cherry picked from commit 2c349cc8930897052e66d29a70e1e7f1c4d40d79)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To move ironicclient legacy jobs to zuulv3 the the following changes
were necessary:

- Change `tox.ini` to pass envrioment variables
- Clean `post_test_hook.sh` to avoid legacy variables (`$USER` and
`$BASE`), removing `generate_testr_results` function since we only
get `testrepository.subunit` in logs and the results of the tests
are present in job-output file.
- Convert `post_test_hook.sh` and `run_functional.sh` into
`playbooks/functional/run.yaml` to run after the setup.

Also includes the changes from commit
9cd6ce7eb2d96a8f58a4d00f85b405babf67d28f

Change-Id: I6a5b3f82c238083b66bdf6f379092260d367d82d
(cherry picked from commit 2c349cc8930897052e66d29a70e1e7f1c4d40d79)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix allocation tests</title>
<updated>2019-03-21T11:45:32+00:00</updated>
<author>
<name>Iury Gregory Melo Ferreira</name>
<email>imelofer@redhat.com</email>
</author>
<published>2019-03-11T14:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=95f00f44ec6ed8ef1e5e1e66e8cdcf8da14298cf'/>
<id>95f00f44ec6ed8ef1e5e1e66e8cdcf8da14298cf</id>
<content type='text'>
The exception raised in the Ironic side has changed and the test
need to be updated.
This commit only cherry picked the test file to unblock the gate
in `stable/stein`

Change-Id: I55abc999f6f397b171d05fd9e9b39d833ca95e55
(cherry picked from commit 9b881cb973bc2219df90c2b71e2a1d0e18dcd98a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The exception raised in the Ironic side has changed and the test
need to be updated.
This commit only cherry picked the test file to unblock the gate
in `stable/stein`

Change-Id: I55abc999f6f397b171d05fd9e9b39d833ca95e55
(cherry picked from commit 9b881cb973bc2219df90c2b71e2a1d0e18dcd98a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Follow-up to the configdrive change"</title>
<updated>2019-03-07T15:54:23+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-03-07T15:54:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=feb5f0e842e4b493583d24209be9c3594dc31559'/>
<id>feb5f0e842e4b493583d24209be9c3594dc31559</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Follow-up to the configdrive change</title>
<updated>2019-03-07T09:28:56+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>divius.inside@gmail.com</email>
</author>
<published>2019-03-07T09:28:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=5d8231fa149bca71ca94d108b2ef7c2654d863b9'/>
<id>5d8231fa149bca71ca94d108b2ef7c2654d863b9</id>
<content type='text'>
This is a follow-up to commit 595db83ddcbed667c6d1abdb1e697e3397df3a3b.

Change-Id: Ie3d177f77289a25077592a6a0c76d65fa4ce591b
Story: #2005083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a follow-up to commit 595db83ddcbed667c6d1abdb1e697e3397df3a3b.

Change-Id: Ie3d177f77289a25077592a6a0c76d65fa4ce591b
Story: #2005083
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Accept 'valid_interfaces' in client setup"</title>
<updated>2019-03-07T04:41:24+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-03-07T04:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=b31e33fd18acda395f04ed3384dc06ae5b725a40'/>
<id>b31e33fd18acda395f04ed3384dc06ae5b725a40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Support passing a dictionary for configdrive"</title>
<updated>2019-03-07T03:30:54+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2019-03-07T03:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=7ed696e5ded4776093c7e50316a13d6481c7e71b'/>
<id>7ed696e5ded4776093c7e50316a13d6481c7e71b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Accept 'valid_interfaces' in client setup</title>
<updated>2019-03-07T02:39:44+00:00</updated>
<author>
<name>Eric Fried</name>
<email>openstack@fried.cc</email>
</author>
<published>2019-03-06T17:07:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=ae1743d2c194c690c4d4629e51e860b5f5b84252'/>
<id>ae1743d2c194c690c4d4629e51e860b5f5b84252</id>
<content type='text'>
The consumer of ironicclient may be deriving their get_client kwargs
from config inherited from ksa, where the 'interface' option has been
deprecated in favor of 'valid_interfaces'. To accomodate this, we accept
'valid_interfaces' as a kwarg, giving it precedence over 'interface'.
However, we still accept 'interface', as the consumer may be deriving
kwargs from a non-conf source (such as an already-created ksa Adapter
where 'valid_interfaces' has already been translated to 'interfaces'.

Co-Authored-By: guang-yee &lt;guang.yee@suse.com&gt;

Change-Id: I3b6fa53005f143d34f03bb1ed71c0aa04b7fce7b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The consumer of ironicclient may be deriving their get_client kwargs
from config inherited from ksa, where the 'interface' option has been
deprecated in favor of 'valid_interfaces'. To accomodate this, we accept
'valid_interfaces' as a kwarg, giving it precedence over 'interface'.
However, we still accept 'interface', as the consumer may be deriving
kwargs from a non-conf source (such as an already-created ksa Adapter
where 'valid_interfaces' has already been translated to 'interfaces'.

Co-Authored-By: guang-yee &lt;guang.yee@suse.com&gt;

Change-Id: I3b6fa53005f143d34f03bb1ed71c0aa04b7fce7b
</pre>
</div>
</content>
</entry>
</feed>
