[SRU] Update to netplan.io 0.105

Bug #1988447 reported by Lukas Märdian
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netplan.io (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[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 those improvements.

The most notable changes (besides usual bug-fixes) incoming in 0.105:
    - Add support for VXLAN tunnels (#288), LP: #1764716
    - Add support for VRF devices (#285), LP: #1773522
    - Add support for InfiniBand (IPoIB) (#283), LP: #1848471
    - Allow key configuration for GRE tunnels (#274), LP: #1966476
    - Allow setting the regulatory domain (#281), LP: #1951586
    - Documentation improvements & restructuring (#287)
    - Add meson build system (#268)
    - Add abigail ABI compatibility checker (#269)
    - Update of Fedora RPM spec (#264)
    - CI improvements (#265, #282)
    - Netplan `set` uses the consolidated libnetplan YAML parser (#254)
    - Refactor ConfigManager to use the libnetplan YAML parser (#255)
    - New `netplan_netdef_get_filepath` API (#275)
    - Improve NetworkManager device management logic (#276), LP: #1951653

[Test Plan]
The following development and SRU process was followed:
https://wiki.ubuntu.com/NetplanUpdates

Netplan contains an extensive integration test suite that is run using
the SRU package for each release. This test suite's results are available here:
http://autopkgtest.ubuntu.com/packages/n/netplan.io

A successful run is required before the -proposed netplan.io 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.

[Where problems could occur]
Netplan being a core package, it could impact the whole networking stack of the operating system up to the point where servers would not be reachable anymore after a reboot, due to broken network config being generated by netplan at bootup.

In order to mitigate the regression potential, the results of the aforementioned integration tests are attached to this bug:

Jammy:
https://git.launchpad.net/~slyon/+git/files/plain/LP1988447/jammy_amd64.log
https://git.launchpad.net/~slyon/+git/files/plain/LP1988447/jammy_arm64.log
https://git.launchpad.net/~slyon/+git/files/plain/LP1988447/jammy_armhf.log
https://git.launchpad.net/~slyon/+git/files/plain/LP1988447/jammy_ppc64el.log
https://git.launchpad.net/~slyon/+git/files/plain/LP1988447/jammy_s390x.log

Focal:
TBD

[Other Info]
The integration test logs will be attached to this bug, once the package has been accepted into -proposed and the tests have been executed on the real infrastructure.

[Changelog]
222a067 rpm: bump version to 0.105
9b6f2a9 README: update badges
b75b495 abi-compat: bump for 0.105
e2d2126 meson: version bump
0b14ed0 parse:networkd:nm: make VXLAN link explicit and exclusive to VXLAN tunnels
b6585e6 names: improve NAME_FUNCTION input validation
0695240 test:tunnels: add VXLAN integration test
85d4a32 test:tunnels:configmanager: add VXLAN unit tests
d02b778 doc: add VXLAN docs & examples
0ba4fab nm: Initial VXLAN support
4d3e8bd networkd: VXLAN tunnel rendering
9e97115 Handle VXLAN tunnel parsing, validation and YAML
d1b3f19 netplan: add YAML_BOOL_TRISTATE helper
bc7458a NetplanFlags handling
1698656 util: add is_multicast_address()
29b1f8a names: infiniband fixes
969f00e parse: add bridge.aging-time alias
ddb41cf parse: generic map multipass processing fixes
e80f6f0 cli:ip:leases: search for NM's internal DHCP client and dhclient leases (LP: #1979674) (#284)
a2f331a parse-nm: do not parse search-domains, netplan cannot differentiate IP4 vs IP6
748ab5d parse-nm: detect empty nexthop (i.e. scope: link)
30ab7fc CI:autopkgtest: Keep correct 'vrf' kernel module available
b1d5d79 tests:routing: add VRF integration test
e7a5d72 networkd:nm: generate VRF configs
9203c00 doc: VRF reference & example
596a510 netplan:parse: handle VRF configuration
e11e0ac cli: fix crash on LibNetplanException (#286)
d796f83 doc:yaml: markdown syntax fixes
8c3ebf9 doc:yaml: markdown formatting fixes
5c89b24 Documentation improvements (Diátaxis) (FR-2276) (#287)
b39dbea cli:try: fix typo in 'netplan --config-file=... try' command
f3b9f7f tests:tunnels: increase [ip6]gre[tap] autopkgtest coverage
edd02c8 doc: improve gre/-tap documentation wrt keys
6fee64f tests:tunnels: validate key configuration for [ip6]gre[tap]
8ea6247 validation: allow key configuration for [ip6]gre[tap] tunnels
4d4deb6 CI: switch autopkgtest runner to Jammy/22.04
e332fa1 CI: fix phased updates
2d1aab1 doc: fix typo in netplan-apply.md
e748158 Allow setting the regulatory domain (LP: #1951586) (#281)
474951a cli: fix detection of custom bridges/bonds in is_revertable
bae61cc bindings: add `is_trivial_compound_itf` denoting simple bonds/bridges
0b5a0f7 lib: fix dirtiness tracking for generic integer values
8fce1fc lib: move complex_object_is_dirty to utils with better API
d5b5d8a bindings: remove now-unused bindings
dbdd83c netplan: migration configmanager away from PyYAML
a4fb600 tests:sriov: add a nocover statement for the fallback in driver_mock_open
d0b2078 tests: configmanager: Fix inconsistencies in test data
9d72161 bindings: NetDef: expose some vlan/sriov-related properties
a3d15c3 bindings: State: add baked-in properties to easily iterate over def types
fbfaa2a netplan: bindings: State: helper method to dump the whole state to the logs
a1ab42a netplan: bindings: expose State.backend
f6f4d74 netplan: libnetplan: expose the itf matching data for netdefs
9dc2576 netplan: expose basic netdef attributes to the Python bindings
16a68f9 lib: migrate netplan_netdef_get_id to the new strbuf API scheme
8a1ba54 Add InfiniBand (IPoIB) support (LP: #1848471) (#283)
161ccfd CI: drop Focal 0.104 ABI, we're now using Jammy CI runners
6814cab CI: disable CodeCov, we're checking the coverage locally in GA
a25aa60 CI: switch GA runners to Ubuntu 22.04
6a47c70 abi_compat: fix coverage warning
7387cb8 tests:ovs: avoid race condition with DHCP on bridge
7342746 tests:base: cleanup udev quirks
d29bf14 nm: tests: improve NM manage/ignore logic, using udev matching rules
4e7f0fd nm: extend type_str() to return passthrough types
399a75e cli: re-apply udev rules (NM_UNMANAGED) if needed
1b74575 generate: ignore 10-globally-managed-devices.conf if any NM config is given in netplan
15aa16f manpages: fix long options rendered with an en-dash instead of two dash
565bd0f tests:ethernets: fix autopkgtest with alternating default value
8934a1b nm: fix rendering of password for unknown/passthrough WPA types (#279)
dab082f bindings: make coverage happy
310bfed Add tristate type for offload options (LP: #1956264) (#270)
62f0a75 Fix infinite timeouts in ovs-vsctl (Closes: #1000137) (#266)
6b9a3b7 !API! lib: netdef: rename filename into filepath
5c6bb3b lib: utils: new netplan_copy_string function
e896fd5 libnetplan: bump the XOPEN_SOURCE definition to 700
90311f1 doc: some ABI checker docs + jammy ABI
fa245b8 netplan: libnetplan: remove now-unused netplan_parse function
bdb4f98 netplan: set: rewrite to use the internal YAML generator
b68d46b tests: set: use JSON as a format for complex payloads
7f82a3d lib: helper function to create a yaml patch from a "set expression"
56033c4 lib: new state function netplan_state_update_yaml_hierarchy
bcf3e60 lib: new state function netplan_state_write_yaml_file for partial export
20252c8 parser: partial support of null fields
bdeef98 parser: add the ability to load a file directly from a FD
a62584d lib: keep track of all source files for a given state
ab55cb6 lib: centralize the IP rule reset into a standalone function
03c82a1 netplan: cli: add hidden option --breakpoint for easier debugging
a4a8ac8 CI: ABI checker ignore-list
b6a33a0 test:integration:base: improve mgmt network stability
056c27e Makefile: clean src/_features.h.gch file
3786536 cli:sriov: fix test coverage for quirk_devices
306600d networkd: rename GatewayOnlink= to GatewayOnLink= (#273)
f71f14e ABI compatibility checker (#269)
a738597 dbus: Remove the upper limit on try timeout (#271)
d692ce7 Enable building via Meson build system (#268)
2e84550 Makefile: fix parallel build failure (#267)
e8e2f13 tests:ethernets: improve autopkgtest reliability
a4b70e7 cli:apply: fix potential race with rename/creation of netdevs and start networkd if off (LP: #1962095) (#260)
20182f9 Fix running the autopkgtests, by working around a LXD issue (#265)
aabfc26 rpm: Update to latest version and resync with Fedora spec (#264)
889c7be doc: fix whitespace

Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu):
status: New → Fix Released
summary: - [SRU] Update to netplan.io 0.104
+ [SRU] Update to netplan.io 0.105
Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu Jammy):
assignee: nobody → Lukas Märdian (slyon)
Lukas Märdian (slyon)
description: updated
Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu Jammy):
status: New → In Progress
Lukas Märdian (slyon)
Changed in netplan.io (Ubuntu Jammy):
assignee: Lukas Märdian (slyon) → nobody
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Lukas, or anyone else affected,

Accepted netplan.io into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netplan.io/0.105-0ubuntu2~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in netplan.io (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (netplan.io/0.105-0ubuntu2~22.04.1)

All autopkgtests for the newly accepted netplan.io (0.105-0ubuntu2~22.04.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

netplan.io/0.105-0ubuntu2~22.04.1 (amd64)
initramfs-tools/0.140ubuntu13 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#netplan.io

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Lukas Märdian (slyon) wrote :
description: updated
tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netplan.io - 0.105-0ubuntu2~22.04.1

---------------
netplan.io (0.105-0ubuntu2~22.04.1) jammy; urgency=medium

  * Backport netplan.io 0.105-0ubuntu2 to 22.04 (LP: #1988447)
    - Add support for VXLAN tunnels (#288)
    - Add support for VRF devices (#285)
    - Add support for InfiniBand (IPoIB) (#283)
    - Allow key configuration for GRE tunnels (#274)
    - Allow setting the regulatory domain (#281)
    - Documentation improvements & restructuring (#287)
    - Add meson build system (#268)
    - Add abigail ABI compatibility checker (#269)
    - Update of Fedora RPM spec (#264)
    - CI improvements (#265, #282)
    - Netplan `set` uses the consolidated libnetplan YAML parser (#254)
    - Refactor ConfigManager to use the libnetplan YAML parser (#255)
    - New `netplan_netdef_get_filepath` API (#275)
    - Improve NetworkManager device management logic (#276)
  * Update symbols file for 0.105
  * d/patches/: Drop patches, applied upstream
  * d/p/autopkgtest-fixes.patch: Refresh
  * d/control: bump Standards-Version, no changes needed
  * d/control, d/tests/control: suggest/add iw for setting a regulatory domain
  * d/control: merge with Debian, dropping deprecated versioned depends
  * d/control: Update Vcs-* tags for Ubuntu
  * d/watch: sync with Debian
  * d/u/metadata: sync with Debian
  * d/tests: partially merge with Debian
  * d/t/control: SKIP Open vSwitch test if OVS is inactive in the test env
    to fix armhf (LXD/container) autopkgtests

 -- Lukas Märdian <email address hidden> Tue, 11 Oct 2022 14:58:36 +0200

Changed in netplan.io (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for netplan.io has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Lukas Märdian (slyon) wrote :

We're seeing some issues with 0.105, so we should hold back the Focal SRU/backport for now (bug #1997467, bug #2003727)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.