Re: [Lxc-users] Live Migration of LXC

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 02:07 PM, Ulli Horlacher wrote: On Mon 2011-10-24 (12:03), Greg Kurz wrote: C/R and live migration is a complicated matter for LXC containers. I have assumed nothing else... No status for the moment... I guess people who really want migration should participate Not every LXC

Re: [Lxc-users] [PATCH 1/1] lxc-ubuntu: stop early if a bad user is specified in -b option

2011-10-24 Thread Daniel Lezcano
On 10/20/2011 10:16 PM, Serge E. Hallyn wrote: Otherwise we end up with a bad container fstab and a container that won't boot. See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/879052 Signed-off-by: Serge Hallyn serge.hal...@canonical.com --- Applied.

Re: [Lxc-users] [PATCH 1/2] Let sshd template work on ubuntu systems.

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:11 PM, Serge E. Hallyn wrote: /dev/shm is a symlink to /run/shm, so we need /run/shm to exist in the container rootfs. Also, /dev/mqueue does not exist on the host, and can't be created by the container. But we don't really need it so ignore that. Signed-off-by: Serge

Re: [Lxc-users] [PATCH 1/1] ubuntu template: disallow cap_sys_module (by popular demand)

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:21 PM, Serge E. Hallyn wrote: This isn't particularly reassuring, and will be moot with user namespaces, but as people are asking for it, turn off sys_module. While we're at it, turn off mac_admin and mac_override. Signed-off-by: Serge Hallyn serge.hal...@canonical.com ---

Re: [Lxc-users] [PATCH 1/1] ubuntu template: allow containers to create tap devices

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 03:30 PM, Serge E. Hallyn wrote: Thought I had sent this before, but I don't find it anywhere. Signed-off-by: Serge Hallyn serge.hal...@canonical.com --- Applied. -- The demand for IT networking

Re: [Lxc-users] [PATCH 1/1] lxc-clone: fix dhclient.conf send hostname command

2011-10-24 Thread Daniel Lezcano
On 09/15/2011 10:53 PM, Serge E. Hallyn wrote: End the command with ';', which is needed, and put the hostname in quotes (which doesn't really seem needed, but shown in man page). Signed-off-by: Serge Hallyn serge.hal...@canonical.com --- Applied.

Re: [Lxc-users] [PATCH] Define $hostname before its first use

2011-10-24 Thread Daniel Lezcano
On 09/14/2011 10:27 PM, Serge E. Hallyn wrote: Otherwise you get 'lxc.utsname =' in config, instead of the actual hostname being filled in. https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/850205 Index: lxc/src/lxc/lxc-clone.in Hi Serge, I was not able to apply this patch, it fails with:

Re: [Lxc-users] Live Migration of LXC

2011-10-24 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 10/24/2011 02:07 PM, Ulli Horlacher wrote: On Mon 2011-10-24 (12:03), Greg Kurz wrote: C/R and live migration is a complicated matter for LXC containers. I have assumed nothing else... No status for the moment... I guess people who

Re: [Lxc-users] [PATCH] Define $hostname before its first use

2011-10-24 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 09/14/2011 10:27 PM, Serge E. Hallyn wrote: Otherwise you get 'lxc.utsname =' in config, instead of the actual hostname being filled in. https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/850205 Index: lxc/src/lxc/lxc-clone.in Hi

[Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Ulli Horlacher
vms1 is an Ubuntu 10.04 based host system (4 * Xeon 64bit) with: root@vms1:/lxc# uname -a Linux vms1 2.6.38-11-server #50~lucid1-Ubuntu SMP Tue Sep 13 22:10:53 UTC 2011 x86_64 GNU/Linux root@vms1:/lxc# lxc-version lxc version: 0.7.5 I can start (Ubuntu 10.04) containers without problems:

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Serge E. Hallyn
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de): vms1 is an Ubuntu 10.04 based host system (4 * Xeon 64bit) with: root@vms1:/lxc# uname -a Linux vms1 2.6.38-11-server #50~lucid1-Ubuntu SMP Tue Sep 13 22:10:53 UTC 2011 x86_64 GNU/Linux root@vms1:/lxc# lxc-version lxc version:

Re: [Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-24 Thread Derek Simkowiak
Hello, Just following up re: this bug. I think it's a pretty serious issue. I am looking to work on this, but I am seeking some feedback and direction from one of the core LXC devs. - Do you agree with my analysis? - Has anyone else worked on this already? etc. Thanks, Derek

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Jean-Philippe Menil
Le 24/10/2011 19:46, Ulli Horlacher a écrit : 2011-10-24 19:34:40 [ 318.526208] br0: port 2(veth2WqDOb) entering forwarding state 2011-10-24 19:34:40 [ 318.675038] br0: port 2(veth2WqDOb) entering disabled state 2011-10-24 19:34:40 [ 318.703903] [ cut here ]

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:46 PM, Ulli Horlacher wrote: On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png It's a pity, but this console server (HP IP console) cannot log ASCII based, it is GUI only. I can make only screenshots and cannot scroll back,

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:46 PM, Ulli Horlacher wrote: On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png It's a pity, but this console server (HP IP console) cannot log ASCII based, it is GUI only. I can make only screenshots and cannot scroll back,

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 08:59 PM, Daniel Lezcano wrote: On 10/24/2011 07:46 PM, Ulli Horlacher wrote: On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png It's a pity, but this console server (HP IP console) cannot log ASCII based, it is GUI only. I can

Re: [Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-24 Thread Francois-Xavier Bourlet
Hi, Here we are using lxc intensively with bridges. Since we don't use STP, the downtime for each a mac@ change is unnoticeable. In fact, we discovered it when reading this mailinglist. After some test I can confirm that most of the time we are spawning/destroying a container, the bridge's mac@

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Ulli Horlacher
On Mon 2011-10-24 (20:56), Daniel Lezcano wrote: I have now booted vms1 with kernel 2.6.35 instead of 2.6.38 (as before)/ This kernel crashes also on lxc-stop but it writes something to /var/log/kern.log : (...) 2011-10-24 19:34:40 [ 318.711984] ---[ end trace 20014711382a5389 ]---

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Ulli Horlacher
On Mon 2011-10-24 (21:04), Daniel Lezcano wrote: On 10/24/2011 08:40 PM, Jean-Philippe Menil wrote: Le 24/10/2011 19:46, Ulli Horlacher a écrit : 2011-10-24 19:34:40 [ 318.526208] br0: port 2(veth2WqDOb) entering forwarding state 2011-10-24 19:34:40 [ 318.675038] br0: port

Re: [Lxc-users] [PATCH 1/1] Drop resolvconf from oneiric container package list

2011-10-24 Thread Daniel Lezcano
On 10/24/2011 07:09 PM, Serge E. Hallyn wrote: It prevents containers from getting a good resolv.conf without doing ifdown eth0; ifup eth0. (see pad.lv/880020) Signed-off-by: Serge Hallyn serge.hal...@canonical.com --- Applied. Thanks.

Re: [Lxc-users] Bug discussion: implementing high virtual device MAC addresses

2011-10-24 Thread Derek Simkowiak
Francois-Xavier, Thank you for your feedback. I have seen the issue on two systems where STP is turned off. Here is the /etc/network/interfaces entry for the particular bridge where I've seen it the most; note the last line: iface br0 inet dhcp bridge_ports eth0