cinder/cinder/volume
Ryan Liang 1f57f502c8 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)
2019-03-01 01:51:48 +00:00
..
drivers VNX: update sg in cache 2019-03-01 01:51:48 +00:00
flows Set bootable when creating volume from snapshot 2018-08-01 05:35:15 +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 Fix multiattach set to false after retype 2018-10-29 03:47:47 +00: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 Allow to use _max qos option together with per_gb 2019-01-08 12:06:53 +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