RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 902305 - iscsiadm does not load needed module
Summary: iscsiadm does not load needed module
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Leech
QA Contact: Bruno Goncalves
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-21 10:56 UTC by Bruno Goncalves
Modified: 2023-03-08 07:25 UTC (History)
4 users (show)

Fixed In Version: iscsi-initiator-utils-6.2.0.873-11.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:17:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bruno Goncalves 2013-01-21 10:56:41 UTC
Description of problem:
iscsiadm does not load iSCSI module if it needs it, on RHEL6 it does.

Version-Release number of selected component (if applicable):
rpm -q iscsi-initiator-utils
iscsi-initiator-utils-6.2.0.872-19.el7.x86_64

uname -r
3.7.0-0.32.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.make sure iscsi_tcp module is not loaded
lsmod | grep iscsi_tcp
libiscsi_tcp           25147  3 cxgb3i,cxgb4i,libcxgbi
libiscsi               53014  7 libiscsi_tcp,bnx2i,cxgb3i,cxgb4i,be2iscsi,ib_iser,libcxgbi

2.Try to discovery target
iscsiadm -m discovery  -p <portal> -t st
iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command.

  



Additional info:
On RHEL6 it does load the module during discovery.

Comment 3 Jeffrey C. Ollie 2013-06-16 20:00:37 UTC
This bug appears to be affecting Fedora 19 as well.

Comment 6 Chris Leech 2013-08-19 20:04:13 UTC
Along with the switch to system unit files, the service no longer loads kernel modules when it's started.  Instead, libkmod support has been enabled in iscsid which will load only the modules that are needed for the iSCSI transports in use.

When this change was first enabled, SELinux was blocking iscsid from loading the kernel modules.  That should be fixed now.  If iSCSI transport modules are not being loaded as needed for session to login to succeed, please check /var/log/audit/audit.log for SELinux denials to the iscsid process.

Comment 7 Bruno Goncalves 2013-08-20 13:09:45 UTC
Verified on:
rpm -q iscsi-initiator-utils
iscsi-initiator-utils-6.2.0.873-7.el7.x86_64

# lsmod | grep iscsi_tcp
libiscsi_tcp           25146  0 
libiscsi               49086  1 libiscsi_tcp

# iscsiadm -m discovery -p na3170b.lab.bos.redhat.com -t st
10.16.41.222:3260,1 iqn.1992-08.com.netapp:sn.151753773
10.16.43.127:3260,1 iqn.1992-08.com.netapp:sn.151753773

# lsmod | grep iscsi_tcp
iscsi_tcp              18333  0 
libiscsi_tcp           25146  1 iscsi_tcp
libiscsi               49086  2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi    77055  3 iscsi_tcp,libiscsi

Comment 8 Ludek Smid 2014-06-13 10:17:11 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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