os-brick/os_brick/tests/initiator
Takashi Kajinami 4478433550 Avoid unhandled exceptions during connecting to iSCSI portals
Currently we don't properly catch some possible exceptions during
connectiing to iSCSI portals, like failures in "iscsiadm -m session".
Because of this _connect_vol threads can abort unexpectedly in some
failure patterns, and this abort causes hung in subsequent steps
waiting for results from _connct_vol threads.

This change ensures that any exceptions during connecting to iSCSI
portals are handled in the _connect_vol method corectly, to avoid
unexpected abort without updating thread results.

Closes-Bug: #1915678
Change-Id: I0278c502806b99f8ec65cb146e3852e43031e9b8
2021-03-04 12:01:41 +09:00
..
connectors Avoid unhandled exceptions during connecting to iSCSI portals 2021-03-04 12:01:41 +09:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Remove CORAID AOE connector 2020-08-25 16:41:54 -04:00
test_host_driver.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxfc.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxrbd.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxscsi.py Leverage the iSCSI mpath to get the WWN 2020-08-13 22:10:09 -04:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00