We are ecstatic to announce the release of: python-openstackclient 5.3.0: OpenStack Command-line Client This release is part of the victoria 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://storyboard.openstack.org/#!/project/openstack/python- openstackclient For more details, please see below. 5.3.0 ^^^^^ New Features ************ * Add a new option *--description* to "floating ip port forwarding create" and "floating ip port forwarding set" commands. * Added "--import" flag to "openstack image create" to allow the user to force use of the image import codepath. * Added the below mentioned parameters to the user create and set commands. * --ignore-lockout-failure-attempts * --no-ignore-lockout-failure-attempts * --ignore-password-expiry * --no-ignore-password-expiry * --ignore-change-password-upon-first-use * --no-ignore-change-password-upon-first-use * --enable-lock-password * --disable-lock-password * --enable-multi-factor-auth * --disable-multi-factor-auth * --multi-factor-auth-rule This will now allow users to set user options via CLI. <https://docs.openstack.org/keystone/latest/admin/resource- options.html#user-options> * Added the below mentioned parameters to the role, project and domain commands. * --immutable * --no-immutable This will allow user to set "immutable" resource option. * Add "--force" options to the "openstack quota set" command. The compute service allows us to to force set a quota, setting a quota value that is less than the amount of the resource currently consumed. Expose this feature by way of a "--force" boolean parameter. * Add "address_scope" as a valid "--type" value for the "network rbac create" and "network rbac list" commands. * Add "subnetpool" as a valid "--type" value for the "network rbac create" and "network rbac list" commands. * Add new commands "router add route" and "router remove route" to support new Neutron extension: "extraroute-atomic" (see Neutron RFE (https://bugs.launchpad.net/neutron/+bug/1826396)). * Add "--stateful" and "--stateless" option to the "security group create" and "security group set" commands to support stateful and stateless security groups. Deprecation Notes ***************** * The use of "router set --route" to add extra routes next to already existing extra routes is deprecated in favor of "router add route --route", because "router set --route" if used from multiple clients concurrently may lead to lost updates. Bug Fixes ********* * [Story 2005246 (https://storyboard.openstack.org/#!/story/2005246)] The *is_domain* property safely handles type checking. * While uploading a signed image, a private key to sign that image must be specified. The CLI client asks for the password of that private key. Due to wrong encoding handling while using Python 3, the password is not accepted, whether it is correct or not. * Makes "volume backup record" commands available in Volume API v3. Task 40279 Changes in python-openstackclient 5.2.0..5.3.0 ---------------------------------------------- c06d8256 Fix uploading an signed image does not work if private signing key is encrypted 5c4eb0bf Add a command to trigger entrypoint cache creation 870cf011 switch to stevedore for entry points b1fc587a Make volume backup record commands available in v3 4638dbc7 Remove enabling of glance v1 API c04ec16c Expose flag for forcing use of import for images ff2a70c4 Remove translation sections from setup.cfg 307d23bb port: add --host to list command 8b7a2c8d Don't display Munch objects in the output a0417296 Revert "Format location columns in network commands" da3c3bde image: autogenerate docs 26878e7d identity: autogenerate docs 7696593d Remove os-client-config references 2cb41935 Add cliff to libs-from-git for devstack functional tips aa7b84fd Add OpenStack Client for Manila docs b5389dab Remove congress a15b1add Replace assertItemsEqual with assertCountEqual 533af9f1 Client should parse string to boolean for value 'is_domain' 7049fd85 Add py38 package metadata 709dfd9c Switch to newer openstackdocstheme and reno versions 41a2e829 Make container list --all work f6ee42cd Cleanup: remove a useless reference to "object" 52ff421e Resolve PEP8 ae673171 Correct image lookup during server rebuild cc135e3b Add Python3 victoria unit tests 66202464 Update master for stable/ussuri da4e1ca9 Remove Babel from requirements b328cf74 Add '--force; parameter to 'openstack quota set' 557e65d8 Add 'subnetpool' type support to rbac commands 7f66273d Add resource option immutable bdaebeb5 Revert "Disallow setting default on internal network" 725e004d Use unittest.mock instead of third party mock 74a7c1d9 Add description field to portforwarding NAT rules 5e62411e Support for stateless security groups f01a0f33 Cleanup Python 2.7 support dba57c85 Add command: router add/remove route --route 05da145e Adding options to user cli 8efb3198 Be explicit about python version in image 97d027ca Add libc6-dev to bindep f03cb68a Add 'address_scope' type support to network rbac commands 3e83e747 Allow os quota list query to filter by project Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 17 +- Dockerfile | 7 +- babel.cfg | 1 - bindep.txt | 1 + .../command-objects/application-credentials.rst | 107 +- .../cli/command-objects/ec2-credentials-v2.rst | 6 + .../cli/command-objects/ec2-credentials-v3.rst | 6 + .../command-objects/federation-domain-project.rst | 11 + .../cli/command-objects/federation-protocol.rst | 14 +- .../cli/command-objects/identity-provider.rst | 14 +- .../cli/command-objects/registered-limit.rst | 133 +- .../cli/command-objects/service-provider.rst | 14 +- lower-constraints.txt | 17 +- openstackclient/api/object_store_v1.py | 14 +- openstackclient/common/clientmanager.py | 23 +- openstackclient/common/quota.py | 21 +- openstackclient/compute/v2/server.py | 9 +- openstackclient/identity/common.py | 24 + openstackclient/identity/v3/domain.py | 9 + openstackclient/identity/v3/project.py | 17 + openstackclient/identity/v3/role.py | 10 +- openstackclient/identity/v3/user.py | 120 +- openstackclient/image/v2/image.py | 17 + openstackclient/network/sdk_utils.py | 5 + openstackclient/network/v2/address_scope.py | 10 +- openstackclient/network/v2/floating_ip.py | 2 - .../network/v2/floating_ip_port_forwarding.py | 20 + openstackclient/network/v2/ip_availability.py | 2 - openstackclient/network/v2/network.py | 8 +- openstackclient/network/v2/network_agent.py | 1 - .../network/v2/network_auto_allocated_topology.py | 17 +- openstackclient/network/v2/network_flavor.py | 10 +- .../network/v2/network_flavor_profile.py | 10 +- openstackclient/network/v2/network_meter.py | 10 +- openstackclient/network/v2/network_meter_rule.py | 10 +- openstackclient/network/v2/network_qos_policy.py | 10 +- openstackclient/network/v2/network_qos_rule.py | 10 +- .../network/v2/network_qos_rule_type.py | 8 +- openstackclient/network/v2/network_rbac.py | 32 +- openstackclient/network/v2/network_segment.py | 10 +- .../network/v2/network_segment_range.py | 9 +- openstackclient/network/v2/port.py | 7 +- openstackclient/network/v2/router.py | 98 +- openstackclient/network/v2/security_group.py | 37 +- openstackclient/network/v2/security_group_rule.py | 10 +- openstackclient/network/v2/subnet.py | 1 - openstackclient/network/v2/subnet_pool.py | 1 - .../functional/network/v2/test_security_group.py | 4 +- .../network/v2/test_floating_ip_port_forwarding.py | 15 +- .../unit/network/v2/test_security_group_network.py | 10 + ...-field-in-port-forwarding-c536e077b243d517.yaml | 6 + .../add-image-import-flag-899869dc5a92aea7.yaml | 5 + ...ns_to_user_create_and_set-302401520f36d153.yaml | 19 + ...resource_option_immutable-efed6e1ebdc69591.yaml | 9 + .../notes/bug-2005246-3fb70206bafc5444.yaml | 5 + ...fault-on-internal-network-824fdea1a900891c.yaml | 9 - .../notes/fix-story-2007890-0974f3e69f26801e.yaml | 7 + ...orce-flag-openstackclient-c172de2717e5cfac.yaml | 6 + .../rbac-add-address-scope-7f6409ab70d36306.yaml | 4 + .../rbac-add-subnetpool-f1fc0e728ff61654.yaml | 4 + .../router-extraroute-atomic-d6d406ffb15695f2.yaml | 12 + .../stateful-security-group-a21fa8498e866b90.yaml | 6 + .../notes/task-40279-eb0d718ac1959c50.yaml | 5 + releasenotes/source/conf.py | 12 +- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 + requirements.txt | 4 +- setup.cfg | 42 +- setup.py | 9 - test-requirements.txt | 4 +- tox.ini | 2 - 143 files changed, 3038 insertions(+), 3586 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index b17b6a55..2b7976e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +6,0 @@ six>=1.10.0 # MIT -Babel!=2.4.0,>=2.3.4 # BSD @@ -9 +8 @@ cliff!=2.9.0,>=2.8.0 # Apache-2.0 -openstacksdk>=0.36.0 # Apache-2.0 +openstacksdk>=0.48.0 # Apache-2.0 @@ -15,0 +15 @@ python-cinderclient>=3.3.0 # Apache-2.0 +stevedore>=2.0.1 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 55ae1ea4..3dce687b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +7,0 @@ flake8-import-order>=0.13 # LGPLv3 -mock>=2.0.0 # BSD @@ -12,2 +10,0 @@ requests-mock>=1.2.0 # Apache-2.0 -stevedore>=1.20.0 # Apache-2.0 -os-client-config>=1.28.0 # Apache-2.0 @@ -19,0 +17 @@ wrapt>=1.7.0 # BSD License +ddt>=1.0.1 # MIT