Activity log for bug #1978154

Date Who What changed Old value New value Message
2022-06-09 19:13:03 Evan Sikorski bug added bug
2022-06-09 19:36:29 Christian Grabowski maas: status New Triaged
2022-06-09 19:36:35 Christian Grabowski maas: importance Undecided Low
2022-06-15 15:38:01 Camille Rodriguez bug added subscriber Canonical Field Critical
2022-06-16 08:18:29 Jerzy Husakowski nominated for series maas/3.2
2022-06-16 08:18:29 Jerzy Husakowski bug task added maas/3.2
2022-06-16 08:18:29 Jerzy Husakowski nominated for series maas/3.1
2022-06-16 08:18:29 Jerzy Husakowski bug task added maas/3.1
2022-06-16 08:18:44 Jerzy Husakowski maas: importance Low High
2022-06-16 08:18:44 Jerzy Husakowski maas: milestone 3.3.0
2022-06-16 08:19:03 Jerzy Husakowski maas/3.1: status New Triaged
2022-06-16 08:19:05 Jerzy Husakowski maas/3.2: status New Triaged
2022-06-16 08:19:28 Jerzy Husakowski maas/3.1: importance Undecided High
2022-06-16 08:19:31 Jerzy Husakowski maas/3.2: importance Undecided High
2022-06-16 13:00:22 Adam Collard merge proposal linked https://code.launchpad.net/~adam-collard/maas/+git/maas/+merge/424869
2022-06-16 13:02:23 Adam Collard maas: assignee Adam Collard (adam-collard)
2022-06-16 13:03:30 Adam Collard description THE PROBLEM: Because of the changes made in preseed.py, MAAS 3.1 now expects the following: 1. The dnf command to exist, which is not part of the standard CentOS7 image. 2. Netplan to be installed as a package named netplan.io, which is not packaged for CentOS7 This caused all of our previous customer CentOS7 images to no longer deploy, because dnf was not installed, and the expected netplan.io package was not installed. We are able to build a netplan RPM ourselves using the .spec file from the netplan git repo, but... 1. It default package name is netplan and not netplan.io which would fail the check 2. We cannot use the latest version of netplan as that requires dependancies that cannot be met on CentOS7 3. Python3 then has to be installed from EPEL in order to install netplan. 4. Technically we have to install dnf as well, as your code uses DNF instead of YUM THE DOCUMENTATION: The only mention of this breaking changes is found in the release notes here "About configuring deployed machine networking If you deploy a machine with a custom Ubuntu image, MAAS allows you to configure the deployed machine’s networks just like any other MAAS machine. If you create an interface and assign it to a subnet or static address, this will be reflected in the deployed machine. For this reason, MAAS also does some initial diagnostics while installing the custom image. MAAS will warn you about a missing network configuration, by checking for cloud-init and netplan in the curtin images. MAAS won’t deploy machine with such images." 1. I feel this could have been more clearly documented for those that are using custom images impacted by the change. 2. I also don’t see this being mentioned in either of these two documents for building custom images 1. https://maas.io/docs/how-to-create-custom-images#heading--how-to-pack-a-rhel7-image-for-maas-deployment 2. https://discourse.maas.io/t/how-to-create-custom-images/5104/2 ARBITRARY CHECKS? After deploying images with netplan built into them both with standard single-interface and bonded network configurations, it appears netplan was not even used. When commenting out your checks for the netplan packages from preseed.py, and deploying older images without netplan installed, we discovered they also deployed without issues and *never used netplan to write their network configuration* I also noticed that the vanilla centos7 image you provide in MAAS does not have netplan installed and, because it is not a custom image, does not check for netplan. So why did you put this check in place, which would break custom images for anyone using CentOS7, if you aren't even using the package you require to deploy? --- I originally posted about this on discourse, here: https://discourse.maas.io/t/maas-3-1-introduces-breaking-changes-for-custom-centos7-images/6109 THE PROBLEM: MAAS 3.1 now expects the following: 1. The dnf command to exist, which is not part of the standard CentOS7 image. 2. Netplan to be installed as a package named netplan.io, which is not packaged for CentOS7 This caused all of our previous customer CentOS7 images to no longer deploy, because dnf was not installed, and the expected netplan.io package was not installed. We are able to build a netplan RPM ourselves using the .spec file from the netplan git repo, but... 1. It default package name is netplan and not netplan.io which would fail the check 2. We cannot use the latest version of netplan as that requires dependencies that cannot be met on CentOS7 3. Python3 then has to be installed from EPEL in order to install netplan. 4. Technically we have to install dnf as well, as your code uses DNF instead of YUM THE DOCUMENTATION: The only mention of this breaking changes is found in the release notes here "About configuring deployed machine networking If you deploy a machine with a custom Ubuntu image, MAAS allows you to configure the deployed machine’s networks just like any other MAAS machine. If you create an interface and assign it to a subnet or static address, this will be reflected in the deployed machine. For this reason, MAAS also does some initial diagnostics while installing the custom image. MAAS will warn you about a missing network configuration, by checking for cloud-init and netplan in the curtin images. MAAS won’t deploy machine with such images." 1. I feel this could have been more clearly documented for those that are using custom images impacted by the change. 2. I also don’t see this being mentioned in either of these two documents for building custom images 1. https://maas.io/docs/how-to-create-custom-images#heading--how-to-pack-a-rhel7-image-for-maas-deployment 2. https://discourse.maas.io/t/how-to-create-custom-images/5104/2 ARBITRARY CHECKS? After deploying images with netplan built into them both with standard single-interface and bonded network configurations, it appears netplan was not even used. When commenting out your checks for the netplan packages from preseed.py, and deploying older images without netplan installed, we discovered they also deployed without issues and *never used netplan to write their network configuration* I also noticed that the vanilla centos7 image you provide in MAAS does not have netplan installed and, because it is not a custom image, does not check for netplan. --- I originally posted about this on discourse, here: https://discourse.maas.io/t/maas-3-1-introduces-breaking-changes-for-custom-centos7-images/6109
2022-06-16 13:40:27 MAAS Lander maas: status Triaged Fix Committed
2022-06-21 08:16:36 Adam Collard maas/3.2: milestone 3.2.0
2022-06-21 14:29:41 Adam Collard merge proposal linked https://code.launchpad.net/~adam-collard/maas/+git/maas/+merge/425141
2022-06-21 14:46:50 MAAS Lander maas/3.2: status Triaged Fix Committed
2022-06-21 21:35:37 Christian Grabowski maas/3.2: milestone 3.2.0 3.2.0-rc2
2022-06-21 21:36:01 Christian Grabowski maas/3.2: status Fix Committed Fix Released
2022-06-28 14:13:59 Adam Collard merge proposal linked https://code.launchpad.net/~adam-collard/maas/+git/maas/+merge/425737
2022-06-28 14:19:29 Adam Collard maas/3.1: status Triaged In Progress
2022-06-28 14:19:31 Adam Collard maas/3.1: milestone 2.5.4
2022-06-28 14:19:44 Adam Collard maas/3.1: assignee Adam Collard (adam-collard)
2022-06-28 14:19:46 Adam Collard maas/3.1: milestone 2.5.4
2022-06-28 16:56:42 MAAS Lander maas/3.1: status In Progress Fix Committed
2022-06-28 16:56:42 MAAS Lander maas/3.1: milestone 3.3.0
2022-10-20 17:50:28 Alexsander de Souza maas: milestone 3.3.0 3.3.0-beta1
2022-10-20 17:50:31 Alexsander de Souza maas/3.1: milestone 3.3.0 3.3.0-beta1
2022-10-20 18:40:16 Alexsander de Souza maas: status Fix Committed Fix Released
2022-10-20 18:40:20 Alexsander de Souza maas/3.1: status Fix Committed Fix Released
2023-04-04 16:32:05 Mauricio Faria de Oliveira tags sts
2023-04-04 16:32:12 Mauricio Faria de Oliveira bug added subscriber Mauricio Faria de Oliveira