Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
On 08/30/2018 05:38 PM, Pierre Couderc wrote: - About the problem "Instabiltie", I have found a mistake of mine that maybe may  explain : I had another release of lxd (dated 12 august) on the same computer, and I may  have started it by mistake ans this could explin the "instabilities". So

Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
But I have built following the instructions of "Installing LXD from source" from github.com/lxc/lxd/The only point is that I did not find liblxc-dev in stretch repository. Le jeudi 30 août 2018 à 17:17:00 UTC+2, Free Ekanayaka a écrit : It's not the "good one". You need to build it from

Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
- About the problem "Instabiltie", I have found a mistake of mine that maybe may  explain : I had another release of lxd (dated 12 august) on the same computer, and I may  have started it by mistake ans this could explin the "instabilities". So let us wait and now that I have cleared the old

Re: [lxc-users] Instabilties

2018-08-30 Thread Free Ekanayaka
It's not the "good one". You need to build it from source from: github.com/CanonicalLtd/sqlite or there debs here: https://launchpad.net/~dqlite-maintainers/+archive/ubuntu/master Pierre Couderc writes: > Maybe it is linked or not. > On another computer, I try to compile on stretch, but I

Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
Maybe it is linked or not. On another computer, I try to compile on stretch, but I cannot install liblixc-dev (does not iexist une stretch). I compile anyway and get  :   CCLD libdqlite.la /usr/bin/ld: cannot find -lsqlite3 collect2: error: ld returned 1 exit status Makefile:812: recipe for

Re: [lxc-users] Instabilties

2018-08-30 Thread Free Ekanayaka
Hello, yes, I believe I understand. What's puzzling is that I should be able to reproduce your problem using database. Would you mind sending me again a tarball of the /var/lib/lxd/database directory of a LXD which is currently broken? Just to double check. I don't have any other idea atm.

Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
When I start a new clean lxd instance, I can lxd init, launch first. Then I try to work, it works, I success import from other lxd. At some point, some lxc command fails, such as lxc copy (local). Then nothing works more, any lxc command get soxket error. If I reboot, "lxc ls" gives the same error

Re: [lxc-users] Instabilties

2018-08-30 Thread Free Ekanayaka
I have a few questions: 1) Does the failure happen when you start with a fresh lxd instance? 2) If the answer to 1) is "no", is there are repeatable process that you have that brings you from a fresh lxd instance to the point were it crashes with the failure you pasted? 3) Regardless of

Re: [lxc-users] Instabilties

2018-08-30 Thread Pierre Couderc
I am with lasts releases from git. For dqlite, last log is: commit f160665d9e50e39d156591546732a2e0b3712f73 Author: Free Ekanayaka Date:   Mon Aug 20 19:04:10 2018 +0200 Mmm, I can send you again my tarball but it will be the same as I did send you before...  It seems th eproblem is linked

Re: [lxc-users] Instabilties

2018-08-30 Thread Free Ekanayaka
Hello, this seems the same failure you reported earlier (thread with subject "lxd refuses to start ..."). When you sent me the database tarball last time, I didn't see any issue and I could not reproduce the failure. Can you please double check that your version of the dqlite C library is up to