cinder/cinder/tests/unit/volume/drivers/dell_emc/vnx
Ryan Liang eefd8302b3 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
2019-02-26 10:35:17 +08: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] Restore snapshot to volume 2018-03-12 09:53:24 +08:00
mocked_vnx.yaml VNX: update sg in cache 2019-02-26 10:35:17 +08:00
res_mock.py Add VNX replication group support 2017-07-24 15:01:20 +08:00
test_adapter.py VNX Driver: delete_hba() instead of remove_hba() 2019-02-11 16:49:16 -05:00
test_base.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
test_client.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
test_common.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
test_driver.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
test_replication.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05: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 Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
test_utils.py Ensure VNX unit tests don't sleep 2018-09-06 11:53:23 -05:00
utils.py VNX: fix options incorrect behavior 2018-03-23 07:07:41 +00:00