systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on armhf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Simon Chopin | ||
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
systemd-networkd is failing to acquire a DCHP6 lease from dnsmasq on armhf since glibc 2.34-0ubuntu1, failing systemd (tests-
Reproducer:
* Setup an armhf container, e.g. via:
autopkgtest systemd --test-
* It will fail and drop you into the shell
* cd test/ && apt install python3-nose
* nosetests3 -v -s -m "test_.*_dhcp_ip6" networkd-test.py
This is unrelated to the recent dnsmasq changes (LP: #1894619), as that would fail on all architectures, not just armhf.
It still passes inside an amd64 LXD container, so it is also not related to armhf being tested inside a container. But it shows the difference between armhf vs amd64 container, that on armhf we're missing the DHCPSOLICIT (and therefore DHCPREPLY) messages, as can be seen from the dnsmasq log:
dnsmasq-dhcp[]: DHCPSOLICIT(
dnsmasq-dhcp[]: DHCPREPLY(
The issue is most probably the same that causes the currently failing netplan.
summary: |
- systemd-networkd failing to acquire a DCHP6 lease from dnsmasq on armhf + systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on armhf |
Changed in netplan.io (Ubuntu): | |
assignee: | nobody → Simon Chopin (schopin) |
tags: | added: patch |
Changed in systemd (Ubuntu): | |
status: | New → Fix Committed |
tags: | added: rls-ii-incoming |
Changed in netplan.io (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in glibc (Ubuntu): | |
status: | Confirmed → Invalid |
tags: | removed: rls-ii-incoming |
The systemd-networkd debug log (inside armhf container) reveals an interesting error message: "NDISC: Unexpected error while reading from ICMPv6, ignoring: Exchange full"
Aug 20 09:40:22 autopkgtest- lxd-ytcddy systemd- networkd[ 5450]: NDISC: Started IPv6 Router Solicitation client lxd-ytcddy systemd- networkd[ 5450]: test_eth42: Remembering foreign route: dst: fe80::dcad: beff:feef: 4711/128, src: n/a, gw: n/a, prefsrc: n/a, scope: global, table: local(255), proto: kernel, type: local, nexthop: 0 lxd-ytcddy systemd- networkd[ 5450]: router_eth42: Gained new hardware address: b6:f9:18:ed:b5:5c lxd-ytcddy systemd- networkd[ 5450]: rtnl: received non-static neighbor, ignoring. lxd-ytcddy systemd- networkd[ 5450]: rtnl: received non-static neighbor, ignoring. lxd-ytcddy systemd- networkd[ 5450]: rtnl: received non-static neighbor, ignoring. lxd-ytcddy systemd- networkd[ 5450]: rtnl: received non-static neighbor, ignoring. lxd-ytcddy systemd- networkd[ 5450]: NDISC: Sent Router Solicitation, next solicitation in 3s lxd-ytcddy systemd- networkd[ 5450]: rtnl: received non-static neighbor, ignoring. lxd-ytcddy systemd- networkd[ 5450]: NDISC: Unexpected error while reading from ICMPv6, ignoring: Exchange full
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:22 autopkgtest-
Aug 20 09:40:23 autopkgtest-
Aug 20 09:40:23 autopkgtest-
Aug 20 09:40:23 autopkgtest-
And also: lxd-ytcddy systemd- networkd[ 5450]: NDISC: No RA received before link confirmation timeout lxd-ytcddy systemd- networkd[ 5450]: NDISC: Invoking callback for 'timeout' event. lxd-ytcddy systemd- networkd[ 5450]: test_eth42: NDisc handler get timeout event
Aug 20 09:40:34 autopkgtest-
Aug 20 09:40:34 autopkgtest-
Aug 20 09:40:34 autopkgtest-