Merge "Improve VolumePathsNotFound message details"
This commit is contained in:
commit
7a1259333e
|
@ -102,10 +102,10 @@ class FibreChannelConnector(base.BaseLinuxConnector):
|
||||||
for wwn in wwns:
|
for wwn in wwns:
|
||||||
targets.append((wwn, luns[0]))
|
targets.append((wwn, luns[0]))
|
||||||
else:
|
else:
|
||||||
# Something is wrong, this shouldn't happen
|
# Something is wrong, this shouldn't happen.
|
||||||
msg = _("Unable to find potential volume paths for FC device "
|
msg = _("Unable to find potential volume paths for FC device "
|
||||||
"with lun: %(lun)s and wwn: %(wwn)s") % {
|
"with luns: %(luns)s and wwns: %(wwns)s.") % {
|
||||||
"lun": target_lun, "wwn": target_wwn}
|
"luns": luns, "wwns": wwns}
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
raise exception.VolumePathsNotFound(msg)
|
raise exception.VolumePathsNotFound(msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue