Re: [lxc-users] glusterfs on LXD?

2016-12-21 Thread Tomasz Chmielewski
On 2016-12-22 11:56, Tomasz Chmielewski wrote: Ubuntu 16.04 hosts / containers and gluster 3.8: # gluster volume create storage replica 2 transport tcp serv1:/gluster/data serv2:/gluster/data force volume create: storage: failed: Glusterfs is not supported on brick: serv1:/gluster/data. Setting

[lxc-users] glusterfs on LXD?

2016-12-21 Thread Tomasz Chmielewski
Ubuntu 16.04 hosts / containers and gluster 3.8: # gluster volume create storage replica 2 transport tcp serv1:/gluster/data serv2:/gluster/data force volume create: storage: failed: Glusterfs is not supported on brick: serv1:/gluster/data. Setting extended attributes failed, reason:

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 16:13, Pavol Cupka wrote: > edit the line > lxc.tty = 1 #allow this many ttys > and remove the comment > so it will look like this > lxc.tty = 1 > > enjoy :) > Ok, yes that resolves the problem but I also had to remove the comment from the "lxc.pts"

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 14:45, Pavol Cupka wrote: > so the containers restarted after upgrade to 2.0.6 > > do you mind pasting your config? > Sure, here is a config file. It is one of many. None work under 2.0.6 but all work under 2.0.4. I haven't modified these configs in a couple of years because, until

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread John Gubert
Hi Pavol, thanks for the link, I did some testing with the out of the box setup (removed root:1000:1) of ubuntu, created two containers and passed the same host directory through to both of them, then I created the same users in the same order on both containers: root(1000) neuer(1001)

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
so the containers restarted after upgrade to 2.0.6 do you mind pasting your config? On Wed, Dec 21, 2016 at 3:05 PM, Pavol Cupka wrote: > upgrading my host to 2.0.6 will let you know > > On Wed, Dec 21, 2016 at 1:14 PM, Pavol Cupka > wrote: > >>

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
upgrading my host to 2.0.6 will let you know On Wed, Dec 21, 2016 at 1:14 PM, Pavol Cupka wrote: > regression then, file a bug > > On Wed, Dec 21, 2016 at 12:36 PM, John wrote: > >> On 21/12/16 10:37, Pavol Cupka wrote: >> > any strange invisible

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread Pavol Cupka
some of your questions are answered here https://wiki.gentoo.org/wiki/LXD#Configure_subuid.2Fsubgid answering to the list is fine On Wed, Dec 21, 2016 at 1:34 PM, John Gubert wrote: > Hi Tycho, > > thank you for your fast response. > > My id on the host is indeed 1000. I

Re: [lxc-users] How to apply commands in howtos - macvlan and disk passthrough

2016-12-21 Thread John Gubert
Hi Tycho, thank you for your fast response. My id on the host is indeed 1000. I read your blog article and then had a look at /etc/subuid: before: "me@host:~$ cat /etc/subuid lxd:10:65536 root:10:65536 me:165536:65536" after: "me@host:~$ cat /etc/subuid lxd:10:65536

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
regression then, file a bug On Wed, Dec 21, 2016 at 12:36 PM, John wrote: > On 21/12/16 10:37, Pavol Cupka wrote: > > any strange invisible characters on that line > > try to make a minimal config by typing everything by hand > nothing strange - configs were hand-typed

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 10:37, Pavol Cupka wrote: > any strange invisible characters on that line > try to make a minimal config by typing everything by hand nothing strange - configs were hand-typed originally. They've been in place for a couple of years at least without any problems. They still work if I

Re: [lxc-users] no ping between host and lxc container

2016-12-21 Thread mierdatutis mi
Other time stop working :-( Somebody could help me please? I'm desesperate 2016-12-20 15:20 GMT+01:00 Mateusz Korniak : > On Tuesday 20 of December 2016 18:06:38 Fajar A. Nugraha wrote: > > > How do you setup IP# for container? > > > > (...) by default there's no

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
any strange invisible characters on that line try to make a minimal config by typing everything by hand On Wed, Dec 21, 2016 at 11:32 AM, John wrote: > On 21/12/16 10:24, Pavol Cupka wrote: > > what happens when you comment out that line? > It makes no difference. That was the

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread mierdatutis mi
Thanks! It works!. 2016-12-21 11:17 GMT+01:00 Pavol Cupka : > hint /etc/ssh/sshd_config > PermitRootLogin > > On Wed, Dec 21, 2016 at 11:10 AM, Fajar A. Nugraha wrote: > >> On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: >> >>>

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread John
On 21/12/16 10:24, Pavol Cupka wrote: > what happens when you comment out that line? It makes no difference. That was the first thing I tried :) ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org

Re: [lxc-users] Containers don't start with LXC 2.0.6 on Arch Linux

2016-12-21 Thread Pavol Cupka
what happens when you comment out that line? On Tue, Dec 20, 2016 at 9:34 PM, John wrote: > After a recent update to my Arch system, no containers will start. > Instead I get this: > > lxc-start: parse.c: lxc_file_for_each_line: 57 Failed to parse > config: lxc.tty = 1 >

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread Pavol Cupka
hint /etc/ssh/sshd_config PermitRootLogin On Wed, Dec 21, 2016 at 11:10 AM, Fajar A. Nugraha wrote: > On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: > >> Hi, >> I'm trying to login by ssh from my host to my lxc servers with root. >> When I'm trying

Re: [lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread Fajar A. Nugraha
On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi wrote: > Hi, > I'm trying to login by ssh from my host to my lxc servers with root. > When I'm trying with ubuntu user I don't have any problems but when I do > with root says me password incorrect. > In my lxc I do "sudo passwd"

[lxc-users] can't login by ssh with root to my containers

2016-12-21 Thread mierdatutis mi
Hi, I'm trying to login by ssh from my host to my lxc servers with root. When I'm trying with ubuntu user I don't have any problems but when I do with root says me password incorrect. In my lxc I do "sudo passwd" to change my password. Any help please? thanks and sorry for my English!