Eoan vmtests for vlan MTU checks now pass:

(neipa) vlan-mtu % egrep "242-7ubuntu3.3" 
output/EoanTestNetworkVlan/logs/install-serial.log 
[  131.271209] cloud-init[765]: Get:12 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 libnss-systemd amd64 242-7ubuntu3.3 [126 kB]
[  131.281683] cloud-init[765]: Get:13 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 udev amd64 242-7ubuntu3.3 [1202 kB]
[  131.534129] cloud-init[765]: Get:14 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 libudev1 amd64 242-7ubuntu3.3 [76.9 kB]
[  131.538365] cloud-init[765]: Get:15 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 systemd-sysv amd64 242-7ubuntu3.3 [9360 B]
[  131.567844] cloud-init[765]: Get:17 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 libpam-systemd amd64 242-7ubuntu3.3 [130 kB]
[  131.605061] cloud-init[765]: Get:19 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 systemd amd64 242-7ubuntu3.3 [3440 kB]
[  132.048959] cloud-init[765]: Get:20 http://archive.ubuntu.com/ubuntu 
eoan-proposed/main amd64 libsystemd0 amd64 242-7ubuntu3.3 [262 kB]
[  137.411834] cloud-init[765]: Preparing to unpack 
.../libnss-systemd_242-7ubuntu3.3_amd64.deb ...
[  137.415407] cloud-init[765]: Unpacking libnss-systemd:amd64 (242-7ubuntu3.3) 
over (242-7ubuntu3.2) ...
[  137.453015] cloud-init[765]: Preparing to unpack 
.../udev_242-7ubuntu3.3_amd64.deb ...
[  137.493093] cloud-init[765]: Unpacking udev (242-7ubuntu3.3) over 
(242-7ubuntu3.2) ...
[  137.718653] cloud-init[765]: Preparing to unpack 
.../libudev1_242-7ubuntu3.3_amd64.deb ...
[  137.722315] cloud-init[765]: Unpacking libudev1:amd64 (242-7ubuntu3.3) over 
(242-7ubuntu3.2) ...
[  137.760023] cloud-init[765]: Setting up libudev1:amd64 (242-7ubuntu3.3) ...
[  137.824616] cloud-init[765]: Preparing to unpack 
.../systemd-sysv_242-7ubuntu3.3_amd64.deb ...
[  137.827789] cloud-init[765]: Unpacking systemd-sysv (242-7ubuntu3.3) over 
(242-7ubuntu3.2) ...
[  138.148717] cloud-init[765]: Preparing to unpack 
.../libpam-systemd_242-7ubuntu3.3_amd64.deb ...
[  138.153753] cloud-init[765]: Unpacking libpam-systemd:amd64 (242-7ubuntu3.3) 
over (242-7ubuntu3.2) ...
[  138.232109] cloud-init[765]: Preparing to unpack 
.../systemd_242-7ubuntu3.3_amd64.deb ...
[  138.334042] cloud-init[765]: Unpacking systemd (242-7ubuntu3.3) over 
(242-7ubuntu3.2) ...
[  138.888353] cloud-init[765]: Preparing to unpack 
.../libsystemd0_242-7ubuntu3.3_amd64.deb ...
[  138.891850] cloud-init[765]: Unpacking libsystemd0:amd64 (242-7ubuntu3.3) 
over (242-7ubuntu3.2) ...
[  138.952214] cloud-init[765]: Setting up libsystemd0:amd64 (242-7ubuntu3.3) 
...
[  143.816265] cloud-init[765]: Setting up udev (242-7ubuntu3.3) ...
[  146.749187] cloud-init[765]: Setting up systemd (242-7ubuntu3.3) ...
[  148.329699] cloud-init[765]: Setting up systemd-sysv (242-7ubuntu3.3) ...
[  148.333114] cloud-init[765]: Setting up libnss-systemd:amd64 
(242-7ubuntu3.3) ...
[  148.336356] cloud-init[765]: Setting up libpam-systemd:amd64 
(242-7ubuntu3.3) ...
[  189.293271] cloud-init[765]: systemd is already the newest version 
(242-7ubuntu3.3).
(neipa) vlan-mtu % cat 
output/EoanTestNetworkVlan/collect/etc_netplan/50-cloud-init.yaml 
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        interface0:
            addresses:
            - 10.245.168.16/21
            gateway4: 10.245.168.1
            match:
                macaddress: d4:be:d9:a8:49:13
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
            set-name: interface0
        interface1:
            addresses:
            - 10.245.188.2/24
            match:
                macaddress: d4:be:d9:a8:49:15
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
                search:
                - dellstack
            set-name: interface1
        interface2:
            match:
                macaddress: d4:be:d9:a8:49:17
            mtu: 1500
            set-name: interface2
        interface3:
            match:
                macaddress: d4:be:d9:a8:49:19
            mtu: 1500
            set-name: interface3
    vlans:
        interface1.2667:
            addresses:
            - 10.245.184.2/24
            id: 2667
            link: interface1
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
                search:
                - dellstack
        interface1.2668:
            addresses:
            - 10.245.185.1/24
            id: 2668
            link: interface1
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
                search:
                - dellstack
        interface1.2669:
            addresses:
            - 10.245.186.1/24
            id: 2669
            link: interface1
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
                search:
                - dellstack
        interface1.2670:
            addresses:
            - 10.245.187.2/24
            id: 2670
            link: interface1
            mtu: 1500
            nameservers:
                addresses:
                - 10.245.168.2
                search:
                - dellstack
(neipa) vlan-mtu % grep mtu\ 1500 
output/EoanTestNetworkVlan/collect/ip_link_show_interface1.26*
output/EoanTestNetworkVlan/collect/ip_link_show_interface1.2667:7: 
interface1.2667@interface1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue state UP mode DEFAULT group default qlen 1000
output/EoanTestNetworkVlan/collect/ip_link_show_interface1.2668:9: 
interface1.2668@interface1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue state UP mode DEFAULT group default qlen 1000
output/EoanTestNetworkVlan/collect/ip_link_show_interface1.2669:6: 
interface1.2669@interface1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue state UP mode DEFAULT group default qlen 1000
output/EoanTestNetworkVlan/collect/ip_link_show_interface1.2670:8: 
interface1.2670@interface1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
noqueue state UP mode DEFAULT group default qlen 1000

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1846232

Title:
  networkd pads interface MTU by 4 bytes for vlan even when told not to

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1846232/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to