fail uefi install to nvme (NVM Express) device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Medium
|
Scott Moser | ||
curtin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Vivid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Attempting install to a system (horsea) that has a NVME device with maas. That failed. Further investigation on the system shows:
# cat /sys/firmware/
ACPI20=0x7b7fe014
ACPI=0x7b7fe000
SMBIOS=0x788fb000
# cat /proc/partitions
major minor #blocks name
259 0 390711384 nvme0n1
259 3 390185048 nvme0n1p1
259 4 524288 nvme0n1p15
8 0 1433600 sda
# /var/lib/
LABEL='curtin'
PREFIX='curtin'
COMMAND=( 'curtin' 'install' '--config=
CREATE_TIME='Mon, 06 Jul 2015 18:04:06 +0000'
MD5SUM=
# cd /curtin
# './bin/curtin' --showtrace -vvv 'install' '--config=
Creating new GPT entries.
The operation has completed successfully.
using sys/class/
using sys/class/
using sys/class/
wiping start of '/dev/nvme0n1p1' with size=399549489664 count=1 bs=1048576.
using sys/class/
wiping start of '/dev/nvme0n1p15' with size=536870912 count=1 bs=1048576.
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
/dev/nvme0n115: No such file or directory
mkfs.fat 3.0.26 (2014-03-07)
failed to partition :' for UEFI vfat
creating partition with: partition --format=uefi /dev/nvme0n1 took 1.139 seconds
Traceback (most recent call last):
File "/curtin/
sys.
File "curtin/
meta_
File "curtin/
util.subp, ptcmd)
File "curtin/
return func(*args, **kwargs)
File "curtin/util.py", line 96, in subp
return _subp(*args, **kwargs)
File "curtin/util.py", line 67, in _subp
cmd=args)
ProcessExecutio
Command: ['partition', '--format=uefi', '/dev/nvme0n1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Unexpected error while running command.
Command: ['partition', '--format=uefi', '/dev/nvme0n1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
builtin command failed
builtin took 1.379 seconds
stage_partitioning took 1.379 seconds
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: 'Running command [\'lsblk\', \'--noheadings\', \'--bytes\', \'--pairs\', \'--output=
Stderr: ''
Success
powering off with ['sh', '-c', 'sleep "$1" && shift; [ -f /run/block-
Running command ['sh', '-c', 'sleep "$1" && shift; [ -f /run/block-
Simplified, that looks like:
# ./helpers/partition --format=uefi /dev/nvme0n1
Creating new GPT entries.
The operation has completed successfully.
mkfs.fat 3.0.26 (2014-03-07)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
/dev/nvme0n115: No such file or directory
failed to partition :' for UEFI vfat
This is related to bug 1401190, but that bug did fix it for many/most paths.
This bug is specific to uefi remaining case.
Related Bugs:
* bug 1401190: curtin makes assumptions about partition names on all devices
Changed in curtin: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu Vivid): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
fix committed in revno 222