[release-announce] [cinder] python-cinderclient 2.1.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Thu May 25 19:43:42 UTC 2017


We are overjoyed to announce the release of:

python-cinderclient 2.1.0: OpenStack Block Storage API Client Library

This release is part of the pike release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/python-cinderclient

Download the package from:

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

Please report issues through launchpad:

    https://bugs.launchpad.net/python-cinderclient

For more details, please see below.

2.1.0
^^^^^


New Features
************

* Use 'cinder reset-state' as generic resource reset state command
  for resource 'volume', 'snapshot', 'backup' 'group' and 'group-
  snapshot'. Also change volume's default status from 'available' to
  none when no status is specified.

* Cinderclient now supports noauth mode using *--os-auth-type
  noauth* param. Also python-cinderclient now supports keystoneauth1
  plugins.


Deprecation Notes
*****************

* --bypass-url param is now deprecated. Please use --os-endpoint
  instead of it. --os-auth-system param is now deprecated. Please
  --os-auth-type instead of it.


Bug Fixes
*********

* The mountpoint argument was ignored when creating an attachment
  and now has been fixed. [Bug 1675973
  (https://bugs.launchpad.net/bugs/1675973)]

* The 'tenant' argument was ignored when listing attachments, and
  now has been fixed. [Bug 1675974
  (https://bugs.launchpad.net/bugs/1675974)]

* The 'server_id' is now a required parameter when creating an
  attachment, that means we should create an attachment with a command
  like, 'cinder attachment-create <volume> <server_id>'. [Bug 1675975
  (https://bugs.launchpad.net/bugs/1675975)]

Changes in python-cinderclient 2.0.1..2.1.0
-------------------------------------------

5075eb2 support global_request_id in constructor
8471c6c Eliminate function redefined pylint error
2bfd512 Updated from global requirements
69f0090 Handle dashes in encryption-type-create arguments
da4e810 Add doc for noauth usage
3a62acc Updated from global requirements
af921bb Cinder client reset-state improvements
990527e Fix the wrong help message of marker
16af9f7 Pretty print 'extra_specs' and 'group_specs'
85b56e1 Fix client `retries` default value.
371831a Tests: Add info to assert_called failure message
650dc13 Replace http with https
c384975 Remove direct dependency on requests
51f6668 Updated from global requirements
ae7ab7d [BugFix] Make 'instance_id' required in attachment-create CLI.
4ed7118 [BugFix] Add 'all_tenants', 'project_id' in attachment-list
273c724 [BugFix] 'Mountpoint' is missing in attachment CLIs.
60f92db Fix noauth support
7b213a9 Remove log translations
bb912de Remove duplicate do_upload_to_image() method def
31a7ba7 Update README.rst to remain consistent with python-cinderclient.
c022b73 Fix pep8 errors
25ba0fb Add cinder tests for cinder snapshot create commands with parameters
7b5a91a Update tox to delete py34


Diffstat (except docs and test files)
-------------------------------------

README.rst                                         | 315 +++++++++++++----
cinderclient/__init__.py                           |   5 +-
cinderclient/_i18n.py                              |  10 -
cinderclient/auth_plugin.py                        | 141 --------
cinderclient/client.py                             |  40 ++-
cinderclient/contrib/__init__.py                   |   0
cinderclient/contrib/noauth.py                     |  77 ++++
cinderclient/shell.py                              | 116 +++---
cinderclient/utils.py                              |  12 +-
cinderclient/v1/client.py                          |   2 +-
cinderclient/v2/client.py                          |   2 +-
cinderclient/v2/shell.py                           |  66 +---
cinderclient/v2/volume_backups.py                  |   3 +-
cinderclient/v3/client.py                          |   2 +-
cinderclient/v3/group_snapshots.py                 |  15 +
cinderclient/v3/groups.py                          |  15 +
cinderclient/v3/shell.py                           | 125 +++++--
cinderclient/v3/volume_snapshots.py                |   3 +-
...neric-reset-state-command-d83v1f3accbf5807.yaml |   7 +
.../notes/bug-1675973-ad91a7a9f50e658a.yaml        |   5 +
.../notes/bug-1675974-34edd5g9870e65b2.yaml        |   5 +
.../notes/bug-1675975-ad91a7a34e0esywc.yaml        |   6 +
releasenotes/notes/noauth-7d95e5af31a00e96.yaml    |  11 +
requirements.txt                                   |   9 +-
setup.cfg                                          |   6 +-
test-requirements.txt                              |   4 +-
tox.ini                                            |   2 +-
40 files changed, 1054 insertions(+), 813 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 35e2989..d453c69 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4 +4 @@
-pbr>=2.0.0 # Apache-2.0
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
@@ -6,2 +6 @@ PrettyTable<0.8,>=0.7.1 # BSD
-keystoneauth1>=2.18.0 # Apache-2.0
-requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
+keystoneauth1>=2.20.0 # Apache-2.0
@@ -9 +8 @@ simplejson>=2.2.0 # MIT
-Babel>=2.3.4 # BSD
+Babel!=2.4.0,>=2.3.4 # BSD
@@ -11 +10 @@ six>=1.9.0 # MIT
-oslo.i18n>=2.1.0 # Apache-2.0
+oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 8f2783a..c2d1d5b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6 +6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
@@ -14 +14 @@ requests-mock>=1.1 # Apache-2.0
-sphinx>=1.5.1 # BSD
+sphinx!=1.6.1,>=1.5.1 # BSD





More information about the Release-announce mailing list