cinder/cinder
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
..
api Exclude disabled API versions from listing 2019-09-26 07:06:23 +00:00
backup ChunkedBackupDriver: Freeing memory on restore 2020-03-23 13:10:35 +00:00
brick Add retry to LVM deactivation 2019-10-03 17:50:39 +00:00
cmd Prevent double-attachment race in attachment_reserve 2019-08-13 14:23:34 -04:00
common Remove deprecated 'pybasedir' config option 2017-12-16 16:30:06 +00:00
compute Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
consistencygroup Remove consistencygroups/api.py 2018-01-26 17:59:27 -05:00
db Fix service_uuid migration for volumes with no host 2020-07-08 09:23:01 +00:00
group Fix group availability zone-backend host mismatch 2019-03-20 17:08:27 +00:00
hacking Add contributor doc on assertEqual vs assertFalse 2017-08-30 17:50:02 +00:00
image Increase cpu limit for image conversion 2020-01-31 01:14:14 +00:00
interface Handle deprecation of inspect.getargspec 2017-11-21 12:57:05 -06:00
keymgr Add secret=true to fixed_key configuration parameter 2019-01-08 12:41:26 -03:00
locale Imported Translations from Zanata 2018-08-14 07:32:15 +00:00
message Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
objects Fix DetachedInstanceError for VolumeAttachment 2019-10-03 07:36:03 -07:00
policies Add policy check for complete attachment API action 2018-01-24 15:48:22 +00:00
scheduler Add user messages for extend volume operation 2018-08-17 21:33:44 +00:00
tests VNX: delete the LUN from VNX backend 2020-08-06 02:25:09 +00:00
transfer Add missing 'target_obj' when perform policy check 2018-08-20 10:46:17 -05:00
volume VNX: delete the LUN from VNX backend 2020-08-06 02:25:09 +00:00
wsgi Prevent double-attachment race in attachment_reserve 2019-08-13 14:23:34 -04:00
zonemanager Fix for auth version change in Brcd HTTP 2019-02-26 08:09:04 +00:00
__init__.py
context.py Add Keystone v3 domain information to context 2018-04-25 18:12:14 +00:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Fix: Create new cache entry when xtremio reaches snap limit 2020-02-21 10:20:03 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Allow configuring tpool size 2018-03-13 13:13:20 +01:00
opts.py [NetApp ONTAP] Add filtering to API trace logging 2018-08-28 14:36:25 -03:00
policy.py Correct default policy file 2018-12-06 22:22:03 +00:00
quota.py Periodic task to clean expired reservation 2017-05-30 22:21:38 +08:00
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Log config options with oslo.config 2018-02-23 01:05:23 +00:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Change ssh_utils parameter to correctly sends keepalive packets 2017-12-12 14:46:29 +09:00
test.py Tests: Fix up migrate notify tests 2019-10-04 05:54:58 +00:00
utils.py [Logging] Enable filtering of trace_api logs 2018-08-28 14:35:49 -03:00
version.py