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
(cherry picked from commit 07ce64462c
)
This commit is contained in:
parent
ad4ca0c64e
commit
5b77e47561
@ -2363,7 +2363,8 @@ class NetAppCmodeMultiSVMFileStorageLibrary(
|
||||
|
||||
updated_export_locations = {}
|
||||
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']
|
||||
export_locations = self._create_export(
|
||||
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…
Reference in New Issue
Block a user