2.6.2 new nodes always are calculated as ephemeral deploys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
The process we use to add new machines is to create a new machine by POST to the /machines endpoint, and then commission the machine.
After upgrading to 2.6.2 all commissions would fail to complete silently. the cloud-init.final service would fail on the netplan configuration
/etc/netplan/
After investigation, this `50-maas.yaml` file should only be present if it is an ephemeral deploy. The commission is NOT an ephemeral deploy, and the ephemeral_deploy column in the database was false. However, since it was a new node created by POST to /machines, it had no disks so the `ephemeral_deploy` property returned true because is_diskless was true.
https:/
We were able to resolve this by removing the check for `is_diskless` in line 1357 linked above. I don't know how you want to proceed in resolving this issue because I do not use the ephemeral deploy feature. However, this completely prevented us from adding nodes to our environment and I believe should be a priority to fix. Others are encountering it as well and posting on discord.
no longer affects: | maas (Ubuntu) |
It looks like this may be fixed in 2.7. Is it possible to get a fix published for 2.6?