Merge "Fix export locations update when subnet is added"

This commit is contained in:
Zuul 2024-09-11 16:25:17 +00:00 committed by Gerrit Code Review
commit 8c326be9db
2 changed files with 9 additions and 1 deletions

View File

@ -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,

View File

@ -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.