Browse Source
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. Conflicts: os_brick/tests/initiator/connectors/test_iscsi.py Closes-Bug: #1915678 Change-Id: I0278c502806b99f8ec65cb146e3852e43031e9b8 (cherry picked from commitchanges/71/796671/14478433550
) (cherry picked from commit57c8f4334c
) (cherry picked from commitc336cb76b3
)
3 changed files with 34 additions and 10 deletions
@ -0,0 +1,7 @@
|
||||
--- |
||||
fixes: |
||||
- | |
||||
`Bug #1915678 <https://bugs.launchpad.net/cinder/+bug/1915678>`_: Fix |
||||
unhandled exception during iscsi volume attachment with multipath enabled |
||||
that resulted in the cinder-volume service becoming stuck and requiring |
||||
a restart. |
Loading…
Reference in new issue