Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-07 Thread Tomasz Chmielewski
Tada! Works now, thanks a lot! # systemctl status snap.lxd.daemon ● snap.lxd.daemon.service - Service for snap application lxd.daemon Loaded: loaded (/etc/systemd/system/snap.lxd.daemon.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-05-07 14:45:31 CEST;

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-07 Thread Free Ekanayaka
Hello, I set a tarball of the repaired database to Tomasz privately. I simply deleted the last raft log entry which was broken, although there was not enough information to understand what caused the issue. There have been several fixes in dqlite in that area (rollback of failed transactions), s

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-07 Thread Free Ekanayaka
Hello, yes, I received it. I'm going to get through in the next few hours and get back to you. Cheers Tomasz Chmielewski writes: > On 2018-05-06 18:02, Tomasz Chmielewski wrote: > >>> Please would send us tar with the content >>> /var/snap/lxd/common/lxd/database? >>> (or /var/snap/lxd/common

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-07 Thread Tomasz Chmielewski
On 2018-05-06 18:02, Tomasz Chmielewski wrote: Please would send us tar with the content /var/snap/lxd/common/lxd/database? (or /var/snap/lxd/common/lxd/raft/, depending on which version of the snap you use). I believe this particular crash has been solved in our master branches, but probabl

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Tomasz Chmielewski
On 2018-05-06 17:55, Free Ekanayaka wrote: Perhaps it's related to the disk full issue? Maybe Stephane has more insight bout this. About the panic, I assume it's still the case that you can't start the LXD daemon because it panics at startup all the times? Correct. Please would send us tar

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Tomasz Chmielewski
On 2018-05-06 17:27, Tomasz Chmielewski wrote: On 2018-05-06 17:16, Tomasz Chmielewski wrote: On 2018-05-06 17:07, Tomasz Chmielewski wrote: I have a Ubuntu 16.04 server with LXD 3.0 installed from snap. I've filled the disk to 100% to get "No space left on device". (...) The same error sho

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Free Ekanayaka
Hello, Tomasz Chmielewski writes: > I have a Ubuntu 16.04 server with LXD 3.0 installed from snap. > > I've filled the disk to 100% to get "No space left on device". > > A while later, it was not possible to use "lxc shell container" or "lxc > list", because of: > > Error: Get http://unix.socke

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Tomasz Chmielewski
On 2018-05-06 17:16, Tomasz Chmielewski wrote: On 2018-05-06 17:07, Tomasz Chmielewski wrote: I have a Ubuntu 16.04 server with LXD 3.0 installed from snap. I've filled the disk to 100% to get "No space left on device". (...) The same error shows up after freeing space and restarting the se

Re: [lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Tomasz Chmielewski
On 2018-05-06 17:07, Tomasz Chmielewski wrote: I have a Ubuntu 16.04 server with LXD 3.0 installed from snap. I've filled the disk to 100% to get "No space left on device". (...) The same error shows up after freeing space and restarting the server. How to debug this? Also found this (pan

[lxc-users] filesystem full -> lxd won't start after freeing space

2018-05-06 Thread Tomasz Chmielewski
I have a Ubuntu 16.04 server with LXD 3.0 installed from snap. I've filled the disk to 100% to get "No space left on device". A while later, it was not possible to use "lxc shell container" or "lxc list", because of: Error: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.