[Bug 2039557] Re: TPMFDE installation fails for autoinstall

Dan Bungert 2039557 at bugs.launchpad.net
Tue Oct 17 14:58:40 UTC 2023


Hi James, thanks for the report.

The autoinstall looks fine - thanks for sharing, that always helps in
the debug.  If you'd like to rule out anything autoinstall specific, a
manual test should produce the same results.

We'll want logs to be able to analyze further - the contents of
/var/log/installer and the journal output are desired here.

If you're installing by way of a USB key, it should have a copy of the
logs from this install on the 4 partition, that should be enough.

If we do need to trigger this with autoinstall, adding the following to
your autoinstall should stop things right at the end and allow for
logfile collection if you're not using a USB key for the install:

```
late-commands:
  - while [ ! -f /run/finish ] ; do sleep 1 ; done
```

Would you do one of the above and get a copy of the logs?  Thanks.

** Also affects: snapd
   Importance: Undecided
       Status: New

** Changed in: subiquity (Ubuntu)
       Status: New => Incomplete

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

Title:
  TPMFDE installation fails for autoinstall

Status in snapd:
  New
Status in ubuntu-desktop-installer:
  New
Status in subiquity package in Ubuntu:
  Incomplete

Bug description:
  When installing Ubuntu 23.10.1 using the new ubuntu-desktop-installer with an autoinstall config and TPMFDE storage layout, the installation completes successfully but upon reboot is unable to unlock the disk.
  Note this is the FIXED ISO (16/10/2023) after the earlier issue with malicious translations.

  Instead I am prompted for the recovery key, which I am unable to
  acquire before rebooting into the newly installed system

  Below is the autoinstall config used

  ```
  #cloud-config
  autoinstall:
    version: 1
    interactive-sections:
      - keyboard
      - network
    locale: en_GB.UTF-8
    keyboard:
      layout: gb
    kernel:
      flavor: generic
    apt:
      geoip: true
      preserve_sources_list: false
      primary:
        - arches: [default]
          uri: 'http://archive.ubuntu.com/ubuntu'
    identity:
      hostname: unassigned-hostname
      username: redacted
      realname: redacted
      password: 'redacted'
    ssh:
      install-server: true
      authorized-keys: []
      allow-pw: true
    storage:
      grub:
        reorder_uefi: false
      layout:
        name: hybrid
        encrypted: yes
    user-data:
      timezone: Europe/London
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2039557/+subscriptions




More information about the foundations-bugs mailing list