We are ecstatic to announce the release of: cinder 23.3.0 This release is part of the bobcat 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. 23.3.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. Upgrade Notes ************* * Cinder now uses the RBD trash functionality to handle some volume deletions. Therefore, deployments must either a) enable scheduled RBD trash purging on the RBD backend or b) enable the Cinder RBD driver's enable_deferred_deletion option to have Cinder purge the RBD trash. This adds the new configuration option 'rbd_concurrent_flatten_operations', which limits how many RBD flattens the driver will run simultaneously. This can be used to prevent flatten operations from consuming too much I/O capacity on the Ceph cluster. It defaults to 3. Bug Fixes ********* * Bug #2058596 (https://bugs.launchpad.net/cinder/+bug/2058596): Fixed broken "backup_swift_service_auth=True" which made swift backup driver consistently fail during object data access. * Bug #2031897 (https://bugs.launchpad.net/cinder/+bug/2031897): Fixed issues for volume backups with the Ceph driver where failures of the first process ("rbd export-diff") were not caught. Instead, only the return code of the second process ("rbd import-diff") was recognized. This change also preserves the stderr that was lost previously in order to ease debugging. * 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 #2024418 (https://bugs.launchpad.net/cinder/+bug/2024418): Fixed to raise correct exception when volume is busy while performing delete volume operation. * HPE XP and NEC V driver bug #2012515 (https://bugs.launchpad.net/cinder/+bug/2012515): Fixed to use correct Host group name. * Hitachi driver bug #2011810 (https://bugs.launchpad.net/cinder/+bug/2011810): Fixed to use correct pool number for secondary storage on GAD environment. * 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 * Bug #1969643 (https://bugs.launchpad.net/cinder/+bug/1969643): The RBD driver can now delete volumes with other volumes cloned from it (or its snapshots) in cases where deletion would previously fail. This uses the RBD trash functionality. Changes in cinder 23.2.0..23.3.0 -------------------------------- ab92378c4 RBD: Flattening of child volumes during deletion ec37accf6 Make default-types APIs compatible with V3.67 5b3717f8b Add cinder-manage command to update service_uuid e077b18a4 Fix pep8 issues in driver docs 7e67fcdb8 Ceph: Catch more failure conditions on volume backup 06f367c15 Hitachi: Prevent to delete a LDEV assigned to multi objects b5b0c6daf Hitachi: Fix to set correct object ID for LDEV nickname 070ca2493 Hitachi: Stop frequently REST API request in test 6137b9653 Tests: Save 30s on hbsd FC tests 8f497c1cb Hitachi: Fix exception when deleted volume is busy e8e24a261 HPE XP and NEC V: Host group name is not correct 19540c1aa Hitachi: Fix to use correct pool on secondary storage e8b57df5b HPE 3par: getWsApiVersion now requires login a466141b5 Fix broken backup_swift_service_auth=True Diffstat (except docs and test files) ------------------------------------- cinder/api/v3/router.py | 44 +-- cinder/backup/drivers/ceph.py | 58 ++-- cinder/backup/drivers/swift.py | 3 +- cinder/cmd/manage.py | 10 + cinder/db/api.py | 5 + cinder/db/sqlalchemy/api.py | 26 ++ cinder/service.py | 4 + cinder/service_auth.py | 11 + .../drivers/hitachi/test_hitachi_hbsd_mirror_fc.py | 202 ++++++++++-- .../drivers/hitachi/test_hitachi_hbsd_rest_fc.py | 138 ++++++-- .../hitachi/test_hitachi_hbsd_rest_iscsi.py | 57 ++-- .../volume/drivers/hpe/xp/test_hpe_xp_rest_fc.py | 55 +++- .../drivers/hpe/xp/test_hpe_xp_rest_iscsi.py | 43 ++- .../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 | 161 ++++++--- cinder/volume/drivers/hitachi/hbsd_fc.py | 5 +- cinder/volume/drivers/hitachi/hbsd_iscsi.py | 5 +- cinder/volume/drivers/hitachi/hbsd_replication.py | 132 +++++++- 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 | 366 +++++++++++++-------- .../block-storage/drivers/dell-emc-vnx-driver.rst | 6 +- .../block-storage/drivers/hitachi-vsp-driver.rst | 10 + .../block-storage/drivers/hpe-3par-driver.rst | 3 +- .../notes/bug-2058596-3c676e7fdc642b3d.yaml | 6 + ...h-more-failure-conditions-d2ec640f5ff8051c.yaml | 10 + ...hitachi-prevent-data-loss-9ec3569d7d5b1e7d.yaml | 6 + ...vsp-fix-except-in-del-vol-ca8b4c5d40d69531.yaml | 6 + ...fix-to-use-correct-HGname-78c3c47dcf984ddf.yaml | 6 + ...o-use-correct-pool-in-GAD-9413a343dcc98029.yaml | 6 + .../hitachi_fix-ldevnickname-0a0756449e7448d9.yaml | 6 + ...par-login-getWsApiVersion-0252d655844ae054.yaml | 6 + ...rbd-flatten-child-volumes-4cb0b7fcf3a1df5e.yaml | 17 + .../update-service-uuid-f25dbb05efd45d87.yaml | 15 + 43 files changed, 1383 insertions(+), 486 deletions(-)
participants (1)
-
no-reply@openstack.org