Merge "iSCSI: log exception if portals not found"

This commit is contained in:
Zuul 2019-02-15 18:25:29 +00:00 committed by Gerrit Code Review
commit d9d278b6f9
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ class ISCSIConnector(base.BaseLinuxConnector, base_iscsi.BaseISCSIConnector):
except exception.TargetPortalsNotFound:
raise
except Exception:
LOG.exception('Exception encountered during portal discovery')
if 'target_portals' in connection_properties:
raise exception.TargetPortalsNotFound(
target_portals=connection_properties['target_portals'])