cinder/cinder
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
..
api Merge "Doc8: Stop skipping D001: Line too long" 2019-02-23 22:39:37 +00:00
backup Merge "Remove 'ln' command from rootwrap filter" 2019-02-21 18:00:50 +00:00
brick Replace 'lvconvert' from rootwrap 2019-02-17 14:33:31 -05:00
cmd Cleanup code duplication in cinder.cmd.backup module 2018-11-30 09:40:39 +00:00
common Correct default policy_file in the sample config 2019-01-15 13:54:17 -05:00
compute Add user messages for extend volume operation 2018-06-01 09:12:07 +08:00
db Compact DB migrations to Ocata 2019-02-07 15:06:22 -06:00
group Fix wrong uuid recognized when create group 2018-10-08 09:51:02 +08:00
hacking Fix pylint warning 2018-09-26 21:37:25 -04:00
image Add missing ws seperator between words 2019-01-23 14:21:15 +08:00
interface Make scheduler check online_extend_support capability 2018-06-26 14:42:34 -03:00
keymgr Fix "import xxx as xxx" grammar 2019-01-23 15:35:53 +08:00
locale Imported Translations from Zanata 2019-01-13 07:04:20 +00:00
message Set user message on volume create failure 2018-10-26 05:27:36 -04:00
objects Initiating Cinder Volume Manager with large number of volumes 2019-01-11 08:19:07 -05:00
policies Add project_id in group list and show API 2019-01-30 13:20:58 +05:30
privsep Merge "Remove 'ln' command from rootwrap filter" 2019-02-21 18:00:50 +00:00
scheduler Add missing ws seperator between words 2019-01-23 14:21:15 +08:00
tests VNX: update sg in cache 2019-02-26 10:35:17 +08:00
transfer Support transfer pagination 2019-02-01 10:44:23 +08:00
volume VNX: update sg in cache 2019-02-26 10:35:17 +08:00
wsgi Initialize osprofiler in WSGI application 2018-01-09 14:06:34 +01:00
zonemanager Merge "Fix for auth version change in Brcd HTTP" 2019-02-23 10:07:03 +00:00
__init__.py
context.py Add Keystone v3 domain information to context 2018-04-25 09:29:33 -04:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Merge "RBD: add support for multiattach" 2019-02-22 10:22:48 +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-08 15:59:29 +01:00
opts.py Merge "Move Fujitsu ETERNUS DX related file" 2019-01-31 03:02:42 +00:00
policy.py Correct default policy_file in the sample config 2019-01-15 13:54:17 -05:00
quota.py Get rid of keys() usage 2018-09-21 11:07:07 -04:00
quota_utils.py Enable split logging for cinder-keystoneclient interaction 2018-09-26 08:53:30 +00:00
rpc.py
service.py Use InvalidConfigurationValue instead of InvalidInput 2018-04-11 19:25:48 +08:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
test.py Tests: Fix up migrate notify tests 2019-02-21 16:09:10 -05:00
utils.py Mask passwords in utils.trace for func params 2019-01-02 17:22:07 +08:00
version.py