cinder/cinder/tests
Eric Harney c9c9eaac57 Don't zero out thin provisioned LV's on delete
Thin provisioned LV's don't need secure delete to protect
from data leakage.  Also, zeroing these out kinda defeats
the purpose of using thing provisioning.

This patch add a check for the lvm type and if it's thin simply
returns from the lvm.clear_volume() method.

Conflicts:
	cinder/tests/test_volume.py
	cinder/volume/drivers/lvm.py

Change-Id: Ie6764209018152565295291efc6fbba553698ae6
Closes-Bug: #1240299
(cherry picked from commit de4392314f)
2013-11-12 14:34:44 -05:00
..
api Pop out 'offset' and 'limit' before use for filter 2013-09-27 10:37:21 +08:00
backup swift backup service checks version during restore 2013-03-04 16:12:41 +00:00
db Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
glance Make glance image service check base exception classes 2012-08-22 16:27:56 -06:00
image test_glance.py: Stub out _get_member_model as well. 2013-08-09 12:59:42 -07:00
integrated Fixes 'not in' operator usage 2013-02-04 10:33:43 +08:00
monkey_patch_example Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
scheduler Add some useful log to filter scheduler. 2013-03-01 18:56:58 +00:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
windows Fixes 'not in' operator usage 2013-02-04 10:33:43 +08:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
__init__.py Use nose and openstack nose plugin. 2013-03-07 14:14:08 -05:00
declare_flags.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
fake_driver.py support a configurable volume wiping method 2013-01-15 16:26:59 +00:00
fake_flags.py Implement a basic backup-volume-to-swift service 2013-02-21 00:00:30 +00:00
fake_utils.py Use openstack.common.log for logging. 2012-07-20 12:12:12 +00:00
policy.json Add image metadata API extension 2012-12-14 09:04:27 +01:00
runtime_flags.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
test_HpSanISCSIDriver.py Fix a few bugs for LeftHand Grizzly 2013-03-08 08:57:43 -08:00
test_api.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_backup.py Dont delete backup record from database 2013-05-03 16:17:25 -06:00
test_backup_swift.py swift backup service checks version during restore 2013-03-04 16:12:41 +00:00
test_context.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_coraid.py CoraidDriver: support users that are not admin 2013-03-24 12:27:38 -06:00
test_drivers_compatibility.py Add get_cluster_stats to SolidFire driver 2013-02-16 10:01:03 -07:00
test_emc.py Fixed attach volume for EMC SMI-S iSCSI driver 2013-03-23 15:35:02 -06:00
test_exception.py Enable cinder exception format checking in tests. 2013-01-08 13:56:19 -05:00
test_flags.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
test_glusterfs.py Implement get_volume_stats for GlusterFS driver 2013-04-08 10:24:55 -04:00
test_hp3par.py Fix ability to add custom volume_backend_name 2013-05-07 11:13:19 -06:00
test_huawei.py Use an SSH pool to manage SSH connection 2013-05-10 20:08:45 +08:00
test_iscsi.py Force deletes using tgt to workaround bug 1159948 2013-03-25 13:06:43 -07:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py Fix _migrate_up in test_migrations 2013-03-13 12:26:11 +10:30
test_misc.py Enable cinder exception format checking in tests. 2013-01-08 13:56:19 -05:00
test_netapp.py NetApp check for 7 mode controller version 2013-08-07 16:27:28 +05:30
test_netapp_nfs.py NetApp check for 7 mode controller version 2013-08-07 16:27:28 +05:30
test_nexenta.py Add stats reporting to Nexenta Driver 2013-05-03 15:32:17 -06:00
test_nfs.py Fix check for mount.nfs helper installation 2013-08-05 06:10:04 +05:30
test_policy.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_quota.py Fix quota updating when admin deletes common user's volume 2013-03-26 22:35:05 -06:00
test_rbd.py Fix ability to add custom volume_backend_name 2013-05-07 11:13:19 -06:00
test_scality.py Add a volume driver in Cinder for Scality SOFS 2013-02-19 12:21:03 +01:00
test_service.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
test_sheepdog.py Add get_volume_stats in the sheepdog driver. 2013-03-06 14:03:24 +08:00
test_skip_examples.py Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_solidfire.py Fix broken solidfire create-snapshot 2013-10-07 08:57:55 -06:00
test_storwize_svc.py Merge "Fix incompatible Storwize/SVC commands." into stable/grizzly 2013-07-10 22:30:27 +00:00
test_test.py Use nose and openstack nose plugin. 2013-03-07 14:14:08 -05:00
test_test_utils.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_utils.py Add a safe_minidom_parse_string function. 2013-02-19 09:14:31 -05:00
test_volume.py Don't zero out thin provisioned LV's on delete 2013-11-12 14:34:44 -05:00
test_volume_configuration.py Remove compat cfg wrapper 2013-02-22 17:25:07 +00:00
test_volume_glance_metadata.py Fix volume_glance_metadata deletion (backport) 2013-09-16 12:25:24 +00:00
test_volume_rpcapi.py Call to_primitive on volumes.rpcapi.create_volume 2013-09-17 13:30:00 +02:00
test_volume_types.py Convert volume_type id from int to uuid. 2012-12-04 11:50:49 -07:00
test_volume_types_extra_specs.py Convert volume_type id from int to uuid. 2012-12-04 11:50:49 -07:00
test_volume_utils.py Update cinder-volume to enable multi volume support 2013-02-18 11:19:20 -06:00
test_windows.py Fixes a Windows volume driver bug on disk export 2012-12-19 17:36:44 +02:00
test_wsgi.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
test_xenapi_sm.py Merge "XenAPINFS: Fix Volume always uploaded as vhd/ovf" 2013-02-25 02:22:17 +00:00
test_xiv.py Update cinder-volume to enable multi volume support 2013-02-18 11:19:20 -06:00
test_zadara.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
utils.py Check for installed cinder in filter tests. 2013-01-24 11:25:41 -07:00