We are satisfied to announce the release of: cinder 22.3.0 This release is part of the antelope 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. 22.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 #2012246 (https://bugs.launchpad.net/cinder/+bug/2012246): Hide value of the *[coordination] backend_url* option from logs because it can contain credential. * 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 #1988942 (https://bugs.launchpad.net/cinder/+bug/1988942): Increased size of volume image metadata values accepted by the Block Storage API. Volume image metadata values were limited to 255 characters but Glance allows up to 65535 bytes. This change does not affect the database tables which already allow up to 65535 bytes for image metadata values. * Pure iSCSI & FC driver bug #2006960 (https://bugs.launchpad.net/cinder/+bug/2006960): Fixed attaching LUNs greater than 255. Driver leverages new os-brick functionality to specify LUN addressing mode. * 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 22.2.0..22.3.0 -------------------------------- f56f9ed6d RBD: Flattening of child volumes during deletion 48d827b69 Make default-types APIs compatible with V3.67 86d3ffec4 Add cinder-manage command to update service_uuid 47452f942 HPE 3par: getWsApiVersion now requires login a63d192af Fix pep8 issues in driver docs 85fe94ab0 Fix broken backup_swift_service_auth=True e5dd20fd8 Ceph: Catch more failure conditions on volume backup 9a8e5fad8 Hitachi: Prevent to delete a LDEV assigned to multi objects 65c74963a Hitachi: Fix to set correct object ID for LDEV nickname 2d095487c Hitachi: Stop frequently REST API request in test 0139e9fd6 Tests: Make NEC tests faster 3133cc78c Tests: Save 30s on hbsd FC tests 7a089fb49 Hitachi: Fix exception when deleted volume is busy b977f12b7 HPE XP and NEC V: Host group name is not correct 597d3203b Hitachi: Fix to use correct pool on secondary storage 36cd7c879 [coordination] backend_url should be secret 80dc87cd8 Increase size of volume image metadata values b2f20eaa2 Add fips check jobs aca978889 Pure: Report SAM-2 addressing mode for LUNs Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 17 + bindep.txt | 1 + cinder/api/schemas/volume_image_metadata.py | 2 +- cinder/api/v3/router.py | 44 +-- cinder/api/validation/parameter_types.py | 9 + cinder/api/validation/validators.py | 8 + cinder/backup/drivers/ceph.py | 58 ++-- cinder/backup/drivers/swift.py | 3 +- cinder/cmd/manage.py | 10 + cinder/coordination.py | 1 + cinder/db/api.py | 5 + cinder/db/sqlalchemy/api.py | 26 ++ cinder/service.py | 4 + cinder/service_auth.py | 11 + .../unit/api/contrib/test_volume_image_metadata.py | 65 +++- .../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 | 57 ++-- .../drivers/nec/v/test_internal_nec_rest_iscsi.py | 50 ++- cinder/volume/driver.py | 5 +- 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/pure.py | 3 + 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 +- playbooks/enable-fips.yaml | 3 + .../notes/bug-2012246-292d7d93260a1fe5.yaml | 6 + .../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 + ...ge-metadata-size-increase-323812970dc0e513.yaml | 8 + .../pure-report-addressing-91963e29fbed32a4.yaml | 7 + ...rbd-flatten-child-volumes-4cb0b7fcf3a1df5e.yaml | 17 + .../update-service-uuid-f25dbb05efd45d87.yaml | 15 + tools/test-setup.sh | 41 +++ 58 files changed, 1564 insertions(+), 493 deletions(-)
participants (1)
-
no-reply@openstack.org