Re: [lxc-devel] Container autostart proposal V2

2013-06-03 Thread Natanael Copa
On Tue, 28 May 2013 17:36:09 -0400 Dwight Engen wrote: > On Tue, 28 May 2013 17:03:43 -0400 > Stéphane Graber wrote: ... > > The command line parameter (-g) is comma separate however. So commas > > should be documented as invalid for a group name and so is "any" which > > is a special group matc

Re: [lxc-devel] Container autostart proposal V2

2013-05-31 Thread Stéphane Graber
On 05/31/2013 02:08 AM, Harald Dunkel wrote: > Hi Stéphane, > > On 05/30/13 17:39, Stéphane Graber wrote: >> >> If we were to use groups for everything, we'd end up having to reserve >> "disabled", "autostart", "last-state". >> >> And then make those 3 conflict so that a container couldn't be in m

Re: [lxc-devel] Container autostart proposal V2

2013-05-30 Thread Harald Dunkel
Hi Stéphane, On 05/30/13 17:39, Stéphane Graber wrote: > > If we were to use groups for everything, we'd end up having to reserve > "disabled", "autostart", "last-state". > > And then make those 3 conflict so that a container couldn't be in more > than one of those at any given time. > > This seem

Re: [lxc-devel] Container autostart proposal V2

2013-05-30 Thread Stéphane Graber
On 05/30/2013 11:28 AM, Harald Dunkel wrote: > Hi Stéphane, > > On 05/30/13 15:33, Stéphane Graber wrote: >> >> That's already covered by my proposal and I believe covered in the use >> cases listed within it. >> >> "lxc-stop -g any" >> >> That'll stop all containers that are in the "any" group. "

Re: [lxc-devel] Container autostart proposal V2

2013-05-30 Thread Harald Dunkel
Hi Stéphane, On 05/30/13 15:33, Stéphane Graber wrote: > > That's already covered by my proposal and I believe covered in the use > cases listed within it. > > "lxc-stop -g any" > > That'll stop all containers that are in the "any" group. "any" is > documented as being a special group that contain

Re: [lxc-devel] Container autostart proposal V2

2013-05-30 Thread Michael H. Warfield
On Thu, 2013-05-30 at 09:33 -0400, Stéphane Graber wrote: > On 05/30/2013 02:35 AM, Harald Dunkel wrote: > > Hi folks, > > > > > > If its not too late for a suggestion: > > > > lxc-stop could provide an option -A to shutdown/stop all > > containers, independent from their autostart flag. Worst

Re: [lxc-devel] Container autostart proposal V2

2013-05-30 Thread Stéphane Graber
On 05/30/2013 02:35 AM, Harald Dunkel wrote: > Hi folks, > > > If its not too late for a suggestion: > > lxc-stop could provide an option -A to shutdown/stop all > containers, independent from their autostart flag. Worst > case scenario (almost) is that a disk has an IO error and > the config fi

Re: [lxc-devel] Container autostart proposal V2

2013-05-29 Thread Harald Dunkel
Hi folks, If its not too late for a suggestion: lxc-stop could provide an option -A to shutdown/stop all containers, independent from their autostart flag. Worst case scenario (almost) is that a disk has an IO error and the config files cannot be read anymore. For my own part, if I want to stop

Re: [lxc-devel] Container autostart proposal V2

2013-05-29 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Tue, 28 May 2013 21:50:32 -0500 > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > On Tue, 28 May 2013 17:03:43 -0400 > > > Stéphane Graber wrote: > > > > > > > On 05/28/2013 04:53 PM, Serge Hallyn wrote: > > >

Re: [lxc-devel] Container autostart proposal V2

2013-05-29 Thread Dwight Engen
On Tue, 28 May 2013 21:50:32 -0500 Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > On Tue, 28 May 2013 17:03:43 -0400 > > Stéphane Graber wrote: > > > > > On 05/28/2013 04:53 PM, Serge Hallyn wrote: > > > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > >> Hey ev

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Tue, 28 May 2013 17:03:43 -0400 > Stéphane Graber wrote: > > > On 05/28/2013 04:53 PM, Serge Hallyn wrote: > > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > >> Hey everyone, > > >> > > >> Thanks for the feedback on my previous autostart

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Dwight Engen
On Tue, 28 May 2013 17:03:43 -0400 Stéphane Graber wrote: > On 05/28/2013 04:53 PM, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > >> Hey everyone, > >> > >> Thanks for the feedback on my previous autostart proposal. > >> > >> Here's a detailed bullet-point list of what

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Michael H. Warfield
On Tue, 2013-05-28 at 15:53 -0500, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > Hey everyone, > > > > Thanks for the feedback on my previous autostart proposal. > > > > Here's a detailed bullet-point list of what should be done to implement > > autostarting containers

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Stéphane Graber
On 05/28/2013 04:37 PM, Michael H. Warfield wrote: > On Tue, 2013-05-28 at 15:58 -0400, Stéphane Graber wrote: >> Hey everyone, > >> Thanks for the feedback on my previous autostart proposal. > >> Here's a detailed bullet-point list of what should be done to implement >> autostarting containers

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Stéphane Graber
On 05/28/2013 04:53 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Hey everyone, >> >> Thanks for the feedback on my previous autostart proposal. >> >> Here's a detailed bullet-point list of what should be done to implement >> autostarting containers in upstream LXC. >>

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Hey everyone, > > Thanks for the feedback on my previous autostart proposal. > > Here's a detailed bullet-point list of what should be done to implement > autostarting containers in upstream LXC. > > Changes to the container config: > - ADD: lxc.

Re: [lxc-devel] Container autostart proposal V2

2013-05-28 Thread Michael H. Warfield
On Tue, 2013-05-28 at 15:58 -0400, Stéphane Graber wrote: > Hey everyone, > Thanks for the feedback on my previous autostart proposal. > Here's a detailed bullet-point list of what should be done to implement > autostarting containers in upstream LXC. Yes. I concur with virtually (excuse the p

[lxc-devel] Container autostart proposal V2

2013-05-28 Thread Stéphane Graber
Hey everyone, Thanks for the feedback on my previous autostart proposal. Here's a detailed bullet-point list of what should be done to implement autostarting containers in upstream LXC. Changes to the container config: - ADD: lxc.start.auto (integer, 0 = disabled, 1 = enabled, default: 0) - AD