[lxc-devel] [PATCH] Several backing store improvements

2013-04-26 Thread Serge Hallyn
(on top of the clone patch) 1. allow copy clones from other bdevs 2. for lvm and zfs, as we don't yet support passing options, only default VG of 'lxc' and default zfsroot of 'tank' are supported when converting another backing store type. 3. refuse deletion of container which has lvm or zfs sna

Re: [lxc-devel] lxc_monitord - monitor exiting

2013-04-26 Thread S . Çağlar Onur
Yeah, I think you all correct and I'm just confused - probably direct effect of lack of caffeine. And no, it's not complicating something for me, it's working great. I just want to make sure that I'm wrong :) On Fri, Apr 26, 2013 at 4:37 PM, Dwight Engen wrote: > On Fri, 26 Apr 2013 22:07:22 +02

Re: [lxc-devel] lxc_monitord - monitor exiting

2013-04-26 Thread Dwight Engen
On Fri, 26 Apr 2013 22:07:22 +0200 Stéphane Graber wrote: > On 04/26/2013 09:42 PM, S.Çağlar Onur wrote: > > Hey Dwight, > > > > I'm observing following behavior with staging tree and just wanted > > to make sure that what I'm seeing is the expected; > > > > * Initially nothing runs > > > > [c

Re: [lxc-devel] lxc_monitord - monitor exiting

2013-04-26 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Hey Dwight, > > I'm observing following behavior with staging tree and just wanted to make > sure that what I'm seeing is the expected; > > * Initially nothing runs > > [caglar@qgq:~/Projects/lxc/examples] sudo ./list > bankai (STOPPED) > bleach (STOPPE

Re: [lxc-devel] lxc_monitord - monitor exiting

2013-04-26 Thread Stéphane Graber
On 04/26/2013 09:42 PM, S.Çağlar Onur wrote: > Hey Dwight, > > I'm observing following behavior with staging tree and just wanted to > make sure that what I'm seeing is the expected; > > * Initially nothing runs > > [caglar@qgq:~/Projects/lxc/examples] sudo ./list > bankai (STOPPED) > bleach (ST

[lxc-devel] lxc_monitord - monitor exiting

2013-04-26 Thread S . Çağlar Onur
Hey Dwight, I'm observing following behavior with staging tree and just wanted to make sure that what I'm seeing is the expected; * Initially nothing runs [caglar@qgq:~/Projects/lxc/examples] sudo ./list bankai (STOPPED) bleach (STOPPED) zangetsu (STOPPED) * I start one container using the API

Re: [lxc-devel] [PATCH] Use lxcpath for basename of log when --enable-configpath-log

2013-04-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Fri, 26 Apr 2013 09:37:49 -0500 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > Using lxc configured with --enable-configpath-log, and specifying a > > > path to the lxc commands with -P, the log file path is g

Re: [lxc-devel] [PATCH] Use lxcpath for basename of log when --enable-configpath-log

2013-04-26 Thread Dwight Engen
On Fri, 26 Apr 2013 09:37:49 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > Using lxc configured with --enable-configpath-log, and specifying a > > path to the lxc commands with -P, the log file path is generated > > with a basename of LOGPATH instead of the lxcpa

Re: [lxc-devel] [PATCH] Use lxcpath for basename of log when --enable-configpath-log

2013-04-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Using lxc configured with --enable-configpath-log, and specifying a > path to the lxc commands with -P, the log file path is generated with a > basename of LOGPATH instead of the lxcpath. This means for example if you do > > lxc-start -P /tmp/conta

Re: [lxc-devel] [PATCH] lxc-monitor multiple paths

2013-04-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > >From c4af03c0e6b74e550161e4c8382fb9d0889e4fe3 Mon Sep 17 00:00:00 2001 > From: Dwight Engen > Date: Thu, 25 Apr 2013 11:45:26 -0400 > Subject: [PATCH] lxc-monitor multiple paths > > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn I wond

[lxc-devel] [PATCH] Use lxcpath for basename of log when --enable-configpath-log

2013-04-26 Thread Dwight Engen
Using lxc configured with --enable-configpath-log, and specifying a path to the lxc commands with -P, the log file path is generated with a basename of LOGPATH instead of the lxcpath. This means for example if you do lxc-start -P /tmp/containers -n test01 -l INFO your log file will be /var/lib/l

Re: [lxc-devel] [PATCH] add zfs support to lxc-create and lxc-destroy

2013-04-26 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On 04/25/2013 10:18 PM, Serge Hallyn wrote: > > This is based on patch from Papp Tamas (thanks). It also does some > > reorganizing of lxc-create to commonize some of the backingstore handling. > > > > I played with it using: > > > > sudo lvcr

Re: [lxc-devel] lxc-start from git hangs in init

2013-04-26 Thread Kevin Wilson
Hello, This is the output (o1); I ran on Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64) lxc-start -n CN -l info -o o1 -f /etc/lxc/lxc.conf /sbin/init And /etc/lxc/lxc.conf is in fact commented out: more /etc/lxc/lxc.conf #lxc.network.type=veth #lxc.network.link=lxcbr0 #lxc.network.flags=up

Re: [lxc-devel] [PATCH] add zfs support to lxc-create and lxc-destroy

2013-04-26 Thread Stéphane Graber
On 04/25/2013 10:18 PM, Serge Hallyn wrote: > This is based on patch from Papp Tamas (thanks). It also does some > reorganizing of lxc-create to commonize some of the backingstore handling. > > I played with it using: > > sudo lvcreate -L 100G -n zfs vg0 > sudo zpool create lxc /dev/