Fuel installer wait for user input when boot from USB stick

Bug #1540862 reported by Maksym Strukov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka

Bug Description

Steps:
1. Connect Fuel image as usb drive (qemu)
2. Boot master node, select USB option or press Esc and type cmd manually:
vmlinuz initrd=initrd.img ks=hd:LABEL=Mirantis_Fuel:/ks.cfg repo=hd:LABEL=Mirantis_Fuel:/ ip=10.109.30.2::10.109.30.1:255.255.255.0:fuel.local:enp0s3:off::: dns1=8.8.8.8 showmenu=no wait_for_external_config=yes build_images=0
3. Wait for automatic installation completed..

Actual:
Installer waits for user input

Env:
9.0-164 (Libre)

Revision history for this message
Maksym Strukov (unbelll) wrote :
Revision history for this message
Maksym Strukov (unbelll) wrote :

High due to fuel-qa can't setup master node from USB

Changed in fuel:
importance: Undecided → High
Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel build team (fuel-build)
status: New → Confirmed
tags: added: area-build
Revision history for this message
Roman Vyalov (r0mikiam) wrote :

@alexander Bugs can be moved to Confirmed status only by the team that is currently assigned.

Changed in fuel:
status: Confirmed → New
Changed in fuel:
status: New → Confirmed
Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → New
Revision history for this message
Maksym Strukov (unbelll) wrote :
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Linux (mos-linux)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Maksym, is this reproduced on 8.0?

As long as the installation proceeds after user input, I think it's ok to move this to fix this in 8.0M1 (if 8.0 is affected).

tags: added: move-to-mu
Changed in fuel:
status: New → Confirmed
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

MOS Linux team, please take a look at this one.

Revision history for this message
Maksym Strukov (unbelll) wrote :

Roman, it's 9.0 bug, not reproduced in 8.0 at all.

tags: removed: move-to-mu
Roman Vyalov (r0mikiam)
tags: added: area-linux
removed: area-build
Changed in fuel:
assignee: MOS Linux (mos-linux) → Dmitry Teselkin (teselkin-d)
Revision history for this message
Maksym Strukov (unbelll) wrote :

Bump to critical as we don't have workaround here

Changed in fuel:
importance: High → Critical
tags: added: swarm-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/288007
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=c7a3b2d4f9a1f5cbbe0e0c2267f4d8064cb7150d
Submitter: Jenkins
Branch: master

commit c7a3b2d4f9a1f5cbbe0e0c2267f4d8064cb7150d
Author: Maksym Strukov <email address hidden>
Date: Thu Mar 3 19:46:36 2016 +0200

    Fix inst.repo / inst.ks kernel parameters for Anaconda for USB boot

    Adjusted as hd:LABEL:/ source are not suitable for installation from
    usb drive because Anaconda searching for ISO file with repo.
    Installation will fail if iso file can't be found. So we
    change `repo` to cdrom:OpenStack_Fuel:/ and `ks` to
    cdrom:OpenStack_Fuel:/ks.cfg both for cdrom and usb installation.

    Also `repo` and `ks` kernel parameters changed to `inst.repo` and `inst.ks`

    Change-Id: Icaf51417daa2426aa3714daa7a38d3c18b989de6
    Related-Bug: #1540862

Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Maksym Strukov (unbelll)
Changed in fuel:
assignee: Maksym Strukov (unbelll) → Dmitry Teselkin (teselkin-d)
Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :
Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Tatyanka (tatyana-leontovich)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/291925
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=8f94410601da9536d237c2333a523fc658b93653
Submitter: Jenkins
Branch: master

commit 8f94410601da9536d237c2333a523fc658b93653
Author: tatyana-leontovich <email address hidden>
Date: Fri Mar 11 22:09:39 2016 +0000

    "Fix inst.repo / inst.ks kernel parameters for Anaconda for USB boot""

    This is revert of reverted patch according to issue
    was fixed by https://review.fuel-infra.org/#/c/17997/

    This reverts commit 6e380e4e3d519fee0693a4d14597bd45154c1d01.
    Closes-Bug: #1540862

    Change-Id: I9652941b0b9f64007e81d5022579870f96152869

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/288333
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=9114053378be00cd4d94d849ffc07903f407153e
Submitter: Jenkins
Branch: master

commit 9114053378be00cd4d94d849ffc07903f407153e
Author: Dmitry Teselkin <email address hidden>
Date: Fri Mar 4 12:33:24 2016 +0300

    Fix anaconda boot parameters

    Anaconda boot parameters have been changed some time ago:
    * 'repo' and 'ks' deprecated, use 'inst.repo' and 'inst.ks' instead
    * 'harddrive' means "find and .iso file on partition and mount" and
      doesn't work correctly for USB boot

    Because of these changes we should use 'inst.repo=cdrom:...' and
    'inst.ks=cdrom:...' in 3rd boot option (USB boot). However, in that
    case the 1st and 3rd boot options can be combined together. This
    simplifies boot menu and QA framework.

    Change-Id: I52aa93c605fbfcd2acdd5ef2bd343516254f615e
    Closes-bug: #1540862

Revision history for this message
Maksym Strukov (unbelll) wrote :

Verified as fixed in 9.0-90

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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