[2.5] Adding a machine with the non-PXE mac doesn't commission
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
I added a machine over the UI with:
1. A non-PXE MAC address of the machine.
2. BMC - Manual
The machine was set to 'Commissioning' in MAAS and the machine correctly PXE booted into the enlistment environment:
1. It tried to enlist itself.
2. The machine failed to enlist
3. The machine rebooted
The expectation was:
1. The machine boot into ephemeral env.
2. The machine attempts to register itself to MAAS, but since there's already one with the same MAC, it continues:
3. The machine is told to commission
4. The machine is marked ready.
In other words, the expectation was that this would work similarly to how BMC Enlistment works, but instead of using the BMC, we would use MAC addresses to identify machines.
Related branches
- Newell Jensen (community): Approve
- MAAS Lander: Approve
-
Diff: 263 lines (+119/-51)2 files modifiedsrc/maasserver/api/machines.py (+87/-26)
src/maasserver/api/tests/test_enlistment.py (+32/-25)
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Lee Trager (ltrager) |
description: | updated |
tags: | added: bmc-enlistment |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 2.5.0beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |