Fix export locations update when subnet is added
Export locations of active share replicas was updated but not those of the share itself. Closes-Bug: #2017501 Change-Id: I33204657401f3eadd490fc50fedaef899dcff297
This commit is contained in:
parent
b415ce83ac
commit
07ce64462c
manila/share/drivers/netapp/dataontap/cluster_mode
releasenotes/notes
@ -2362,7 +2362,8 @@ class NetAppCmodeMultiSVMFileStorageLibrary(
|
|||||||
|
|
||||||
updated_export_locations = {}
|
updated_export_locations = {}
|
||||||
for share in shares:
|
for share in shares:
|
||||||
if share['replica_state'] == constants.REPLICA_STATE_ACTIVE:
|
if share["replica_state"] in (None,
|
||||||
|
constants.REPLICA_STATE_ACTIVE):
|
||||||
host = share['host']
|
host = share['host']
|
||||||
export_locations = self._create_export(
|
export_locations = self._create_export(
|
||||||
share, share_server, vserver_name, vserver_client,
|
share, share_server, vserver_name, vserver_client,
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed share export location update when subnet is added to a network
|
||||||
|
containing shares. Please refer to the
|
||||||
|
`Launchpad bug #2017501 <https://bugs.launchpad.net/manila/+bug/2017501>`_
|
||||||
|
for more details.
|
Loading…
x
Reference in New Issue
Block a user