ISO install fails with NVMe disks

Bug #1989814 reported by Bob Church
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Bob Church

Bug Description

Brief Description
-----------------
Installs with NVMe root disks will fail in the kickstart %mkfs hook

mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to open /dev/nvme0n12: No such file or directory
Installation failed.
2022-09-15 02:06:27.794 kickstart mkfs warn: All-in-one-lowlatency Installation Failed: ERROR: Failed UEFI filesystem init: /dev/nvme0n12, rc=0
... dropping to shell ; exit to reboot ...
bash: cannot set terminal process group (-1): Inappropriate ioctl for device

Severity
--------
Critical for installs for NVMe drives

Steps to Reproduce
------------------
Attempt to install to an NVMe disk

Expected Behavior
------------------
host installs correctly

Actual Behavior
----------------
See description above

Reproducibility
---------------
100%

System Configuration
--------------------
AIO-SX with NVMe root disk

Branch/Pull Time/Commit
-----------------------
master branch

Last Pass
---------
worked prior to kickstart re-org for preserving platform backups

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Sanity

Workaround
----------
None

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/metal/+/857986

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

Reviewed: https://review.opendev.org/c/starlingx/metal/+/857986
Committed: https://opendev.org/starlingx/metal/commit/cdeb8c314ca6a5b5228561a0b9cfac9bf75b617c
Submitter: "Zuul (22348)"
Branch: master

commit cdeb8c314ca6a5b5228561a0b9cfac9bf75b617c
Author: Robert Church <email address hidden>
Date: Thu Sep 15 16:44:42 2022 -0500

    Debian: Handle NVMe disk formatting in %mkfs hook

    Update the %mkfs kickstart hook to look for NVMe devices and adjust the
    device name when formatting partitions and creating the volume group.

    Test Plan:
    PASS - VBox AIO-SX UEFI/NVMe ISO install
    PASS - VBox AIO-SX BIOS/SATA ISO install
    PASS - VBox AIO-SX UEFI/SATA ISO install

    NOTE: VBox BIOS/NVMe combo not supported

    Change-Id: I990f4d0f2a19e56b797acddab3a4e359f79c247b
    Closes-Bug: #1989814
    Signed-off-by: Robert Church <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.config stx.debian
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.