[lxc-users] Configuration not being refreshed on reboot

2014-05-21 Thread CDR
Dear Friends I came upon a bug that needs to be addressed Suppose you have a container with a network like this lxc.network.type = veth lxc.network.flags = up lxc.network.link = br20 lxc.network.hwaddr = 92:ea:2b:24:e0:27 lxc.network.ipv4 = 0.0.0.0/24 The container is UP, then you decide to chang

Re: [lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Fajar A. Nugraha
On Wed, May 21, 2014 at 10:34 PM, Marc MAURICE wrote: > Thanks a lot. > I tried the config and it's *almost* working. > > When pinging the output from the container : packets are going out with the > good MAC. > > However, nothing in return. > From tcpdumps I figured out that my parent host is not

Re: [lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Marc MAURICE
Thanks a lot. I tried the config and it's *almost* working. When pinging the output from the container : packets are going out with the good MAC. However, nothing in return. From tcpdumps I figured out that my parent host is not responding to arp for the container IP. How do I tell my host

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread Fajar A. Nugraha
On Wed, May 21, 2014 at 9:55 PM, Stéphane Graber wrote: > On Wed, May 21, 2014 at 01:56:54PM +, Serge Hallyn wrote: >> Quoting CDR (vene...@gmail.com): >> > Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. >> > But "lxc-top" is not there. >> > How do I get that utility? >>

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread Stéphane Graber
On Wed, May 21, 2014 at 01:56:54PM +, Serge Hallyn wrote: > Quoting CDR (vene...@gmail.com): > > Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. > > But "lxc-top" is not there. > > How do I get that utility? > > sudo apt-get install lua-lxc > > Yeah that really should be

Re: [lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Fajar A. Nugraha
On Wed, May 21, 2014 at 9:19 PM, Marc MAURICE wrote: > >>> I finally made it work with veth mode, and a bridge on the host, but it's >>> frustrating. >>> And I have to manually generate and allow all mac adresses (required by >>> my >>> server hoster). >> >> >> I'd just comment on this one first.

Re: [lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Marc MAURICE
I finally made it work with veth mode, and a bridge on the host, but it's frustrating. And I have to manually generate and allow all mac adresses (required by my server hoster). I'd just comment on this one first. What is your hoster like? Is it like serverloft where you can buy additional IP

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread Serge Hallyn
Quoting CDR (vene...@gmail.com): > Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. > But "lxc-top" is not there. > How do I get that utility? sudo apt-get install lua-lxc Yeah that really should be more discoverable... ___ lxc-user

Re: [lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Fajar A. Nugraha
On Wed, May 21, 2014 at 8:09 PM, Marc MAURICE wrote: > I finally made it work with veth mode, and a bridge on the host, but it's > frustrating. > And I have to manually generate and allow all mac adresses (required by my > server hoster). I'd just comment on this one first. What is your hoster

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread CDR
Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. But "lxc-top" is not there. How do I get that utility? On Wed, May 21, 2014 at 9:32 AM, CDR wrote: > I did my lxc build with RPM > "make rpm", and it did not built it. > What are the steps? > I am using Ubuntu Server > Philip

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread CDR
I did my lxc build with RPM "make rpm", and it did not built it. What are the steps? I am using Ubuntu Server Philip On Wed, May 21, 2014 at 7:50 AM, Steven Jan Springl wrote: > On Wednesday 21 May 2014 01:07:39 CDR wrote: >> Dear Friends >> I have 20+ containers with the same programs running.

[lxc-users] venet like networking in LXC possible ?

2014-05-21 Thread Marc MAURICE
Hello all, I'm trying to setup the following simple config : * a lxc host (single network interface, single public IP1) * a lxc container (single public IP2) I would like to achieve the same as OpenVZ venet, where all containers have dedicated IPs, but are sharing the MAC address of the host.

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread Steven Jan Springl
On Wednesday 21 May 2014 01:07:39 CDR wrote: > Dear Friends > I have 20+ containers with the same programs running. All of them are > cpu-intensive. But one of them is eating way more CPU than the > average. With "top" I have no idea which container "owns" that > program. Perhaps we need a new "lxc

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-21 Thread coolnodje
Seems that lua support is also necessary to get some functionality like lxc-top. @kotnic, I realize there's no template coming with your Debian packaging (/usr/share/lxc/templates is empty). Was it intentional? It seems to be included in the configure file though. On Ubuntu /usr/share/lxc/template

Re: [lxc-users] We need a lxc-top utility

2014-05-21 Thread Stéphane Graber
On Tue, May 20, 2014 at 08:07:39PM -0400, CDR wrote: > Dear Friends > I have 20+ containers with the same programs running. All of them are > cpu-intensive. But one of them is eating way more CPU than the > average. With "top" I have no idea which container "owns" that > program. Perhaps we need a