We are tickled pink to announce the release of: cinder 24.2.0 This release is part of the caracal release series. The source is available from: https://opendev.org/openstack/cinder Download the package from: https://tarballs.openstack.org/cinder/ Please report issues through: https://bugs.launchpad.net/cinder/+bugs For more details, please see below. 24.2.0 ^^^^^^ New Features ************ * Added a new cinder-manage command to handle the situation where database purges would not complete due to the volumes table holding references to deleted services. The new command makes sure that all volumes have a reference only to the correct service_uuid, which will allow old service records to be purged from the database. Command: "cinder-manage volume update_service" * When Cinder creates a new cinder-volume service, it now also immediately updates the service_uuid for all volumes associated with that cinder-volume host. In some cases, this was preventing the database purge operation from completing successfully. Bug Fixes ********* * Bug #2027532 (https://bugs.launchpad.net/cinder/+bug/2027532): Fixed Cinder API HTTP 500 when issuing a volume list and sorting by a boolean field (i.e. "bootable"). * Hitachi driver bug #2072317 (https://bugs.launchpad.net/cinder/+bug/2072317): Fix potential data-loss due to a network issue during a volume deletion. * Hitachi driver *bug #2071697 <https://bugs.launchpad.net/cinder/+bug/2071697>'_: Fix to set correct object ID as LDEV nickname when running host-assisted migration with ``retype`* or "migration" commands. * Hitachi driver bug #2063317 (https://bugs.launchpad.net/cinder/+bug/2063317): Fix test scripts to avoid failing by unexpected response from psuedo REST API server * HPE 3PAR driver Bug #2068795 (https://bugs.launchpad.net/cinder/+bug/2068795): Fixed: Perform login before invoking getWsApiVersion * RBD driver: No longer copy the RBD source volume image to a temporary file when uploading a volume to an image. Changes in cinder 24.1.0..24.2.0 -------------------------------- 2bb2f13de Make default-types APIs compatible with V3.67 c4c587f3b Optimize rbd upload volume to image 530376bc5 Add cinder-manage command to update service_uuid 906298d87 Dell PowerFlex: update the release notes faf478482 Fix pep8 issues in driver docs 70bb142ae Ensure backup availability zone is populated if empty 3bae3445e Hitachi: Stop frequently REST API request in test 2416dc0b4 PowerStore Driver - Add a unit test for connection properties for NVMeOF connector 83399aceb Hitachi: Prevent to delete a LDEV assigned to multi objects 699451383 Hitachi: Fix to set correct object ID for LDEV nickname 712cf414f Constrain mypy version on stable/2024.1 da46f4d77 Fix: [Ceph] Backup Driver Python3 Encoding Issue 3843e3ebc Pass with mypy 1.11.0 7ab8848a2 HPE 3par: getWsApiVersion now requires login ad9f66a71 Coerce booleans to integer values in paginate_query Diffstat (except docs and test files) ------------------------------------- cinder/api/v3/router.py | 44 ++++--- cinder/backup/drivers/ceph.py | 4 +- cinder/backup/manager.py | 5 + cinder/cmd/manage.py | 10 ++ cinder/common/sqlalchemyutils.py | 5 +- cinder/db/api.py | 5 + cinder/db/sqlalchemy/api.py | 26 ++++ cinder/image/image_utils.py | 19 ++- cinder/scheduler/host_manager.py | 1 + cinder/service.py | 4 + .../powerstore/test_volume_attach_detach.py | 84 +++++++++++++ .../drivers/hitachi/test_hitachi_hbsd_mirror_fc.py | 138 ++++++++++++++++++--- .../drivers/hitachi/test_hitachi_hbsd_rest_fc.py | 91 +++++++++----- .../hitachi/test_hitachi_hbsd_rest_iscsi.py | 57 ++++++--- .../volume/drivers/hpe/xp/test_hpe_xp_rest_fc.py | 52 +++++--- .../drivers/hpe/xp/test_hpe_xp_rest_iscsi.py | 40 +++--- .../drivers/nec/v/test_internal_nec_rest_fc.py | 52 +++++--- .../drivers/nec/v/test_internal_nec_rest_iscsi.py | 50 +++++--- cinder/volume/drivers/hitachi/hbsd_common.py | 106 ++++++++++++++-- cinder/volume/drivers/hitachi/hbsd_fc.py | 5 +- cinder/volume/drivers/hitachi/hbsd_iscsi.py | 5 +- cinder/volume/drivers/hitachi/hbsd_replication.py | 122 +++++++++++++++--- cinder/volume/drivers/hitachi/hbsd_rest.py | 32 ++++- cinder/volume/drivers/hitachi/hbsd_utils.py | 10 +- cinder/volume/drivers/hpe/hpe_3par_common.py | 1 + cinder/volume/drivers/rbd.py | 24 ++-- cinder/volume/flows/manager/create_volume.py | 1 + cinder/volume/volume_utils.py | 6 +- .../block-storage/drivers/dell-emc-vnx-driver.rst | 6 +- .../block-storage/drivers/hitachi-vsp-driver.rst | 8 ++ .../block-storage/drivers/hpe-3par-driver.rst | 3 +- .../bp-dell-powerflex-aa-828facb25b1fde63.yaml | 3 + ...ailability-zone-object-fix-939f93fda2c539b8.yml | 8 ++ ...-list-sort-by-boolean-fix-49972c69007d5ebc.yaml | 6 + ...hitachi-prevent-data-loss-9ec3569d7d5b1e7d.yaml | 6 + .../hitachi_fix-ldevnickname-0a0756449e7448d9.yaml | 6 + ...par-login-getWsApiVersion-0252d655844ae054.yaml | 6 + ...rbd-optimize-image-upload-836c9df06674a665.yaml | 5 + .../update-service-uuid-f25dbb05efd45d87.yaml | 15 +++ test-requirements.txt | 2 +- 52 files changed, 1028 insertions(+), 227 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 94558654a..036f0dfe9 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21 +21 @@ doc8>=0.8.1 # Apache-2.0 -mypy>=1.7.0 # MIT +mypy>=1.7.0,<1.12.0 # MIT
participants (1)
-
no-reply@openstack.org