maas-test should try to ensure the machine PXE boots

Bug #1303036 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned
maas-test
Invalid
Undecided
Unassigned

Bug Description

When maas-test boots a machine it should attempt to ensure that the machine PXE boots. In the case of IPMI, that means sending a chassis configuration:

ipmi-chassis-config -u XXX -p XXX -h AA.BB.CC.DD -c \
-e chassis_Boot_Flags:Boot_Flags_Persistent=No -e Chassis_Boot_Flags:Boot_Device=PXE

The exit code of ipmi-chassis-config is 0 if all went well, and 1 if there was a problem.

maas-test should perhaps also test that the BMC responds appropriately to this configuration update.

Tags: robustness
summary: - Tested system appears to look for MAAS in the wrong place
+ maas-test should try to ensure the machine PXE boots
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Raphaël Badin (rvb) wrote :

I'm marking this as invalid (on maas-test) and adding a task on MAAS as I think this logic should be in MAAS and not in maas-test.

Changed in maas:
status: New → Invalid
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Agreed - and the remainder of the duplicated power code should be removed from maas-test at the same time.

Changed in maas:
status: Invalid → Triaged
Changed in maas-test:
status: New → Invalid
Changed in maas:
importance: Undecided → High
milestone: none → 14.10
Revision history for this message
Raphaël Badin (rvb) wrote :

> Agreed - and the remainder of the duplicated power code should be removed from maas-test at the same time.

Quick update: the duplicated power code has been removed in https://code.launchpad.net/~rvb/maas-test/power-type-support/+merge/217350 (that MP fixed bug 1311710).

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1303036] Re: maas-test should try to ensure the machine PXE boots

\o/ thanks for the update.

On 14/05/14 05:23, Raphaël Badin wrote:
>> Agreed - and the remainder of the duplicated power code should be
> removed from maas-test at the same time.
>
> Quick update: the duplicated power code has been removed in
> https://code.launchpad.net/~rvb/maas-test/power-type-
> support/+merge/217350 (that MP fixed bug 1311710).
>

Raphaël Badin (rvb)
tags: added: robustness
Changed in maas:
milestone: 1.6.0 → none
Changed in maas:
status: Triaged → Won't Fix
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.