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.
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!
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