Merge "Unity: force delete lun by default"

This commit is contained in:
Zuul
2019-09-03 16:01:40 +00:00
committed by Gerrit Code Review
3 changed files with 18 additions and 4 deletions
+2 -3
View File
@@ -102,9 +102,8 @@ VNX_OPTS = [
'to maximum number of pool LUNs is reached. '
'By default, the value is False.'),
cfg.BoolOpt('force_delete_lun_in_storagegroup',
default=False,
help='Delete a LUN even if it is in Storage Groups. '
'By default, the value is False.'),
default=True,
help='Delete a LUN even if it is in Storage Groups.'),
cfg.BoolOpt('ignore_pool_full_threshold',
default=False,
help='Force LUN creation even if '
@@ -318,7 +318,7 @@ section, the driver will move the volumes out of the storage groups and then
delete them if the user tries to delete the volumes that remain in the storage
group on the VNX array.
The default value of ``force_delete_lun_in_storagegroup`` is ``False``.
The default value of ``force_delete_lun_in_storagegroup`` is ``True``.
Over subscription in thin provisioning
--------------------------------------
@@ -0,0 +1,15 @@
---
upgrade:
- |
DellEMC Unity: The fix of bug
`1825469 <https://bugs.launchpad.net/cinder/+bug/1825469>`_ changes the
default value of the ``force_delete_lun_in_storagegroup`` option from
``False`` to ``True``, which means luns will always be force deleted after
upgrade.
fixes:
- |
DellEMC Unity: Fix bug
`1825469 <https://bugs.launchpad.net/cinder/+bug/1825469>`_. The fix
enables the ``force_delete_lun_in_storagegroup`` option to ``True`` by
default, which makes sure that luns can deleted even when they are still in
storage groups.