Ubuntu 18.04.2 LTS
one day i see that some of my containers are stopped. I look into lxd logs:
in lxd logs, i can see this:
t=2019-06-04T09:46:25+0200 lvl=info msg=“Asked to shutdown by API, shutting down containers”
t=2019-06-04T09:46:25+0200 lvl=info msg=“Shutting down container” [ …]
every container are shut down
question: “Asked to shutdown by API”: that mean lxd got a restart order for all containers?
and just after shutdown, the restart action:
t=2019-06-04T09:46:43+0200 lvl=info msg=“LXD 3.13 is starting in normal mode” path=/var/snap/lxd/common/lxd
t=2019-06-04T09:46:43+0200 lvl=info msg=“Starting container” action=start […]
lot of containers are restarted but not all.
Some are not, and i don’t know why.
None of the restarted container have the boot.autostart set to yes.
So why some are restarted and not others?