[Bug 1976585] Re: Ubiquity Installer Crash (Consistently Repeatable)

Nick Rosbrook 1976585 at bugs.launchpad.net
Fri Sep 30 20:06:44 UTC 2022


I was able to re-produce this in a QEMU/KVM setup using
https://releases.ubuntu.com/22.04.1/ubuntu-22.04.1-desktop-amd64.iso. My
installation also failed at the 'Initializing Key Store' stage, however
I failed to copy my logs before deleting the VM. From the attached
UbiquitySyslog.txt, I think this is the relevant part:

Jun  2 04:16:53 ubuntu ubiquity: I: Initializing Key Store
Jun  2 04:16:53 ubuntu ubiquity: Device /dev/zvol/rpool/keystore does not exist or access denied.
Jun  2 04:16:53 ubuntu ubiquity[6225]: log-output -t ubiquity /usr/share/ubiquity/zsys-setup init
Jun  2 04:16:53 ubuntu ubiquity[6225]: Starting the installation
Jun  2 04:16:53 ubuntu systemd-udevd[11969]: zd0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/zd0' failed with exit code 1.
Jun  2 04:16:53 ubuntu ubiquity[6225]: debconffilter_done: ubi-timezone (current: ubi-timezone)
Jun  2 04:16:53 ubuntu ubiquity[6225]: Step_before = stepLocation
Jun  2 04:16:53 ubuntu ubiquity[6225]: switched to page usersetup
Jun  2 04:16:53 ubuntu ubiquity: Traceback (most recent call last):
Jun  2 04:16:53 ubuntu ubiquity:   File "/usr/share/ubiquity/install.py", line 769, in <module>
Jun  2 04:16:53 ubuntu ubiquity:     install = Install()
Jun  2 04:16:53 ubuntu ubiquity:   File "/usr/share/ubiquity/install.py", line 69, in __init__
Jun  2 04:16:53 ubuntu ubiquity:     assert os.path.ismount(self.target), \
Jun  2 04:16:53 ubuntu ubiquity: AssertionError: Failed to mount the target: /target

FWIW, I think my error was different, but still at the 'Initializing Key
Store' stage.

** Also affects: ubiquity (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: ubiquity (Ubuntu Jammy)
       Status: New => Confirmed

** Changed in: ubiquity (Ubuntu Jammy)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1976585

Title:
  Ubiquity Installer Crash (Consistently Repeatable)

Status in ubiquity package in Ubuntu:
  Confirmed
Status in ubiquity source package in Jammy:
  Confirmed

Bug description:
  Ubiquity installer fails with the following steps, booting off a 22.04
  LTS USB.

  Steps to reproduce:
  - Select: *Try or Install Ubuntu [wait for bootup]
  - Select: Try Ubuntu (with English) [wait for boot]
  - Run "Install Ubuntu 22.04 LTS" icon in the top left corner of the screen [Shows Install / Welcome screen]
  - Select English, click on Continue
  - Select English (US) / English (US) for keyboard layout, click on Continue
  - Select Normal Installation, Install thrid-party software, Configute secure boot, entered password, click on Continue
  - Select Erase disk and install Ubuntu, Advanced features..., Erase disk and use ZFS, Encrypt the new Ubuntu installation, click OK, click Install Now
  - Enter a security key, click Install Now
  - View "Write the changes to disks?" (single drive computer, partitions: vfat, swap, bpool, rpool), click Continue
  - View "Where are you?", select Los Angeles, click Continue
  - Installer crashed.

  Looking at /var/log/syslog, I see the following consistently with
  every try:

  Jun  2 04:16:53 ubuntu ubiquity[6225]: switched to page usersetup
  Jun  2 04:16:53 ubuntu ubiquity: Traceback (most recent call last):
  Jun  2 04:16:53 ubuntu ubiquity:   File "/usr/share/ubiquity/install.py", line 769, in <module>
  Jun  2 04:16:53 ubuntu ubiquity:     install = Install()
  Jun  2 04:16:53 ubuntu ubiquity:   File "/usr/share/ubiquity/install.py", line 69, in __init__
  Jun  2 04:16:53 ubuntu ubiquity:     assert os.path.ismount(self.target), \
  Jun  2 04:16:53 ubuntu ubiquity: AssertionError: Failed to mount the target: /target

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubiquity 22.04.15
  ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
  Uname: Linux 5.15.0-25-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.470
  Date: Wed Jun  1 21:17:24 2022
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1976585/+subscriptions




More information about the foundations-bugs mailing list