[Bug 2073594] [NEW] Autoinstall fails when using recovery_keyfile workflow

James McKenzie 2073594 at bugs.launchpad.net
Fri Jul 19 11:13:53 UTC 2024


Public bug reported:

With the Ubuntu 24.04 Desktop ISO, and the latest stable ubuntu-desktop-
bootstrap snap (0+git.9b015d0d6), autoinstall is failing when attempting
to add a recovery key.

I have attached the relevant installer logs and autoinstall user-data.
I've inspected them myself and can see a python traceback which shows
that _expose_key function in `subiquity/subiquity/models/filesystem.py`
is failing when copying the recovery_key to the target system.

The key itself appears to be undefined for some reason.

I'm using /etc/machine-id as the recovery_keyfile for testing because
it's a single-line string and world readable.

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "installer.zip"
   https://bugs.launchpad.net/bugs/2073594/+attachment/5798578/+files/installer.zip

-- 
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/2073594

Title:
  Autoinstall fails when using recovery_keyfile workflow

Status in subiquity package in Ubuntu:
  New

Bug description:
  With the Ubuntu 24.04 Desktop ISO, and the latest stable ubuntu-
  desktop-bootstrap snap (0+git.9b015d0d6), autoinstall is failing when
  attempting to add a recovery key.

  I have attached the relevant installer logs and autoinstall user-data.
  I've inspected them myself and can see a python traceback which shows
  that _expose_key function in
  `subiquity/subiquity/models/filesystem.py` is failing when copying the
  recovery_key to the target system.

  The key itself appears to be undefined for some reason.

  I'm using /etc/machine-id as the recovery_keyfile for testing because
  it's a single-line string and world readable.

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




More information about the foundations-bugs mailing list