cinder/cinder/tests/unit/volume/drivers/dell_emc/vnx
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
..
fake_storops VNX: Add QoS support 2017-06-29 15:18:01 +08:00
__init__.py Move VNX driver to dell_emc folder 2016-12-20 22:52:50 -05:00
fake_enum.py VNX: Add QoS support 2017-06-29 15:18:01 +08:00
fake_exception.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
mocked_cinder.yaml VNX: delete the LUN from VNX backend 2020-06-19 02:59:25 +00:00
mocked_vnx.yaml VNX: delete the LUN from VNX backend 2020-06-19 02:59:25 +00:00
res_mock.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
test_adapter.py VNX: delete the LUN from VNX backend 2020-06-19 02:59:25 +00:00
test_client.py VNX: fix performance in create/delete_volume 2018-04-06 02:02:30 -04:00
test_common.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
test_driver.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
test_replication.py Removed unnecessary tearDown() methods 2017-08-24 14:46:56 +02:00
test_res_mock.py Move VNX driver to dell_emc folder 2016-12-20 22:52:50 -05:00
test_res_mock.yaml Move VNX driver to dell_emc folder 2016-12-20 22:52:50 -05:00
test_taskflows.py VNX: wrong size of volume from image cache 2017-07-07 14:58:31 +08:00
test_utils.py VNX: Fix issue when creating without type 2017-10-10 05:38:28 -04:00
utils.py VNX: fix options incorrect behavior 2018-03-23 07:07:41 +00:00