Activity log for bug #1807273

Date Who What changed Old value New value Message
2018-12-06 21:33:52 jd bug added bug
2018-12-06 21:33:52 jd attachment added Result of cloud-init collect-logs https://bugs.launchpad.net/bugs/1807273/+attachment/5219819/+files/cloud-init-logs-2018-12-05.tgz
2018-12-06 22:47:06 jd attachment added Files from previous post https://bugs.launchpad.net/netplan/+bug/1807273/+attachment/5219825/+files/launch_pad_netplan.txt
2018-12-06 22:47:07 jd attachment added Files from previous post https://bugs.launchpad.net/netplan/+bug/1807273/+attachment/5219826/+files/launch_pad_netplan.txt
2018-12-10 15:41:42 Ryan Harper netplan: status New Fix Committed
2019-03-11 22:09:48 Mathieu Trudel-Lapierre description This is very similar to https://bugs.launchpad.net/bugs/1724895, but I decided to open this as i have tried what has succeeded for others. Thanks for any assistance. I'm trying to set the MTU to 1500 and using a match on mac address, but after a netplan apply or reboot, it does not change or stick. This is on a EC2 T2.Medium instance. Actual configuration from a dev server: network: version: 2 ethernets: eth0: match: macaddress: 12:0f:ae:49:5d:06 mtu: 1500 dhcp4: true nameservers: search: [ devbuilds.vpc, ec2.internal ] $> cat /var/run/systemd/network/10-netplan-eth0.link [Match] MACAddress=12:0f:ae:49:5d:06 [Link] WakeOnLan=off MTUBytes=1500 $> cat /var/run/systemd/network/10-netplan-eth0.network [Match] MACAddress=12:0f:ae:49:5d:06 [Network] DHCP=ipv4 Domains=devbuilds.vpc ec2.internal [DHCP] UseMTU=true RouteMetric=100 $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff # manually set MTU $> sudo ip link set dev eth0 mtu 1500 $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff $> sudo netplan generate $> sudo netplan apply $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff The last netplan commands could be replaced with a reboot with the same result. This configuration seemed to help others, so hopefully i'm simply missing something or perhaps this is related to EC2? Attaching output of cloud-init [Impact] DHCP configurations where custom settings (MTU) need to be applied. This is a subset of the changes presented in bug 1759014. [Test case] 1) Configure netplan for the particulars of the network by configuring an appropriate dhcp{4,6}-override stanza: network:   version: 2   ethernets:     engreen:       dhcp4: true       dhcp4-overrides:         use-mtu: false Additionally, if so required, add a custom MTU to the configuration. e.g.       mtu: 1700 (See https://netplan.io/reference#dhcp-overrides for the available options) 2) Run 'netplan apply' or reboot to have the configuration applied. 3) Validate that the routes / DNS are properly ignored and/or replaced by the defined values. [Regression potential] Minimal; this adds new values to the configuration generated for networkd or NetworkManager. Existing configurations will remain unchanged, but new configurations using the dhcp{4,6}-overrides fields will benefit from additional flexibility. --- This is very similar to https://bugs.launchpad.net/bugs/1724895, but I decided to open this as i have tried what has succeeded for others. Thanks for any assistance. I'm trying to set the MTU to 1500 and using a match on mac address, but after a netplan apply or reboot, it does not change or stick. This is on a EC2 T2.Medium instance. Actual configuration from a dev server: network:   version: 2   ethernets:     eth0:       match:         macaddress: 12:0f:ae:49:5d:06       mtu: 1500       dhcp4: true       nameservers:         search: [ devbuilds.vpc, ec2.internal ] $> cat /var/run/systemd/network/10-netplan-eth0.link [Match] MACAddress=12:0f:ae:49:5d:06 [Link] WakeOnLan=off MTUBytes=1500 $> cat /var/run/systemd/network/10-netplan-eth0.network [Match] MACAddress=12:0f:ae:49:5d:06 [Network] DHCP=ipv4 Domains=devbuilds.vpc ec2.internal [DHCP] UseMTU=true RouteMetric=100 $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP mode DEFAULT group default qlen 1000     link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff # manually set MTU $> sudo ip link set dev eth0 mtu 1500 $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000     link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff $> sudo netplan generate $> sudo netplan apply $> ip link show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP mode DEFAULT group default qlen 1000     link/ether 12:0f:ae:49:5d:06 brd ff:ff:ff:ff:ff:ff The last netplan commands could be replaced with a reboot with the same result. This configuration seemed to help others, so hopefully i'm simply missing something or perhaps this is related to EC2? Attaching output of cloud-init
2019-03-11 22:09:54 Mathieu Trudel-Lapierre bug task added netplan.io (Ubuntu)
2019-03-11 22:10:00 Mathieu Trudel-Lapierre netplan: status Fix Committed Fix Released
2019-03-11 22:10:06 Mathieu Trudel-Lapierre netplan.io (Ubuntu): importance Undecided Medium
2019-03-11 22:10:09 Mathieu Trudel-Lapierre netplan.io (Ubuntu): status New In Progress
2019-03-11 22:10:21 Mathieu Trudel-Lapierre netplan.io (Ubuntu): status In Progress Fix Released
2019-03-22 09:12:26 Timo Aaltonen netplan.io (Ubuntu Cosmic): status New Fix Committed
2019-03-22 09:12:27 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2019-03-22 09:12:28 Timo Aaltonen bug added subscriber SRU Verification
2019-03-22 09:12:30 Timo Aaltonen tags verification-needed verification-needed-cosmic
2019-03-22 09:19:25 Timo Aaltonen netplan.io (Ubuntu Bionic): status New Fix Committed
2019-03-22 09:19:28 Timo Aaltonen tags verification-needed verification-needed-cosmic verification-needed verification-needed-bionic verification-needed-cosmic
2019-03-29 16:33:42 Mathieu Trudel-Lapierre tags verification-needed verification-needed-bionic verification-needed-cosmic verification-done-bionic verification-needed verification-needed-cosmic
2019-03-29 16:41:57 Mathieu Trudel-Lapierre tags verification-done-bionic verification-needed verification-needed-cosmic verification-done-bionic verification-done-cosmic
2019-04-10 21:21:18 Steve Langasek tags verification-done-bionic verification-done-cosmic verification-done-cosmic verification-needed verification-needed-bionic
2019-04-11 18:53:55 Mathieu Trudel-Lapierre tags verification-done-cosmic verification-needed verification-needed-bionic verification-done-bionic verification-done-cosmic
2019-04-15 22:32:43 Launchpad Janitor netplan.io (Ubuntu Cosmic): status Fix Committed Fix Released
2019-04-15 22:33:43 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2019-04-18 23:38:15 Steve Langasek netplan.io (Ubuntu Cosmic): status Fix Released Fix Committed
2019-04-30 21:04:39 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2019-04-30 21:04:44 Brian Murray tags verification-done-bionic verification-done-cosmic verification-done-bionic verification-needed verification-needed-cosmic
2019-04-30 21:58:22 Brian Murray tags verification-done-bionic verification-needed verification-needed-cosmic verification-needed verification-needed-bionic verification-needed-cosmic
2019-05-06 19:40:50 Mathieu Trudel-Lapierre tags verification-needed verification-needed-bionic verification-needed-cosmic verification-done-bionic verification-done-cosmic
2019-05-08 00:00:42 Launchpad Janitor netplan.io (Ubuntu Bionic): status Fix Committed Fix Released
2019-05-08 00:01:20 Launchpad Janitor netplan.io (Ubuntu Cosmic): status Fix Committed Fix Released