Provisioned node with multipath device can't boot if Base System isn't on dm-0

Bug #1567450 reported by Alexander Zatserklyany
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Nick Bogdanov
Mitaka
Fix Released
High
Sergey Slipushenko

Bug Description

Provisioning of node with multipath fails if node boots not from dm-0.

System can't find device:
--------------------
Booting...
error: no such device: <UUID-of-device>
Entering rescue mode...
grub rescue>
--------------------
fuel-9.0-170-2016-04-07_02-00-00.iso

Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :
Changed in fuel:
assignee: nobody → Sergey Slipushenko (sslypushenko)
milestone: none → 9.0
Changed in fuel:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
tags: added: area-python team-mixed
removed: need-info
tags: added: feature-multipath-disks-support
tags: added: need-info
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Necessary logs are missing. At least nailgun-agent and fuel-agent logs are required.

what is dm-0? it's not clear.

Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Krzysztof Szukiełojć (kszukielojc)
Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :
Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :
Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :
Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :

Nailgun-agent log is from situation after install. As we don't have now before install.

Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :

Provisioning logs

Revision history for this message
Ksenia Svechnikova (kdemina) wrote :

Add tag blocker-for-qa, as we can't merge our tests for this feature before this issue is fixed

tags: added: blocker-for-qa
Changed in fuel:
milestone: 9.0 → 10.0
Revision history for this message
Krzysztof Szukiełojć (kszukielojc) wrote :

On real hardware this needs to be forced to happen and we added restriction in docs to make user aware of this problem. Plan for 10.0 is to place bootable flag which is user defined and can help in case somebody will encourage this problem.
In case of tests we have found way to have it tested in spite of this disadvantage.

Changed in fuel:
status: Confirmed → Won't Fix
Szymon Banka (sbanka)
tags: removed: blocker-for-qa
tags: removed: need-info
Changed in fuel:
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Sergey Slipushenko (sslypushenko)
description: updated
Revision history for this message
Sergey Slipushenko (sslypushenko) wrote :

Origin of issue is that fuel-agent usually configures node to boot from the first disk in UI. It might happen that this disk is not configured to be bootable in HBA card BIOS. Due user can not have an access to system BIOS, it is required to provide to user an ability to choose bootable disk in fuel. It should be done in to patches - patch for nailgun to introduce bootable disk selection and patch for fuel-agent to recognize user's selection during provisioning.

Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Krzysztof Szukiełojć (kszukielojc)
Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Sergey Slipushenko (sslypushenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

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

Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Kate Pimenova (kpimenova)
Changed in fuel:
assignee: Kate Pimenova (kpimenova) → Krzysztof Szukiełojć (kszukielojc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/309055

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/309058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/309076

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

Reviewed: https://review.openstack.org/309000
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=bd255663135214c4255be543737fbaf497a6b6da
Submitter: Jenkins
Branch: master

commit bd255663135214c4255be543737fbaf497a6b6da
Author: Kate Pimenova <email address hidden>
Date: Thu Apr 21 16:51:28 2016 +0300

    Removed hardcoded node attributes list

    Partial-Bug: #1567450
    Change-Id: I38e22d9decc5d36c4887485097df60aceb5c5525

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/309076
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=6f581752a01edd10ad40f99e002a992574467e36
Submitter: Jenkins
Branch: stable/mitaka

commit 6f581752a01edd10ad40f99e002a992574467e36
Author: Kate Pimenova <email address hidden>
Date: Thu Apr 21 16:51:28 2016 +0300

    Removed hardcoded node attributes list

    Partial-Bug: #1567450
    Change-Id: I38e22d9decc5d36c4887485097df60aceb5c5525

tags: added: in-stable-mitaka
Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Aleksey Zvyagintsev (azvyagintsev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/mitaka)

Change abandoned by Sergey Slipushenko (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/309055

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-agent (stable/mitaka)

Change abandoned by Sergey Slipushenko (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/309058

Changed in fuel:
assignee: Aleksey Zvyagintsev (azvyagintsev) → Alexander Gordeev (a-gordeev)
Changed in fuel:
assignee: Alexander Gordeev (a-gordeev) → Krzysztof Szukiełojć (kszukielojc)
Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Sergey Slipushenko (sslypushenko)
Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Krzysztof Szukiełojć (kszukielojc)
Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Sergey Slipushenko (sslypushenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

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

Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Nick Bogdanov (nikolay-bogdanov)
Changed in fuel:
assignee: Nick Bogdanov (nikolay-bogdanov) → Sergey Slipushenko (sslypushenko)
Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Nick Bogdanov (nikolay-bogdanov)
Changed in fuel:
assignee: Nick Bogdanov (nikolay-bogdanov) → Krzysztof Szukiełojć (kszukielojc)
Changed in fuel:
assignee: Krzysztof Szukiełojć (kszukielojc) → Nick Bogdanov (nikolay-bogdanov)
Changed in fuel:
assignee: Nick Bogdanov (nikolay-bogdanov) → Sergey Slipushenko (sslypushenko)
Changed in fuel:
assignee: Sergey Slipushenko (sslypushenko) → Nick Bogdanov (nikolay-bogdanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/308276
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2df11392ab6f28d828d48f2151f4903da888d216
Submitter: Jenkins
Branch: master

commit 2df11392ab6f28d828d48f2151f4903da888d216
Author: sslypushenko <email address hidden>
Date: Wed May 11 19:54:42 2016 +0300

    Add bootable disk node flag

    Adding this flag to specified disk allows user to choose bootable disk
    from Fuel UI and CLi.

    This change is very important for deployments with multipath connected
    block devices. Mainly, it is because, order of disks in UI can change
    easly in this case, so we need introduce to user a possibility to
    choose bootable disk explicitly.

    Change-Id: I22ffe9104d2ec5a6598d496691fffa0087111070
    Partial-Bug: #1567450

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

Reviewed: https://review.openstack.org/308877
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=5a56d6a4e8eaeb354f50772614bc947264c91056
Submitter: Jenkins
Branch: master

commit 5a56d6a4e8eaeb354f50772614bc947264c91056
Author: Krzysztof Szukiełojć <email address hidden>
Date: Thu Apr 21 12:04:59 2016 +0200

    Using bootable if set for disk

    If nailgun will send as bootable flag for disk we have to use this
    disk and place '/boot' on it

    Change-Id: I881d9fd4bb378dec78fd86aff0c314c910525110
    Closes-bug: 1567450

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/319080

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-agent (stable/mitaka)

Change abandoned by Sergey Slipushenko (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/309058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/309055
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=873b2762e25ad755e05da8d0fa775b05fb78df25
Submitter: Jenkins
Branch: stable/mitaka

commit 873b2762e25ad755e05da8d0fa775b05fb78df25
Author: sslypushenko <email address hidden>
Date: Wed May 11 19:54:42 2016 +0300

    Add bootable disk node flag

    Adding this flag to specified disk allows user to choose bootable disk
    from Fuel UI and CLi.

    This change is very important for deployments with multipath connected
    block devices. Mainly, it is because, order of disks in UI can change
    easly in this case, so we need introduce to user a possibility to
    choose bootable disk explicitly.
    (cherry picked from commit 2df11392ab6f28d828d48f2151f4903da888d216)
    Partial-Bug: #1567450

    Change-Id: I22ffe9104d2ec5a6598d496691fffa0087111070

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-agent (stable/mitaka)

Reviewed: https://review.openstack.org/319080
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=a3053e08d3a7f2440c44f15ba93519be77bc58d8
Submitter: Jenkins
Branch: stable/mitaka

commit a3053e08d3a7f2440c44f15ba93519be77bc58d8
Author: Krzysztof Szukiełojć <email address hidden>
Date: Thu Apr 21 12:04:59 2016 +0200

    Using bootable if set for disk

    If nailgun will send as bootable flag for disk we have to use this
    disk and place '/boot' on it

    Change-Id: I881d9fd4bb378dec78fd86aff0c314c910525110
    Closes-bug: 1567450
    (cherry picked from commit 5a56d6a4e8eaeb354f50772614bc947264c91056)

Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

Verified on fuel-9.0-mos-394-2016-05-24_06-18-59.iso

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/320518

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

Reviewed: https://review.openstack.org/314969
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=675736d72e1d7368e6ee3e815f052ecc2328c081
Submitter: Jenkins
Branch: master

commit 675736d72e1d7368e6ee3e815f052ecc2328c081
Author: Nikolay Bogdanov <email address hidden>
Date: Wed May 11 14:03:35 2016 +0300

    Make user possible to specify which node disk is bootable

    "Boot from" checkboxes added to node disks screen. Disk might be
    selected as bootable, as well as deselected. If no disk selected as
    bootable it's up to system to decide which one to use as bootable.

    Change-Id: I387a3ce2aaa6e7927ae9518e515a818fc23f12e2
    Partial-Bug: #1567450

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/320518
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=191b33b054354acd5be0d8deccb2889751ea1c5e
Submitter: Jenkins
Branch: stable/mitaka

commit 191b33b054354acd5be0d8deccb2889751ea1c5e
Author: Kate Pimenova <email address hidden>
Date: Tue May 24 18:10:10 2016 +0300

    Make user possible to specify which node disk is bootable

    "Boot from" checkboxes added to node disks screen. Disk might be
    selected as bootable, as well as deselected. If no disk selected as
    bootable it's up to system to decide which one to use as bootable.

    Change-Id: I387a3ce2aaa6e7927ae9518e515a818fc23f12e2
    Partial-Bug: #1567450

Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

Verified on fuel-10.0-278-2016-05-27_11-00-59.iso

Changed in fuel:
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.