Deploying whole disk image with local boot fails

Bug #1441556 reported by Lucas Alvares Gomes
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Jim Rollenhagen
diskimage-builder
Fix Released
Medium
Lucas Alvares Gomes

Bug Description

When using the DIB ramdisk to deploy a whole disk image + local boot the deployment will fail because right now the DIB ramdisk will always try to install the bootloader onto the image if the local boot is set. For full disk images the images already contains a bootloader so if local boot is set we need to skip the bootloader installation.

For that we need:

1) Ironic to inform the deploy ramdisk that it's a whole disk image (via kernel cmdline probably)

2) Make the ramdisk skip the bootlader installation if whole disk image is set

Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
milestone: none → kilo-rc1
importance: Undecided → Medium
Changed in ironic:
status: New → Triaged
Revision history for this message
John Stafford (john-stafford) wrote :
Changed in ironic:
milestone: kilo-rc1 → none
Revision history for this message
John Stafford (john-stafford) wrote :

rameshg87> BadCub: i am just marking 1439663 as a duplicate of 1441556

Changed in ironic:
milestone: none → kilo-rc1
Changed in diskimage-builder:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
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/171767

Changed in ironic:
assignee: Lucas Alvares Gomes (lucasagomes) → Jim Rollenhagen (jim-rollenhagen)
status: Triaged → In Progress
Ben Nemec (bnemec)
Changed in diskimage-builder:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

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

commit 13012867079cbb37b3333b4fec847e0b807201ba
Author: Jim Rollenhagen <email address hidden>
Date: Wed Apr 8 11:28:51 2015 -0700

    Don't pass boot_option: local for whole disk images

    This fixes an issue where DIB installs a bootloader on top of the disk
    image's bootloader. For now, hack boot_option to show as netboot for
    whole disk images (from DIB's perspective), and fix it for real in
    Liberty.

    Change-Id: I5cc41932acd75cf5e9e5b626285331f97126932e
    Closes-Bug: #1441556

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by greghaynes (<email address hidden>) on branch: master
Review: https://review.openstack.org/171743
Reason: No longer needed

Changed in diskimage-builder:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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