I’m seeing some strange power-off behavior in LXD containers. This is happening with Ubuntu, AlmaLinux, and CentOS images. Syslog shows a non-graceful shutdown, but nothing related to this in LXD logs
Not sure how to debug this.
Could this be caused by the OOM killer? I mean is OOM killer killing the container? If so, can you say what to look for in the logs to determine this?
Which logs would you want to see specifically? lxd info --show-log shows nothing out of the ordinary, the syslog in the container just stops at the poweroff event and we see nothing suspicious in the host syslog either.
Our problem is exactly this: We don’t know where to look or what to log to get nearer as to what’s causing this issue
The container just suddenly reports as stopped. We are not stopping the container in our systems, it just reports as powered off. When checking the logs, as mentioned, we see what looks like a sudden shutdown, similar to running “lxd stop --force”