settingsLogin | Registersettings

[openstack-announce] [new][ironic] python-ironicclient 1.4.0 release (newton)

0 votes

We are thrilled to announce the release of:

python-ironicclient 1.4.0: OpenStack Bare Metal Provisioning API
Client Library

This release is part of the newton release series.

With source available at:

http://git.openstack.org/cgit/openstack/python-ironicclient

With package available at:

https://pypi.python.org/pypi/python-ironicclient

Please report issues through launchpad:

http://bugs.launchpad.net/python-ironicclient

For more details, please see below.

1.4.0
^^^^^

New Features


  • Add support for specifying the expiry (in seconds) of the caching
    of the ironic API version, via the environment variable
    "IRONICCLIENTCACHEEXPIRY".

  • Add a --json option to the client to display the JSON response
    body from the Ironic API without formatting it.

  • Extend the OpenStackClient plugin with new commands:

    • openstack baremetal node abort

    • openstack baremetal node clean

    • openstack baremetal node create

    • openstack baremetal node delete - Supports deleting multiple
      nodes

    • openstack baremetal node deploy

    • openstack baremetal node inspect

    • openstack baremetal node list

    • openstack baremetal node maintenance set

    • opnestack baremetal node maintenance unset

    • openstack baremetal node manage

    • openstack baremetal node power

    • openstack baremetal node provide

    • openstack baremetal node reboot

    • openstack baremetal node rebuild

    • openstack baremetal node set

    • openstack baremetal node show

    • openstack baremetal node undeploy

    • openstack baremetal node unset

    • openstack baremetal port create

  • Support has been added for the node-set-provision-state verb
    "adopt" which requires API version 1.17. This feature allows an
    operator move a node from "MANAGABLE" state to "ACTIVE" state
    without performing cleaning or a deployment operation.

Deprecation Notes


  • Deprecating the following commands in favor of the new commands:

    • openstack baremetal create

    • openstack baremetal delete

    • openstack baremetal list

    • openstack baremetal set

    • openstack baremetal show

    • openstack baremetal unset

    These will be removed in the 'P' release.

Bug Fixes


  • The client will now retry on keystoneauth retriable connection
    failures if retries are enabled for a particular request. This
    ensures that on a temporary network outage to the keystone auth
    services a request we be retried the requested number of times
    before raising an exception.

  • Fixes an issue when SessionClient ignores endpoint_override while
    doing session requests, which leads to undeterministic results in
    multi-region deployments.

Changes in python-ironicclient 1.2.0..1.4.0


495fe6e Fix py35 unit tests
09452a7 Grammatical fixes for cache expiry feature
8c7f0d3 Change position in assert arguments
e03e5af Updated from global requirements
5200818 Add test for ironic driver-list command
8c811af Add env var for version cache timeout
1e37be4 Add invalid attribute names to exception
830f8a4 Simplify use of configdrive arg in osc
b9b6e93 Add maintenance mode commands
77e5437 Add provision state commands
87a0729 Fix error returned by ironic --json node-validate
a7fc790 Negative tests for testing actions with Chassis
1ad685d Updated from global requirements
ca9cf06 Add test for 'node-show --field' command
e6ba3c7 Updated from global requirements
6543ded Tests for CLI help message
16d8c0a Move methods to utils.py
e9d9b9d Updated from global requirements
df8187c Implementation of baremetal power state commands
81d0625 Implementation of baremetal port create
4ff3918 Updated from global requirements
e9cd32f Add test for chassis-node-list
0f42038 Fix quotation mark in docstring
27b08a6 Add test for 'port-show --field' command
a0fc059 Add sanity tests for testing actions with Port
6fdfcba Updated from global requirements
11a3f12 Catch RetriableConnectionFailures from KAuth and retry
59ef580 Updated from global requirements
36b9bfb Bring OSC plugin inline with approved spec
4a6f53f Updated from global requirements
3076ab7 Use name randomizer from tempest
7623bc6 Updated from global requirements
693e1d2 Replace deprecated tempest-lib with tempest
1c28742 Update the home-page with developer documentation
f2b765a Trivial: ignore openstack/common in flake8 exclude list
62abc2a Updated from global requirements
deae37a Fix typo in docstring of assertTableHeaders method
3ef1203 Fix for tox 'testenv:cover' command
934e6f8 Updated from global requirements
4c1432a Updated from global requirements
f463451 Fix typos in docstrings and comments
f28456a Add test for 'chassis-show --field' command
7dcb05a Client addition for Active Node Creation verb adopt
059ebb7 Fix pep8 stderr warning regarding all defined as list
3e3fe36 Code style fix according to flake8
c9dc5fa Set endpoint
override while doing session.request
5ebea23 Trivial: Fix incorrect comments in test_baremetal.py
8a83d36 Remove httplib2
2e91628 Update reno for stable/mitaka
76f4265 Updated from global requirements
01ff3df Improve output of --json option

Diffstat (except docs and test files)


ironicclient/init.py | 4 +-
ironicclient/client.py | 3 +
ironicclient/common/base.py | 9 +-
ironicclient/common/cliutils.py | 46 +-
ironicclient/common/filecache.py | 22 +-
ironicclient/common/http.py | 11 +-
ironicclient/common/utils.py | 49 +-
ironicclient/osc/v1/baremetal.py | 319 ------
ironicclient/osc/v1/baremetalnode.py | 802 ++++++++++++++
ironicclient/osc/v1/baremetal
port.py | 65 ++
ironicclient/shell.py | 3 -
ironicclient/v1/node_shell.py | 58 +-
...ify-version-cache-timeout-dfa5f6d4af0ea1d3.yaml | 5 +
.../notes/add-json-option-0cf29be2a97e0212.yaml | 4 +
.../notes/osc-plugin-ff0d897d8441a9e1.yaml | 36 +
.../provision-state-adopt-d07b838813cecfb1.yaml | 6 +
...e-auth-retriable-failures-91c08b9f8bdab7f3.yaml | 6 +
...-client-endpoint-override-20f1d822b4430afa.yaml | 5 +
releasenotes/source/index.rst | 1 +
releasenotes/source/mitaka.rst | 6 +
requirements.txt | 9 +-
setup.cfg | 33 +-
test-requirements.txt | 16 +-
tox.ini | 7 +-
42 files changed, 2965 insertions(+), 1130 deletions(-)

Requirements updates


diff --git a/requirements.txt b/requirements.txt
index 6a31a51..df4198a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6 +6 @@ appdirs>=1.3.0 # MIT License
-dogpile.cache>=0.5.4 # BSD
+dogpile.cache>=0.6.1 # BSD
@@ -8,2 +8 @@ cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0
-httplib2>=0.7.5 # MIT
-keystoneauth1>=2.1.0 # Apache-2.0
+keystoneauth1>=2.7.0 # Apache-2.0
@@ -11 +10 @@ oslo.i18n>=2.1.0 # Apache-2.0
-oslo.utils>=3.5.0 # Apache-2.0
+oslo.utils>=3.14.0 # Apache-2.0
@@ -14 +13 @@ python-openstackclient>=2.1.0 # Apache-2.0
-requests!=2.9.0,>=2.8.1 # Apache-2.0
+requests>=2.10.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 235c520..afedb27 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8,4 +8,4 @@ doc8 # Apache-2.0
-fixtures>=1.3.1 # Apache-2.0/BSD
-requests-mock>=0.7.0 # Apache-2.0
-mock>=1.2 # BSD
-Babel>=1.3 # BSD
+fixtures>=3.0.0 # Apache-2.0/BSD
+requests-mock>=1.0 # Apache-2.0
+mock>=2.0 # BSD
+Babel>=2.3.4 # BSD
@@ -13 +13 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
-reno>=0.1.1 # Apache2
+reno>=1.8.0 # Apache2
@@ -16 +16 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
+sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
@@ -18,2 +18,2 @@ testtools>=1.4.0 # MIT
-tempest-lib>=0.14.0 # Apache-2.0
-os-testr>=0.4.1 # Apache-2.0
+tempest>=12.1.0 # Apache-2.0
+os-testr>=0.7.0 # Apache-2.0


OpenStack-announce mailing list
OpenStack-announce@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-announce
asked Jul 11, 2016 in openstack-announce by no-reply_at_openstac (33,960 points)   2 16 44
...