Merge "VNX: update sg in cache" into stable/queens
This commit is contained in:
commit
89134670c3
|
@ -2052,6 +2052,8 @@ test_terminate_connection_cleanup_remove_sg:
|
||||||
delete:
|
delete:
|
||||||
disconnect_host:
|
disconnect_host:
|
||||||
get_alu_hlu_map: {}
|
get_alu_hlu_map: {}
|
||||||
|
update:
|
||||||
|
with_poll: _context
|
||||||
|
|
||||||
test_terminate_connection_cleanup_sg_absent:
|
test_terminate_connection_cleanup_sg_absent:
|
||||||
sg:
|
sg:
|
||||||
|
@ -2065,6 +2067,8 @@ test_terminate_connection_cleanup_deregister:
|
||||||
delete:
|
delete:
|
||||||
disconnect_host:
|
disconnect_host:
|
||||||
get_alu_hlu_map: {}
|
get_alu_hlu_map: {}
|
||||||
|
update:
|
||||||
|
with_poll: _context
|
||||||
vnx:
|
vnx:
|
||||||
_methods:
|
_methods:
|
||||||
delete_hba:
|
delete_hba:
|
||||||
|
|
|
@ -1083,6 +1083,11 @@ class CommonAdapter(replication.ReplicationAdapter):
|
||||||
LOG.info("Storage Group %s is empty.", sg.name)
|
LOG.info("Storage Group %s is empty.", sg.name)
|
||||||
sg.disconnect_host(sg.name)
|
sg.disconnect_host(sg.name)
|
||||||
sg.delete()
|
sg.delete()
|
||||||
|
|
||||||
|
# Update sg with poll makes the one in client.sg_cache is with
|
||||||
|
# latest status which is un-exist. This makes sure the sg is
|
||||||
|
# created during next attaching.
|
||||||
|
self.update_storage_group_if_required(sg)
|
||||||
if host is not None and self.itor_auto_dereg:
|
if host is not None and self.itor_auto_dereg:
|
||||||
# `host` is None when force-detach
|
# `host` is None when force-detach
|
||||||
self._deregister_initiator(host)
|
self._deregister_initiator(host)
|
||||||
|
|
|
@ -78,9 +78,12 @@ class VNXDriver(driver.ManageableVD,
|
||||||
10.2.0 - Add replication group support
|
10.2.0 - Add replication group support
|
||||||
11.0.0 - Fix failure of migration during cloning
|
11.0.0 - Fix failure of migration during cloning
|
||||||
11.0.1 - Fix perf issue when create/delete volume
|
11.0.1 - Fix perf issue when create/delete volume
|
||||||
|
11.0.2 - Fix bug https://bugs.launchpad.net/cinder/+bug/1817385 to
|
||||||
|
make sure sg can be created again after it was destroyed
|
||||||
|
under `destroy_empty_stroage_group` setting to `True`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
VERSION = '11.00.01'
|
VERSION = '11.00.02'
|
||||||
VENDOR = 'Dell EMC'
|
VENDOR = 'Dell EMC'
|
||||||
# ThirdPartySystems wiki page
|
# ThirdPartySystems wiki page
|
||||||
CI_WIKI_NAME = "EMC_VNX_CI"
|
CI_WIKI_NAME = "EMC_VNX_CI"
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Dell EMC VNX Driver: Fixes `bug 1817385
|
||||||
|
<https://bugs.launchpad.net/cinder/+bug/1817385>`__ to make sure the sg can
|
||||||
|
be created again after it was destroyed under `destroy_empty_storage_group`
|
||||||
|
setting to `True`.
|
Loading…
Reference in New Issue