When trying to boot an installation with / on an iscsi disk things fail if ip=eth#:dhcp is used, if it gets replaced with an ip=..... static configuration for the same eth# and the rest of the cmdline is identical things work fine.
This is a simple installation using 1 iscsi disk with default anaconda auto-partitioning on the iscsi disk.
I'm wondering if the issue I'm seeing may be related to device renaming, dracut seems to detect another eth0 then the card from which I'm booting, which was eth0 in anaconda. So I know have an eth0 and an eth0-renamed. OTOH static IP works fine and the parts of the involved code path which do the actual renaming are the same for static and dhcp
I did notice in a previous test run that if I manually do a /sbin/ifup eth0 under the dracut shell (when starting with rdshell) net.eth0.dhlease etc files pop up under /tmp and look good, but the output of ip addr still shows the interface as unconfigured ??
did you specify ifname?
$ man dracut
Assign network device name <interface> (ie eth0) to the NIC with MAC <MAC>. Note letters in the MAC-address must be lowercase! Note that if you use this option you must specify an ifname= argument for all interfaces used in ip= or fcoe= arguments. This parameter can be specified multiple times.
did specify ifname for all interfaces???
(In reply to comment #1)
> did you specify ifname?
Yes anaconda which generated the cmdline specifies ifname
> $ man dracut
> Assign network device name <interface> (ie eth0) to the NIC with MAC <MAC>.
> Note letters in the MAC-address must be lowercase! Note that if you use
> this option you must specify an ifname= argument for all interfaces used in
> ip= or fcoe= arguments. This parameter can be specified multiple times.
> did specify ifname for all interfaces???
No only for the one in use. But this is handled properly by dracut other ones which might get in the way get renamed out of the way by a special rule.
This happened with a minimal install. I tried again with a regular install and it works fine there, so there seems to be some missing bits in the minimal install case.
Created attachment 426815 [details]
lsinitrd on initramfs with a minimal packageset
Created attachment 426816 [details]
rpm -qa on minimal install
Created attachment 426818 [details]
dracut -v output on minimal system
Created attachment 426820 [details]
lsinitrd on initramfs with a default packageset
Created attachment 426822 [details]
rpm -qa on a default install
And today I cannot reproduce this anymore ... ???
Closing as worksforme.