[Bug 2057661] Re: install w/ ZFS + encryption: `cryptsetup luksFormat /dev/zvol/rpool/keystore` failure
Dan Bungert
2057661 at bugs.launchpad.net
Mon Apr 15 14:39:58 UTC 2024
** Description changed:
+ 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/rpool/keystore', ...
+ 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)
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.494
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
CurtinAptConfig: /var/log/installer/curtin-install/subiquity-curtin-apt.conf
Date: Tue Mar 12 14:01:15 2024
ExecutablePath: /snap/ubuntu-desktop-bootstrap/29/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-bootstrap/29/usr/bin/python3.10
LiveMediaBuild: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240311)
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcAttrCurrent: snap.hostname-desktop-bootstrap.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-bootstrap/29/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-bootstrap/29/etc/subiquity/postinst.d
ProcEnviron:
- LANG=C.UTF-8
- LD_LIBRARY_PATH=<set>
- PATH=(custom, no user)
+ LANG=C.UTF-8
+ LD_LIBRARY_PATH=<set>
+ PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.1-0ubuntu2
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.version: pc-q35-7.0
dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-7.0:cvnQEMU:ct1:cvrpc-q35-7.0:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-7.0
dmi.sys.vendor: QEMU
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2057661
Title:
install w/ ZFS + encryption: `cryptsetup luksFormat
/dev/zvol/rpool/keystore` failure
Status in subiquity:
Fix Committed
Status in subiquity package in Ubuntu:
Fix Committed
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/rpool/keystore', ...
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)
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.494
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
CurtinAptConfig: /var/log/installer/curtin-install/subiquity-curtin-apt.conf
Date: Tue Mar 12 14:01:15 2024
ExecutablePath: /snap/ubuntu-desktop-bootstrap/29/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-bootstrap/29/usr/bin/python3.10
LiveMediaBuild: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240311)
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcAttrCurrent: snap.hostname-desktop-bootstrap.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-bootstrap/29/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-bootstrap/29/etc/subiquity/postinst.d
ProcEnviron:
LANG=C.UTF-8
LD_LIBRARY_PATH=<set>
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
Python3Details: /usr/bin/python3.12, Python 3.12.2, python3-minimal, 3.12.1-0ubuntu2
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.version: pc-q35-7.0
dmi.modalias: dmi:bvnEFIDevelopmentKitII/OVMF:bvr0.0.0:bd02/06/2015:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-7.0:cvnQEMU:ct1:cvrpc-q35-7.0:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-7.0
dmi.sys.vendor: QEMU
To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2057661/+subscriptions
More information about the foundations-bugs
mailing list