IPv6 support regresses with nplan transition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nplan (Ubuntu) |
Fix Released
|
Critical
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
This is a bug tracking a regression in netplan 0.25 and later, fixed directly in the development release as of netplan 0.28. This does not affect stable releases in any way; but tracked as part of an update included in the SRU. The regressing code never made it to stable releases.
[Test case]
n/a; see bug 1655440 for test plan on IPv6 "AcceptRA" feature.
[Regression Potential]
n/a, see bug 1655440.
---
Prior to the switch to nplan, systems (in my case containers) would DHCP for IPv4 and let the kernel do IPv6 auto-configuration whenever a router advertisement comes in.
That's the exact same behavior we see on every single other Linux distribution, but ever since the switch to nplan by default in Ubuntu, we're not getting an IPv6 address anymore when a RA reaches the container.
This was spotted by a new Jenkins test we're running which ensures that every single image we have for LXD will start and get a working IPv4 (through DHCP) and IPv6 address (through RA).
```
PASS: alpine-33-priv has working IPv4 and IPv6 connectivty
PASS: alpine-33-unpriv has working IPv4 and IPv6 connectivty
PASS: alpine-34-priv has working IPv4 and IPv6 connectivty
PASS: alpine-34-unpriv has working IPv4 and IPv6 connectivty
PASS: alpine-35-priv has working IPv4 and IPv6 connectivty
PASS: alpine-35-unpriv has working IPv4 and IPv6 connectivty
PASS: alpine-36-priv has working IPv4 and IPv6 connectivty
PASS: alpine-36-unpriv has working IPv4 and IPv6 connectivty
PASS: alpine-edge-priv has working IPv4 and IPv6 connectivty
PASS: alpine-edge-unpriv has working IPv4 and IPv6 connectivty
PASS: archlinux-priv has working IPv4 and IPv6 connectivty
PASS: archlinux-unpriv has working IPv4 and IPv6 connectivty
PASS: centos-6-priv has working IPv4 and IPv6 connectivty
PASS: centos-6-unpriv has working IPv4 and IPv6 connectivty
PASS: centos-7-priv has working IPv4 and IPv6 connectivty
PASS: centos-7-unpriv has working IPv4 and IPv6 connectivty
PASS: debian-buster-priv has working IPv4 and IPv6 connectivty
PASS: debian-
PASS: debian-jessie-priv has working IPv4 and IPv6 connectivty
PASS: debian-
PASS: debian-sid-priv has working IPv4 and IPv6 connectivty
PASS: debian-sid-unpriv has working IPv4 and IPv6 connectivty
PASS: debian-stretch-priv has working IPv4 and IPv6 connectivty
PASS: debian-
PASS: debian-wheezy-priv has working IPv4 and IPv6 connectivty
PASS: debian-
PASS: fedora-24-priv has working IPv4 and IPv6 connectivty
PASS: fedora-24-unpriv has working IPv4 and IPv6 connectivty
PASS: fedora-25-priv has working IPv4 and IPv6 connectivty
PASS: fedora-25-unpriv has working IPv4 and IPv6 connectivty
PASS: fedora-26-priv has working IPv4 and IPv6 connectivty
PASS: fedora-26-unpriv has working IPv4 and IPv6 connectivty
PASS: gentoo-priv has working IPv4 and IPv6 connectivty
PASS: gentoo-unpriv has working IPv4 and IPv6 connectivty
PASS: opensuse-422-priv has working IPv4 and IPv6 connectivty
PASS: opensuse-422-unpriv has working IPv4 and IPv6 connectivty
PASS: opensuse-423-priv has working IPv4 and IPv6 connectivty
PASS: opensuse-423-unpriv has working IPv4 and IPv6 connectivty
PASS: oracle-6-priv has working IPv4 and IPv6 connectivty
PASS: oracle-6-unpriv has working IPv4 and IPv6 connectivty
PASS: oracle-7-priv has working IPv4 and IPv6 connectivty
PASS: oracle-7-unpriv has working IPv4 and IPv6 connectivty
PASS: plamo-5x-priv has working IPv4 and IPv6 connectivty
PASS: plamo-5x-unpriv has working IPv4 and IPv6 connectivty
PASS: plamo-6x-priv has working IPv4 and IPv6 connectivty
PASS: plamo-6x-unpriv has working IPv4 and IPv6 connectivty
PASS: sabayon-priv has working IPv4 and IPv6 connectivty
PASS: sabayon-unpriv has working IPv4 and IPv6 connectivty
FAIL: ubuntu-artful-priv doesn't have an IPv6 address
FAIL: ubuntu-
PASS: ubuntu-core-16-priv has working IPv4 and IPv6 connectivty
PASS: ubuntu-
PASS: ubuntu-precise-priv has working IPv4 and IPv6 connectivty
PASS: ubuntu-
PASS: ubuntu-trusty-priv has working IPv4 and IPv6 connectivty
PASS: ubuntu-
PASS: ubuntu-xenial-priv has working IPv4 and IPv6 connectivty
PASS: ubuntu-
PASS: ubuntu-zesty-priv has working IPv4 and IPv6 connectivty
PASS: ubuntu-zesty-unpriv has working IPv4 and IPv6 connectivty
Test failed
```
Changed in nplan (Ubuntu): | |
importance: | Critical → High |
description: | updated |
description: | updated |
The nplan.yaml which is included in our containers is:
root@artful:~# cat /etc/netplan/ 10-lxc. yaml
network:
ethernets:
eth0: {dhcp4: true}
version: 2
/etc/network/ interfaces used to be:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Right now this seems to only affect the LXC images, not the one generated by CPC as that one is still using ifupdown with a /etc/network/ interfaces similar to that above and without a netplan .yaml.