Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Fajar A. Nugraha
On Mon, Aug 31, 2015 at 5:10 AM, Michael H. Warfield wrote: > On Sun, 2015-08-30 at 13:51 -0700, Peter Steele wrote: > > I want to pick my own naming convention for the veth interfaces > > created > > by LXC rather than using the auto-generated names. I tried adding the > > entry > > > lxc.networ

Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Peter Steele
On 08/30/2015 03:10 PM, Michael H. Warfield wrote: I played with this a while back and found that you are severely limited for the name length. Using the container name for that is, sooner or later, going to overflow that limit and possibly generated an error on container startup. I think it's

Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Peter Steele
On 08/30/2015 04:37 PM, Andrey Repin wrote: Please start from the beginning. What network topology you want for your containers, and what specific features you need from VETH interface, that other networking modes do not offer? I'm using host bridging with lxc.network.type = veth. Everything is

[lxc-users] Unprivileged container and lxc.network.script.up

2015-08-30 Thread Benoit GEORGELIN - Association Web4all
Hi, I would like to know if there is an alternative option of lxc.network.script.up with an unprivileged containter. It looks like this configuration file is not used. I would like to use script.up and script.down to manage the network and Openflow configuration Every time a containter star

Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Andrey Repin
Greetings, Peter Steele! > I want to pick my own naming convention for the veth interfaces created > by LXC rather than using the auto-generated names. I tried adding the entry > lxc.network.veth.pair = veth0 > in one of my privileged containers but it still get a random name of > 'veth6HIE0A'

Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Michael H. Warfield
On Sun, 2015-08-30 at 13:51 -0700, Peter Steele wrote: > I want to pick my own naming convention for the veth interfaces > created > by LXC rather than using the auto-generated names. I tried adding the > entry > lxc.network.veth.pair = veth0 > in one of my privileged containers but it still get

Re: [lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Benoit GEORGELIN - Association Web4all
Hi Peter, lxc.network.type = veth lxc.network.veth.pair = veth0 Should be enough in your container configuration file (config) Also, you can make sure there is no related entries in lxc.conf and default.conf . lxc.network.veth.pair cannot be set when using Unprivileged container But you

[lxc-users] Setting lxc.network.veth.pair

2015-08-30 Thread Peter Steele
I want to pick my own naming convention for the veth interfaces created by LXC rather than using the auto-generated names. I tried adding the entry lxc.network.veth.pair = veth0 in one of my privileged containers but it still get a random name of 'veth6HIE0A' instead of eth0. Am I mistaken as

[lxc-users] Determining a container's MAC address

2015-08-30 Thread Peter Steele
Is there a way to determine the auto-generated MAC address that lxc-create assigns to a container, apart from starting it and inspecting the live container? ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.or

Re: [lxc-users] Configuring LXC containers to use a host bridge under CentOS 7

2015-08-30 Thread Peter Steele
On 08/30/2015 11:10 AM, Peter Steele wrote: Clearly there is user error here on my part and I am not correctly specifying how to configure LXC containers to use host bridging under CentOS. I'll have to do some more digging. I figured it out. I've been using commands similar to lxc-create -t

Re: [lxc-users] 'Failed to whiteout' error in Trusty with 3.19 kernel

2015-08-30 Thread Thomas Müller
Yonsy, yes, 1.0.7 was the version I was referring to with "lts-lxc". For reference, I've created the kernel issue here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490267 Best, Thomas On Sun, Aug 30, 2015 at 7:15 PM, Yonsy Solis wrote: > > > On dom, ago 30, 2015 at 8:19 AM, Serge Hal

Re: [lxc-users] Configuring LXC containers to use a host bridge under CentOS 7

2015-08-30 Thread Peter Steele
On 08/29/2015 03:26 PM, Fajar A. Nugraha wrote: It should be "tcpdump -n -i bond0 host 172.16.0.1" and "tcpdump -n -i veth5BJDXU host 172.16.0.1" Okay, I ran this test, plus a few others. This specific test generated no icmp traffic on either bond0 or the veth interface. After starting th

Re: [lxc-users] 'Failed to whiteout' error in Trusty with 3.19 kernel

2015-08-30 Thread Yonsy Solis
On dom, ago 30, 2015 at 8:19 AM, Serge Hallyn wrote: Quoting Thomas Müller (muellerthomas...@gmail.com): Hi Serge, thanks for your response. If this is a kernel issue, what puzzles me a bit is that this error goes away when switching from the lts-lxc version to the lxc-stable ppa. Wh

Re: [lxc-users] 'Failed to whiteout' error in Trusty with 3.19 kernel

2015-08-30 Thread Serge Hallyn
Quoting Thomas Müller (muellerthomas...@gmail.com): > Hi Serge, > > thanks for your response. > > If this is a kernel issue, what puzzles me a bit is that this error goes > away when switching from the lts-lxc version to the lxc-stable ppa. While Hm, then maybe I'm wrong. Though I'm failing to

Re: [lxc-users] 'Failed to whiteout' error in Trusty with 3.19 kernel

2015-08-30 Thread Thomas Müller
Hi Serge, thanks for your response. If this is a kernel issue, what puzzles me a bit is that this error goes away when switching from the lts-lxc version to the lxc-stable ppa. While the ppa version seems to fix this bug, it still has the issue that oleg mentioned above ( https://bugs.launchpad.n