Machine-specific minimal commissioning kernel resets to MAAS wide default
Bug #1893226 reported by
Andrew Cloke
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.
Related branches
~lloydwaltersj/maas:commissioning-kernel-resets-default
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 47 lines (+21/-4)2 files modifiedsrc/maasserver/models/node.py (+6/-4)
src/maasserver/models/tests/test_node.py (+15/-0)
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 |
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 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.