Ironic sets instance as active even if bootloader installation fails when boot_option is 'local'

Bug #1422723 reported by Ramakrishnan G (rameshg87)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Critical
Ramakrishnan G (rameshg87)
diskimage-builder
Fix Released
Critical
Ramakrishnan G (rameshg87)

Bug Description

When boot_option is set as 'local', Ironic installs grub which is present on the installed image onto the root disk. When the deployed iamge doesn't have grub, it fails. But Ironic sets instance to active even if the boot loader installation fails.

Dmitry Tantsur (divius)
Changed in ironic:
status: New → Confirmed
importance: Undecided → Medium
aeva black (tenbrae)
Changed in ironic:
milestone: none → kilo-rc1
importance: Medium → Critical
Changed in ironic:
assignee: nobody → Ramakrishnan G (rameshg87)
Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

It's important to note that it only happens when using the DIB ramdisk.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

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

Changed in diskimage-builder:
assignee: nobody → Ramakrishnan G (rameshg87)
status: New → In Progress
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/169419

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

Reviewed: https://review.openstack.org/169354
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=9fb2d14cf10184b22d00038973256a13114bfd17
Submitter: Jenkins
Branch: master

commit 9fb2d14cf10184b22d00038973256a13114bfd17
Author: Ramakrishnan G <email address hidden>
Date: Tue Mar 31 20:31:16 2015 +0000

    Report status of boot loader installation to Ironic

    This commit changes the 80-deploy-ironic script of
    deploy-ironic element to report back the status of
    boot loader install (when boot_option == "local")
    using a newly introduced vendorpassthru.

    Closes-Bug: 1422723
    Change-Id: I9c1d8643be7cb9e273d65ddd791715a5c271fd93

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in ironic:
assignee: Ramakrishnan G (rameshg87) → Lucas Alvares Gomes (lucasagomes)
Changed in ironic:
assignee: Lucas Alvares Gomes (lucasagomes) → Ramakrishnan G (rameshg87)
Changed in ironic:
assignee: Ramakrishnan G (rameshg87) → John L. Villalovos (happycamp)
Changed in ironic:
assignee: John L. Villalovos (happycamp) → Ramakrishnan G (rameshg87)
Ben Nemec (bnemec)
Changed in diskimage-builder:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

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

commit a4b8feb8527752e5c4f6d8900679aab7b67e6248
Author: Ramakrishnan G <email address hidden>
Date: Tue Mar 31 16:36:15 2015 +0000

    Check status of bootloader installation for DIB ramdisk

    This commit adds a new vendor passthru
    'pass_bootloader_install_info' for DIB ramdisk to
    notify the status of boot loader installation. The
    same change is made for both pxe_* drivers and iscsi_ilo
    driver.

    Closes-Bug: 1422723
    Depends-on: I9c1d8643be7cb9e273d65ddd791715a5c271fd93
    Change-Id: I9944b6835e42cc9b282b7a7b90191a18d00f2e38

Changed in ironic:
status: In Progress → Fix Committed
Jay Dobies (jdob)
Changed in diskimage-builder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-rc1 → 2015.1.0
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.