Bug 1262279

Summary: RFE: add API for iscsi sessions retrieval
Product: [Fedora] Fedora Reporter: Peter Hatina <phatina>
Component: iscsi-initiator-utilsAssignee: Chris Leech <cleech>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agrover, cleech, fdeutsch, hdegoede, mvollmer, stefw, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iscsi-initiator-utils-6.2.0.873-28.git6aa2c9b Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 20:04:42 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:    
Bug Blocks: 1267476, 1341006    
Attachments:
Description Flags
Proposed patch none

Description Peter Hatina 2015-09-11 10:40:06 UTC
Created attachment 1072516 [details]
Proposed patch

Description of problem:  libiscsi from iscsi-initiator-utils doesn't provide any API to retrieve information about current iscsi sessions.


Version-Release number of selected component (if applicable):
iscsi-initiator-utils-6.2.0.873-27.git6aa2c9b.fc23.x86_64


Actual results:
No session API available.


Expected results:
API for single session or all sessions retrieval implemented.

Comment 1 Peter Hatina 2015-09-11 10:40:50 UTC
Attached patch has been tested and is being used in Storaged project.

Comment 2 Marius Vollmer 2015-09-22 12:52:07 UTC
Works just fine.  Cockpit needs this to show iscsi sessions in the UI.

Comment 3 Marius Vollmer 2015-09-30 07:14:01 UTC
What is happening with this?  Is anyone working on it?

Comment 4 Chris Leech 2015-10-05 20:04:42 UTC
provided patch applied in rawhide