for Bionic SRU verification, I checked the logs of the automatic integration test-suite (autopkgtests) of netplan.io (0.99-0ubuntu3~18.04.2) and made sure all tests finished successfully.
Vorlon re-trigger one autopkgtest for bionic/amd64, due to a timing issue (flaky test); it ran successfully the 2nd time and all autopkgtests for Bionic are now green. All bionic test logs are attached to the description of this bug report.
Additionally, I executed the following manual test inside a Bionic multipass instance, which shows that netplan's 'generate' is not rejecting the config anymore, but printing a warning instead!
=== BEFORE ===
ubuntu@b:~$ dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~18.04.1
ii netplan.io 0.99-0ubuntu3~18.04.1
ubuntu@b:~$ sudo /lib/netplan/generate test.yaml
test.yaml:11:15: Error in network definition: unknown bond mode 'lacp'
mode: lacp
^
ubuntu@b:~$ echo $?
1
=== AFTER ===
ubuntu@b:~$ dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~18.04.2
ii netplan.io 0.99-0ubuntu3~18.04.2
ubuntu@b:~$ sudo /lib/netplan/generate test.yaml
WARNING: unknown bond mode 'lacp'. Your config needs to be updated to work with future series of Ubuntu.
ubuntu@b:~$ echo $?
0
Hi Brian,
for Bionic SRU verification, I checked the logs of the automatic integration test-suite (autopkgtests) of netplan.io (0.99-0ubuntu3~ 18.04.2) and made sure all tests finished successfully.
Vorlon re-trigger one autopkgtest for bionic/amd64, due to a timing issue (flaky test); it ran successfully the 2nd time and all autopkgtests for Bionic are now green. All bionic test logs are attached to the description of this bug report.
Additionally, I executed the following manual test inside a Bionic multipass instance, which shows that netplan's 'generate' is not rejecting the config anymore, but printing a warning instead!
All looking good to me!
=== TEST SETUP ===
arp-ip- targets:
ubuntu@b:~$ cat test.yaml
network:
version: 2
ethernets:
ens4:
match:
name: eth0
bonds:
bond0:
interfaces: [ens4]
parameters:
mode: lacp
- 192.168.0.10
dhcp4: true
=== BEFORE === 18.04.1 18.04.1
ubuntu@b:~$ dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~
ii netplan.io 0.99-0ubuntu3~
ubuntu@b:~$ sudo /lib/netplan/ generate test.yaml
test.yaml:11:15: Error in network definition: unknown bond mode 'lacp'
mode: lacp
^
ubuntu@b:~$ echo $?
1
=== AFTER === 18.04.2 18.04.2
ubuntu@b:~$ dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~
ii netplan.io 0.99-0ubuntu3~
ubuntu@b:~$ sudo /lib/netplan/ generate test.yaml
WARNING: unknown bond mode 'lacp'. Your config needs to be updated to work with future series of Ubuntu.
ubuntu@b:~$ echo $?
0