MAAS doesn't detect the right PXE interface

Bug #1847046 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Björn Tillenius
2.6
Fix Released
High
Björn Tillenius

Bug Description

MAAS detects which NIC that was used during the PXE boot process and marks it such in the API and UI. This ssh:ing to the machine when it's in rescue mode easier, since you know which interface that is being brought up.

However, if the machine boots from PXE using the UUID path, rather than the MAC path, then MAAS doesn't detect which NIC is the PXE boot interface and just marks the first one as such.

This means that in a lot of cases, MAAS will mark the wrong interface. In our internal CI, the test_enter_rescue_mode() test fails due to not knowing which interface to ssh to.

We do capture the kernel command line that was being used during commissioning, so we could parse that and look which MAC was passed to BOOTIF.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Björn Tillenius (bjornt)
milestone: none → 2.7.0alpha1
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
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.

Other bug subscribers

Remote bug watches

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