Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 868305

Summary: iscsi-initiator is not able to discovery target
Product: Red Hat Enterprise Linux 6 Reporter: Bruno Goncalves <bgoncalv>
Component: iscsi-initiator-utilsAssignee: Chris Leech <cleech>
Status: CLOSED ERRATA QA Contact: Bruno Goncalves <bgoncalv>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: agrover, coughlan, eddie.wai, edwardn
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 6.2.0.873-2.el6 Doc Type: Bug Fix
Doc Text:
Cause: Regression in iscsiuio 0.7.4.3 update Consequence: iSCSI discovery and login fail on certain hardware Fix: Fix was part of iscsiuio 0.7.6.1 update Result: iSCSI is functional again
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 10:32:10 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:

Description Bruno Goncalves 2012-10-19 13:05:31 UTC
Description of problem:
The newer version of iscsi-initiator-utils is not able to discovery target portals.

It works fine with: iscsi-initiator-utils.x86_64 0:6.2.0.872-41.el6


iscsiadm -m discovery -I bnx2i.00:10:18:88:e7:ff -I bnx2i.00:10:18:88:e7:fd -p na3170b.lab.bos.redhat.com -t st
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery: internal error


Version-Release number of selected component (if applicable):
iscsi-initiator-utils 6.2.0.873-1.el6

How reproducible:
100%

Steps to Reproduce:
1.Configure the interfaces to use DHCP
iscsiadm -m iface -I bnx2i.00:10:18:88:e7:ff -o update -n iface.ipaddress -v 0.0.0.0
bnx2i.00:10:18:88:e7:ff updated.
iscsiadm -m iface -I bnx2i.00:10:18:88:e7:fd -o update -n iface.ipaddress -v 0.0.0.0
bnx2i.00:10:18:88:e7:fd updated.

2. Try to discovery portal
iscsiadm -m discovery -I bnx2i.00:10:18:88:e7:ff -I bnx2i.00:10:18:88:e7:fd -p na3170b.lab.bos.redhat.com -t st
3.
  
Actual results:
Discovery fails

Expected results:

iscsiadm -m discovery -I bnx2i.00:10:18:88:e7:ff -I bnx2i.00:10:18:88:e7:fd -p na3170b.lab.bos.redhat.com -t st
[  OK  ] iscsid: [  OK  ]
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.16.41.222 failed: internal error
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
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


Additional info:
An error message appears when listing the ifaces for the first time.
iscsiadm -m iface
iscsiadm: Could not scan /sys/class/iscsi_transport.
default tcp,<empty>,<empty>,<empty>,<empty>
iser iser,<empty>,<empty>,<empty>,<empty>
bnx2i.00:10:18:88:e7:fd bnx2i,00:10:18:88:e7:fd,0.0.0.0,<empty>,<empty>
bnx2i.00:00:00:00:00:00 bnx2i,00:00:00:00:00:00,<empty>,<empty>,<empty>
bnx2i.00:10:18:88:e7:ff bnx2i,00:10:18:88:e7:ff,0.0.0.0,<empty>,<empty>

Comment 2 Eddie Wai 2012-10-22 18:40:05 UTC
(In reply to comment #0)
> Description of problem:
> The newer version of iscsi-initiator-utils is not able to discovery target
> portals.
> 
> It works fine with: iscsi-initiator-utils.x86_64 0:6.2.0.872-41.el6
> 
> 
This was caused by an IPv4 DHCP bug inside the iscsiuio-0.7.4.3 patchset.  The fix was already uploaded as part of a bigger update from iscsiuio-0.7.4.3 to iscsiuio-0.7.6.1.

Comment 4 edwardn 2012-10-22 22:38:04 UTC
Verified discovery and login over DHCP using iscsi-initiator-utils-6.2.0.873-2.el6.x86_64.rpm.  873-1 had problems.

Comment 5 Bruno Goncalves 2012-10-24 06:57:23 UTC
Verified problem has been fixed on iscsi-initiator-utils-6.2.0.873-2.el6.x86_64

Comment 7 errata-xmlrpc 2013-02-21 10:32:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0438.html