python-manilaclient 5.7.0 (gazpacho)
We are happy to announce the release of: python-manilaclient 5.7.0 This release is part of the gazpacho release series. The source is available from: https://opendev.org/openstack/python-manilaclient Download the package from: https://pypi.org/project/python-manilaclient Please report issues through: https://bugs.launchpad.net/python-manilaclient/+bugs For more details, please see below. 5.7.0 ^^^^^ New Features ************ * The command "manila share-server-unmanage" now accepts an optional " --wait" flag that allows users to let the client poll for the completion of the operation. Bug Fixes ********* * The "openstack share network create" and "openstack share network subnet create" commands now validate Neutron network information provided before sending the request. Previously, validation only occured in the Manila service which could result in client-side errors when invalid network or subnet IDs were supplied. The client now performs proper validation and handles missing or invalid network data gracefully. * Fixed Bug #2057951: The manila python client previously ignored the "region_name" parameter when initializing a client session. This caused the client to use wrong API endpoint in multi-region deployments. The client now correctly respects the "region_name" value ensuring requests are routed to the intended region * The *openstack share set* and *openstack share server set* commands now properly handle the *--task-state* argument when given no value or "None", sending a proper null value to the API. For more details, please refer to Launchpad bug #2108991 (https://bugs.launchpad.net /python-manilaclient/+bug/2108991). * Fixed an issue while running ensure shares and getting a not found response. The command should now work properly. Changes in python-manilaclient 5.6.0..5.7.0 ------------------------------------------- 3162ce4 reno: Update master for unmaintained/2024.1 f5ef2c6 Remove unnecessary call 3e3b385 Re-enable E501 errors 16aaa8e Fix outstanding hacking issues 95bd3ac Fix outstanding ruff issues 0ef57c0 Add ruff b255a5c pre-commit: Bump versions 845d6e8 Migrate setup configuration to pyproject.toml 53ca6e9 Fix neutron validation in share network creation 8019cc5 fix respect region name in client initialization d0060a4 Allow settings --task-state without value (to send null) or None 529d860 Add --wait flag to share-server-unmanage 30e9491 Update master for stable/2025.2 43ee9f0 Fixes an issue that prevented ensure shares to be run 50add91 Fixed negative user messages test names Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 24 +- manilaclient/__init__.py | 3 +- manilaclient/api_versions.py | 215 +- manilaclient/base.py | 121 +- manilaclient/client.py | 12 +- manilaclient/common/apiclient/exceptions.py | 81 +- manilaclient/common/apiclient/utils.py | 23 +- manilaclient/common/cliutils.py | 36 +- manilaclient/common/constants.py | 47 +- manilaclient/common/httpclient.py | 76 +- manilaclient/config.py | 415 ++- manilaclient/exceptions.py | 4 + manilaclient/extension.py | 2 +- manilaclient/osc/plugin.py | 75 +- manilaclient/osc/utils.py | 43 +- manilaclient/osc/v2/availability_zones.py | 12 +- manilaclient/osc/v2/messages.py | 112 +- manilaclient/osc/v2/quotas.py | 296 +- manilaclient/osc/v2/resource_locks.py | 200 +- manilaclient/osc/v2/security_services.py | 316 +- manilaclient/osc/v2/services.py | 83 +- manilaclient/osc/v2/share.py | 979 ++--- manilaclient/osc/v2/share_access_rules.py | 305 +- manilaclient/osc/v2/share_backups.py | 258 +- manilaclient/osc/v2/share_group_snapshots.py | 200 +- manilaclient/osc/v2/share_group_type_access.py | 106 +- manilaclient/osc/v2/share_group_types.py | 190 +- manilaclient/osc/v2/share_groups.py | 274 +- .../osc/v2/share_instance_export_locations.py | 33 +- manilaclient/osc/v2/share_instances.py | 104 +- manilaclient/osc/v2/share_limits.py | 12 +- manilaclient/osc/v2/share_network_subnets.py | 259 +- manilaclient/osc/v2/share_networks.py | 490 ++- manilaclient/osc/v2/share_pools.py | 64 +- .../osc/v2/share_replica_export_locations.py | 36 +- manilaclient/osc/v2/share_replicas.py | 267 +- manilaclient/osc/v2/share_servers.py | 410 ++- .../v2/share_snapshot_instance_export_locations.py | 37 +- manilaclient/osc/v2/share_snapshot_instances.py | 93 +- manilaclient/osc/v2/share_snapshots.py | 544 +-- manilaclient/osc/v2/share_transfers.py | 173 +- manilaclient/osc/v2/share_type_access.py | 45 +- manilaclient/osc/v2/share_types.py | 268 +- manilaclient/shell.py | 741 ++-- .../functional/osc/test_availability_zones.py | 8 +- .../functional/osc/test_share_access_rules.py | 156 +- .../functional/osc/test_share_group_type_access.py | 46 +- .../functional/osc/test_share_network_subnets.py | 7 +- .../osc/test_share_replica_export_locations.py | 45 +- .../osc/test_share_snapshot_instances.py | 81 +- .../test_share_replica_export_locations.py | 58 +- .../test_snapshot_instances_export_locations.py | 64 +- .../functional/test_snapshots_export_locations.py | 40 +- .../unit/osc/v2/test_share_group_snapshots.py | 381 +- .../unit/osc/v2/test_share_group_type_access.py | 79 +- .../osc/v2/test_share_instance_export_locations.py | 82 +- .../unit/osc/v2/test_share_network_subnets.py | 365 +- .../osc/v2/test_share_replica_export_locations.py | 73 +- ...est_share_snapshot_instance_export_locations.py | 122 +- .../unit/osc/v2/test_share_snapshot_instances.py | 167 +- .../v2/test_share_instance_export_locations.py | 23 +- .../unit/v2/test_share_replica_export_locations.py | 12 +- .../v2/test_share_snapshot_export_locations.py | 14 +- ...est_share_snapshot_instance_export_locations.py | 25 +- manilaclient/utils.py | 5 +- manilaclient/v1/__init__.py | 2 +- manilaclient/v1/client.py | 123 +- manilaclient/v1/contrib/list_extensions.py | 8 +- manilaclient/v1/limits.py | 12 +- manilaclient/v1/quota_classes.py | 12 +- manilaclient/v1/quotas.py | 12 +- manilaclient/v1/scheduler_stats.py | 12 +- manilaclient/v1/security_services.py | 17 +- manilaclient/v1/services.py | 12 +- manilaclient/v1/share_networks.py | 12 +- manilaclient/v1/share_servers.py | 12 +- manilaclient/v1/share_snapshots.py | 12 +- manilaclient/v1/share_type_access.py | 17 +- manilaclient/v1/share_types.py | 12 +- manilaclient/v1/shares.py | 12 +- manilaclient/v2/__init__.py | 2 +- manilaclient/v2/availability_zones.py | 4 +- manilaclient/v2/client.py | 162 +- manilaclient/v2/limits.py | 45 +- manilaclient/v2/messages.py | 17 +- manilaclient/v2/quota_classes.py | 177 +- manilaclient/v2/quotas.py | 331 +- manilaclient/v2/resource_locks.py | 39 +- manilaclient/v2/scheduler_stats.py | 14 +- manilaclient/v2/security_services.py | 173 +- manilaclient/v2/services.py | 26 +- manilaclient/v2/share_access_rules.py | 10 +- manilaclient/v2/share_backups.py | 32 +- manilaclient/v2/share_export_locations.py | 30 +- manilaclient/v2/share_group_snapshots.py | 76 +- manilaclient/v2/share_group_type_access.py | 18 +- manilaclient/v2/share_group_types.py | 37 +- manilaclient/v2/share_groups.py | 118 +- manilaclient/v2/share_instance_export_locations.py | 20 +- manilaclient/v2/share_instances.py | 10 +- manilaclient/v2/share_network_subnets.py | 90 +- manilaclient/v2/share_networks.py | 123 +- manilaclient/v2/share_replica_export_locations.py | 31 +- manilaclient/v2/share_replicas.py | 51 +- manilaclient/v2/share_servers.py | 121 +- manilaclient/v2/share_snapshot_export_locations.py | 18 +- .../v2/share_snapshot_instance_export_locations.py | 18 +- manilaclient/v2/share_snapshot_instances.py | 13 +- manilaclient/v2/share_snapshots.py | 92 +- manilaclient/v2/share_transfers.py | 42 +- manilaclient/v2/share_type_access.py | 11 +- manilaclient/v2/share_types.py | 160 +- manilaclient/v2/shares.py | 489 ++- manilaclient/v2/shell.py | 3837 ++++++++++++-------- pyproject.toml | 213 ++ ...lag-share-server-unmanage-819dd42abc2a4d2b.yaml | 6 + ...fix-validate-neutron-info-ebe679675111eec9.yaml | 12 + ...51-fix-client-region-name-67fed93b76429b63.yaml | 9 + ...handling-in-osc-share-set-307f3f4a2b232dd8.yaml | 7 + ...fix-ensure-shares-command-69feb1794fea418a.yaml | 5 + releasenotes/source/2024.1.rst | 2 +- releasenotes/source/2025.2.rst | 6 + releasenotes/source/conf.py | 36 +- releasenotes/source/index.rst | 1 + setup.cfg | 187 - setup.py | 4 +- tox.ini | 31 +- 240 files changed, 21795 insertions(+), 15682 deletions(-)
参加者 (1)
-
no-reply@openstack.org