cinder/cinder/tests/unit/volume/drivers
Ryan Liang 6e2e278f3c VNX: delete the LUN from VNX backend
Async migration is used in the process of creating a volume from a
snapshot and an internal temp snapshot is created.

Because the temp snapshot isn't deleted, the LUN hosting the temp
snapshot cannot be deleted from the VNX storage.

For example, a new volume, V2, is created from snapshot S1 of volume V1.
An internal temp snapshot S2 is created from copying S1. V1 now has two
snapshots, S1 and S2. Although we delete V1, V2 and S1 from Cinder,
S2 which is Cinder user-invisible isn't deleted and which causes V1 left
on VNX too.

The fix makes sure the snapshot S2 is deleted. Then the delay deletion
on V1 can be executed successfully.

Change-Id: Ib86729488ebfb0aea5d5d4f815a64e00258040e7
Closes-bug: #1794646
(cherry picked from commit b3a89dc187)
(cherry picked from commit a74945b068)
2020-06-19 02:59:25 +00:00
..
datacore DataCore: get rid of pylint errors due to contextlib 2018-06-20 15:15:59 -05:00
dell_emc VNX: delete the LUN from VNX backend 2020-06-19 02:59:25 +00:00
disco Redundant alias in import statement 2017-10-18 19:47:12 +07:00
fusionstorage FusionStorage: use versioned objects 2017-06-12 07:15:11 +00:00
hpe 3PAR: Add config for NSP single path attach 2019-08-30 14:13:39 +00:00
huawei Huawei driver supports create_group_from_src 2018-05-12 15:17:25 +08:00
ibm IBM XIV: fix issues for replication 2018-08-03 10:04:43 +03:00
inspur Remove report of allocated_capacity_gb from Inspur driver 2018-06-21 20:10:15 -04:00
nec NEC driver: fix an undefined variable 2020-03-16 23:44:55 +00:00
netapp NetApp: Return all iSCSI targets-portals 2019-04-16 16:16:33 +02:00
nexenta Remove 'message' from format argument from exception 2018-06-20 09:03:50 +08:00
solidfire NetApp SolidFire: Fix multi-attach volume deletion 2019-03-18 16:24:24 -04:00
synology Synology: Rename iSCSI target config option 2018-01-10 14:27:07 +08:00
veritas_access Add ISCSI driver for Veritas Access 2018-03-16 00:08:38 +05:30
vmware VMware: Fix revert-to-snapshot 2019-02-27 10:27:27 -06:00
__init__.py
test_coprhd.py Added CG capability to volume group in CoprHD 2017-07-19 17:49:59 +05:30
test_datera.py Datera 2.4.0 driver update 2017-06-30 14:33:49 -05:00
test_dothill.py Revert "Declare multiattach support for HPE MSA" 2019-07-24 17:34:51 +00:00
test_drbdmanagedrv.py DRBD: Remove cast to int in size calculation 2018-05-02 09:28:39 -07:00
test_fujitsu.py Fujitsu Driver: Fix exception in terminate_connection with no connector 2017-08-04 14:35:34 +08:00
test_gpfs.py Tests: Fix coverage unit test failure 2017-10-25 15:59:00 -04:00
test_hgst.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_infinidat.py INFINIDAT: add host.created_by metadata key 2018-08-01 10:53:44 +03:00
test_kaminario.py Fix "connector=None" issue in Kaminario drivers 2019-05-22 00:45:02 +00:00
test_lvm_driver.py Fix DetachedInstanceError for VolumeAttachment 2019-10-01 15:37:17 -07:00
test_nfs.py Fix NFS volume retype with migrate 2019-08-29 12:16:51 -07:00
test_nimble.py nimble storage: support for force detach 2018-10-05 01:47:58 +00:00
test_prophetstor_dpl.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
test_pure.py ActiveCluster support for Pure Storage drivers 2018-07-25 18:16:19 -07:00
test_qnap.py QNAP: driver fails to detach while uploading volume to image 2018-05-04 03:41:54 +00:00
test_quobyte.py Use ensure_tree instead of mkdir when creating paths 2018-07-12 16:01:35 +02:00
test_rbd.py RBD: fix volume reference handling in clone logic 2020-03-30 21:10:09 +00:00
test_remotefs.py Add context to cloning snapshots in remotefs driver 2019-09-13 09:00:53 -07:00
test_san.py
test_sheepdog.py Merge "Mock qemu calls in sheepdog tests" 2017-05-23 13:39:15 +00:00
test_storpool.py Fix invalid escape sequence warnings 2018-06-20 16:22:26 -05:00
test_tintri.py Tintri: Inherit tests from BaseDriverTestCase 2019-02-27 10:27:27 -06:00
test_veritas_cnfs.py Implementation of Cinder driver for Veritas Access 2017-05-21 10:13:20 +05:30
test_vrtshyperscale.py Remove 'message' from format argument from exception 2018-06-14 10:28:09 +08:00
test_vzstorage.py Add context to cloning snapshots in remotefs driver 2019-09-13 09:00:53 -07:00
test_zadara.py Zadara driver - move from httplib to requests 2017-02-20 12:24:54 +00:00
test_zfssa.py ZFSSA handle non-existent snapshot 2018-05-31 03:49:16 +00:00