Rarely, rebooting a container by executing a reboot
from inside of it will simply power it off, and we need to start it up again with lxc start
.
Subsequent reboots work fine, so this is very hard to reproduce.
For example I just now rebooted a 22.04 Ubuntu container(8 weeks uptime) on a 20.04 host with LXD 5.13 on btrfs, and it went straight to STOPPED.
This has been happening for years I believe all the way back to LXD 3.x, it’s just so impossible to reproduce for me that I haven’t gotten around to reporting it until now.
How could I possibly diagnose it or get any meaningful information about this issue?