install w/ ZFS + encryption: `cryptsetup luksFormat /dev/zvol/rpool/keystore` failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
High
|
Dan Bungert | ||
ubuntu-desktop-provision |
Fix Released
|
Undecided
|
Unassigned | ||
subiquity (Ubuntu) |
Fix Released
|
Undecided
|
Dan Bungert |
Bug Description
When installing ZFS with Encryption, curtin may fail to create the keystore.
The symptom for this is the following in curtin-install.log
Unexpected error while running command.
Command: ['cryptsetup', 'luksFormat', '/dev/zvol/
Exit code: 4
Original Description below
---
Today's daily image, install in a VM via quickemu. I chose ZFS with encryption and the install fails with this error. The installer is still open but it says "install failed" in red at the bottom. (Or something like that, in German that's what it says."
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: subiquity (unknown)
ProcVersionSign
Uname: Linux 6.8.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.494
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/
CurtinAptConfig: /var/log/
Date: Tue Mar 12 14:01:15 2024
ExecutablePath: /snap/ubuntu-
InterpreterPath: /snap/ubuntu-
LiveMediaBuild: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240311)
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcAttrCurrent: snap.hostname-
ProcCmdline: /snap/hostname-
ProcEnviron:
LANG=C.UTF-8
LD_LIBRARY_
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
SnapChannel:
SnapRevision: 29
SnapUpdated: False
SnapVersion: 0+git.ea537ca1
SourcePackage: subiquity
Title: partitioning crashed with CurtinInstallError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/06/2015
dmi.bios.release: 0.0
dmi.bios.vendor: EFI Development Kit II / OVMF
dmi.bios.version: 0.0.0
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnEFIDevel
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.
dmi.sys.vendor: QEMU
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Michael Hudson-Doyle: Approve
-
Diff: 63 lines (+15/-4)2 files modifiedcurtin/block/zfs.py (+14/-4)
curtin/util.py (+1/-0)
- Server Team CI bot: Approve (continuous-integration)
- Michael Hudson-Doyle: Approve
-
Diff: 328 lines (+132/-47)6 files modifiedcurtin/block/zfs.py (+29/-20)
curtin/commands/block_meta.py (+23/-20)
curtin/util.py (+37/-0)
tests/unittests/test_block_zfs.py (+7/-7)
tests/unittests/test_commands_block_meta.py (+3/-0)
tests/unittests/test_util.py (+33/-0)
Changed in subiquity: | |
status: | Triaged → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Released |
summary: |
- Daily install w/ ZFS + encryption: partitioning crashed with - CurtinInstallError + install w/ ZFS + encryption: `cryptsetup luksFormat + /dev/zvol/rpool/keystore` failure |
Changed in subiquity: | |
status: | Triaged → In Progress |
Changed in subiquity (Ubuntu): | |
status: | New → In Progress |
milestone: | none → ubuntu-24.04 |
assignee: | nobody → Dan Bungert (dbungert) |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
Changed in subiquity (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in ubuntu-desktop-provision: | |
status: | New → Fix Committed |
Thanks for the bug report.
Is this repeatable for you? I suspect a timing glitch (and will pursue that angle).