cinder/cinder/tests/unit/volume
Ryan Liang 8641eed2ea 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
Conflicts:
  cinder/volume/drivers/dell_emc/vnx/driver.py
(cherry picked from commit b3a89dc187)
(cherry picked from commit a74945b068)
(cherry picked from commit 6e2e278f3c)
2020-08-06 02:25:09 +00:00
..
drivers VNX: delete the LUN from VNX backend 2020-08-06 02:25:09 +00:00
flows Fix: Create new cache entry when xtremio reaches snap limit 2020-02-21 10:20:03 +00:00
__init__.py Fix volume retype with migration as non-admin 2017-02-15 17:31:59 -02:00
test_availability_zone.py Make service object UUID not nullable 2017-10-26 10:17:50 -06:00
test_capabilities.py Trivial fix typos 2017-05-17 10:57:40 +07:00
test_connection.py Explicit user messages 2017-06-16 14:35:24 +08:00
test_driver.py Fix cinder quota-usage error 2018-01-27 16:41:33 +08:00
test_image.py Cloning image fails results duplicate cache entry 2018-08-16 21:28:37 +00:00
test_init_host.py Handle migrating encryption key IDs in Backup table 2018-04-04 19:34:16 +00:00
test_manage_volume.py [3/11] Refactor test_volume file 2017-02-08 23:38:23 +00:00
test_replication_manager.py Fix: Incorrect replication status on clusters 2018-08-20 21:36:02 +00:00
test_rpcapi.py Use constants for cinder-volume 2017-12-29 09:05:08 +08:00
test_snapshot.py Sync snapshot's encryption_key_id with volume's value 2018-03-23 19:41:56 +00:00
test_volume.py Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
test_volume_migration.py Tests: Fix up migrate notify tests 2019-10-04 05:54:58 +00:00
test_volume_retype.py Fix multiattach set to false after retype 2019-03-05 16:18:56 +00:00
test_volume_usage_audit.py [5/11] Refactor test_volume file 2017-02-08 23:38:42 +00:00