TPMFDE installation fails for autoinstall

Bug #2039557 reported by James Paton-Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned
ubuntu-desktop-installer
New
Undecided
Unassigned
subiquity (Ubuntu)
Incomplete
Undecided
Unassigned

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
```

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

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.

Changed in subiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
James Paton-Smith (jamesps) wrote :

I've attached a .zip of the full /var/log/installer folder from the live-session.

Let me know if you need anything else

Revision history for this message
James Paton-Smith (jamesps) wrote :

I missed the journal last time so here's a new set of logs which also includes the systemd journal

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.