encryption checkbox remains checked when choosing a different radio button in Advanced partitioning

Bug #2036126 reported by Brian Murray
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
ubuntu-desktop-installer
New
Low
Unassigned

Bug Description

I had switched from choosing LVM with encryption to ZFS when choosing an Advanced installation method and noticed that even though I had selected ZFS the encryption check box was still checked. I'd suspected things wouldn't go well and was correct!

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.482
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
Date: Thu Sep 14 22:51:00 2023
ExecutablePath: /snap/ubuntu-desktop-installer/1229/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/1229/usr/bin/python3.10
LiveMediaBuild: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230914)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 5000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
     |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/1229/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/1229/etc/subiquity/postinst.d
ProcEnviron:
 LANG=C.UTF-8
 LD_LIBRARY_PATH=<set>
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz layerfs-path=minimal.standard.live.squashfs --- quiet splash
Python3Details: /usr/bin/python3.11, Python 3.11.5, python3-minimal, 3.11.4-5
PythonDetails: N/A
SnapChannel:

SnapRevision: 1229
SnapUpdated: False
SnapVersion: 0+git.09349bf4
SourcePackage: subiquity
Title: request to /storage/v2/guided crashed with Exception
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/22/2023
dmi.bios.release: 0.0
dmi.bios.vendor: Ubuntu distribution of EDK II
dmi.bios.version: 2023.05-1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-8.0
dmi.modalias: dmi:bvnUbuntudistributionofEDKII:bvr2023.05-1:bd07/22/2023:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-8.0:cvnQEMU:ct1:cvrpc-q35-8.0:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-8.0
dmi.sys.vendor: QEMU

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

It's probably a bug that when deselecting the LVM radio button that encryption is still checked.

Revision history for this message
Brian Murray (brian-murray) wrote (last edit ):

Well testing it again with just ZFS causes it to crash so the actually crash is one issue and the checkbox still being checked is "just" a UI bug. I say the second part because choosing None and having encryption checked didn't cause a crash but I could be wrong.

Revision history for this message
Dan Bungert (dbungert) wrote :

Hey Brian,

I think this is a dupe of LP: #2034939. The backtrace shows that the original code is still in use.

Revision history for this message
Dan Bungert (dbungert) wrote :

Well, at least the crash is a dupe. The UI bug portion sounds worth fixing and is not covered by my change.

information type: Private → Public
tags: added: cuqa-manual-testing
Revision history for this message
Brian Murray (brian-murray) wrote :

Setting the subiquity task to Invalid given there is already a bug for that crash report.

summary: - request to /storage/v2/guided crashed with Exception
+ encryption checkbox remains checked when choosing a different radio
+ button
summary: encryption checkbox remains checked when choosing a different radio
- button
+ button in Advanced partitioning
Changed in subiquity:
status: New → Invalid
Changed in ubuntu-desktop-installer:
importance: Undecided → Low
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.