We are glad to announce the release of: cinder 10.0.7: OpenStack Block Storage This release is part of the ocata stable release series. Download the package from: https://tarballs.openstack.org/cinder/ For more details, please see below. 10.0.7 ^^^^^^ New Features ************ * Kaminario K2 iSCSI driver now supports non discovery multipathing (Nova and Cinder won't use iSCSI sendtargets) which can be enabled by setting *disable_discovery* to *true* in the configuration. * RBD driver supports returning a static total capacity value instead of a dynamic value like it's been doing. Configurable with *report_dynamic_total_capacity* configuration option. Known Issues ************ * Kaminario K2 now supports networks with duplicated FQDNs via configuration option *unique_fqdn_network* so attaching in these networks will work (bug #1720147). Upgrade Notes ************* * If using the NetApp ONTAP drivers (7mode/cmode), the configuration value for "max_over_subscription_ratio" may need to be increased to avoid scheduling problems where storage pools that previously were valid to schedule new volumes suddenly appear to be out of space to the Cinder scheduler. See documentation here (https://docs.openstack.org/cinder/latest/admin/blockstorage-over- subscription.html). * RBD/Ceph backends should adjust *max_over_subscription_ratio* to take into account that the driver is no longer reporting volume's physical usage but it's provisioned size. Bug Fixes ********* * Fixed bug 1632333 with the NetApp ONTAP Driver. Now the copy offload method is invoked early to avoid downloading Glance images twice. * The ONTAP drivers ("7mode" and "cmode") have been fixed to not report consumed space as "provisioned_capacity_gb". They instead rely on the cinder scheduler's calculation of "provisioned_capacity_gb". This fixes the oversubscription miscalculations with the ONTAP drivers. This bugfix affects all three protocols supported by these drivers (iSCSI/FC/NFS). * Dell EMC SC driver correctly returns initialize_connection data when more than one IQN is attached to a volume. This fixes some random Nova Live Migration failures where the connection information being returned was for an IQN other than the one for which it was being requested. * Fixed bug #1731474 on NetApp Data ONTAP driver that was causing LUNs to be created with larger size than requested. This fix requires version 9.1 of ONTAP or later. * Dell EMC PS Series Driver code was creating duplicate ACL records during live migration. Fixes the initialize_connection code to not create access record for a host if one exists previously. This change fixes bug 1726591. * Dell EMC PS Series Driver was creating unmanaged snapshots when extending volumes. Fixed it by adding the missing no-snap parameter. This change fixes bug 1720454. * Dell EMC PS Series Driver code reporting volume stats is now optimized to return the information earlier and accelerate the process. This change fixes bug 1661154. * Dell EMC PS Driver stats report has been fixed, now reports the *provisioned_capacity_gb* properly. Fixes bug 1719659. * RBD stats report has been fixed, now properly reports *allocated_capacity_gb* and *provisioned_capacity_gb* with the sum of the sizes of the volumes (not physical sizes) for volumes created by Cinder and all available in the pool respectively. Free capacity will now properly handle quota size restrictions of the pool. Changes in cinder 10.0.6..10.0.7 -------------------------------- cbf6532 Dell EMC SC: Find volume folder API call fails on root folders fe09c41 Dell EMC SC: API 4.0 incompatibilities d2bff99 Dell EMC SC: ISCSI initialize_connection fixes. b780525 VMAX Driver - Ocata, detaches fail when volume missing from backend 3c337a7 Solving permission errors due to directory ownership on NFS 6d59c49 NetApp ONTAP: Copy offload bugfix bdabc89 VMAX driver Ocata - backward compatibility fix c3464ac Kaminario K2: Add non discovery iSCSI multipath f52890b Unity: Fix duplicate hosts created with same name 6075177 StorageCenter: Fix volume mapping for API v3.1 de943dc 3PAR: Update CHAP on host record when volume is migrated to new compute host 7dd5b5c Improve ChunkedBackupDriver hashlib calls cecb44e RBD: Handle ImageNotFound exception in _get_usage_info correctly 72d12fe OVO: Fix VolumeType create not bound to a Session 9ca5841 Cinder Tempest plugin tests: Switch to stable interface 197f33b Fix wrong usage of rbd.list_snaps return value 013d618 NetApp: Add use-exact-size parameter when creating a LUN on ONTAP iSCSI 5503c0f FlashSystem: Add CMMVC6045E CLI error for multi-host mapping e9a4c21 HPE3PAR: Create FC vlun as host sees caceaa5 Kaminario K2: Support duplicated FQDN in network 06d77db FlashSystems: permit snapshot/clone volumes larger than source de0a6be nimble: handle unicode strings in volume create 9cc454f Tests: Fix unit test failures due to space check 11697dd Reduce scope of the lock for image volume cache c96512a Dell EMC PS: Fix Duplicate ACL records Issue 173d4d0 Run backup compression on native thread b1232cd Fix backup compression unit tests 09b1b13 Dell EMC PS: Fix extend volume creating unmanaged snapsots 047c3f8 Dell EMC PS: Optimize parsing of capacity info from backend ed75271 Fix a compatibility issue after Huawei driver upgrade c4147bc Fix a migration issue of Huawei driver 959c4c0 ScaleIO Driver - include snap usage in provisioned capacity 83a849a NetApp ONTAP: Fix reporting of provisioned_capacity_gb e205ab8 Dell EMC PS: Fix over-subscription ratio stats ba573b6 Brocade: Add HTTP connection cleanup ff44a29 Remove inappropriate directory space check 9ba4863 Log config options with oslo.config 225eef4 Imported Translations from Zanata dd72794 Disallow unmanaging encrypted volumes 23377ac Revert "Tests: Fail if oslo.versionedobjects issues Invalid UUID warnings" 8a0c155 Fix NoneType has no attribute get f3f3fb3 Imported Translations from Zanata 69a79e3 RBD: Fix stats reporting 107cac3 Update group status cef207a Fix config option volume_backend_name's invalid overridden value Diffstat (except docs and test files) ------------------------------------- cinder/backup/chunkeddriver.py | 41 +- cinder/backup/drivers/ceph.py | 2 +- cinder/backup/drivers/nfs.py | 28 +- cinder/db/sqlalchemy/api.py | 5 +- cinder/image/image_utils.py | 4 - cinder/locale/cs/LC_MESSAGES/cinder.po | 453 +----------- cinder/locale/de/LC_MESSAGES/cinder.po | 588 +--------------- cinder/locale/es/LC_MESSAGES/cinder.po | 599 +--------------- cinder/locale/fr/LC_MESSAGES/cinder.po | 601 +--------------- cinder/locale/it/LC_MESSAGES/cinder.po | 575 +-------------- cinder/locale/ja/LC_MESSAGES/cinder.po | 644 +---------------- cinder/locale/ko_KR/LC_MESSAGES/cinder.po | 656 ++++-------------- cinder/locale/pt_BR/LC_MESSAGES/cinder.po | 771 ++++++--------------- cinder/locale/ru/LC_MESSAGES/cinder.po | 564 +-------------- cinder/locale/tr_TR/LC_MESSAGES/cinder.po | 375 +--------- cinder/locale/zh_CN/LC_MESSAGES/cinder.po | 553 +-------------- cinder/locale/zh_TW/LC_MESSAGES/cinder.po | 511 +------------- cinder/scheduler/filter_scheduler.py | 3 +- cinder/service.py | 14 +- cinder/test.py | 12 - .../tempest/api/volume/test_consistencygroups.py | 24 +- .../tempest/api/volume/test_volume_unicode.py | 15 +- .../unit/backup/drivers/test_backup_google.py | 18 +- .../unit/volume/drivers/dell/test_dellscapi.py | 205 +++++- .../volume/drivers/dell_emc/scaleio/test_misc.py | 1 + .../unit/volume/drivers/dell_emc/test_vmax.py | 69 +- .../volume/drivers/dell_emc/unity/test_adapter.py | 14 +- .../volume/drivers/dell_emc/unity/test_client.py | 37 +- .../volume/drivers/huawei/test_huawei_drivers.py | 12 +- .../volume/drivers/ibm/test_ibm_flashsystem.py | 52 +- .../netapp/dataontap/client/test_client_base.py | 22 + .../unit/volume/drivers/netapp/dataontap/fakes.py | 1 - .../drivers/netapp/dataontap/test_block_7mode.py | 1 - .../drivers/netapp/dataontap/test_block_cmode.py | 1 - .../drivers/netapp/dataontap/test_nfs_7mode.py | 3 - .../drivers/netapp/dataontap/test_nfs_cmode.py | 183 ++--- .../unit/volume/flows/test_create_volume_flow.py | 79 ++- cinder/volume/api.py | 5 + .../volume/drivers/dell/dell_storagecenter_api.py | 54 +- .../drivers/dell/dell_storagecenter_iscsi.py | 6 +- cinder/volume/drivers/dell_emc/ps.py | 50 +- cinder/volume/drivers/dell_emc/scaleio/driver.py | 7 +- cinder/volume/drivers/dell_emc/unity/adapter.py | 9 +- cinder/volume/drivers/dell_emc/unity/client.py | 52 +- cinder/volume/drivers/dell_emc/vmax/common.py | 15 +- cinder/volume/drivers/dell_emc/vmax/fc.py | 4 +- cinder/volume/drivers/dell_emc/vmax/iscsi.py | 4 +- cinder/volume/drivers/hpe/hpe_3par_fc.py | 64 +- cinder/volume/drivers/hpe/hpe_3par_iscsi.py | 22 +- cinder/volume/drivers/huawei/huawei_driver.py | 23 +- cinder/volume/drivers/ibm/flashsystem_common.py | 93 ++- .../volume/drivers/kaminario/kaminario_common.py | 26 +- cinder/volume/drivers/kaminario/kaminario_iscsi.py | 36 +- .../volume/drivers/netapp/dataontap/block_7mode.py | 3 - .../volume/drivers/netapp/dataontap/block_cmode.py | 3 - .../drivers/netapp/dataontap/client/client_base.py | 10 +- cinder/volume/drivers/netapp/dataontap/nfs_base.py | 29 +- .../volume/drivers/netapp/dataontap/nfs_cmode.py | 105 ++- cinder/volume/drivers/nimble.py | 23 +- cinder/volume/drivers/rbd.py | 110 ++- cinder/volume/flows/manager/create_volume.py | 57 +- cinder/volume/manager.py | 9 +- .../drivers/brocade/brcd_fc_san_lookup_service.py | 6 +- ...nloads-glance-image-twice-08801d8c7b9eed2c.yaml | 5 + ...rs-oversubscription-issue-c4655b9c4858d7c6.yaml | 16 + ...ell-emc-sc-bugfix-1756914-ffca3133273040f6.yaml | 7 + .../k2-disable-discovery-bca0d65b5672ec7b.yaml | 6 + .../k2-non-unique-fqdns-b62a269a26fd53d5.yaml | 6 + ...tapp-ontap-use_exact_size-d03c90efbb8a30ac.yaml | 6 + .../notes/ps-duplicate-ACL-5aa447c50f2474e7.yaml | 5 + .../ps-extend_volume-no-snap-8aa447c50f2475a7.yaml | 5 + .../ps-optimize-parsing-8aa447c50f2474c7.yaml | 5 + ...er-subscription-ratio-cal-8aa447c50f2474a8.yaml | 5 + .../notes/rbd-stats-report-0c7e803bb0b1aedb.yaml | 18 + 88 files changed, 2193 insertions(+), 7222 deletions(-)