cinder/cinder/volume
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
..
drivers VNX: update sg in cache 2019-02-26 10:35:17 +08:00
flows Merge "Extract copy_image_to_volume into volume utils" 2018-12-25 04:26:41 +00:00
targets Switch ietadm to use olso.privsep 2019-01-11 13:30:55 +00:00
__init__.py
api.py Report msg error when cannot revert to snapshot 2019-01-18 07:35:34 +00:00
configuration.py Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
driver.py Merge "Adding SPDK NVMe-oF target driver" 2019-01-09 04:19:03 +00: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 Merge "Add test case: retype volume when driver not initialized" 2019-02-15 20:41:19 +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 Add check_encryption_provider to volume utils 2019-01-22 14:42:56 -05:00
volume_migration.py Initiating Cinder Volume Manager with large number of volumes 2019-01-11 08:19:07 -05:00
volume_types.py Fix wrong NotFound in get_by_name_or_id 2018-09-29 09:26:19 +00:00