Mmm, n'est-ce pas le marteau pour écraser la mouche..?
On 08/23/2016 10:45 PM, Tycho Andersen wrote:
On Tue, Aug 23, 2016 at 08:40:33PM +, P. Lowe wrote:
For socket activation of the LXD daemon or socket activation of a container?
For socket activation of the LXD daemon,
On 10/25/2017 11:45 AM, Simos Xenitellis wrote:
On Sat, Oct 21, 2017 at 3:34 AM, Pierre Couderc <pie...@couderc.eu> wrote:
I have installed LXD on stretch following Stéphane
https://stgraber.org/2017/01/18/lxd-on-debian.
But, this LXD was a trial. I have installed, it works immed
Sorry, I have not fount it.
I have installed LXD on stretch following Stéphane
https://stgraber.org/2017/01/18/lxd-on-debian.
Fine ! an infinite progress after my successful install of lxc on
jessie, it seems to me 20 years ago, following :
On 10/21/2017 06:12 AM, Fajar A. Nugraha wrote:
Note that it's MUCH easier to use lxd on ubuntu 16.04, with
xenial-backports to get the 'best' combination of 'new features' and
'tested'. It has lxd 2.18, with support for storage pools. If you're
using this version, the most relevant
I have built LXD from sources with
go get github.com/lxc/lxd
cd $GOPATH/src/github.com/lxc/lxd
make
I suppose that gives me master branch, but for produciton I thnk better
to use 2.0.
1- Do I think good ?
2- How to do that ?
Thanks devoloppers for thi sgreat LXD.
PC
On 12/27/2017 08:26 PM, Pierre Couderc wrote:
I have built LXD from sources with
go get github.com/lxc/lxd
cd $GOPATH/src/github.com/lxc/lxd
make
I suppose that gives me master branch, but for produciton I thnk
better to use 2.0.
1- Do I think good ?
2- How to do that ?
I anwer myself
Sorry : lxd build failure
On 08/11/2018 08:37 AM, Pierre Couderc wrote:
Trying to build lxd from sources, I get a message about sqlite3
missing, and an invite to "make deps".
But it fails too with :
No package 'sqlite3' found
Consider adjusting the PKG_CONFIG_PATH environmen
Trying to build lxd from sources, I get a message about sqlite3 missing,
and an invite to "make deps".
But it fails too with :
No package 'sqlite3' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may
On 08/12/2018 07:33 PM, Pierre Couderc wrote:
On 08/12/2018 05:07 PM, Stéphane Graber wrote:
.
Thank you Stéphane, it builds on Debian 9.5, Now, I shall install it !
But it fails to start with :
nous@couderc:~/go/src/github.com/lxc/lxd$ sudo -E $GOPATH/bin/lxd
--group sudo
/home/nous/go
On 08/12/2018 05:07 PM, Stéphane Graber wrote:
On Sun, Aug 12, 2018 at 09:09:41AM +0200, Pierre Couderc wrote:
Install libcap-dev, that should provide that header. I'll look at
updating the dependencies (external to Go anyway).
Thank you Stéphane, it builds on Debian 9.5, Now, I shall
On 08/11/2018 11:45 PM, Stéphane Graber wrote:
https://github.com/lxc/lxd/pull/4908 will take care of the
PKG_CONFIG_PATH problem. With that I can build fine without
libsqlite3-dev on my system.
Merci pour la réaction du samedi soir...
I had too to install libuv1-dev. I suggest updating the
On 08/11/2018 05:07 PM, Fajar A. Nugraha wrote:
I believe the script basically needs this file:
/usr/lib/pkgconfig/sqlite.pc
On ubuntu 18.04, it's provided by libsqlite0-dev.
If you install sqlite manually from source (e.g. you have it on
/usr/local/lib/pkgconfig/sqlite.pc),
On 08/13/2018 04:53 AM, Stéphane Graber wrote:
The way you invoked sudo will strip your LD_LIBRARY_PATH causing that
error.
You can instead run "sudo -E -s" and then run "lxd --group sudo" and it
should then start fine.
Thank you : it starts !
___
On 08/11/2018 03:36 PM, Andrey Repin wrote:
Greetings, Pierre Couderc!
Thank you very much, Andrey !
What OS(distribution) you are using?
Debian stretch
And I have used :
https://github.com/AlbanVidal/make-deb-lxd/blob/master/00_install_required_packages.sh
Did you install sqlite3
On 08/11/2018 05:50 PM, Andrey Repin wrote:
Enable source repos.
Please explain me better. At my knowledge, lxd is not available under
stretch... which source repos are you speaking of ?
Run
apt-get source
apt-get build-dep
___
lxc-users
On 08/10/2018 05:27 AM, Fajar A. Nugraha wrote:
On Thu, Aug 9, 2018 at 7:57 PM, Pierre Couderc <mailto:pie...@couderc.eu>> wrote:
On 08/09/2018 11:30 AM, Fajar A. Nugraha wrote:
Basically you'd just need to copy /var/lib/lxd and whatever
storage backend you use (
On 08/18/2018 05:48 PM, Pierre Couderc wrote:
On 08/18/2018 04:16 PM, Stéphane Graber wrote:
On Sat, Aug 18, 2018 at 12:02:02PM +0200, Pierre Couderc wrote:
Error: Failed container creation:
- https://192.168.163.1:8443: Error transferring container data:
exit status 12
- https://[2a01
If for any reason, "lxc copy" does not work, is it enough to copy
(rsync) /var/lib/lxd/containers/ to another lxd on another computer
in /var/lib/lxd/containers/ ?
PC
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
On 08/25/2018 01:14 PM, Fajar A. Nugraha wrote:
clients store list of remotes (as well as client certificate for that
user) in ~/.config/lxc/
ah, yes in ~/.config/lxc/config.yml ...
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
Paying with lxd to understand it more (and because of a mysterious
failure), I decide to reinit the whole lxd, as I delete the full
/var/lib/lxd and excutes lxd init.
So I am surprised that :
lxd remote list
finds me old remote lxds from the old installation...
Are they stored elsewhere ?
Sure, I send it you by separate mail
On 08/26/2018 11:01 AM, Free Ekanayaka wrote:
Hello,
does this happen consistently? If so, could you please make a tarball of
the /database directory and send it to me? It might
be some bug in database code.
Free
Pierre Couderc writes:
...and I am
I have this error. All is here :
nous@couderc:~$ lxc version
Client version: 3.3
Server version: 3.3
nous@couderc:~$ lxc version 192.168.163.1:
Client version: 3.3
Server version: 2.21
nous@couderc:~$ lxc list 192.168.163.1:
On 08/18/2018 04:16 PM, Stéphane Graber wrote:
On Sat, Aug 18, 2018 at 12:02:02PM +0200, Pierre Couderc wrote:
Error: Failed container creation:
- https://192.168.163.1:8443: Error transferring container data: exit status
12
- https://[2a01:a34:eaaf:c5f0:ca60:ff:fa5a:fd23]:8443: Error
On 08/23/2018 07:37 AM, Tamas Papp wrote:
On 08/23/2018 05:36 AM, Pierre Couderc wrote:
If for any reason, "lxc copy" does not work, is it enough to copy
(rsync) /var/lib/lxd/containers/ to another lxd on another
computer in /var/lib/lxd/containers/ ?
Copy the folder (watch
On 08/23/2018 09:24 AM, Fajar A. Nugraha wrote:
On Thu, Aug 23, 2018 at 2:07 PM, Pierre Couderc <mailto:pie...@couderc.eu>> wrote:
On 08/23/2018 07:37 AM, Tamas Papp wrote:
On 08/23/2018 05:36 AM, Pierre Couderc wrote:
If for any reason, "lxc copy&
On 08/23/2018 12:14 PM, Fajar A. Nugraha wrote:
On Thu, Aug 23, 2018 at 2:38 PM, Pierre Couderc <mailto:pie...@couderc.eu>> wrote:
On 08/23/2018 09:24 AM, Fajar A. Nugraha wrote:
On Thu, Aug 23, 2018 at 2:07 PM, Pierre Couderc
mailto:pie...@couderc.eu>> wrote:
On 08/23/2018 12:14 PM, Fajar A. Nugraha wrote:
On Thu, Aug 23, 2018 at 2:38 PM, Pierre Couderc <mailto:pie...@couderc.eu>> wrote:
On 08/23/2018 09:24 AM, Fajar A. Nugraha wrote:
On Thu, Aug 23, 2018 at 2:07 PM, Pierre Couderc
mailto:pie...@couderc.eu>> wrote:
...and I am lost in the messages :
nous@couderc:~$ export GOPATH=~/go
...
nous@couderc:~/go/bin$ sudo -E -s
root@couderc:~/go/bin# nohup lxd --group sudo&
[1] 1228
root@couderc:~/go/bin# nohup: les entrées sont ignorées et la sortie est
ajoutée à 'nohup.out'
ls
deps fuidshift lxc
Where can I find a howto for lxd on a an ultramobile with wifi only ?
I find some posts aged 2014 and more modern posts saying it is not
possible with wifi.
I want to install many containers accessing internet, or being acessed
from internet.
Thanks
PC
On 07/23/2018 12:12 PM, Fajar A. Nugraha wrote:
Relevant to all VM-like in general (including lxd, kvm and virtualbox):
- with the default bridged setup (on lxd this is lxdbr0),
VMs/containers can access internet
(...)
- bridges (including macvlan) does not work on wifi
Sorry, it is not
On 07/23/2018 12:37 PM, Fajar A. Nugraha wrote:
On Mon, Jul 23, 2018 at 5:33 PM, Pierre Couderc <mailto:pie...@couderc.eu>> wrote:
On 07/23/2018 12:12 PM, Fajar A. Nugraha wrote:
Relevant to all VM-like in general (including lxd, kvm and
virtualbox):
- with th
eed 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 cannot install
> lib
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 "ins
have cleared the old release
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 source from:
github.com/CanonicalLtd/sqlite
or there debs here:
https://launchpad.net/~dqlite-maintainers/+archive/ubuntu/master
Pi
Currently I heve many instabilities with lxd.
When I try to start it, I get :
nous@couderc:~$ export GOPATH=~/gonous@couderc:~$ sudo -E -sroot@couderc:~#
echo
$LD_LIBRARY_PATH/home/nous/go/deps/sqlite/.libs/:/home/nous/go/deps/dqlite/.libs/root@couderc:~#
cd go/binroot@couderc:~/go/bin# lsdeps
On 01/08/2018 06:31 AM, Rajil Saraswat wrote:
On 01/07/2018 10:41 PM, Stéphane Graber wrote:
On Sun, Jan 07, 2018 at 08:46:40PM -0500, Stéphane Graber wrote:
Given that it's reporting a scheduler problem, it's likely that one (or more)
of the 4 keys above at the problem as some of those
When I try to start freeswitcth in freeswitch.service with :
IOSchedulingClass=realtime
it fails, but seems to start when I comment it.
So my question is : is it possible ?
And if yes, how to parametrize the container ?
Is there some howto ?
Thank you in advance
Pierre Couderc
No answer, it is it is not possible ?
Please explain me..
On 03/14/2018 04:46 PM, Pierre Couderc wrote:
When I try to start freeswitcth in freeswitch.service with :
IOSchedulingClass=realtime
it fails, but seems to start when I comment it.
So my question is : is it possible ?
And if yes
On 03/21/2018 11:56 PM, Stéphane Graber wrote:
A privileged container migth be able to set some of those scheduling
flags, an unprivileged container will not be able to for sure.
Thank you. My mistake is that I - wrongly - thought that LXD worked only
wiyh unprivileged containers...
] Error 2
So I apt install libsqlite3_dev and then deps build.
But is it the "good" libsqlite3 ?
Le jeudi 30 août 2018 à 15:16:55 UTC+2, Pierre Couderc
a écrit :
Well, I prepare it and I send it you. First time I had removed the containers
this time I let them. Please con
ble 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 the answers to 1) and 2), does the failure happen
consistently? I.e. does it happen every time you run "lxc ls".
Free
Pierre Coude
r $GOPATH/github.com/CanonicalLtd/go-dqlite
and compare it with github.
If all your dependencies turn out to be up-to-date, you may want to
again send me a tarball of your /var/lib/lxd/database directory, and
I'll double check too.
Free
Pierre Couderc writes:
> Currently I heve many instabili
On 09/23/2018 09:30 PM, Andrey Repin wrote:
I would check that you don't have two name resolution daemons running at once.
All too often I've seen systemd-resolved and resolvconf running in parallel,
causing all sort of trouble.
You have to select one of them and disable another, if this is
On 09/24/2018 10:20 AM, Andrey Repin wrote:
If you are asking such questions, you definitely should not build anything
yourself.
Thank you for you efficient answer that I definitely intend not to
follow ;)
Maybe my question is not very subtle. But you could answer me something like
On 09/25/2018 08:24 AM, Fajar A. Nugraha wrote:
If it doesn't fit your requirement and you still need to build it
yourself, try
https://github.com/lxc/lxd#installing-lxd-from-source
https://github.com/lxc/lxd/releases/tag/lxd-3.5
Thank you very much. I go on.
On 09/25/2018 03:35 PM, Pierre Couderc wrote:
I have found a solution without building myself !
By using some specific ubuntu .deb in debian environment
(liblxc1_3.0.0-0ubuntu2_amd64.deb lxd_3.0.0-0ubuntu4_amd64.deb
liblxc-common_3.0.0-0ubuntu2_amd64.deb
lxd-client_3.0.0-0ubuntu4_amd64.deb
On 09/23/2018 11:43 AM, Andrey Repin wrote:
Greetings, Pierre Couderc!
Thnk you.
root@server:~/ls# ls -lha
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root 0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
root@server:~/ls# rmdir
/var/lib/lxd
n B. (1) I launched a container on A, (2) generate image of the container on A,
(3) copy the image from A to B, (4) import the image on B, (5) finally launch
container from the imported image on B.
Of course these steps are tedious and I hope there’s a better way.
2018/09/23 16:12、Pierre Couderc
root@server:~/ls# ls -lha
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root 0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
root@server:~/ls# rmdir
/var/lib/lxd/storage-pools/default/containers/ajeter/
rmdir: failed to remove
lxd just installed by apt on a freshly installed bionic, and after lxd
init :
lxc launch ubuntu:16.04 my-ubuntu
Creating my-ubuntu
Error: Failed container creation: Get
https://cloud-images.ubuntu.com/releases/streams/v1/index.json: lookup
cloud-images.ubuntu.com on 127.0.0.53:53: server
On 09/25/2018 08:24 AM, Fajar A. Nugraha wrote:
I'd recommend you try lxd snap first instead of building yourself.
https://packages.debian.org/snapd
https://snapcraft.io/lxd
Mmm, I la not ready to use a system which updates my sytem automatically
without asking me.
If it doesn't fit your
On 09/24/2018 03:27 PM, Tomasz Chmielewski wrote:
I'm not able to start any container today.
# lxc start preprod-app
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart preprod-app
/var/snap/lxd/common/lxd/containers
/var/snap/lxd/common/lxd/logs/preprod-app/lxc.conf:
Try `lxc info
Strange ls -lh :
On the host :
root@server:/# ls -lh /var/lib/lxd/containers/bind/rootfs/
total 0
...
drwxr-xr-x 1 231072 231072 0 Oct 4 07:25 opt
drwxr-xr-x 1 231072 231072 0 Jun 26 2018 proc
drwx-- 1 231072 231072 102 Jan 5 19:19 root
...
The same directory in the "bind"
1- I was under a ssh console connected to a lxd container (nginx web
server) named www.
root@www:~# ls -lh /var/www
total 0
It should not be empty !
And the web server works but has no data (404 errors) !
2- on another console I ask :
root@server:~# lxc config device show www
...
srv_www:
root@server:~# lxc copy rmote:nginx nginx
Transferring container: nginx-s1: 414.76MB (11.87MB/s)
transfer stops after 414.76M and "lxc copy" never returns.
This is maybe because there is a problem on the source container. It
seems ok but I had tried (before) to delete snapshot nginx-s1 and
55 matches
Mail list logo