[Bug 2073772] [NEW] rpool fails to import on first boot after automated install (failed PRE_SHUTDOWN?)

Launchpad Bug Tracker 2073772 at bugs.launchpad.net
Wed Jul 24 01:59:26 UTC 2024


You have been subscribed to a public bug:

After installing 24.04 with a zfs root, the system fails on first boot
with an error that the rpool belongs to another system. This suggests
that the installer is failing to export the pools after the install is
complete. The zpool import must be manually forced for the boot to
proceed, as in attached screenshot.

For greater context: I work with an infrastructure in which we network
boot machines from the ubuntu server ISO with a preseed to automate the
OS installation on our bare metal. The intended result is that we can
flag a server to be reinstalled, reboot it, and then wait until it comes
back up with a clean install, no user intervention required or desired.
For the 22.04 images this works fine and the server will install and
reboot cleanly. For the 24.04 installer, it doesn't, because of the
above error with the zpool after reboot. The same preseed that produces
a booting system from the 22.04(.4) ISO results in failure for the 24.04
version.

This seems to be the same ultimate failure mode as in
https://bugs.launchpad.net/subiquity/+bug/2049761, albeit in that issue
the reporting user used the desktop installer and it appears they may
have rebooted the system before the installer was completely finished.
That can't be the case for us as we're using the installer fully
automated and it is choosing if and when it restarts.

I will attach the installer-journal.txt log from the host, though
obviously that only extends as far as the moment the installer copies
its logfiles into the target. As the installation is done via netbooting
the ISO the installer environment itself is entirely ephemeral so the
complete logs from installation media are not available.

** Affects: subiquity (Ubuntu)
     Importance: Medium
         Status: Triaged

-- 
rpool fails to import on first boot after automated install (failed PRE_SHUTDOWN?)
https://bugs.launchpad.net/bugs/2073772
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to subiquity in Ubuntu.



More information about the foundations-bugs mailing list