Machine-specific minimal commissioning kernel resets to MAAS wide default

Bug #1893226 reported by Andrew Cloke
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Jack Lloyd-Walters

Bug Description

When trying to commission a new node that requires a min of bionic-hwe to commission, I:
* go to "Machine Configuration" page
* select "Minimum Kernel" to be bionic-hwe
* select "Save Changes"
* go to "Take action" -> "Commission"
* Minimum kernel then jumps back to bionic-ga
* And commissioning fails

However, when I set the MAAS-wide minimum commissioning kernel to bionic-hwe, it sticks and I can successfully commission the machine.

I can then go back and reset the MAAS-wide minimum commissioning kernel to bionic, as that's most applicable to the majority of the nodes controlled by this MAAS.

Tags: sts

Related branches

Revision history for this message
Alberto Donato (ack) wrote :

This is similar to https://bugs.launchpad.net/maas/+bug/1811358.

The current logic (see https://bugs.launchpad.net/maas/+bug/1811358/comments/5 specifically) is to unconditionally set the min_hwe_kernel for a machine to the default one in Node.start_commissioning.
I think we should not modify the setting, but rather pick the machine-specific one or fall back to the default one.

Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → next
summary: - [2.8.1] Machine-specific minimal commissioning kernel resets to MAAS
- wide default
+ Machine-specific minimal commissioning kernel resets to MAAS wide
+ default
Changed in maas:
milestone: next → 3.3.0
Revision history for this message
Brett Milford (brettmilford) wrote :

We have a customer with this issue.
They need to override kernel version on a per machine basis, for newer machines which require the latest kernel.

tags: added: sts
Changed in maas:
assignee: nobody → Jack Lloyd-Walters (lloydwaltersj)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 3.3.0 → 3.3.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.