iSCSI fix misleading Log warning on connect fail
This patch just changes the LOG.warning message when we are iterating over the target_portals and trying to do a connect/login. When the connect/login fails, we just log saying that the connect for that portal fails, instead of log warning that ALL connects failed. Change-Id: I4c35c5096eb15e47d306744d5ab1d1045c2ac319 Closes-Bug: 1489544
This commit is contained in:
parent
fea1ef59bd
commit
0ec8072187
|
@ -486,7 +486,8 @@ class ISCSIConnector(InitiatorConnector):
|
|||
break
|
||||
else:
|
||||
LOG.warning(_LW(
|
||||
'Failed to login to any of the iSCSI targets.'))
|
||||
'Failed to connect to iSCSI portal %(portal)s.'),
|
||||
{'portal': props['target_portal']})
|
||||
|
||||
host_devices = self._get_device_path(target_props)
|
||||
|
||||
|
|
Loading…
Reference in New Issue