Merge "Change log level on _get_hba_channel_scsi_target"

This commit is contained in:
Jenkins 2017-05-17 03:17:09 +00:00 committed by Gerrit Code Review
commit 043902d4c8
1 changed files with 3 additions and 4 deletions

View File

@ -56,10 +56,9 @@ class LinuxFibreChannel(linuxscsi.LinuxSCSI):
return [line.split('/')[4].split(':')[1:]
for line in out.split('\n') if line.startswith(path)]
except Exception as exc:
LOG.error('Could not get HBA channel and SCSI target ID, '
'path: %(path)s, reason: %(reason)s',
{'path': path,
'reason': exc})
LOG.debug('Could not get HBA channel and SCSI target ID, path: '
'%(path)s, reason: %(reason)s', {'path': path,
'reason': exc})
return None
def rescan_hosts(self, hbas, target_lun):