Deploys can trigger "Boot Option Restoration" screen on Lenovo SR650 hardware

Bug #2053064 reported by Julia Kreger
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Julia Kreger

Bug Description

Very similar to a previously noted bug (https://storyboard.openstack.org/#!/story/2009660) where the pattern of adding and deleting entries in the NVRAM table could be "tickled" such that a crash like reset screen would appear "Boot Option Restoration" on Lenovo SR650 servers, it now seems possible to create this state just by:

* Adding a new UEFI NVRam entry where no entry existed previously
* Setting boot to HDD and rebooting.

Going back to the original advice we noted after we were able to get in touch with Lenovo Engineering from https://storyboard.openstack.org/#!/story/2009660, they recommended we just not set a boot to HDD if we had set an entry into nvram, which might make sense to special case lenovo hardware.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/908946

Changed in ironic:
status: Triaged → In Progress
Changed in ironic:
importance: Undecided → High
assignee: nobody → Julia Kreger (juliaashleykreger)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/ironic/+/910446

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/ironic/+/910447

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/ironic/+/910448

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (unmaintained/yoga)

Fix proposed to branch: unmaintained/yoga
Review: https://review.opendev.org/c/openstack/ironic/+/910315

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/ironic/+/910316

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/ironic/+/910317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/910446
Committed: https://opendev.org/openstack/ironic/commit/45d17c4abc1703282320796489c368b12cb203ed
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 45d17c4abc1703282320796489c368b12cb203ed
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/910447
Committed: https://opendev.org/openstack/ironic/commit/526be0c869a88358d82a2b9f2fb1e0df34be80c8
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 526be0c869a88358d82a2b9f2fb1e0df34be80c8
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)
    (cherry picked from commit 45d17c4abc1703282320796489c368b12cb203ed)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/908946
Committed: https://opendev.org/openstack/ironic/commit/4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911
Submitter: "Zuul (22348)"
Branch: master

commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (stable/wallaby)

Change abandoned by "Elod Illes <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/ironic/+/910317
Reason: stable/wallaby branch of openstack/ironic is about to be deleted. To be able to do that, all open patches need to be abandoned. Please cherry pick the patch to unmaintained/wallaby if you want to further work on this patch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (stable/xena)

Change abandoned by "Elod Illes <email address hidden>" on branch: stable/xena
Review: https://review.opendev.org/c/openstack/ironic/+/910316
Reason: stable/xena branch of openstack/ironic is about to be deleted. To be able to do that, all open patches need to be abandoned. Please cherry pick the patch to unmaintained/xena if you want to further work on this patch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (unmaintained/xena)

Fix proposed to branch: unmaintained/xena
Review: https://review.opendev.org/c/openstack/ironic/+/913428

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (unmaintained/wallaby)

Fix proposed to branch: unmaintained/wallaby
Review: https://review.opendev.org/c/openstack/ironic/+/913431

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (unmaintained/xena)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/913428
Committed: https://opendev.org/openstack/ironic/commit/350de1bb52e8ab1b25151eacc8f063dfa91ed490
Submitter: "Zuul (22348)"
Branch: unmaintained/xena

commit 350de1bb52e8ab1b25151eacc8f063dfa91ed490
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)
    (cherry picked from commit 45d17c4abc1703282320796489c368b12cb203ed)
    (cherry picked from commit 526be0c869a88358d82a2b9f2fb1e0df34be80c8)
    (cherry picked from commit 3a8640d438df68ed4488b8cb21fd8fd47da7f4c6)

tags: added: in-unmaintained-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (unmaintained/wallaby)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/913431
Committed: https://opendev.org/openstack/ironic/commit/e4fab61c61d24b115767e0847babece794e811bc
Submitter: "Zuul (22348)"
Branch: unmaintained/wallaby

commit e4fab61c61d24b115767e0847babece794e811bc
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)
    (cherry picked from commit 45d17c4abc1703282320796489c368b12cb203ed)
    (cherry picked from commit 526be0c869a88358d82a2b9f2fb1e0df34be80c8)
    (cherry picked from commit 73f140951304c77a5c62cba6812ca910c17231d1)

tags: added: in-unmaintained-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (unmaintained/yoga)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/910315
Committed: https://opendev.org/openstack/ironic/commit/f080ebac63f61c14782f9c3a8488eeaaab811524
Submitter: "Zuul (22348)"
Branch: unmaintained/yoga

commit f080ebac63f61c14782f9c3a8488eeaaab811524
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)
    (cherry picked from commit 45d17c4abc1703282320796489c368b12cb203ed)
    (cherry picked from commit 526be0c869a88358d82a2b9f2fb1e0df34be80c8)

tags: added: in-unmaintained-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 24.1.0

This issue was fixed in the openstack/ironic 24.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/910448
Committed: https://opendev.org/openstack/ironic/commit/47308caff0d74cdccb939fcd21c78a92f57e9ad9
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 47308caff0d74cdccb939fcd21c78a92f57e9ad9
Author: Julia Kreger <email address hidden>
Date: Tue Feb 13 12:00:11 2024 -0800

    Special case lenovo UEFI boot setup

    Special cases boot/uefi record setup to focus on UEFI
    nvram updates instead of attempting nvram updates *and*
    setting the boot device to disk.

    Closes-Bug: 2053064
    Change-Id: Ic6584479a47146577052d17fa3f697eef64ac73c
    (cherry picked from commit 4fb1b813f4fcf8cfbb0422bdd5120ac2ccfad911)
    (cherry picked from commit 45d17c4abc1703282320796489c368b12cb203ed)
    (cherry picked from commit 526be0c869a88358d82a2b9f2fb1e0df34be80c8)

tags: added: in-stable-zed
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.