Merge "[Pure Storage] Fix volume reconnect error"
This commit is contained in:
@@ -3814,7 +3814,7 @@ class PureISCSIDriver(PureBaseVolumeDriver, san.SanISCSIDriver):
|
||||
for array in target_arrays:
|
||||
connection = self._connect(array, pure_vol_name, connector,
|
||||
chap_username, chap_password)
|
||||
if not connection[0].lun:
|
||||
if not connection[0]['lun']:
|
||||
# Swallow any exception, just warn and continue
|
||||
LOG.warning("self._connect failed.")
|
||||
continue
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Pure Storage `bug #2121464
|
||||
<https://bugs.launchpad.net/cinder/+bug/2121464>`_: Fixed
|
||||
``AttributeError`` when trying to connect a volume to a host when
|
||||
the volume is already connected to the host.
|
||||
Reference in New Issue
Block a user