The key 'multipath' was being referenced in the 'connector' dictionary
in initialize_connection(), even though the key was not always set.
Change-Id: Ia3c7640a24ebe9bedec3402f6cefb7e457c66ecd
Closes-Bug: #
1522062
3.0.0 - Rebranded HP to HPE.
3.0.1 - Python 3 support
3.0.2 - Remove db access for consistency groups
+ 3.0.3 - Fix multipath dictionary key error. bug #1522062
"""
- VERSION = "3.0.2"
+ VERSION = "3.0.3"
def __init__(self, *args, **kwargs):
super(HPE3PARISCSIDriver, self).__init__(*args, **kwargs)
volume,
connector)
- if connector['multipath']:
+ if connector.get('multipath'):
ready_ports = common.client.getiSCSIPorts(
state=common.client.PORT_STATE_READY)