Hi folks,
If I shut down my drbd partition to mount it on another
host, then lxc-monitord keeps the mount point busy for at
least 30 seconds. This means additional 30 seconds
unavailability of the service provided by the container.
Highly painful.
Do you think it would be possible to write down t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi Mike,
Of course I understand that the lxc container search path might
lead to confusion in case of ambiguous container names. However,
similar problems exist for $PATH and $LD_LIBRARY_PATH and others.
How about "first match wins"?
If lxcpath is
Hi folks,
do you think it would be possible to make the path set by
-P/--lxcpath or in the config file a _real_ path, e.g.
lxc-ls -P /data1/lxc:/data2/lxc --fancy
?
This could help to support HA scenarios based on DRBD or
a network file system, for example. If one LXC server
dies, then
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi folks,
there were several proposals on this mailing list about how
to start and stop a group of LXC containers, e.g. at boot or
shutdown time.
Are there any news about this?
Regards
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi Serge,
On 09/06/13 19:04, Serge Hallyn wrote:
> Uh. what the...
>
> lxc_spawn closes the pinfd right before returning success.
>
> This is a bug in commit 2b0e17e48f4f55ddfcde74d1f00932837fa2cfda
>
> Thanks for reporting it!
>
I am glad to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi Serge,
On 08/26/13 13:41, Serge Hallyn wrote:
>
> Lxc should be creating a $lxcpath/$lxcname/rootfs.hold and keeping that open
> for write, which should prevent the remount -o ro. Does that file exist in
> your case? Which filesystem is moun
Hi folks,
seems that on the exit of the last container the
partition providing the ${LXC_DIRECTORY} is remounted
read-only, ignoring /etc/fstab or other users working
on /export. (/var/lib/lxc is a symlink pointing to
/export/lxc.)
It would be very nice to have a config option in
/etc/default/lxc
Hi folks,
On 08/19/13 00:57, Christian Seiler wrote:
> Hi there,
>
> FYI: I had the same problem with current staging and the first patch I
> sent in my latest series fixes this:
>
> http://thread.gmane.org/gmane.linux.kernel.containers.lxc.devel/3977
>
> -- Christian
>
The current version fb760f7
Hi Serge,
On 08/17/13 15:29, Serge Hallyn wrote:
Actually I suspect I know what happened. find_real_cgroup() doesn't
look like how I remember doing it. Could you try the below
(untested) patch? It'll enter you in a per-container subdir in
the name=systemd cgroup, which we didn't use to do.
Hi Serge,
On 08/17/13 15:29, Serge Hallyn wrote:
Quoting Harald Dunkel (ha...@afaics.de):
Hi folks,
Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d)
version lxc-start gives me
# lxc-start -n lxc0
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
Hi folks,
Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d)
version lxc-start gives me
# lxc-start -n lxc0
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'
The same container worked before for the lxc version checked o
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
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
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
Hi Mike,
On 05/29/13 19:40, Michael H. Warfield wrote:
>
> I would strongly disagree with this proposal for several reasons.
>
I completely agree to your concerns, esp. wrt. to overloading the
executable bit and unexpected side effects.
Thanx for your comment
Harri
On 05/29/13 19:30, Serge Hallyn wrote:
> Please see the long threads from yesterday, subject
> "Container autostart proposal" and
> "Container autostart proposal V2"
>
Sorry, I should have checked first.
Thanx for the pointer.
Harri
-
Hi folks,
AFAICS I have to list all containers to be started at boot
time in /etc/lxc/auto using symlinks pointing to the
config files. Problem: /etc is a local file system.
For a HA solution you usually have some kind of "network"
device/filesystem providing the resources to manage, e.g.
a DRBD
Hi Serge,
On 05/03/13 17:47, Serge Hallyn wrote:
> Quoting Harald Dunkel (harald.dun...@aixigo.de):
>> Or do you prefer to get the patches with the Signed-off-by
>> added?
>
> For the sake of formality and peace of mind, please just reply to this email
> with somethi
On 05/03/13 14:26, Serge Hallyn wrote:
>
> Hm, are you looking at https://github.com/lxc/lxc/tree/staging/src/lxc ?
>
???
http://lxc.sourceforge.net/index.php/about/lxc-development/ says
to use git://lxc.git.sourceforge.net/gitroot/lxc/lxc. There was
no staging repository mentioned.
Regards
H
Hi Serge,
On 05/03/13 14:16, Serge Hallyn wrote:
> Quoting Harald Dunkel (harald.dun...@aixigo.de):
>> ---
>> src/lxc/lxc-shutdown.in | 23 +++
>> 1 file changed, 19 insertions(+), 4 deletions(-)
>>
>> diff --git a/src/lxc/lxc-shutdown.in b
Hi Serge,
On 05/02/13 14:33, Serge Hallyn wrote:
> Quoting Harald Dunkel (harald.dun...@aixigo.de):
>> Hi folks,
>>
>> I would like to contribute patches for
>>
>> lxc-shutdown
>> lxc-clone
>> lxc-create
>> lxc-netstat
>
---
src/lxc/lxc-clone.in | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/lxc/lxc-clone.in b/src/lxc/lxc-clone.in
index 4c8acb4..8ff9947 100755
--- a/src/lxc/lxc-clone.in
+++ b/src/lxc/lxc-clone.in
@@ -25,7 +25,7 @@ set -e
usage() {
echo "usag
---
src/lxc/lxc-shutdown.in | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/lxc/lxc-shutdown.in b/src/lxc/lxc-shutdown.in
index ee07f75..247e90b 100644
--- a/src/lxc/lxc-shutdown.in
+++ b/src/lxc/lxc-shutdown.in
@@ -18,13 +18,17 @@
set -e
+lxcp
---
src/lxc/lxc-create.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
index ebbdd7b..970d3ff 100644
--- a/src/lxc/lxc-create.in
+++ b/src/lxc/lxc-create.in
@@ -269,7 +269,7 @@ cleanup() {
btrfs subvolume delete "$rootfs
---
src/lxc/lxc-netstat.in | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/lxc/lxc-netstat.in b/src/lxc/lxc-netstat.in
index 2fa2d23..d3eee1c 100644
--- a/src/lxc/lxc-netstat.in
+++ b/src/lxc/lxc-netstat.in
@@ -17,8 +17,10 @@
# License along with thi
Hi folks,
I would like to contribute patches for
lxc-shutdown
lxc-clone
lxc-create
lxc-netstat
to support an alternate container directory using "-P|--lxcpath",
similar to the binary executables.
Is somebody interested for review first? It would be nice to get
a
26 matches
Mail list logo