This will prevent us from getting conflicting credentials for
connection methods which will result in iSCSI attach operations to fail.
Change-Id: Ia206e7b5ff330c8fccb49ed23a31b120a5c04eb3
Closes-Bug:
1444224
(cherry picked from commit
a712afe42833443878898bb42851376cd8615ff9)
}
return username, password, initiator_updates
+ @utils.synchronized('PureISCSIDriver._connect', external=True)
def _connect(self, volume, connector, initiator_data):
"""Connect the host and volume; return dict describing connection."""
connection = None