install failed crashed with FileNotFoundError (grep-status)

Bug #2042717 reported by Leó Kolbeinsson
152
This bug affects 16 people
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
ubuntu-desktop-installer
Fix Released
Undecided
Unassigned

Bug Description

Installing Ubuntu Noble Desktop daily ISO dated 04-11-2023

Fhe installation failed with FileNotFoundError

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.486
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Sat Nov 4 09:19:27 2023
DesktopInstallerRev: 1269
ExecutablePath: /snap/ubuntu-desktop-installer/1269/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/1269/usr/bin/python3.10
LiveMediaBuild: Ubuntu 24.04 "Noble Numbat" - Daily amd64 (20231104)
MachineType: AWOW Technology Co., Ltd. NY41
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/1269/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/1269/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.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
SnapChannel:

SnapRevision: 1269
SnapUpdated: False
SnapVersion: 0+git.1c719695
SourcePackage: subiquity
Title: install failed crashed with FileNotFoundError
UdiLog: Error: [Errno 40] Too many levels of symbolic links: '/var/log/installer/ubuntu_desktop_installer.log'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/22/2021
dmi.bios.release: 0.5
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GB5 0.05
dmi.board.asset.tag: Default string
dmi.board.name: NY41
dmi.board.vendor: AWOW Technology Co., Ltd.
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 35
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.ec.firmware.release: 1.1
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrGB50.05:bd01/22/2021:br0.5:efr1.1:svnAWOWTechnologyCo.,Ltd.:pnNY41:pvrDefaultstring:rvnAWOWTechnologyCo.,Ltd.:rnNY41:rvrDefaultstring:cvnDefaultstring:ct35:cvrDefaultstring:skuNY41:
dmi.product.family: Mini PC
dmi.product.name: NY41
dmi.product.sku: NY41
dmi.product.version: Default string
dmi.sys.vendor: AWOW Technology Co., Ltd.

Revision history for this message
Leó Kolbeinsson (leok) wrote :
information type: Private → Public Security
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/2042717

tags: added: iso-testing
Olivier Gayot (ogayot)
summary: - install failed crashed with FileNotFoundError
+ install failed crashed with FileNotFoundError (grep-status)
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

I just tested a 24.04 live daily 20231109 wich also results into the same bug described above

Revision history for this message
Olivier Gayot (ogayot) wrote :

A fixed landed in ubuntu-desktop-installer:

https://github.com/canonical/ubuntu-desktop-installer/pull/2388

Changed in subiquity:
status: New → Invalid
Olivier Gayot (ogayot)
Changed in ubuntu-desktop-installer:
status: New → In Progress
Revision history for this message
Mike Ferreira (mafoelffen) wrote (last edit ):

Tested: This is still same for today's Ubuntu Desktop Daily: Dated 2023-11-10 12:55

Not sure if 9 hours ago would hit that. So this might hit in tomorrow's build?

Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Tested: Noble Daily 2023-11-12. Same error at same point.

Revision history for this message
corrado venturini (corradoventu) wrote (last edit ):

According .manifest file in the daily dated 2023-11-12 07:10
desktop-installer is still old:
snap:ubuntu-desktop-installer stable/ubuntu-24.04 1269
and i had the same problem: https://bugs.launchpad.net/subiquity/+bug/2043304

Dan Bungert (dbungert)
information type: Public Security → Public
Revision history for this message
Mike Ferreira (mafoelffen) wrote (last edit ):

In the Mantic and Lunar installers with ubuntu-desktop-installer, if there is a newer git version at github, then it asked if the user wanted to update the installer to the newer git... I know in the autoinstall.yaml, usually the refresh is set to default on, with the channel default at stable... Right?

If you are saying there were changes pushed, even if the manifest is the same, then the refresh should see the newer git of ubuntu-desktop-installer, right?

If it is not seeing the newer, then does that mean the refresh may not be set to look for the newer? (Set to off)

Because with all these installs since the ISO's first hit the dailies, I have seen that behavior for the Server installs, but not for any Desktop install so far.

Just saying.

Revision history for this message
Mike Ferreira (mafoelffen) wrote :

Tested: Noble Daily 2023-11-14. Same error at same point.

Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

Hello,

> In the Mantic and Lunar installers with ubuntu-desktop-installer, if there is a newer git version at github, then it asked if the user wanted to update the installer to the newer git... I know in the autoinstall.yaml, usually the refresh is set to default on, with the channel default at stable... Right?

Yes, that would be correct, although we look for the new revision of the installer on the snap store, rather than GitHub.

$ snap info ubuntu-desktop-installer
name: ubuntu-desktop-installer
[...]
channels:
  latest/stable: 0+git.1c719695 2023-10-16 (1269) 137MB classic
  latest/candidate: 0+git.417b2d8a 2023-11-08 (1272) 137MB classic
  latest/beta: ↑
  latest/edge: ↑

The version in the candidate/beta/edge channel (rev 1272) has the fix so a snap refresh using latest/candidate should work. If you would like to experiment, you can try an autoinstall with:

refresh-installer:
  update: yes
  channel: candidate

or you can try stopping the installer, running `snap refresh ubuntu-desktop-installer --channel=latest/candidate` and then starting it again.

However, I don't know what the time-frame looks like for promoting a fixed version to the stable channel (this will be proposed as an update for lunar/mantic installs too so it requires testing). This is more a question for the desktop team.

Olivier

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

I've moved the current stable revisions to stable/ubuntu-23.10 now to not impact Mantic users and promoted the candidate version to stable and kicked a new ISO build, a fixed image should be available in an hour or so

Changed in ubuntu-desktop-installer:
status: In Progress → Fix Released
Revision history for this message
Nils Büchner (n.buechner) wrote :

Tested on today's daily ISO noble-desktop-amd64.iso / 2023-11-15 10:19
Installation was successful.

Revision history for this message
Neven (neven-3) wrote :

Will wait tomorrow to test ARM64, it seems it did not get update today (noble-desktop-arm64.iso - timestamp of build is 2023-11-15 07:20)

Revision history for this message
Neven (neven-3) wrote :

Checked noble-desktop-arm64.iso (2023-11-16 06:11) this morning, installer works now. Finally installed on Apple M1 Sonoma macOS v14.1.1 via UTM/QEMU. Works like charm. 👌

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.