[SRU] Backport 0.107.1-3 to Ubuntu 23.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Won't Fix
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Stable Release Update for netplan.io 0.107.1-3 to Mantic. This version has many bug fixes and new features we want to make available to users of Ubuntu 23.10. netplan.io has an SRU exception for backporting new versions with new features https:/
Another SRU, for Jammy, was prepared in a separate LP bug: https:/
[Impact]
This release contains both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these improvements.
The notable ones are:
* wifi: add support for WPA3-Enterprise
https:/
https:/
* wifi: make it possible to have a psk and an eap password simultaneously
https:/
* parse: allow COMMON_
https:/
The change below generates a different backend configuration for
wpa-supplicant. Although is will not cause major backwards compatibility
problems:
* wifi: support WPA2 and WPA3 Personal simultaneously
https:/
In addition to all the changes from netplan.io 0.107.1-3, a couple of bug fixes were imported from netplan.io 1.0-1:
* debian/
https:/
https:/
This fixes an annoying warning message that many users were seeing when they call "netplan apply".
* d/p/0004-
https:/
This fixes a duplication problem where "netplan rebind" could process the same SR-IOV interface multiple times.
See the changelog entry below for a full list of changes and bugs.
[Test Plan]
The following development and SRU process was followed:
https:/
Netplan contains an extensive integration test suite that is ran using
the SRU package for each releases. This test suite's results are available here:
http://
A successful run is required before the proposed netplan package
can be let into -updates.
The netplan team will be in charge of attaching the artifacts and console
output of the appropriate run to the bug. Netplan team members will not
mark ‘verification-done’ until this has happened.
Testing netplan upgrade
1) Launch a Mantic LXD VM
lxc launch ubuntu:mantic mantic-vm --vm
lxc shell mantic-vm
2) Check Netplan works
netplan get
netplan apply
3) Install Network Manager so we can test the netplan-everywhere integration
apt update
apt install network-manager
4) Change the default renderer to NetworkManager in /etc/netplan/
network:
renderer: NetworkManager
version: 2
ethernets:
enp5s0:
dhcp4: true
5) Apply the configuration
netplan apply
nmcli con show
6) Add a new connection with nmcli
nmcli con add type dummy ifname dummy0
7) Check that a new 'dummy-device' is present in Netplan
netplan get
8) Add the PPA with the new package
add-apt-repository ppa:danilogondo
apt update ; apt -y upgrade
9) Restart Network Manager so it will load the new libnetplan
systemctl restart NetworkManager
10) Add a new interface using nmcli
nmcli con add type dummy ifname dummy1
11) Check it will show up in the Netplan configuration
netplan get
12) Delete both of the new connections
nmcli con del dummy-dummy0
nmcli con del dummy-dummy1
13) Check they are gone
netplan get
[Where problems could occur]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.
Regressions in this update could potentially impact the generation of networking configuration and also Network Manager. Note that all the autopkgtests for both netplan.io and network-manager don't show any regression. Also, this version of netplan.io was present in Noble for a few months now and no regressions were reported.
[Other Info]
[Changelog]
* Backport netplan.io 0.107.1-3 to 23.10 (LP: #2058051):
- wifi: add support for WPA3-Enterprise (LP: #2029876) (!402)
- wifi: support WPA2 and WPA3 Personal simultaneously (!404)
- added mii-monitor-
- docs: Add "Contribute Documentation" how-to
- auth: add support for LEAP and EAP-PWD (!415)
- tests: Add autopkgtest for (LP: #1959570) (!419)
- wifi: make it possible to have a psk and an eap password simultaneously
(!416)
- doc: Set-up some basic Doxygen project (!423)
- doc: Make Sphinx to handle autodoxygen project, using breathe (!423)
- doc: create libnetplan apidoc structure (!423)
- inc: Start documenting public API (!423)
- doc: Update 'Netplan everywhere' for 23.10 (!418)
Bug fixes:
- test:ovs: Avoid NetworkManager taking contol, breaking a test
- parse: allow COMMON_
- util: don't return a placeholder netdef in the iterator (!406)
- tunnels/validation: do not error out if "local" is not defined (!407)
- tests: add some integration tests without the local address (!407)
- wireguard: ignore empty endpoints (LP: #2038811) (!414)
- parse: improve the parsing of access-points (LP: #1809994) (!413)
- wifi: replace the previously defined AP with the new one (!413)
- doc: spelling check improvements (!417)
- Fix permissions on folder '/run/NetworkMa
- cli:try: avoid linting error for type hints (Closes: #1058524) (!422)
- nm-parse: always read the PSK into the new psk variable (!416)
- networkd: fix formatting (!424)
- networkd: replace deprecated CriticalConnection= by KeepConfiguration=
(!424)
- networkd: move KeepConfiguration= into [Network] section
- apply: bring "lo" back up if it's managed by NM (!408)
- apply: don't assume the NM loopback connection is called "lo" (!408)
* Drop patches merged upstream:
- lp1809994/
- lp1809994/
- lp2039821/
- lp2039825/
* Add patches for bug fixes from netplan.io 1.0-1:
- lp2041727/
cli:utils: introduce systemctl_
- lp2041727/
Check if ovsdb-server.
(LP: #2041727) (!421)
- d/p/0007-
d/
d/
Don't generate duplicate entries in the netplan-
(!437)
* Drop patches not required for 23.10:
- debian/
* debian/
- This preinst script is intended to cleanup the .pyc files from
share/
the upgrade from netplan.io 0.106.1 to 0.107, as the Python code
was moved to it's own python3-netplan package, but it's left behind
due to Python cached files.
* Drop changes related to usr-merge and not required for 23.10:
- debian/
- debian/
- debian/
- debian/
* debian/
- Drop overrides file. It wasn't really silencing any lintian warnings.
Related branches
- Lukas Märdian: Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 7418 lines (+4749/-562)62 files modifiedDoxyfile (+2688/-0)
debian/changelog (+69/-0)
debian/control (+2/-1)
debian/extra/PLACEHOLDER (+4/-0)
debian/netplan.io.preinst (+17/-0)
debian/patches/0001-parse-nm-wg-append-the-correct-prefix-to-IPv6-addres.patch (+77/-0)
debian/patches/0007-tests-assert-generated-.service-files-in-assert_srio.patch (+26/-0)
debian/patches/0008-tests-sriov-test-if-the-generated-netplan-rebind-ser.patch (+57/-0)
debian/patches/0009-sriov-don-t-generate-duplicate-entries-in-the-rebind.patch (+96/-0)
debian/patches/lp2041727/0004-cli-utils-introduce-systemctl_is_installed-helper.patch (+63/-0)
debian/patches/lp2041727/0005-Update-ovs.py-to-check-if-ovsdb-server.service-is-in.patch (+75/-0)
debian/patches/series (+6/-11)
debian/rules (+0/-4)
debian/tests/prep-testbed.sh (+3/-0)
dev/null (+0/-371)
doc/apidoc/inc-netplan.md (+4/-0)
doc/apidoc/inc-parse-nm.md (+4/-0)
doc/apidoc/inc-parse.md (+4/-0)
doc/apidoc/inc-types.md (+4/-0)
doc/apidoc/inc-util.md (+4/-0)
doc/apidoc/index.md (+52/-0)
doc/conf.py (+29/-1)
doc/contribute-docs.md (+26/-0)
doc/howto.md (+1/-0)
doc/netplan-everywhere.md (+54/-60)
doc/netplan-yaml.md (+5/-3)
doc/reference.md (+3/-3)
doc/requirements.txt (+1/-0)
doc/spelling_wordlist.txt (+36/-4)
examples/bonding.yaml (+1/-0)
examples/wpa3_enterprise.yaml (+26/-0)
include/netplan.h (+4/-0)
include/parse-nm.h (+4/-0)
include/parse.h (+4/-0)
include/types.h (+4/-0)
include/util.h (+21/-0)
netplan_cli/cli/commands/apply.py (+19/-1)
netplan_cli/cli/commands/try_command.py (+1/-2)
netplan_cli/cli/utils.py (+14/-0)
src/abi.h (+14/-0)
src/names.c (+4/-0)
src/netplan.c (+7/-1)
src/networkd.c (+77/-39)
src/nm.c (+49/-6)
src/parse-nm.c (+43/-6)
src/parse.c (+76/-18)
src/types-internal.h (+3/-0)
src/types.c (+3/-1)
src/util-internal.h (+3/-0)
src/util.c (+10/-0)
src/validation.c (+2/-4)
tests/generator/test_auth.py (+5/-2)
tests/generator/test_common.py (+88/-3)
tests/generator/test_tunnels.py (+9/-12)
tests/generator/test_wifis.py (+372/-8)
tests/integration/ovs.py (+4/-1)
tests/integration/regressions.py (+27/-0)
tests/integration/routing.py (+1/-0)
tests/integration/tunnels.py (+43/-0)
tests/parser/test_keyfile.py (+370/-0)
tests/test_libnetplan.py (+19/-0)
tests/test_utils.py (+12/-0)
description: | updated |
Changed in netplan.io (Ubuntu Noble): | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in netplan.io (Ubuntu Mantic): | |
status: | New → In Progress |
Attaching autopkgtest logs from netplan.io and network-manager tests.