We are excited to announce the release of: python-openstackclient 8.2.0 This release is part of the flamingo 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. 8.2.0 ^^^^^ New Features ************ * Add "--chunk-size" option to "image save" command to control the size of bytes to read at one time. * Adds operation which deletes all metadef object inside a namespace. * The "image property delete" command will now delete all properties in the provided namespace if no property is provided. * The "os_hash_algo" and "os_hash_value image" attributes are now shown in the "image list --long" output. * Add "--property" option to "volume list" command to filter volumes. * Add "--project" and --project-domain`` options to the following network commands: * "openstack security group rule list" [Bug 1648317 (https://bugs.launchpad.net/bugs/1648317)] * Added "--device" and "--device-owner" parameter to the "port unset" command. Deprecation Notes ***************** * The "--id auto" alias for the "flavor create" command is deprecated for removal. Omit the option entirely to ensure the server creates the ID for you. Bug Fixes ********* * The 'volume service set' command could not work due to a bad API call. [Bug 2116969 (https://bugs.launchpad.net/bugs/2116969)] Changes in python-openstackclient 8.1.0..8.2.0 ---------------------------------------------- a312e9cd Adopt sdk_fakes for compute.test_flavor 5feaa952 compute: Fix flavor create --id auto 2177f07d Adds CLI support for ``glance md-namespace-properties-delete`` a7369849 image: Add hashing-related fields 13fe8019 Support image save with chunk-size option 81db99b3 doc: Indicate md-namespace-import as WONTFIX a99ae364 tests: Avoid unnecessary mocks e8a7db58 tests: Simplify mocking in server tests 9f55b253 Adds CLI support for ``glance md-namespace-objects-delete`` e3714848 Remap custom named Image attributes when unsetting 46b25c7c network: Add '--project' to SG rule list command c7d465a2 volume: Migrate 'volume show' to SDK 5e5f12ba volume: Migrate 'volume migrate' to SDK 504cbd24 volume: Migrate 'volume create' to SDK 51ecb5f9 volume: fix volume service set call 1b2dfeac Add is_shared to security_groups 572eeb6d Add metadata as a filter condition when listing volumes b6af7883 Replace deprecated assertItemsEqual 4ea3deda Remove duplicate Python version declarations 1b4fe6fa Migrate setup configuration to pyproject.toml ea85c7aa Replace deprecated datetime.utcfromtimestamp edb17881 Remove leading empty line from server create with --wait 9ad18c49 Fix openstack image import --method web-download --uri 'invalid value' 2e301857 docs: Add note about scoping on tokens 5f602475 Security-groups: Temporarily ignore is_shared 2f03c3ea identity: Remove unnecessary helper 1c70e264 bug fix volume group show command. f1cd38aa identity: Normalise output of application credentials commands f1bd4178 Add device ID and device owner to port unset Diffstat (except docs and test files) ------------------------------------- openstackclient/api/compute_v2.py | 4 +- openstackclient/api/volume_v2.py | 60 ++ openstackclient/api/volume_v3.py | 60 ++ openstackclient/compute/v2/flavor.py | 15 +- openstackclient/compute/v2/server.py | 4 +- openstackclient/identity/common.py | 21 +- .../identity/v3/application_credential.py | 171 +++-- openstackclient/identity/v3/domain.py | 11 +- openstackclient/identity/v3/project.py | 45 +- openstackclient/identity/v3/role.py | 9 +- openstackclient/image/v1/image.py | 17 +- openstackclient/image/v2/cache.py | 16 +- openstackclient/image/v2/image.py | 49 +- openstackclient/image/v2/metadef_objects.py | 10 +- openstackclient/image/v2/metadef_properties.py | 11 +- openstackclient/network/v2/port.py | 16 + openstackclient/network/v2/security_group.py | 47 +- openstackclient/network/v2/security_group_rule.py | 17 + .../functional/identity/v3/test_access_rule.py | 2 +- .../identity/v3/test_application_credential.py | 14 +- .../identity/v3/test_application_credential.py | 88 ++- .../unit/network/v2/test_security_group_network.py | 6 + .../network/v2/test_security_group_rule_network.py | 49 ++ openstackclient/volume/v2/service.py | 2 +- openstackclient/volume/v2/volume.py | 130 ++-- openstackclient/volume/v3/service.py | 2 +- openstackclient/volume/v3/volume.py | 177 +++-- openstackclient/volume/v3/volume_group.py | 2 +- pyproject.toml | 721 ++++++++++++++++- ...-chunk-size-to-image-save-37871f9e62693264.yaml | 5 + ...f-namespace-object-delete-b6b2de24fc66e602.yaml | 4 + ...e-metadef-property-delete-1e1bb8410130d901.yaml | 5 + .../notes/add-image-options-dcbc4ead7822c495.yaml | 4 + ...lume-list-property-option-62008dc24762663b.yaml | 3 + .../notes/bug-1648317-2d12dabc357c4d52.yaml | 10 + .../notes/flavor-id-auto-e21157f97dc1d7f2.yaml | 6 + ...unset-device-id-and-owner-9fce242155c82992.yaml | 5 + .../volume-service-set-fix-345a8bc84267f743.yaml | 5 + requirements.txt | 4 +- setup.cfg | 819 -------------------- 61 files changed, 3044 insertions(+), 2197 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 5e9b33d2..9a9c79a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ cryptography>=2.7 # BSD/Apache-2.0 -cliff>=3.5.0 # Apache-2.0 +cliff>=4.8.0 # Apache-2.0 @@ -10 +10 @@ iso8601>=0.1.11 # MIT -openstacksdk>=4.5.0 # Apache-2.0 +openstacksdk>=4.6.0 # Apache-2.0