cinder/cinder/volume
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
..
drivers VNX: delete the LUN from VNX backend 2020-06-19 02:59:25 +00:00
flows Fix: Create new cache entry when xtremio reaches snap limit 2020-02-13 13:26:49 +00:00
targets Fix Port nvmet driver to use privsep 2018-07-16 15:04:04 +00:00
__init__.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
api.py Don't allow retype to encrypted+multiattach type 2019-09-13 09:36:08 -04:00
configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
driver.py Fix invalid escape sequence warnings 2018-06-20 16:22:26 -05:00
driver_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
group_types.py handle no default_cgsnapshot_type 2017-11-28 21:55:29 +00:00
manager.py Make volume soft delete more thorough 2020-02-03 17:58:54 +00:00
qos_specs.py [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
rpcapi.py Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
throttling.py Implement privsep boilerplate in cinder. 2018-06-06 09:42:54 +08:00
utils.py Fix invalid escape sequence warnings 2018-06-20 16:22:26 -05:00
volume_types.py Volume type with encryption comparison 2017-07-25 05:08:12 +00:00