Bug 1341006

Summary: RFE: add API for iscsi sessions retrieval
Product: Red Hat Enterprise Linux 8 Reporter: Stef Walter <stefw>
Component: iscsi-initiator-utilsAssignee: Chris Leech <cleech>
Status: CLOSED WONTFIX QA Contact: Filip Suba <fsuba>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.1CC: aoconnor, chayang, cleech, fsuba, ghelleks, juzhang, mvollmer, revers, sbonazzo, spower, tsmetana, ycui
Target Milestone: alphaKeywords: FutureFeature
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-01 03:03:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1262279    
Bug Blocks: 1351843    

Description Stef Walter 2016-05-31 05:42:27 UTC
libiscsi from iscsi-initiator-utils on RHEL doesn't provide any API to retrieve information about current iscsi sessions.

Issue exists in: libiscsi-devel.x86_64 0:1.9.0-7.el7

Patch was applied to Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1262279

Comment 1 Stef Walter 2016-05-31 05:42:44 UTC
This prevents storaged and cockpit iSCSI functionality from working on RHEL.

Comment 2 Paolo Bonzini 2016-05-31 11:55:54 UTC
Moved to the right libiscsi (there's two of them).

Comment 3 Sandro Bonazzola 2017-08-22 09:49:23 UTC
Any plan for this?

Comment 4 Ryan Barry 2017-09-26 23:57:43 UTC
Hey Marius -

I see that cockpit should have this functionality, per https://trello.com/c/PG1LJDX9/127-095-iscsi-initiator

There's even a demo, which is great! Except that I don't see it. I do see references to the iSCSI portal in the source, but it doesn't appear on an installed system. What do we need to do to enable this other than including cockpit-storaged (where the source appears to live)?

Comment 5 Marius Vollmer 2017-09-27 07:33:34 UTC
> What do we need to do to enable this other than including cockpit-storaged (where the source appears to live)?

You would need to apply this patch from bug 1262279 to libiscsi in RHEL:

    https://bugzilla.redhat.com/attachment.cgi?id=1072516

Then storaged (or udisks2) needs to be recompiled.  Then Cockpit will start showing its iSCSI UI.

Comment 6 Sandro Bonazzola 2017-10-12 13:00:11 UTC
Chris, can we get a rebuild with patch suggested in comment #5 included?

Comment 7 Sandro Bonazzola 2018-02-15 16:25:08 UTC
Sarah, can we get estimation on when this is going to land in RHEL?

Comment 8 Sandro Bonazzola 2018-11-28 11:09:51 UTC
This missed 7.5 -> 7.6; can we have a target milestone for this? 7.6.z? 7.7?

Comment 9 Sandro Bonazzola 2019-06-14 07:21:10 UTC
Missed 7.7, retrying with 8.1 for RHV 4.4

Comment 10 Sandro Bonazzola 2020-03-18 11:26:05 UTC
Not tracking this for RHV 4.4 anymore

Comment 13 RHEL Program Management 2020-11-01 03:03:00 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.