[new][cinder] python-cinderclient 1.9.0 release (newton)
We are frolicsome to announce the release of: python-cinderclient 1.9.0: OpenStack Block Storage API Client Library This release is part of the newton release series. With source available at: https://git.openstack.org/cgit/openstack/python-cinderclient With package available at: https://pypi.python.org/pypi/python-cinderclient Please report issues through launchpad: https://bugs.launchpad.net/python-cinderclient For more details, please see below. 1.9.0 ^^^^^ New Features ************ * Service listings will display additional "cluster" field when working with microversion 3.7 or higher. * Add clustered services commands to list -summary and detailed- (*cluster-list*), show (*cluster-show*), and update (*cluster- enable*, *cluster-disable*). Listing supports filtering by name, binary, disabled status, number of hosts, number of hosts that are down, and up/down status. These commands require API version 3.7 or higher. * Added support to log 'x-openstack-request-id' for each api call. Please refer, https://blueprints.launchpad.net/python- cinderclient/+spec/log-request-id for more details. * Add support for /messages API GET /messages cinder --os-volume-api-version 3.3 message-list GET /messages/{id} cinder --os-volume-api-version 3.3 message-show {id} DELETE /message/{id} cinder --os-volume-api-version 3.3 message-delete {id} Deprecation Notes ***************** * The "cinder endpoints" command has been deprecated. This command performs an identity operation, and should now be handled by "openstack catalog list". [Bug 1608166 (https://bugs.launchpad.net/bugs/1608166)] Changes in python-cinderclient 1.8.0..1.9.0 ------------------------------------------- e15d8e7 Deleting volume metadata keys with a single request 1c87b6f Add v3 user messages with pagination 74ea434 Remove self.__dict__ for formatting strings 7b06b00 Wrap GroupType class's function with api_version ff564a7 Make Resource class's function can be wraped by api_version 23aa30f Wrap cluster related function with api_version 654f712 Wrap volume_backup's update function with api_version 1abc4b0 Wrap group type and group spec with api_version 0504354 Replace functions 'Dict.get' and 'del' with 'Dict.pop' 4f833ee Changed backup-restore to accept backup name cbe6c59 Enhance help message of upload_to_image 639831b Fix NoneType error for cinderclient v1 09a7637 Fix useless api_version of Manager class d3c0d22 Update the home-page with developer documentation 7a566e6 deprecate command `cinder endpoints` b76f594 Add "start_version" and "end_version" support to argparse a468768 Tests for testing volume-create command 931f847 Updated from global requirements a635fd2 Use 'six' instead of oslo_utils.strutils.six 0c016c8 Add backup-update af4cfb0 Change api-version help to indicate server API 29028b8 Use self.ks_logger instead of ks_logger f66b0d5 print endpoints using new keystoneauth catalog object 1a97323 Add tenant_id parameter to limits. 2b0bd49 Changed backup-restore to accept backup name 1f372eb Replace OpenStack LLC with OpenStack Foundation 16f83c4 Switch to keystoneauth d24ba31 List manageable volumes and snapshots f7928c4 Add support for group snapshots 6c5a764 Add generic volume groups 8b5a772 Make APIVersion's null check more pythonic 8835ceb Add Negative tests for cinder volume extend command 22400e3 Add Negative tests for cinder volume create command 01c1391 Fix Unicode error printing extra-specs d2f4b63 Fix string interpolation to delayed to be handled by the logging code 37ac58c Add group types and group specs a6a131d Updated from global requirements 8517a39 Add Python3.5 classifier and venv 09b51a2 Add api-version to get server versions 72304df Updated from global requirements 724901e Fix output error for type-show command 426055c OS_TENANT_NAME is not required when we have OS_PROJECT_NAME ebe02fb Fix _get_rate_limit when resp is None f8eef18 Cinder client should retry with Retry-After value bc5ddf1 Fix batch deleting issue in volume_type.unset_keys() ccde9b3 base.Resource not define __ne__() built-in function 679cdd2 Log request-id for each api call e5e0a7e Add strict Boolean checking 060e874 Delete mox in cinderclient f0f8e6b Fix Service.__repr__ to remove the undefined attribute 0bf56a0 Fix Capabilities.__repr__ to remove the undefined attribute 25bc7e7 Add cluster related commands 42d2a33 Fix python 2,3 compatibility issue with six 86fe561 Fixing parsing problem of cascade in client ea2693b Fix argument order for assertEqual to (expected, observed) 03e041a Make sure --bypass-url honored if specified 2d0ee7a Updated from global requirements df63cd0 Support name option for volume restore dab1359 Updated from global requirements 699a2f5 Support for snapshot force delete 906c998 Make __repr__ print encryption_id for VolumeEncryptionType class 6e54ec8 Fix the incorrect alignment 219c334 Make dict.keys() PY3 compatible 24deab1 Fix authentication issue c297309 Replace assertTrue(isinstance()) by optimal assert Diffstat (except docs and test files) ------------------------------------- cinderclient/api_versions.py | 55 +- cinderclient/base.py | 27 +- cinderclient/client.py | 90 ++- cinderclient/exceptions.py | 59 +- cinderclient/openstack/common/__init__.py | 17 - cinderclient/openstack/common/apiclient/base.py | 9 + cinderclient/openstack/common/apiclient/client.py | 6 +- .../openstack/common/apiclient/exceptions.py | 2 +- cinderclient/shell.py | 177 +++-- cinderclient/utils.py | 9 +- cinderclient/v1/qos_specs.py | 2 +- cinderclient/v1/services.py | 2 +- cinderclient/v1/shell.py | 15 +- cinderclient/v1/volume_encryption_types.py | 2 +- cinderclient/v1/volume_types.py | 14 +- cinderclient/v2/client.py | 9 +- cinderclient/v2/qos_specs.py | 2 +- cinderclient/v2/shell.py | 89 ++- cinderclient/v2/volume_snapshots.py | 22 +- cinderclient/v2/volumes.py | 8 + cinderclient/v3/capabilities.py | 2 +- cinderclient/v3/client.py | 21 +- cinderclient/v3/clusters.py | 87 ++ cinderclient/v3/group_snapshots.py | 129 +++ cinderclient/v3/group_types.py | 158 ++++ cinderclient/v3/groups.py | 166 ++++ cinderclient/v3/limits.py | 12 +- cinderclient/v3/messages.py | 77 ++ cinderclient/v3/qos_specs.py | 2 +- cinderclient/v3/services.py | 14 + cinderclient/v3/shell.py | 879 ++++++++++++++++++++- cinderclient/v3/volume_backups.py | 18 + cinderclient/v3/volume_backups_restore.py | 5 +- cinderclient/v3/volume_encryption_types.py | 2 +- cinderclient/v3/volume_snapshots.py | 27 +- cinderclient/v3/volume_types.py | 15 +- cinderclient/v3/volumes.py | 68 +- .../notes/bug-1608166-ad91a7a9f50e658a.yaml | 7 + .../notes/cluster_commands-dca50e89c9d53cd2.yaml | 9 + .../notes/log-request-id-148c74d308bcaa14.yaml | 6 + .../notes/messages-v3-api-3da81f4f66bf5903.yaml | 11 + requirements.txt | 4 +- setup.cfg | 4 +- test-requirements.txt | 14 +- tools/install_venv.py | 5 +- tools/lintstack.py | 7 +- tox.ini | 2 +- 86 files changed, 4645 insertions(+), 336 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a959474..07a4c65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ PrettyTable<0.8,>=0.7 # BSD -python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0 +keystoneauth1>=2.10.0 # Apache-2.0 @@ -12 +12 @@ oslo.i18n>=2.1.0 # Apache-2.0 -oslo.utils>=3.5.0 # Apache-2.0 +oslo.utils>=3.16.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 17fd9fb..f60412f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,2 +9,2 @@ discover # BSD -fixtures<2.0,>=1.3.1 # Apache-2.0/BSD -mock>=1.2 # BSD +fixtures>=3.0.0 # Apache-2.0/BSD +mock>=2.0 # BSD @@ -13,4 +13,4 @@ python-subunit>=0.0.18 # Apache-2.0/BSD -reno>=1.6.2 # Apache2 -requests-mock>=0.7.0 # Apache-2.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD -tempest>=11.0.0 # Apache-2.0 +reno>=1.8.0 # Apache2 +requests-mock>=1.0 # Apache-2.0 +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +tempest>=12.1.0 # Apache-2.0 @@ -19 +19 @@ testrepository>=0.0.18 # Apache-2.0/BSD -os-testr>=0.4.1 # Apache-2.0 +os-testr>=0.7.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org