cinder/cinder/tests/unit/volume/drivers
Eric Young 2dc5215321
ScaleIO: Prevent usage of unsafe volumes
It is possible for volumes, created from storage pools
which have zero-padding disabled, to contain previous data. This
change prevents these volumes from being created by default. A
user can override this behavior by acknowleding the possibility
with a configuration option.

This is a squash of the four commits that led to the final state in
rocky to not allow the creation of any type of non-zero-padded volumes
to be created. This adds a config option that defaults to the safe
behavior. It is backporting a new config option, and a change in default
behavior, but it should be acceptable in this case so that the security
vulnerability can be addressed.

Closes-Bug: #1784871

Change-Id: I62f8f48b1624fc9abb7427bd4ca51f7873d35b96
Closes-bug: #1699573
(cherry picked from commit f0cef07bef)
(cherry picked from commit 6309c097e6)
2018-09-20 09:31:36 -05:00
..
dell Dell EMC SC: Find volume folder API call fails on root folders 2018-05-14 13:45:41 +00:00
dell_emc ScaleIO: Prevent usage of unsafe volumes 2018-09-20 09:31:36 -05:00
disco Add manage/unmanage to DISCO driver 2017-01-06 02:26:20 +00:00
fusionstorage Fix dos-style endlines 2016-12-08 14:36:03 +00:00
hitachi Merge "HNAS: Cloned volume with different volume type" 2017-02-05 20:06:05 +00:00
hpe VSA: Concurrent request handling in attachment 2018-08-20 14:23:40 +00:00
huawei Fix a migration issue of Huawei driver 2018-04-11 14:43:18 -05:00
ibm FlashSystem: Add CMMVC6045E CLI error for multi-host mapping 2018-04-12 12:43:22 +00:00
infortrend Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
nec Add cinder volume drivers for NEC Storage M series 2016-12-14 17:45:17 +09:00
netapp NetApp: Fix to support SVM scoped permissions. 2018-07-24 10:25:44 -04:00
nexenta Fix Pep8 Failures for Python3 2017-05-10 08:26:51 +00:00
solidfire Check for migrated UUID in SolidFire delete 2018-06-25 22:07:10 +00:00
synology Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
violin Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
vmware Merge "VMware: Allow deletion of snapshot in error state" 2017-01-23 23:36:01 +00:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_block_device.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_blockbridge.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_cloudbyte.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_coho.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_coprhd.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_datera.py Datera 2.3 driver update 2017-01-06 13:25:54 -08:00
test_dothill.py Merge "Merge changes from kilo version of the dothill driver" 2017-01-27 07:04:20 +00:00
test_drbdmanagedrv.py Remove unnecessary setUp and tearDown 2016-09-20 11:45:04 +08:00
test_falconstor_fss.py FalconStor: Restore option "san_secondary_ip" 2017-01-23 16:44:43 +08:00
test_fujitsu.py Stop using mox in unit/volume/drivers/*.py 2016-09-01 22:19:39 +07:00
test_gpfs.py GPFS: Fix forceful delete for consistency group 2017-06-01 13:11:58 +05:30
test_hgst.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_infinidat.py New cinder driver to support INFINIDAT InfiniBox 2016-12-05 11:10:07 +02:00
test_kaminario.py Kaminario K2: Add non discovery iSCSI multipath 2018-05-14 13:45:41 +00:00
test_lvm_driver.py LVM: Don't initialize VG with lvm_type='auto' 2017-07-13 15:35:49 +00:00
test_nfs.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_nimble.py nimble: handle unicode strings in volume create 2018-04-12 12:43:21 +00:00
test_prophetstor_dpl.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_pure.py Merge "Switch to using generic groups with Pure driver" 2017-01-27 23:06:35 +00:00
test_qnap.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_quobyte.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_rbd.py RBD: Handle ImageNotFound exception in _get_usage_info correctly 2018-04-26 20:21:08 +00:00
test_reduxio.py Move driver tests to tests/unit/volume/drivers 2017-01-19 19:46:24 +05:30
test_remotefs.py Fix double call to "qemu-img create" 2017-01-26 15:11:22 +00:00
test_san.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_sheepdog.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_smbfs.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_tegile.py Fix for Tegile driver failing to establish volume connection 2016-10-03 17:57:08 -07:00
test_tintri.py Stop using mox in unit/volume/drivers/*.py 2016-09-01 22:19:39 +07:00
test_v7000_iscsi.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00
test_vzstorage.py Tests: Fix mock for vzstorage remotefs 2017-01-25 11:10:08 -05:00
test_xio.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_zadara.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00
test_zfssa.py NFS snapshots 2017-01-25 14:12:11 -05:00
test_zte_ks.py Move volume drivers unit tests to tests.unit.volume.driver module 2016-10-05 13:33:46 +03:00