Merge "Remove unused connection properties"
This commit is contained in:
commit
322554c386
@ -707,6 +707,13 @@ class ISCSIConnector(base.BaseLinuxConnector, base_iscsi.BaseISCSIConnector):
|
|||||||
for ip, iqn, lun in ips_iqns_luns:
|
for ip, iqn, lun in ips_iqns_luns:
|
||||||
props = connection_properties.copy()
|
props = connection_properties.copy()
|
||||||
props.update(target_portal=ip, target_iqn=iqn, target_lun=lun)
|
props.update(target_portal=ip, target_iqn=iqn, target_lun=lun)
|
||||||
|
|
||||||
|
# NOTE(yenai): The method _connect_vol is used for parallelize
|
||||||
|
# logins, we shouldn't give these arguments; and it will make a
|
||||||
|
# mess in the debug message in _connect_vol. So, kick them out:
|
||||||
|
for key in ('target_portals', 'target_iqns', 'target_luns'):
|
||||||
|
props.pop(key, None)
|
||||||
|
|
||||||
threads.append(executor.Thread(target=self._connect_vol,
|
threads.append(executor.Thread(target=self._connect_vol,
|
||||||
args=(retries, props, data)))
|
args=(retries, props, data)))
|
||||||
for thread in threads:
|
for thread in threads:
|
||||||
|
Loading…
Reference in New Issue
Block a user