Activity log for bug #2062005

Date Who What changed Old value New value Message
2024-04-17 13:25:35 Björn Tillenius bug added bug
2024-04-17 13:25:40 Björn Tillenius maas: status New Triaged
2024-04-17 13:25:42 Björn Tillenius maas: importance Undecided High
2024-04-17 13:25:47 Björn Tillenius maas: milestone 3.6.0
2024-04-17 13:25:53 Björn Tillenius nominated for series maas/3.5
2024-04-17 13:25:53 Björn Tillenius bug task added maas/3.5
2024-04-17 13:25:56 Björn Tillenius maas/3.5: status New Triaged
2024-04-17 13:25:58 Björn Tillenius maas/3.5: importance Undecided High
2024-04-17 13:26:01 Björn Tillenius maas/3.5: milestone 3.5.x
2024-04-17 13:26:32 Björn Tillenius description MAAS 3.5 added the possibility to deploy non-Ubuntu images to memory. If you deploy an Ubuntu image to memory, things work as expected and the requested network configuration gets applied. However, if you try to deploy a non-Ubuntu image to memory, you'll see that the network configuration doesn't get applied. Instead, each interface on the machine tries to get an IP via DHCP. The problem is that MAAS currently relies on netplan for configuring the networking. What we want to do is to use cloud-init to configure the networking, which would work with most distros. However, at the time, the MAAS provider in cloud-init didn't support it. This has now been fixed, and with cloud-init 24.1.4, we should be able to make it work. What we have to do in MAAS is change the way the the initial cloud-config is generated. We need to look at the cloud-init version. If it's 24.1.4 or greater, we should include a "network" section, and not try to execute netplan. MAAS 3.5 added the possibility to deploy non-Ubuntu images to memory. If you deploy an Ubuntu image to memory, things work as expected and the requested network configuration gets applied. However, if you try to deploy a non-Ubuntu image to memory, you'll see that the network configuration doesn't get applied. Instead, each interface on the machine tries to get an IP via DHCP. The problem is that MAAS currently relies on netplan for configuring the networking. What we want to do is to use cloud-init to configure the networking, which would work with most distros. However, at the time, the MAAS provider in cloud-init didn't support it. This has now been fixed, and with cloud-init 24.1.3, we should be able to make it work. What we have to do in MAAS is change the way the the initial cloud-config is generated. We need to look at the cloud-init version. If it's 24.1.4 or greater, we should include a "network" section, and not try to execute netplan.