[Lxc-users] lxcbr0 MAC addr issue

2013-06-04 Thread Hans Feldt
It is a fact that the bridge takes the lowest MAC address from the attached ports for the host port. See for example http://backreference.org/2010/07/28/linux-bridge-mac-addresses-and-dynamic-ports/ Thus if a container is restarted, the host port can potentially change its MAC address and cont

Re: [Lxc-users] ubuntu-lxc/daily, lxc-create lxcpath on nfs, Error locking partial file

2013-06-04 Thread Serge Hallyn
Quoting zoolook (nbensa+lxcus...@gmail.com): > Hello Serge, > > On Tue, Jun 4, 2013 at 1:08 PM, Serge Hallyn wrote: > > Quoting zoolook (nbensa+lxcus...@gmail.com): > >> sysadmin@lxc0:~$ sudo lxc-create -n test1 -P /srv/lxc -B lvm --vgname > >> vg_vmstorage --lvname lxc-test1-root --fssize 2G -t

Re: [Lxc-users] ubuntu-lxc/daily, lxc-create lxcpath on nfs, Error locking partial file

2013-06-04 Thread zoolook
Hello Serge, On Tue, Jun 4, 2013 at 1:08 PM, Serge Hallyn wrote: > Quoting zoolook (nbensa+lxcus...@gmail.com): >> sysadmin@lxc0:~$ sudo lxc-create -n test1 -P /srv/lxc -B lvm --vgname >> vg_vmstorage --lvname lxc-test1-root --fssize 2G -t ubuntu -- -r >> precise >> [sudo] password for sysadmin:

Re: [Lxc-users] Routing issues

2013-06-04 Thread Rory Campbell-Lange
On 04/06/13, Michael H. Warfield (m...@wittsend.com) wrote: > > I'd be grateful to know if anyone has some firewall (iptables) advice for > > allowing traffic to the container? I expect to run another firewall on the > > container itself. > > That's probably your FORWARD chain there. Set that pol

Re: [Lxc-users] ubuntu-lxc/daily, lxc-create lxcpath on nfs, Error locking partial file

2013-06-04 Thread Serge Hallyn
Quoting zoolook (nbensa+lxcus...@gmail.com): > Hello, > > I'm testing a little cluster of lxc hosts where /var/lib/lxc (actually > /srv/lxc) is on nfs (rootfs are on lvm over iscsi). Using > ppa:ubuntu-lxc/daily, lxc-create fails with: > > > sysadmin@lxc0:~$ sudo lxc-create -n test1 -P /srv/lxc

Re: [Lxc-users] Routing issues

2013-06-04 Thread Michael H. Warfield
On Tue, 2013-06-04 at 11:21 +0100, Rory Campbell-Lange wrote: > On 03/06/13, Serge Hallyn (serge.hal...@ubuntu.com) wrote: > > Quoting Rory Campbell-Lange (r...@campbell-lange.net): > > > On 04/06/13, Papp Tamas (tom...@martos.bme.hu) wrote: > > > > > > > > What is the IP address of the container

[Lxc-users] ubuntu-lxc/daily, lxc-create lxcpath on nfs, Error locking partial file

2013-06-04 Thread zoolook
Hello, I'm testing a little cluster of lxc hosts where /var/lib/lxc (actually /srv/lxc) is on nfs (rootfs are on lvm over iscsi). Using ppa:ubuntu-lxc/daily, lxc-create fails with: sysadmin@lxc0:~$ sudo lxc-create -n test1 -P /srv/lxc -B lvm --vgname vg_vmstorage --lvname lxc-test1-root --fssize

Re: [Lxc-users] Routing issues

2013-06-04 Thread Serge Hallyn
Quoting Rory Campbell-Lange (r...@campbell-lange.net): > On 04/06/13, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > > On 03/06/13, Serge Hallyn (serge.hal...@ubuntu.com) wrote: > > > Quoting Rory Campbell-Lange (r...@campbell-lange.net): > > > > On 04/06/13, Papp Tamas (tom...@martos.bme.h

Re: [Lxc-users] Routing issues

2013-06-04 Thread Rory Campbell-Lange
On 04/06/13, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > On 03/06/13, Serge Hallyn (serge.hal...@ubuntu.com) wrote: > > Quoting Rory Campbell-Lange (r...@campbell-lange.net): > > > On 04/06/13, Papp Tamas (tom...@martos.bme.hu) wrote: > > > The host is on aa.bb.cc.103 (a public net addr

Re: [Lxc-users] Routing issues

2013-06-04 Thread Rory Campbell-Lange
On 03/06/13, Serge Hallyn (serge.hal...@ubuntu.com) wrote: > Quoting Rory Campbell-Lange (r...@campbell-lange.net): > > On 04/06/13, Papp Tamas (tom...@martos.bme.hu) wrote: > > > > > > What is the IP address of the container? > > > > The host is on aa.bb.cc.103 (a public net address) > > and the