python-openstackclient 3.19.0 (train)
We are gleeful to announce the release of: python-openstackclient 3.19.0: OpenStack Command-line Client This release is part of the train release series. The source is available from: https://opendev.org/openstack/python-openstackclient Download the package from: https://pypi.org/project/python-openstackclient Please report issues through: https://bugs.launchpad.net/python-openstackclient/+bugs For more details, please see below. 3.19.0 ^^^^^^ New Features ************ * Add "--changes-before" option to the "server list" command. This requires Compute API version '2.66' or later. [:lpbug: *1827844*] * Add "security_group" as a valid "--type" value for the "network rbac create" and "network rbac list" commands. * Add "--description" option to "server create", "server rebuild", "server set" and "server unset" commands. [Bug 2002005 (https://storyboard.openstack.org/#!/story/2002005)] Deprecation Notes ***************** * The "--live" option on the "openstack server migrate" command has been deprecated and is being replaced with two new options: * "--live-migration": This will signal that the migration is a live migration. * "--host": This can be used to request a target host for the live migration but requires "--os-compute-api-version" 2.30 or greater so the requested host can be validated by the scheduler. The "--live" option is problematic in that it requires a host and prior to compute API version 2.30, specifying a host during live migration will bypass validation by the scheduler which could result in failures to actually migrate the server to the specified host or over-subscribe the host. The "--live" and "--host" options are mutually exclusive. Furthermore, if both the "--live" and "--live-migration" options are used the "--live-migration" option takes priority. Bug Fixes ********* * Bug 1411190 has been fixed by providing a "--live-migration" and "-- host" option to the "openstack server migrate" command. (https://bugs.launchpad.net/python-openstackclient/+bug/1411190) * Fix RuntimeError in "project show" command running under Python 3. [Bug 1740232 (https://bugs.launchpad.net/python- openstackclient/+bug/1740232)] * Re-open stdout in binary mode before writing object data in "object save --file -" command. [Bug 1775482 (https://bugs.launchpad.net /python-openstackclient/+bug/1775482)] * Fix "endpoint group delete" command to properly delete endpoint groups. [Story 2005521 (https://storyboard.openstack.org/#!/story/2005521)] * The "--limit" option of the "image list" command was previously ignored. [Bug 2004314 (https://storyboard.openstack.org/#!/story/2004314)] Changes in python-openstackclient 3.18.0..3.19.0 ------------------------------------------------ ef1fd388 Add changes-before attribute to server list 30579897 Deprecate openstack server migrate --host option 6f1f44d4 Batch up minor cleanups for release 99c3be93 Serialize more aggregate functional tests c77a9621 Compute: Add description support for server 1b2595a9 Remove code migrated to osc-lib long ago bb659cf4 Aggregate functional test tweak f1791179 Update sphinx requirement. 4b91cd49 Stop leaving temp files after unit test runs 6385d642 Blacklist Bandit 1.6.0 due to directory exclusion bug 04e03b2a Fix bug in endpoint group deletion e6bbc995 document the --timing option 8c1ec6f9 Fix link to new opendev repo 42cd4b2e Document that server dump create requires 2.17 a8309a2a Dropping the py35 testing 0f56b7d0 Followup opendev cleanup and test jobs b3da2a67 OpenDev Migration Patch 8ce203f8 Fix docs bug link to go to storyboard rather than launchpad 4f3cda73 Tweak network segment range fiunction tests 415b4805 Before writing object data to stdout, re-open it in binary mode 589026cd Volume backup functional test tweak c53de321 Ignore case in security group rule --ethertype c684fd92 Update master for stable/stein 510e9a7b Fix: incorrect check when no shared/private input 77413470 Fix service discovery in functional tests 28c06d06 Fix: set invalid None project_id on range creation be7a7581 Add 'security_group' type support to network rbac commands aaf73cbf Fix --limit option in image list sub-command b18e79c0 Delete the LB object quotas set command in openstackclient 71f138b1 Fix RuntimeError when showing project which has extra properties Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 19 +- README.rst | 2 +- openstackclient/api/object_store_v1.py | 5 +- openstackclient/api/utils.py | 84 ---- openstackclient/common/clientmanager.py | 7 - openstackclient/common/commandmanager.py | 59 --- openstackclient/common/quota.py | 3 - openstackclient/compute/v2/aggregate.py | 2 + openstackclient/compute/v2/server.py | 164 ++++++- openstackclient/identity/v2_0/project.py | 2 +- openstackclient/identity/v3/endpoint_group.py | 6 +- openstackclient/image/v1/image.py | 2 +- openstackclient/image/v2/image.py | 7 +- openstackclient/network/v2/network_rbac.py | 13 +- .../network/v2/network_segment_range.py | 6 +- openstackclient/network/v2/security_group_rule.py | 9 + openstackclient/network/v2/subnet.py | 19 +- openstackclient/shell.py | 2 +- .../functional/network/v2/test_floating_ip.py | 2 +- .../network/v2/test_network_segment_range.py | 26 +- .../functional/network/v2/test_subnet_pool.py | 4 +- .../unit/network/v2/test_network_segment_range.py | 89 +++- .../network/v2/test_security_group_rule_network.py | 24 + ...11190-live-migration-host-655ae6befa6a3de2.yaml | 27 ++ .../notes/bug-1633582-df2bee534c2da7fc.yaml | 4 +- .../notes/bug-1740232-91ad72c2ac165f35.yaml | 5 + .../notes/bug-1775482-7ed2a9a8765b313e.yaml | 6 + .../notes/bug-1827844-8f1de120087c6a22.yaml | 6 + .../notes/bug-2005521-0274fc26bd9b3842.yaml | 5 + releasenotes/notes/bug-27882-402ced7ffe930058.yaml | 5 + .../rbac-add-security-group-35370701a06ac906.yaml | 5 + .../notes/server-description-ae9618fc09544cac.yaml | 6 + releasenotes/source/conf.py | 3 +- releasenotes/source/index.rst | 1 + releasenotes/source/pre_20_releases.rst | 2 +- releasenotes/source/stein.rst | 6 + setup.cfg | 1 - test-requirements.txt | 2 +- tox.ini | 10 +- 69 files changed, 1727 insertions(+), 627 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 8ec69331..4cb66cfd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -19 +19 @@ osprofiler>=1.4.0 # Apache-2.0 -bandit>=1.1.0 # Apache-2.0 +bandit!=1.6.0,>=1.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org