Bug 1977796 - iscsi volume connection gets stuck if multipath is enabled and "iscsi -m session" fails
Summary: iscsi volume connection gets stuck if multipath is enabled and "iscsi -m sess...
Keywords:
Status: CLOSED DUPLICATE of bug 1977792
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-os-brick
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Tzach Shefi
URL:
Whiteboard:
Depends On: 1923975
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-30 13:51 UTC by Takashi Kajinami
Modified: 2022-08-11 16:18 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1923975
Environment:
Last Closed: 2021-06-30 14:01:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1915678 0 None None None 2021-06-30 13:52:11 UTC
OpenStack gerrit 796671 0 None MERGED Avoid unhandled exceptions during connecting to iSCSI portals 2021-06-30 13:52:11 UTC
Red Hat Issue Tracker OSP-5669 0 None None None 2022-08-11 16:18:34 UTC

Description Takashi Kajinami 2021-06-30 13:51:13 UTC
+++ This bug was initially created as a clone of Bug #1923975 +++

Description of problem:

When os-brick attaches an iscsi volume, it executes "iscsiadm -m session" first to obtain
all existing sessions, then execute "iscsiadm -m node -T <target> -p <portal> --login"
if it has not yet logged into that portal.

If multipath is enabled, it execute these process in threads and run iscsi commands concurrently
for multiple iscsi devices under an multipath device it is attaching.
However current implementation doesn't care about the failure in "iscsiadm -m session",
and if the command fails the volume attachment never completes.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Comment 2 Takashi Kajinami 2021-06-30 14:01:40 UTC

*** This bug has been marked as a duplicate of bug 1977792 ***


Note You need to log in before you can comment on or make changes to this bug.