Activity log for bug #1896684

Date Who What changed Old value New value Message
2020-09-22 21:29:50 Dan Streetman bug added bug
2020-09-22 22:55:30 Dominique Poulain bug added subscriber Dominique Poulain
2020-09-23 12:05:00 Victor Tapia bug added subscriber Victor Tapia
2020-09-23 12:18:09 Dan Streetman affects maas (Ubuntu) maas
2020-09-23 12:35:05 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ddstreet/maas/+git/maas/+merge/391198
2020-09-23 12:37:03 Dan Streetman tags sts
2020-09-23 16:29:02 Dan Streetman description maas forces all rack addresses for all subnets in a single vlan to any system deployed into any of those subnets. If the deployed systems are isolated, with no gateway configured, they may end up with broken DNS due to having nameservers configured which are not reachable. [test case] configure maas with a single Fabric 'maas', with a single vlan 'untagged'. In that untagged vlan, create 4 separate subnets, 10.1.0.0/24, 10.2.0.0/24, 10.3.0.0/24, and 10.4.0.0/24. Configure all the subnets with 'allow_dns' set to False, and each of them should be configured with 10.X.0.1 as their only dns nameserver, and no gateway. Of course, also configure the corresponding 10.X.0.1 addresses on the maas machine. Configure a machine in maas to set its interface to use Fabric 'maas' and vlan 'untagged', and subnet 10.1.0.0/24. Deploy that system, and even though the subnet is configured with "dns_servers": [ "10.1.0.1" ] and "allow_dns": False, the deployed system is configured with 10.1.0.1 as well as 10.2.0.1, 10.3.0.1, and 10.4.0.1. When deploying a system using systemd-resolved, this is not necessarily a problem, since systemd-resolved has no limit on the number of upstream nameservers it can handle, so the 'correct' (on-subnet) nameserver will be one of the configured ones, and systemd-resolved will use it for DNS. However, when deploying a system that does not use systemd-resolved, when cloud-init manually edits the /etc/resolv.conf file, there is a hardcoded limit of 3 nameservers that can be listed in the file, so if the list of nameservers is larger, the 'correct' nameserver may not be included. In this example, if the deployed system's resolv.conf file is created with only the 10.2.0.1, 10.3.0.1, and 10.4.0.1 nameservers, the system will have no working DNS since it can only reach 10.1.0.0/24 systems. maas forces all rack addresses for all subnets in a single vlan to any system deployed into any of those subnets. If the deployed systems are isolated, with no gateway configured, they may end up with broken DNS due to having nameservers configured which are not reachable. [test case] configure maas with a single Fabric 'maas', with a single vlan 'untagged'. In that untagged vlan, create 4 separate subnets, 10.1.0.0/24, 10.2.0.0/24, 10.3.0.0/24, and 10.4.0.0/24. Configure all the subnets with 'allow_dns' set to False, and each of them should be configured with 10.X.0.1 as their only dns nameserver, and no gateway. Of course, also configure the corresponding 10.X.0.1 addresses on the maas machine. Configure a machine in maas to set its interface to use Fabric 'maas' and vlan 'untagged', and subnet 10.1.0.0/24. Deploy that system, and even though the subnet is configured with "dns_servers": [ "10.1.0.1" ] and "allow_dns": False, the deployed system is configured with 10.1.0.1 as well as 10.2.0.1, 10.3.0.1, and 10.4.0.1. When deploying a system using systemd-resolved, this is not necessarily a problem, since systemd-resolved has no limit on the number of upstream nameservers it can handle, so the 'correct' (on-subnet) nameserver will be one of the configured ones, and systemd-resolved will use it for DNS. However, when deploying a system that does not use systemd-resolved (e.g. Centos), when cloud-init manually edits the /etc/resolv.conf file, there is a hardcoded limit of 3 nameservers that can be listed in the file, so if the list of nameservers is larger, the 'correct' nameserver may not be included. In this example, if the deployed system's resolv.conf file is created with only the 10.2.0.1, 10.3.0.1, and 10.4.0.1 nameservers, the system will have no working DNS since it can only reach 10.1.0.0/24 systems.
2020-10-07 00:54:57 MAAS Lander maas: status New Fix Committed
2020-10-07 00:54:57 MAAS Lander maas: milestone next
2020-10-15 15:37:14 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ddstreet/maas/+git/maas/+merge/392313
2020-12-17 09:17:17 Alberto Donato nominated for series maas/2.8
2020-12-17 09:17:17 Alberto Donato bug task added maas/2.8
2020-12-17 09:17:27 Alberto Donato maas/2.8: milestone 2.8.3rc1
2020-12-17 09:17:49 Alberto Donato maas/2.8: milestone 2.8.3rc1 2.8.x
2020-12-17 09:17:56 Alberto Donato maas/2.8: status New Fix Committed
2020-12-17 09:20:44 Alberto Donato maas: milestone next 2.9.0b6
2020-12-17 09:20:48 Alberto Donato maas: status Fix Committed Fix Released
2021-02-16 19:03:16 Adam Collard maas/2.8: milestone 2.8.x 2.8.3rc2
2021-02-19 17:51:04 Adam Collard maas/2.8: status Fix Committed Fix Released
2021-06-15 18:54:27 Christian Grabowski attachment added dhcpd.conf https://bugs.launchpad.net/maas/+bug/1896684/+attachment/5504866/+files/dhcpd.conf