server will not boot from pxe if it does not support command 'chassis bootdev pxe ' with 'persistent' option

Bug #1407820 reported by Haomeng,Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Zhenguo Niu

Bug Description

I tested our pxe_ipmitool driver, found an issue, if the server ipmi does not support the command 'chassis bootdev pxe options=persistent' with 'persistent' option', that mean the boot order will not be stored for 2nd time, it just effect for the first time, it just restart from 'old' boot device, if it is not pxe, server will hang, because local hd has no boot loader for our pxe_ipmitool driver.

So two solutions:

1. Add the feature to create boot loader for pxe driver
2. Call 'chassis bootdev pxe' for each time before power on the server to make sure booting from pxe

Tags: pxe
Revision history for this message
Dmitry Tantsur (divius) wrote :

I think both options should be eventually implemented, and this bug is more about the second option.

Changed in ironic:
status: New → Confirmed
importance: Undecided → High
tags: added: pxe
Rakesh H S (rh-s)
Changed in ironic:
assignee: nobody → Rakesh H S (rh-s)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/151268

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Rakesh H S (<email address hidden>) on branch: master
Review: https://review.openstack.org/151268

aeva black (tenbrae)
Changed in ironic:
status: In Progress → Triaged
importance: High → Medium
assignee: Rakesh H S (rh-s) → nobody
milestone: none → kilo-3
milestone: kilo-3 → liberty-1
milestone: liberty-1 → kilo-rc1
Changed in ironic:
milestone: kilo-rc1 → liberty-1
Changed in ironic:
assignee: nobody → Zhenguo Niu (niu-zglinux)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/177642

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/177642
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=cf9466d9acbc9f3519faa9574b0a8aa0ef08a9cb
Submitter: Jenkins
Branch: master

commit cf9466d9acbc9f3519faa9574b0a8aa0ef08a9cb
Author: Zhenguo Niu <email address hidden>
Date: Mon Apr 27 11:41:27 2015 +0800

    When boot option is not persisted, set boot on next power on

    If the server ipmi does not support the command 'chassis bootdev'
    with 'persistent' option', the boot device cannot be set persistently
    and will not be set for the 2nd boot. This change proposes to add
    a new parameter in node's driver_info to force set the boot device for
    each power on.

    Change-Id: I8d70c6292e3e013ccaf90f9ce4a616c8c916fe64
    Closes-Bug: #1407820

Changed in ironic:
status: In Progress → Fix Committed
Changed in ironic:
milestone: none → 4.2.0
Thierry Carrez (ttx)
Changed in ironic:
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.