|
Bugzilla – Full Text Bug Listing |
| Summary: | dracut 0.51 breaks NFS root | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Andreas Schwab <schwab> |
| Component: | Basesystem | Assignee: | dracut maintainers <dracut-maintainers> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fvogt, mt, rtorreromarijnissen, thomas.blume |
| Version: | Current | Flags: | mt:
needinfo?
(rtorreromarijnissen) |
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Andreas Schwab
2020-12-25 20:24:14 UTC
The network-wicked module is broken. (In reply to Andreas Schwab from comment #1) > The network-wicked module is broken. Hm: [ 13.411025] hifive systemd-udevd[281]: Using default interface naming scheme 'v245'. that should use the predictable names (which is standard in tumbleweed AFAIK). eth0 is the kernel name and might not match. Probably the NIC was renamed before wicked starts running. Could you attach a full dmesg from the boot? This is a sane system, so there is of course no renaming. I've reproduced the issue on my testmachine. Seems that wicked is refusing to set up any interface if /etc/sysconfig/network/ifcfg* doesn't exists. (In reply to Thomas Blume from comment #4) > I've reproduced the issue on my testmachine. > Seems that wicked is refusing to set up any interface if > /etc/sysconfig/network/ifcfg* doesn't exists. Actually, wicked is supposed to read its config from /tmp/dracut.xml Marius, the below cmdline.conf: --> sh-5.0# cat /tmp/cmdline.2748.conf root=nfs4:192.168.57.254:/nfsroot:rw,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.57.141,local_lock=none,addr=192.168.57.254 ifname=ens3:52:54:00:dc:43:b6 ip=ens3:dhcp rootfstype=nfs4 rootflags=rw,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.57.141,local_lock=none,addr=192.168.57.254 initrd=initrd console=ttyS0sh-5.0# --< creates the following dracut.xml: --> sh-5.0# wicked show-config --ifconfig dracut:cmdline:/tmp/cmdline.2748.conf <interface origin="dracut:cmdline"> <name namespace="ethernet"> <permanent-address>52:54:00:dc:43:b6</permanent-address> </name> <ethernet/> <link/> <ipv4> <enabled>true</enabled> <arp-verify>true</arp-verify> </ipv4> <ipv4:dhcp> <enabled>true</enabled> <update>default-route,dns,nis,ntp,nds,mtu,tz,boot</update> <defer-timeout>15</defer-timeout> <recover-lease>true</recover-lease> <release-lease>false</release-lease> </ipv4:dhcp> </interface> <interface origin="dracut:cmdline"> <name namespace="ethernet"> <permanent-address>52:54:00:dc:43:b6</permanent-address> </name> <ethernet/> <link/> <ipv4> <enabled>true</enabled> <arp-verify>true</arp-verify> </ipv4> <ipv4:dhcp> <enabled>true</enabled> <update>default-route,dns,nis,ntp,nds,mtu,tz,boot</update> <defer-timeout>15</defer-timeout> <recover-lease>true</recover-lease> <release-lease>false</release-lease> </ipv4:dhcp> </interface> --< which is apparently invalid: --> sh-5.0# wicked --log-level debug bootstrap --ifconfig /tmp/dracut1.xml all wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked: wicked: cannot get interface name - config has no valid <name> node wicked: cannot get interface name - config has no valid <name> node wicked: skipping lo interface: no configuration provided wicked: skipping ens3 interface: no configuration provided wicked: skipping ens9 interface: no configuration provided wicked: skipping ens10 interface: no configuration provided wicked: ifup: no matching interfaces --< The ifname parameter contains the name and the mac address but in the xml, I can only see the interface address in the <name> tag. Is that a parsing error from wicked or a wrong command line? This seems to be the same as bug 1182227. I did some debugging of wicked there already, please have a look. (In reply to Fabian Vogt from comment #9) > This seems to be the same as bug 1182227. I did some debugging of wicked > there already, please have a look. Thanks Fabian, so let's continue in bug#1182227. *** This bug has been marked as a duplicate of bug 1182227 *** |