cinder/cinder/volume/drivers/dell_emc/vnx
Ryan Liang 29d42fa734 VNX: update sg in cache
When `destroy_empty_storage_group` is enabled, the sg will be deleted
after the last lun is detached from it. The issue is that the sg cache
isn't updated, which caused the failure of subsequent attaching volumes
to the same host because the sg in the cache will be used directly which
doesn't exist any more.

The fix is updating the sg with poll after deleting it. This doesn't
delete the sg from cache explicitly but makes sure the sg in cache with
latest status `not-exist`. Subsequent attaching will create the sg if it
is `not-exist`.

Closes-bug: #1817385
Change-Id: Ibb39879a77c97c6a5d885461e93116810d16b265
(cherry picked from commit eefd8302b3)
(cherry picked from commit 1f57f502c8)
2019-03-12 09:31:17 +08:00
..
__init__.py Move VNX driver to dell_emc folder 2016-12-20 22:52:50 -05:00
adapter.py VNX: update sg in cache 2019-03-12 09:31:17 +08:00
client.py VNX Driver: delete_hba() instead of remove_hba() 2019-02-20 20:50:37 -05:00
common.py [VNX] `initiator_target_map` is None 2018-01-31 15:16:17 +08:00
const.py Move VNX driver to dell_emc folder 2016-12-20 22:52:50 -05:00
driver.py VNX: update sg in cache 2019-03-12 09:31:17 +08:00
replication.py Merge "Fix failure for failing back the primary." 2017-07-31 16:22:58 +00:00
taskflows.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
utils.py VNX: Fix issue when creating without type 2017-10-10 05:38:28 -04:00