<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ironicclient.git, branch 4.0.0</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>Provide a clear error message when using client.Client without a session</title>
<updated>2020-02-10T10:07:04+00:00</updated>
<author>
<name>Dmitry Tantsur</name>
<email>dtantsur@protonmail.com</email>
</author>
<published>2020-02-10T10:02:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=e8914a7ef9eb582441a7067f2663e19209f32822'/>
<id>e8914a7ef9eb582441a7067f2663e19209f32822</id>
<content type='text'>
Currently we fail with _construct_http_client() takes at least 1 argument.
This change provides a proper TypeError and updates documentation to make
it clear where a session is required. Also provided are explicit unit
tests on passing a session via various means.

Change-Id: I96073dc80d225a9b88fdc12bb058c0145aca623b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently we fail with _construct_http_client() takes at least 1 argument.
This change provides a proper TypeError and updates documentation to make
it clear where a session is required. Also provided are explicit unit
tests on passing a session via various means.

Change-Id: I96073dc80d225a9b88fdc12bb058c0145aca623b
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add support for retired{_reason} fields."</title>
<updated>2020-02-07T15:17:29+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2020-02-07T15:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=d0458b07f12e7980437eb87dea522f9bddc68256'/>
<id>d0458b07f12e7980437eb87dea522f9bddc68256</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for retired{_reason} fields.</title>
<updated>2020-02-06T15:09:27+00:00</updated>
<author>
<name>Arne Wiebalck</name>
<email>Arne.Wiebalck@cern.ch</email>
</author>
<published>2020-01-17T12:51:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=81eebfc404396345055b50c124962c4069048481'/>
<id>81eebfc404396345055b50c124962c4069048481</id>
<content type='text'>
This change adds support to set and unset the 'retired'
and 'retired_reason' fields. It also extends the 'list'
command with an additional '--retired' parameter to
list only nodes which have the retired property.

Story: #2005425
Task: #38143
Depends-On: https://review.opendev.org/703981
Change-Id: I5fe379c4ff439b3a083ae819ce5b4bdbddd22b3a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support to set and unset the 'retired'
and 'retired_reason' fields. It also extends the 'list'
command with an additional '--retired' parameter to
list only nodes which have the retired property.

Story: #2005425
Task: #38143
Depends-On: https://review.opendev.org/703981
Change-Id: I5fe379c4ff439b3a083ae819ce5b4bdbddd22b3a
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove VerifiedHTTPSConnection class</title>
<updated>2020-01-28T17:33:03+00:00</updated>
<author>
<name>Vladyslav Drok</name>
<email>vdrok@mirantis.com</email>
</author>
<published>2020-01-28T16:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=c27c848dba205e163a0828c8caeb4cb819c2d23c'/>
<id>c27c848dba205e163a0828c8caeb4cb819c2d23c</id>
<content type='text'>
It was needed for now EOL python versions, was unused for quite
a while and is insecure (does not allow customising TLS version
for example).

Change-Id: Ia382d3fc155196e7cf916f57ee0ac6be7dde07af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was needed for now EOL python versions, was unused for quite
a while and is insecure (does not allow customising TLS version
for example).

Change-Id: Ia382d3fc155196e7cf916f57ee0ac6be7dde07af
</pre>
</div>
</content>
</entry>
<entry>
<title>Add allocation owner</title>
<updated>2020-01-20T15:20:08+00:00</updated>
<author>
<name>Tzu-Mainn Chen</name>
<email>tzumainn@redhat.com</email>
</author>
<published>2020-01-15T19:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=a64370701e8acff6aa28da87ccebd72664a48d34'/>
<id>a64370701e8acff6aa28da87ccebd72664a48d34</id>
<content type='text'>
Add support to create an allocation with an owner, and to display
an allocation owner.

Change-Id: I85d5c324b177a1e016e93e011f9ad22144ca9340
Story: #2006506
Task: #37540
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support to create an allocation with an owner, and to display
an allocation owner.

Change-Id: I85d5c324b177a1e016e93e011f9ad22144ca9340
Story: #2006506
Task: #37540
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Enforce running tox with correct python version based on env"</title>
<updated>2019-12-26T15:32:08+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-12-26T15:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=7d5804984170b2aab7b12bf407094fac965729a8'/>
<id>7d5804984170b2aab7b12bf407094fac965729a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enforce running tox with correct python version based on env</title>
<updated>2019-12-23T09:05:04+00:00</updated>
<author>
<name>Riccardo Pittau</name>
<email>elfosardo@gmail.com</email>
</author>
<published>2019-12-23T09:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=369a2030b3705f50d93201ae50b66fe4b5652e48'/>
<id>369a2030b3705f50d93201ae50b66fe4b5652e48</id>
<content type='text'>
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].

[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict

Change-Id: I9731a9d99597f14b20e3ab7067ca5a060ec13835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].

[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict

Change-Id: I9731a9d99597f14b20e3ab7067ca5a060ec13835
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using six library</title>
<updated>2019-12-18T14:18:24+00:00</updated>
<author>
<name>Riccardo Pittau</name>
<email>elfosardo@gmail.com</email>
</author>
<published>2019-12-18T09:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=a572ae21e72c8197fb25f05d39a5caef99d7e575'/>
<id>a572ae21e72c8197fb25f05d39a5caef99d7e575</id>
<content type='text'>
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I4b60638bb0268e5d1cf54fdf7d61964082536f4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I4b60638bb0268e5d1cf54fdf7d61964082536f4f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Drop python 2.7 support and testing"</title>
<updated>2019-12-17T00:04:22+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2019-12-17T00:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=1cd9a65c072701ddb7d43100191351e15c17f155'/>
<id>1cd9a65c072701ddb7d43100191351e15c17f155</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AttributeError in negotiate_version</title>
<updated>2019-11-22T17:43:38+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-08-12T15:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ironicclient.git/commit/?id=0e9bf337f1f6aa41f67df2966dacf9e8e897b7da'/>
<id>0e9bf337f1f6aa41f67df2966dacf9e8e897b7da</id>
<content type='text'>
Seen in kolla-ansible CI, if ironic inspector starts up before ironic
API is properly up, we see the following error:

The PXE filter DnsmasqFilter, state=initialized encountered an
exception: StrictVersion instance has no attribute 'version'; resetting
the filter: AttributeError: StrictVersion instance has no attribute
'version'

Example: http://paste.openstack.org/show/756342/

The usual cause of this error is when StrictVersion is initialised with
a version of None. This suggests to me that max_ver is None.

This leads to an exception being raised that circumvents the client's
retry mechanisms.

In the particular case of kolla-ansible CI, Ironic API is behind a load
balancer, and all backends are down resulting in a 503. The lack of a
retry caused ironic inspector to fail on startup.

This patch catches the case where we get a 4xx or 5xx return code when
checking the version, and raises an error that works with the client's
retry mechanisms.

Change-Id: Ib62ca3ee4626084e5e9b90e93e4fa97938023457
Story: 2006393
Task: 36266
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seen in kolla-ansible CI, if ironic inspector starts up before ironic
API is properly up, we see the following error:

The PXE filter DnsmasqFilter, state=initialized encountered an
exception: StrictVersion instance has no attribute 'version'; resetting
the filter: AttributeError: StrictVersion instance has no attribute
'version'

Example: http://paste.openstack.org/show/756342/

The usual cause of this error is when StrictVersion is initialised with
a version of None. This suggests to me that max_ver is None.

This leads to an exception being raised that circumvents the client's
retry mechanisms.

In the particular case of kolla-ansible CI, Ironic API is behind a load
balancer, and all backends are down resulting in a 503. The lack of a
retry caused ironic inspector to fail on startup.

This patch catches the case where we get a 4xx or 5xx return code when
checking the version, and raises an error that works with the client's
retry mechanisms.

Change-Id: Ib62ca3ee4626084e5e9b90e93e4fa97938023457
Story: 2006393
Task: 36266
</pre>
</div>
</content>
</entry>
</feed>
