Fix the typo in the file
Change-Id: I0e5b91dd0218d54ed2ff69a98ca5b3e71d4e3c3b
This commit is contained in:
parent
cde2644a91
commit
8df2fe922c
|
@ -39,13 +39,13 @@ class WindowsISCSIConnector(win_conn_base.BaseWindowsConnector,
|
|||
|
||||
def validate_initiators(self):
|
||||
"""Validates the list of requested initiator HBAs to be used
|
||||
when estabilishing iSCSI sessions.
|
||||
when establishing iSCSI sessions.
|
||||
"""
|
||||
valid_initiator_list = True
|
||||
if not self.initiator_list:
|
||||
LOG.info(_LI("No iSCSI initiator was explicitly requested. "
|
||||
"The Microsoft iSCSI initiator will choose the "
|
||||
"initiator when estabilishing sessions."))
|
||||
"initiator when establishing sessions."))
|
||||
else:
|
||||
available_initiators = self._iscsi_utils.get_iscsi_initiators()
|
||||
for initiator in self.initiator_list:
|
||||
|
@ -87,7 +87,7 @@ class WindowsISCSIConnector(win_conn_base.BaseWindowsConnector,
|
|||
try:
|
||||
msg = _LI("Attempting to establish an iSCSI session to "
|
||||
"target %(target_iqn)s on portal %(target_portal)s "
|
||||
"acessing LUN %(target_lun)s using initiator "
|
||||
"accessing LUN %(target_lun)s using initiator "
|
||||
"%(initiator_name)s.")
|
||||
LOG.info(msg, dict(target_portal=target_portal,
|
||||
target_iqn=target_iqn,
|
||||
|
@ -113,7 +113,7 @@ class WindowsISCSIConnector(win_conn_base.BaseWindowsConnector,
|
|||
if not self.use_multipath:
|
||||
break
|
||||
except os_win_exc.OSWinException:
|
||||
LOG.exception(_LE("Could not estabilish the iSCSI session."))
|
||||
LOG.exception(_LE("Could not establish the iSCSI session."))
|
||||
|
||||
if not volume_connected:
|
||||
raise exception.BrickException(
|
||||
|
|
|
@ -275,7 +275,7 @@ class LinuxSCSITestCase(base.TestCase):
|
|||
|
||||
def test_find_multipath_device_with_error(self):
|
||||
def fake_execute(*cmd, **kwargs):
|
||||
out = ("Oct 13 10:24:01 | /lib/udev/scsi_id exitted with 1\n"
|
||||
out = ("Oct 13 10:24:01 | /lib/udev/scsi_id exited with 1\n"
|
||||
"36005076303ffc48e0000000000000101 dm-2 IBM,2107900\n"
|
||||
"size=1.0G features='1 queue_if_no_path' hwhandler='0'"
|
||||
" wp=rw\n"
|
||||
|
|
Loading…
Reference in New Issue