Activity log for bug #1776228

Date Who What changed Old value New value Message
2018-06-11 13:21:30 Michael Steffens bug added bug
2018-07-23 05:14:14 Dominique Poulain bug added subscriber Dominique Poulain
2018-07-24 05:28:44 Daniel Axtens bug added subscriber Daniel Axtens
2018-10-30 10:21:00 Lukas Stehlik bug added subscriber Lukas Stehlik
2018-12-10 16:54:46 Mathieu Trudel-Lapierre netplan: status New Triaged
2018-12-10 16:54:48 Mathieu Trudel-Lapierre netplan: importance Undecided High
2018-12-10 16:54:50 Mathieu Trudel-Lapierre netplan: assignee Mathieu Trudel-Lapierre (cyphermox)
2019-01-09 05:19:11 siddhant ashok pardeshi bug added subscriber siddhant ashok pardeshi
2019-02-03 19:08:05 Vladimir Grevtsev tags cpe-onsite
2019-03-11 19:59:58 Mathieu Trudel-Lapierre description I'm facing issues with OpenStack VMs built from Ubuntu 18.04 cloud image and configured with multiple NICs. I have a solution working on 16.04, which doesn't do any more since the introduction of netplan. Requirements: - Multiple interfaces connected to different networks. - All NICs configured via DHCP to ensure IP address, but also parameters like MTU adapt to the environment automatically. - Default route is supposed to use one specific NIC and network. The solution on 16.04 was customization of /etc/dhcp/dhclient.conf, such that all unique parameters are retrieved from only that interface. Example with ens3 being the intended authoritative interface: option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; send host-name = gethostname(); request subnet-mask, broadcast-address, time-offset, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes; interface "ens3" { request routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, ntp-servers; } This does no longer work with netplan. I couldn't figure any netplan properties to configure DHCP client to that granularity. And /etc/dhcp/dhclient.conf no longer seems to be honored. As I can see in VM startup console log, each interface is getting default route assigned and the system remains unresponsive most of the times. How am I supposed to solve this on a netplan managed system? [Impact] DHCP configurations where custom settings (routes) 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-routes: false route-metric: 3333 Additionally, if so required, add a custom routes to the configuration. e.g. routes: - to: 10.0.0.0/16 via: 13.4.55.78 (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. --- I'm facing issues with OpenStack VMs built from Ubuntu 18.04 cloud image and configured with multiple NICs. I have a solution working on 16.04, which doesn't do any more since the introduction of netplan. Requirements:  - Multiple interfaces connected to different networks.  - All NICs configured via DHCP to ensure IP address, but also parameters like MTU adapt to the environment automatically.  - Default route is supposed to use one specific NIC and network. The solution on 16.04 was customization of /etc/dhcp/dhclient.conf, such that all unique parameters are retrieved from only that interface. Example with ens3 being the intended authoritative interface:   option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;   send host-name = gethostname();   request subnet-mask, broadcast-address, time-offset,           netbios-name-servers, netbios-scope, interface-mtu,           rfc3442-classless-static-routes;   interface "ens3" { request routers, domain-name, domain-name-servers, domain-search, host-name,                      dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, ntp-servers; } This does no longer work with netplan. I couldn't figure any netplan properties to configure DHCP client to that granularity. And /etc/dhcp/dhclient.conf no longer seems to be honored. As I can see in VM startup console log, each interface is getting default route assigned and the system remains unresponsive most of the times. How am I supposed to solve this on a netplan managed system?
2019-03-11 20:00:06 Mathieu Trudel-Lapierre bug task added netplan.io (Ubuntu)
2019-03-11 20:00:15 Mathieu Trudel-Lapierre netplan.io (Ubuntu): status New Triaged
2019-03-11 20:00:16 Mathieu Trudel-Lapierre netplan.io (Ubuntu): importance Undecided High
2019-03-11 20:00:18 Mathieu Trudel-Lapierre netplan.io (Ubuntu): assignee Mathieu Trudel-Lapierre (cyphermox)
2019-03-11 20:00:19 Mathieu Trudel-Lapierre netplan: assignee Mathieu Trudel-Lapierre (cyphermox)
2019-03-11 20:00:22 Mathieu Trudel-Lapierre netplan: status Triaged Fix Released
2019-03-11 20:00:38 Mathieu Trudel-Lapierre netplan.io (Ubuntu): status Triaged Fix Released
2019-03-22 09:11:13 Timo Aaltonen netplan.io (Ubuntu Cosmic): status New Fix Committed
2019-03-22 09:11:14 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2019-03-22 09:11:17 Timo Aaltonen bug added subscriber SRU Verification
2019-03-22 09:11:19 Timo Aaltonen tags cpe-onsite cpe-onsite verification-needed verification-needed-cosmic
2019-03-22 09:18:29 Timo Aaltonen netplan.io (Ubuntu Bionic): status New Fix Committed
2019-03-22 09:18:33 Timo Aaltonen tags cpe-onsite verification-needed verification-needed-cosmic cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic
2019-03-25 16:21:58 Michael Steffens bug watch added https://github.com/systemd/systemd/issues/9289
2019-03-25 16:24:17 Michael Steffens tags cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic
2019-03-26 09:07:33 Michael Steffens tags cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic cpe-onsite verification-done-bionic verification-done-cosmic verification-needed
2019-03-29 01:14:55 Steve Langasek tags cpe-onsite verification-done-bionic verification-done-cosmic verification-needed cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic
2019-03-29 01:21:34 Steve Langasek tags cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic
2019-03-29 07:56:36 Michael Steffens tags cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic cpe-onsite verification-done-cosmic verification-needed verification-needed-bionic
2019-03-29 08:10:37 Michael Steffens tags cpe-onsite verification-done-cosmic verification-needed verification-needed-bionic cpe-onsite verification-done-bionic verification-done-cosmic verification-needed
2019-04-10 21:20:09 Steve Langasek tags cpe-onsite verification-done-bionic verification-done-cosmic verification-needed cpe-onsite verification-done-cosmic verification-needed verification-needed-bionic
2019-04-11 07:34:58 Michael Steffens tags cpe-onsite verification-done-cosmic verification-needed verification-needed-bionic cpe-onsite verification-done-bionic verification-done-cosmic verification-needed
2019-04-15 22:32:43 Launchpad Janitor netplan.io (Ubuntu Cosmic): status Fix Committed Fix Released
2019-04-15 22:33:25 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2019-04-18 23:38:25 Steve Langasek netplan.io (Ubuntu Cosmic): status Fix Released Fix Committed
2019-04-30 21:03:15 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2019-04-30 21:03:21 Brian Murray tags cpe-onsite verification-done-bionic verification-done-cosmic verification-needed cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic
2019-04-30 21:57:18 Brian Murray tags cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic
2019-05-02 11:20:07 Michael Steffens tags cpe-onsite verification-needed verification-needed-bionic verification-needed-cosmic cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic
2019-05-02 12:14:29 Michael Steffens tags cpe-onsite verification-done-bionic verification-needed verification-needed-cosmic cpe-onsite verification-done-bionic verification-done-cosmic verification-needed
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