Hello Richard,
I've been trying to reproduce this bug today; so far without success. I
used the following cloud-config:
```
#cloud-config
users:
- default
- name: root
ssh_authorized_keys:
- ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIMM/qhS3hS3+IjpJBYXZWCqPKPH9Zag8QYbS548iEjoZ
olivier@camelair
autoinstall:
version: 1
storage:
layout:
name: zfs
identity:
username: ubuntu
password:
'$6$wdAcoXrU039hKYPd$508Qvbe7ObUnxoj15DRCkzC3qO7edjH0VV7BPNRDYK4QR8ofJaEEF2heacn0QgD.f8pO8SNp83XNdWG6tocBM1'
realname: ''
hostname: ubuntest
```
I used the `users` section to give me SSH access to the installer
environment. (so I could run journalctl -f). Below is what the journal
captured before the machine starting rebooting; which seems to show that
the installer did the right thing for me:
```
Aug 20 15:26:50 ubuntu-server systemd[1]: Started run-u70.service -
/usr/sbin/zpool export -a.
Aug 20 15:26:50 ubuntu-server zed[21057]: eid=131 class=pool_export
pool='bpool' pool_state=EXPORTED
Broadcast message from root@ubuntu-server (Tue 2024-08-20 15:26:50 UTC):
The system will reboot now!
Aug 20 15:26:50 ubuntu-server zed[21059]: eid=132 class=config_sync
pool='bpool' pool_state=UNINITIALIZED
Aug 20 15:26:50 ubuntu-server zed[21061]: eid=133 class=pool_export
pool='rpool' pool_state=EXPORTED
Aug 20 15:26:50 ubuntu-server zed[21063]: eid=134 class=config_sync
pool='rpool' pool_state=UNINITIALIZED
Aug 20 15:26:50 ubuntu-server systemd[1]: run-u70.service: Deactivated
successfully.
Aug 20 15:26:50 ubuntu-server systemd-logind[1250]: The system will reboot now!
Aug 20 15:26:50 ubuntu-server subiquity_event.1510[1510]:
subiquity/Shutdown/shutdown: mode=REBOOT
```
Are you comfortable sharing the contents of your cloud-config /
autoinstall file so I can try locally?
Thank you,
Olivier
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs