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 1317459 - Connection lost to iSCSI target
Summary: Connection lost to iSCSI target
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Frantisek Sumsal
URL:
Whiteboard: SA233563135
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 10:08 UTC by Josef Möllers
Modified: 2023-09-14 23:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-27 22:54:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Output of journactl in case of error (353.14 KB, text/x-vhdl)
2016-03-14 10:08 UTC, Josef Möllers
no flags Details

Description Josef Möllers 2016-03-14 10:08:12 UTC
Created attachment 1136107 [details]
Output of journactl in case of error

Description of problem:
After having installed RHEL7.1 on an iSCSI target using a software initiator (i.e. no offloading of iSCSI functionality to the NIC), a reboot fails.

Version-Release number of selected component (if applicable):
dracut-033-240.el7

How reproducible:
Often, not always, ~once in 3 reboots.

Steps to Reproduce:
1.configure the iSCSI boot to obtain the network configuration to use DHCP
2.Install RHEL7.1 on an iSCSI target using a software initiator
3.reboot

Actual results:
iscsistart: cannot make a connection to xxx.xxx.xxx.xxx:3260 (-1,101)

Expected results:
System boots

Additional info:
This only happens if
1) the initiator network configuration for iSCSI boot was obtained using DHCP (i.e. when "/sys/firmware/ibft/ethernet0/dhcp" exists)
*AND*
2) "rd.iscsi.ibft" was given on the kernel cmdline.

It does not happen if
1) the initaitor network configuration for iSCSI boot is STATIC
*OR*
2) the ip-information was explicitly given on the kernel cmdline (ip=<addres>::<gateway>:<netmask>:<nameserver>:<portname>:none)

In the emergency shell, analysis shows that the NIC has no IP address, although an IP address was assigned previously (see attached journalctl output lines 2920ff):
dhclient[711]: DHCPDISCOVER on ibft0 to 255.255.255.255 port 67 interval 4 (xid=0x608459f7)
dhclient[711]: DHCPREQUEST on ibft0 to 255.255.255.255 port 67 (xid=0x608459f7)
dhclient[711]: DHCPOFFER from 172.17.92.210
dhclient[711]: DHCPACK from 172.17.92.210 (xid=0x608459f7)
dhclient[711]: bound to 172.17.92.114 -- renewal in 1582 seconds.

"ip a" shows:
3: ibft0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 90:1b:0e:0d:07:15 brd ff:ff:ff:ff:ff:ff
    inet6 fd7d:d06b:8660:1792:921b:eff:fe0d:715/64 scope global dynamic
       valid_lft 2591945sec preferred_lft 604745sec
    inet6 fe80::921b:eff:fe0d:715/64 scope link
       valid_lft forever preferred_lft forever
=> The IP address which was set is now lost.

This looks like a race condition:
* If CR is hit while grub2 waits for the timeout, the error occurs more often
* If the timeout expires in grub2, the error occurs less frequently.

I have attached the output of "journalctl" while in the emergency shell.

NB RedHat 7.2. has other issues: see bz 1269195, so "try using 7.2" is not an option as it might work but also might not!

Comment 1 Josef Möllers 2016-03-14 10:09:18 UTC
Added FTS internal bug ID.

Comment 2 Josef Möllers 2016-03-14 10:09:49 UTC
Added chorn to list of cc.

Comment 4 Josef Möllers 2016-05-25 07:11:34 UTC
As I will be moving on to pastures new in a few weeks time, I will not be able to provide any assistance. Somebody else will hopefully follow up.

So long,

Josef

Comment 5 Harald Hoyer 2016-07-22 12:44:59 UTC
might be fixed already with the RHEL-7.3 candidate:

http://people.redhat.com/harald/downloads/dracut/dracut-033-436.el7/

Comment 7 Christian Horn 2018-10-31 07:37:30 UTC
Josef, do you still see this?  If not, we will close this currentrelease.

Comment 12 Takuma Umeya 2021-01-27 22:54:49 UTC
BZ opened by FTS. I'll close this bug. Please feel free to reopen per required.

Comment 13 Red Hat Bugzilla 2023-09-14 23:59:12 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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