Curtin fails to install Precise in UEFI mode - Unexpected error while running ['mkfs.fat', '-F', '32', '-n', 'efi', '/dev/sda1'] No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Trying to deploy Precise on a server in UEFI mode and it fails because curtin is looking for sda1 and there's not a sda1. There is a sda-part1 however.
mdadm: No arrays found in config file or automatically
Creating new GPT entries.
The operation has completed successfully.
mdadm: No arrays found in config file or automatically
The operation has completed successfully.
The operation has completed successfully.
An error occured handling 'sda-part1_format': ProcessExecutio
Command: ['mkfs.fat', '-F', '32', '-n', 'efi', '/dev/sda1']
Exit code: -
Reason: [Errno 2] No such file or directory
Stdout: ''
Stderr: ''
Unexpected error while running command.
Command: ['mkfs.fat', '-F', '32', '-n', 'efi', '/dev/sda1']
Exit code: -
Reason: [Errno 2] No such file or directory
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: "mdadm: No arrays found in config file or automatically\
Stderr: ''
File systems
NameSizeMountpo
sda-part1 536.9 MB /boot/efi fat32
sda-part2 298.5 GB / ext4
Available disks and partitions
Name Model Serial BootSizeDevice TypeFile systemTags
899.0 GB Physical rotary
Used disks and partitions
Name Model Serial BootDevice typeUsed for
sda Physical GPT partitioned with 2 partitions
sda-part1 Partition fat32 formatted filesystem mounted at /boot/efi
sda-part2 Partition ext4 formatted filesystem mounted at /
Related bugs:
* bug 1541077: curtin needs to support amd64 efi and precise
Related branches
- Ryan Harper (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 55 lines (+7/-5)4 files modifiedcurtin/block/mkfs.py (+4/-4)
curtin/deps/__init__.py (+1/-0)
debian/control (+1/-0)
tests/unittests/test_block_mkfs.py (+1/-1)
Changed in curtin: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |
no longer affects: | maas |
Those are maas/curtin versions: 1.9.0+bzr4533- 0ubuntu1~ trusty1 and 0.1.0~bzr314- 0ubuntu1