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>
(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.
Verified discovery and login over DHCP using iscsi-initiator-utils-6.2.0.873-2.el6.x86_64.rpm. 873-1 had problems.
Verified problem has been fixed on iscsi-initiator-utils-6.2.0.873-2.el6.x86_64
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