Hide Forgot
Description of problem: bnx2i iSCSI connection need its NICs in "up" state. If bnx2x NICs is not configured as "on boot" while "iscsi" daemon is "on boot", OS will hang at iSCSI loggin: ==== Setting up iSCSI targets: Logging in to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple ==== I have waited it for more than 20 minutes, still no timeout. User need to bring OS into single mode and disable "iscsi" and "iscsid" service for "on boot". Version-Release number of selected component (if applicable): RHEl 5.8 GA How reproducible: 100% Steps to Reproduce: 1. Setup iscsi connection on bnx2i. 2. Make sure bnx2x NICs is not "up when boot" in /etc/sysconfig/network-scripts/ 3. Make sure "iscsi" and "iscsid" daemon is on boot. 4. reboot OS. Actual results: OS hang at "iscsiadm -m node -l" Expected results: there are many options for bnx2i: 1. Automatically enable NICs when got iscsi connection request. 2. Make sure iscsi connection is isolated from NIC's state. 3. iscsiadm timeout for bnx2i and warm user to bring NIC up. Additional info: "iscsi" and "iscsid" daemon is default on in run level 3 and 5, it will cause OS hang on boot and only single user-mode could disable it. I am requesting blocker for it.
Will try to replicate here when I get some time. Adding devel ack for 5.9. Probably a bad setting or daemon segfaulting so could not send response.
I've just installed iscsi-initiator-utils-6.2.0.872-16.el5 the server has 2 bnx2i cards on eth2 and eth3. eth2: bnx2i.00:10:18:88:e7:fc eth3: bnx2i.00:10:18:88:e7:fe after boot only eth3 is up. Then I ran: iscsiadm -m discovery -t st -p na3170b.lab.bos.redhat.com -I bnx2i.00:10:18:88:e7:ff -I bnx2i.00:10:18:88:e7:fd 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 iscsiadm -m node -l Logging in to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple) Logging in to [iface: default, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] (multiple) Login to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] successful. Login to [iface: default, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] successful. iscsiadm: Could not login to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260]. iscsiadm: initiator reported error (8 - connection timed out) Login to [iface: bnx2i.00:10:18:88:e7:ff, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] successful. iscsiadm: Could not login to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260]. iscsiadm: initiator reported error (8 - connection timed out) iscsiadm: Could not log into all portals iscsiadm -m session tcp: [1] 10.16.43.127:3260,1 iqn.1992-08.com.netapp:sn.151753773 bnx2i: [2] 10.16.41.222:3260,1 iqn.1992-08.com.netapp:sn.151753773 bnx2i: [3] 10.16.43.127:3260,1 iqn.1992-08.com.netapp:sn.151753773 which means the server didn't bring up eth2 during login phase. After bringing it up the login works ifconfig eth2 up iscsiadm -m node -l Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] (multiple) Logging in to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] (multiple) Login to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.43.127,3260] successful. Login to [iface: bnx2i.00:10:18:88:e7:fd, target: iqn.1992-08.com.netapp:sn.151753773, portal: 10.16.41.222,3260] successful.
Problem has been resolved on rpm -q iscsi-initiator-utils iscsi-initiator-utils-6.2.0.872-16.el5
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-0092.html