[Bug 1095383] New: Upgrading Leap 42.3 to Leap 15.0 with NET iso image - DHCP configuration failed
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383 Bug ID: 1095383 Summary: Upgrading Leap 42.3 to Leap 15.0 with NET iso image - DHCP configuration failed Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: thomas-formella@web.de QA Contact: jsrain@suse.com Found By: --- Blocker: --- I'm trying to upgrade a working Leap 42.3 to Leap 15.0 with the "openSUSE-Leap-15.0-NET-x86_64267" ISO image. Network connection is via wired ethernet. Previous upgrades, for example from 42.2 > 42.3, worked flawlessly. Boot parameter: ipv4only=1 All I can see is: Loading basic drivers... ok ... Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet drivers: r8169* eth0: network config created Sending DHCP4 request to eth0... DHCP configuration failed. Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c2
Thomas Formella
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c3
Per Jessen
Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only).
Just fyi, "ipv4only" is only needed when you have a dual stack environment, but you specifically only want to use ipv4. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c5
Michal Filka
I'm trying to upgrade a working Leap 42.3 to Leap 15.0 with the "openSUSE-Leap-15.0-NET-x86_64267" ISO image. Network connection is via wired ethernet. Previous upgrades, for example from 42.2 > 42.3, worked flawlessly.
Boot parameter: ipv4only=1
All I can see is:
Loading basic drivers... ok ... Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet drivers: r8169* eth0: network config created Sending DHCP4 request to eth0... DHCP configuration failed.
Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only).
Could you pls switch to terminal and attach output of journalctl -b -o short-iso | fgrep wicked Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c6
Thomas Formella
(In reply to Thomas Formella from comment #0)
I'm trying to upgrade a working Leap 42.3 to Leap 15.0 with the "openSUSE-Leap-15.0-NET-x86_64267" ISO image. Network connection is via wired ethernet. Previous upgrades, for example from 42.2 > 42.3, worked flawlessly.
Boot parameter: ipv4only=1
All I can see is:
Loading basic drivers... ok ... Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet drivers: r8169* eth0: network config created Sending DHCP4 request to eth0... DHCP configuration failed.
Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only).
Could you pls switch to terminal and attach output of
journalctl -b -o short-iso | fgrep wicked
Thanks.
tty1:install:/# journalctl -b -o short-iso | fgrep wicked bash fgrep: command not found tty1:install:/# journalctl -b -o short-iso | grep wicked bash journalctl: command not found tty1:install:/# journalctl bash journalctl: command not found Sorry, any other way to gather the informations? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c7
--- Comment #7 from Thomas Formella
well, reason why it does not work is that wicked failed to setup eth0
exec: wicked ifup eth0 = 162 eth0 network setup failed
tty1:install:/# wicked ifstatus eth0 eth0 setup-in-progress link: #2, state up, mtu 1500 type: ethernet, hwaddr 00:xx:xx:xx:xx:xx config: compat:suse:/etc/sysconfig/network/ifconfig-eth0 leases: ipv4 dhcp requesting leases: ipv6 dhcp requesting tty:install:/# wicked test dhcp4 --timeout 60 eth0 wicked:eth0: Request to acquire DHCP4 lease with UUID d8f9105b-<snip> wicked:eth0: DHCP4 discovery failed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c8
Michal Filka
(In reply to Michal Filka from comment #5)
(In reply to Thomas Formella from comment #0)
I'm trying to upgrade a working Leap 42.3 to Leap 15.0 with the "openSUSE-Leap-15.0-NET-x86_64267" ISO image. Network connection is via wired ethernet. Previous upgrades, for example from 42.2 > 42.3, worked flawlessly.
Boot parameter: ipv4only=1
All I can see is:
Loading basic drivers... ok ... Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet drivers: r8169* eth0: network config created Sending DHCP4 request to eth0... DHCP configuration failed.
Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only).
Could you pls switch to terminal and attach output of
journalctl -b -o short-iso | fgrep wicked
Thanks.
tty1:install:/# journalctl -b -o short-iso | fgrep wicked bash fgrep: command not found
tty1:install:/# journalctl -b -o short-iso | grep wicked bash journalctl: command not found
tty1:install:/# journalctl bash journalctl: command not found
Sorry, any other way to gather the informations?
ah sorry we're in installer ... So, could you pls attach /var/log/wickedd.log ? Thx As a side note, I'd bet that it is a problem with resolving DHCP request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c9
Thomas Formella
(In reply to Thomas Formella from comment #6)
(In reply to Michal Filka from comment #5)
(In reply to Thomas Formella from comment #0)
I'm trying to upgrade a working Leap 42.3 to Leap 15.0 with the "openSUSE-Leap-15.0-NET-x86_64267" ISO image. Network connection is via wired ethernet. Previous upgrades, for example from 42.2 > 42.3, worked flawlessly.
Boot parameter: ipv4only=1
All I can see is:
Loading basic drivers... ok ... Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet drivers: r8169* eth0: network config created Sending DHCP4 request to eth0... DHCP configuration failed.
Omitting the "ipv4only=1" boot parameter leads to the same result (the router is IPv4 only).
Could you pls switch to terminal and attach output of
journalctl -b -o short-iso | fgrep wicked
Thanks.
tty1:install:/# journalctl -b -o short-iso | fgrep wicked bash fgrep: command not found
tty1:install:/# journalctl -b -o short-iso | grep wicked bash journalctl: command not found
tty1:install:/# journalctl bash journalctl: command not found
Sorry, any other way to gather the informations?
ah sorry we're in installer ... So, could you pls attach /var/log/wickedd.log ? Thx
As a side note, I'd bet that it is a problem with resolving DHCP request.
After an ifdown eth0 && ifup eth0, the DHCP request suddenly worked, but for a short time only. I ran the netinstaller, which upgraded Leap 42.3 to Leap 15.0, but after the first automatic reboot the DHCP configuration failed again. As I urgently needed my machine for other work, I followed a advise found somewhere in a forum (the subject was about wicked/DHCP leases/UUID): I switched to NetworkManager via YaST (eth0 immediately came up with the correct DHCP configuration) and then back to wicked. Since then, wicked works as expected, even after several reboots. I'm sorry that I wasn't able to post more details, the problem is solved and the bug can be closed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c11
Thomas Formella
After an ifdown eth0 && ifup eth0, the DHCP request suddenly worked, but for a short time only. I ran the netinstaller, which upgraded Leap 42.3 to Leap 15.0, but after the first automatic reboot the DHCP configuration failed again. As I urgently needed my machine for other work, I followed a advise found somewhere in a forum (the subject was about wicked/DHCP leases/UUID): I switched to NetworkManager via YaST (eth0 immediately came up with the correct DHCP configuration) and then back to wicked. Since then, wicked works as expected, even after several reboots. I'm sorry that I wasn't able to post more details, the problem is solved and the bug can be closed.
it sounds like another case when parts of NetworkManager and wicked where running at once at installed target.
@Thomas: I assume that you have been using wicked as a network service before upgrade. Is that so? Thanks
Yes, I used a Leap 42.3 standard configuration with wicked. As everything worked out of the box after upgrading from Leap 42.2 to 42.3, I didn't touch anything. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c16
Thomas Formella
Wicked changed to use to a newer RFC to create it's dhcp client identity (required e.g. to make dns updates for ipv4 and ipv6 at the same time). See https://tools.ietf.org/html/rfc4361#section-6.1 for more details.
Unfortunately, some dhcp-servers are using e.g. static leases bound to the client-id, and do not provide any answer otherwise or also, cannot handle the new client id properly (e.g. too long).
Thomas,
can you try if you it works for you when you boot the install ISO with the following parameters?
ifcfg=$MAC=dhcp,DHCLIENT_CLIENT_ID=01:$MAC
where "$MAC" is the mac address of the network card you want to use, e.g.
ifcfg=52:54:00:8d:64:18=dhcp,DHCLIENT_CLIENT_ID=01:52:54:00:8d:64:18
Sorry, it doesn't work. The config is created properly with the mac address, but it's immediately overwritten: eth0: network config exist, overwrite it -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c19
--- Comment #19 from Thomas Formella
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383#c20
Thomas Formella
http://bugzilla.opensuse.org/show_bug.cgi?id=1095383
Per Jessen
participants (1)
-
bugzilla_noreply@novell.com