Public bug reported:

Apr 20 13:34:31 sochi systemd[1]: lxd.service: Found left-over process 23952 
(lxd) in control group while starting unit. Ignoring.
Apr 20 13:34:31 sochi systemd[1]: This usually indicates unclean termination of 
a previous run, or service implementation deficiencies.
Apr 20 13:34:31 sochi systemd[1]: lxd.service: Found left-over process 11553 
(lxd) in control group while starting unit. Ignoring.
Apr 20 13:34:31 sochi systemd[1]: This usually indicates unclean termination of 
a previous run, or service implementation deficiencies.
Apr 20 13:34:31 sochi systemd[1]: lxd.service: Found left-over process 18101 
(lxd) in control group while starting unit. Ignoring.
Apr 20 13:34:31 sochi systemd[1]: This usually indicates unclean termination of 
a previous run, or service implementation deficiencies.
Apr 20 13:34:31 sochi lxd[15346]: lvl=warn msg="CGroup memory swap accounting 
is disabled, swap limits will be ignored." t=2018-04-20T13:34:31+0100
Apr 20 13:35:31 sochi lxd[15346]: lvl=eror msg="Failed to start the daemon: 
failed to open cluster database: failed to ensure schema: failed to begin 
transaction: gRPC BEGIN response error: rpc error: code = Unk
Apr 20 13:35:32 sochi lxd[15346]: Error: failed to open cluster database: 
failed to ensure schema: failed to begin transaction: gRPC BEGIN response 
error: rpc error: code = Unknown desc = failed to handle BEGIN 
Apr 20 13:35:32 sochi systemd[1]: lxd.service: Main process exited, 
code=exited, status=1/FAILURE

   Active: activating (start-post) (Result: exit-code) since Fri 2018-04-20 
13:34:31 BST; 1min 33s ago
     Docs: man:lxd(1)
 Main PID: 15346 (code=exited, status=1/FAILURE); Control PID: 15347 (lxd)


So the main process failed, but the poststart is still going. Imho `lxd 
waitready` process should establish the watch on the lxd.service and monitor if 
that has failed or not, and bail out if it has, as waiting for 600 timeout is 
inevitable given that lxd failed.

Also =( i'm sad that lxd failed to start. Is there a way for me to fix
the "cluster database"? i really want to keep my containers intact.....

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765699

Title:
  lxd fails to start main process, yet waitready doesn't bail out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1765699/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to