We are psyched to announce the release of: python-cinderclient 4.0.0: OpenStack Block Storage API Client Library This release is part of the rocky release series. The source is available from: https://git.openstack.org/cgit/openstack/python-cinderclient Download the package from: https://pypi.org/project/python-cinderclient Please report issues through launchpad: https://bugs.launchpad.net/python-cinderclient For more details, please see below. 4.0.0 ^^^^^ New Features ************ * Added the ability to specify the read-write or read-only mode of an attachment starting with microversion 3.54. The command line usage is *cinder attachment-create --mode [rw|ro]*. * Starting with microversion 3.55, the volume transfer command now has the ability to exclude a volume's snapshots when transferring a volume to another project. The new command format is *cinder transfer-create --no-snapshots*. Upgrade Notes ************* * The following CLI options were deprecated for one or more releases and have now been removed: "--endpoint-type" This option has been replaced by "--os-endpoint-type". "--bypass-url" This option has been replaced by "--os-endpoint". "--os-auth-system" This option has been replaced by "--os-auth-type". * The volume creation argument "--source-replica" on the command line and the "source_replica" kwarg for the "create()" call when using the cinderclient library were for the replication v1 support that was removed in the Mitaka release. These options have now been removed. Changes in python-cinderclient 3.6.1..4.0.0 ------------------------------------------- fee0b58 Reflect multiattach deprecation in help text 32251f0 Remove replication v1 support 8d56668 Remove unnecessary parameters from volume create APIs 258586f Update pylint to work with python 3 7e1db55 Add reno to requirements a331f06 Remove deprecated CLI options 4536b2f Switch from ostestr to stestr a554faa Transfer snapshots with volumes 826c5fc Add release note for ability to set attachment mode 9b0c6c4 fix tox python3 overrides 9072700 Add mode option to attachment-create ebb3b67 Remove initialization of logger if logger is None 9aa1c9a Use api version 3 for functional test Diffstat (except docs and test files) ------------------------------------- .gitignore | 6 +- cinderclient/client.py | 2 +- cinderclient/shell.py | 28 --------- cinderclient/utils.py | 2 +- cinderclient/v2/shell.py | 9 +-- cinderclient/v2/volumes.py | 12 +--- cinderclient/v3/attachments.py | 5 +- cinderclient/v3/client.py | 5 -- cinderclient/v3/shell.py | 56 +++++++++++++++--- cinderclient/v3/volume_transfers.py | 68 +++++++++++++++++++++- cinderclient/v3/volumes.py | 12 +--- lower-constraints.txt | 1 + .../notes/attachment-mode-8427aa6a2fa26e70.yaml | 6 ++ .../remove-deprecations-621919062f867015.yaml | 15 +++++ .../notes/remove-replv1-cabf2194edb9d963.yaml | 7 +++ .../notes/transfer-snapshots-555c61477835bcf7.yaml | 6 ++ test-requirements.txt | 4 +- tools/lintstack.py | 16 +++-- tox.ini | 16 +++-- 28 files changed, 369 insertions(+), 144 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 23f0ee2..a62a308 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9,0 +10 @@ mock>=2.0.0 # BSD +reno>=2.5.0 # Apache-2.0 @@ -13,2 +14 @@ testtools>=2.2.0 # MIT -testrepository>=0.0.18 # Apache-2.0/BSD -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.0.0 # Apache-2.0