Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manila/share/drivers/dell_emc/plugins/unity/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
7.0.2 - Bugfix: failed to delete CIFS share if wrong access was set
7.0.3 - Bugfix: remove enable ace process when creating cifs share
7.0.4 - Bugfix: ignore the has snaps error when deleting filesystem
7.0.5 - Bugfix: fix the driver startup issue with LACP ports configured
"""

VERSION = "7.0.4"
VERSION = "7.0.5"

LOG = log.getLogger(__name__)
SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan')
Expand Down
7 changes: 6 additions & 1 deletion manila/share/drivers/dell_emc/plugins/unity/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ def match_ports(ports_list, port_ids_conf):
port_id = port.get_id()
for pattern in patterns:
if fnmatch.fnmatchcase(port_id, pattern):
sp_id = port.parent_storage_processor.get_id()
# parentStorageProcessor property is deprecated in Unity 5.x
if port.parent_storage_processor:
sp = port.parent_storage_processor
else:
sp = port.storage_processor
sp_id = sp.get_id()
ports_set = sp_ports_map.setdefault(sp_id, set())
ports_set.add(port_id)
break
Expand Down