ntfsresize under curtin fails to resize when ntfsresize under ubiquity would

Bug #2016858 reported by Sebastien Bacher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
Undecided
Unassigned

Bug Description

Trying to install on a machine with a windows partition and resizing it from the installer

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.480
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Tue Apr 18 09:32:30 2023
DesktopInstallerRev: 937
ExecutablePath: /snap/ubuntu-desktop-installer/937/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/937/usr/bin/python3.10
LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
MachineType: HP HP EliteBook 840 G9 Notebook PC
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/937/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/937/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.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
SnapChannel:

SnapRevision: 937
SnapUpdated: False
SnapVersion: 0+git.aafcbe5b
SourcePackage: subiquity
Title: install failed crashed with CalledProcessError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/15/2021
dmi.bios.release: 46.1
dmi.bios.vendor: HP
dmi.bios.version: U70 Ver. 00.46.01
dmi.board.name: 896D
dmi.board.vendor: HP
dmi.board.version: KBC Version 02.26.00
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 2.38
dmi.modalias: dmi:bvnHP:bvrU70Ver.00.46.01:bd12/15/2021:br46.1:efr2.38:svnHP:pnHPEliteBook840G9NotebookPC:pvr:rvnHP:rn896D:rvrKBCVersion02.26.00:cvnHP:ct10:cvr:sku1234567#ABA:
dmi.product.family: 103C_5336AN HP EliteBook
dmi.product.name: HP EliteBook 840 G9 Notebook PC
dmi.product.sku: 1234567#ABA
dmi.sys.vendor: HP

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

Curtin log reports:
Running command ['ntfsresize', '-s', '778174464000', '/dev/nvme0n1p3'] with allowed return codes [0] (capture=False)
ntfsresize v2021.8.22 (libntfs-3g)
ERROR: Volume is scheduled for check.
Run chkdsk /f and please try again, or see option -f.

A subsequent Ubiquity install was run successfully after this without doing what ntfsresize requested (run chkdsk).

Dan Bungert (dbungert)
summary: - install failed crashed with CalledProcessError
+ ntfsresize under curtin fails to resize when ntfsresize under ubiquity
+ would
Changed in subiquity:
status: New → Fix Committed
information type: Private → Public
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/2016858

tags: added: iso-testing
Revision history for this message
Dan Bungert (dbungert) wrote :

We believe this issue has been resolved in Subiquity 23.04.2.

If you had tested this with a pre-final version of Ubuntu 23.04, it's
recommended to download the final install media.

For testing with Ubuntu Server 22.04.x or 20.04.x, when running
Subiquity, you should offered a new version of the installer. Please
take that update to version 23.04.2 or later to get the fix.

If this is still a problem for you, please make a comment and set the state
back to New. Thank you for the bug report.

Changed in subiquity:
status: Fix Committed → Fix Released
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.