second boot during baremetal deploy does not configure netboot : will hang unless the machine attempts PXE automatically

Bug #1178092 reported by Robert Collins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
aeva black
tripleo
Fix Released
High
Unassigned

Bug Description

the second boot during a bare metal deploy reboots from within the deploy ramdisk rather than an IMPI 'please netboot' command, which means BIOSes that attempt local disk before netboot will fail to deploy.

Revision history for this message
Robert Collins (lifeless) wrote :

We're using http://serverfault.com/questions/56316/one-time-pxe-boot-from-linux-on-hp-proliant-hardware to workaround this, as booting again from PXE works. It would be nice if we could tell nova to do this (force reboot a deployed instance)

Revision history for this message
Robert Collins (lifeless) wrote :

The specific workaround on the hardware have is:
set system1/bootconfig1/bootsource5 bootorder=1

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
Changed in nova:
status: New → Triaged
importance: Undecided → Critical
summary: - second boot during baremetal deploys sometimes does disk boot, not PXE /
- hangs
+ second boot during baremetal deploy does not configure netboot : will
+ hang unless the machine attempts PXE automatically
description: updated
Revision history for this message
aeva black (tenbrae) wrote :

Definitely a problem!

One solution would be to remove the notify() call at the end of baremetal_deploy_helper.py: deploy(), and have the baremetal driver initiate a reboot via its power driver. That could be done in pxe.py activate_node() or driver.py just after activate_node is called.

tags: added: low-hanging-fruit
Anita Kuno (anteaya)
Changed in tripleo:
assignee: nobody → Anita Kuno (akuno)
Changed in nova:
assignee: nobody → Anita Kuno (akuno)
Changed in tripleo:
assignee: Anita Kuno (akuno) → nobody
Anita Kuno (anteaya)
Changed in nova:
assignee: Anita Kuno (akuno) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Devananda van der Veen (devananda)
status: Triaged → In Progress
aeva black (tenbrae)
Changed in nova:
milestone: none → havana-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/30378
Committed: http://github.com/openstack/nova/commit/b00871c7e7b0d4d322e074484d481c0c48f72cd7
Submitter: Jenkins
Branch: master

commit b00871c7e7b0d4d322e074484d481c0c48f72cd7
Author: Devananda van der Veen <email address hidden>
Date: Thu May 23 18:43:59 2013 -0700

    IPMI driver sets bootdev option persistently.

    This patch changes baremetal ipmi driver's behavior with regards to
    setting the chassis boot device.

    Previous behavior: set bootdev = pxe for next boot only.
    New behavior: set bootdev = pxe persistently.

    Fixes bug 1178092

    Change-Id: I735965422a950fbd249414b5eecd0a1b21dbabea

Changed in nova:
status: In Progress → Fix Committed
Changed in tripleo:
status: Triaged → Fix Released
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
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.