Thanks Richard! Using your autoinstall file, I was able to reproduce the issue.
My previous assumption was that the call to `zpool export` was failing. But now it looks like it is not executed at all. No wonder the fix I came up with didn't work. probably because the len() test below returns 0. if len(self.model._all(type="zpool")) > 0: await self.app.command_runner.run(["zpool", "export", "-a"]) https://github.com/canonical/subiquity/blob/f20135f3c705f3862595b0d08f14286e7ee48c1a/subiquity/server/controllers/filesystem.py#L1647 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073772 Title: rpool fails to import on first boot after automated install (failed PRE_SHUTDOWN?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2073772/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs