Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-28 Thread Daniel Lezcano
On 05/28/2010 02:58 AM, Toby Corkindale wrote: On 28/05/10 05:55, Matt Bailey wrote: /usr/sbin/ethtool -K br0 sg off /usr/sbin/ethtool -K br0 tso off Might fix your problem, YMMV; this worked for me. Bam! Problem fixed. All I needed was the 'sg' option - tso wasn't enabled anyway. Now

Re: [Lxc-users] Dreadful network performance, only to host from container

2010-05-27 Thread Daniel Lezcano
On 05/27/2010 10:21 AM, Toby Corkindale wrote: On 27/05/10 18:06, atp wrote: As requested: ifconfig br0 from the host br0 Link encap:Ethernet HWaddr 00:1e:37:4d:8c:d8 inet addr:192.168.1.206 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr:

Re: [Lxc-users] Storage with lxc

2010-05-27 Thread Daniel Lezcano
On 05/27/2010 12:05 PM, Yanick Emiliano wrote: Hi everybody I would like know if lxc at this stage suppots centralization network storage. I mean a Storage Filer , iSCSI, or *AoE storage*,For example can I have all my rootfs on a network filer and start each VM on a specific device storage

Re: [Lxc-users] help with root mount parameters

2010-05-26 Thread Daniel Lezcano
On 05/26/2010 11:07 AM, atp wrote: Thanks to both for the replies. This now makes sense. I've specified the rootfs.mount in the container config, and it gets past there and boots ok. Just in case anyone else cares, a very handy debug log can be had by using this command. lxc-start

Re: [Lxc-users] lxc-unshare woes and signal forwarding in lxc-start

2010-05-26 Thread Daniel Lezcano
On 05/13/2010 02:22 PM, Ferenc Wagner wrote: [ ... ] I attached a proof-of-concept patch which seems to work good enough for me. The function names are somewhat off now, but I leave that for later Ferenc, do you have definitive version for this ? I have some modifications in the start

Re: [Lxc-users] help with root mount parameters

2010-05-26 Thread Daniel Lezcano
On 05/26/2010 08:10 PM, Brian K. White wrote: On 5/26/2010 4:54 AM, Ralf Schmitt wrote: Daniel Lezcanodlezc...@fr.ibm.com writes: This is internal stuff of lxc. Before this commit, several temporary directories were created and never destroyed, polluting '/tmp'. In order to do

Re: [Lxc-users] [lxc-devel] lxc-start and lucid container

2010-05-19 Thread Daniel Lezcano
On 05/17/2010 05:00 PM, Bodhi Zazen wrote: Sorry for the delay, I missed your mail in the spam filter :/ -- ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-13 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Actually, I'm not sure you can fully solve

Re: [Lxc-users] LXC a feature complete replacement of OpenVZ?

2010-05-13 Thread Daniel Lezcano
On 05/13/2010 06:17 PM, Christian Haintz wrote: Hi, At first LXC seams to be a great work from what we have read already. There are still a few open questions for us (we are currently running dozens of OpenVZ Hardwarenodes). 1) OpenVZ in the long-term seams to be a dead end. Will LXC be a

Re: [Lxc-users] Ltsp on LXC: PXE-E32: TFTP open Timeout

2010-05-12 Thread Daniel Lezcano
Osvaldo Filho wrote: I get this error on thinclient boot: PXE-E32: TFTP open timeout Can you give the version and the configuration of lxc, the host configuration, the kernel version, and the circumstances of the problem ? Thanks -- Daniel

Re: [Lxc-users] Ltsp on LXC: PXE-E32: TFTP open Timeout

2010-05-12 Thread Daniel Lezcano
Osvaldo Filho wrote: Host Environment: Linux ltspserver01 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux lxc 0.6.5-1 Linux containers userspace tools === lxc.utsname = ltsp2 lxc.tty = 4 lxc.pts = 1024 lxc.network.type = veth

Re: [Lxc-users] Ltsp on LXC: PXE-E32: TFTP open Timeout

2010-05-12 Thread Daniel Lezcano
-unreachable REJECT all -- anywhere anywhere reject-with icmp-port-unreachable Chain OUTPUT (policy ACCEPT) target prot opt source destination = The problem, perhaps, is with openbsd-inetd. 2010/5/12 Daniel Lezcano daniel.lezc...@free.fr: Osvaldo Filho

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-12 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Actually, I'm not sure you can fully solve this. If rootfs is a separate file system

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-10 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Ferenc Wagner wf...@niif.hu writes: Daniel Lezcano dlezc...@fr.ibm.com writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-08 Thread Daniel Lezcano
Ferenc Wagner wrote: Ferenc Wagner wf...@niif.hu writes: Daniel Lezcano dlezc...@fr.ibm.com writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: While playing with lxc-start, I noticed that /tmp is infested

Re: [Lxc-users] Resources sharing and limit

2010-05-06 Thread Daniel Lezcano
Yanick Emiliano wrote: Hi everybody, I have just started playing with lxc and having some difficulties to set cpu and memory on my guests. After my searches, seems that resources controlling is managing in cgroup files and I think that I missed something or I didn't understand how deal with

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-06 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: While playing with lxc-start, I noticed that /tmp is infested by empty lxc-r* directories: [...] Ok, this name comes from lxc-rootfs in conf.c:setup_rootfs. After setup_rootfs_pivot_root returns

Re: [Lxc-users] lxc-unshare woes and signal forwarding in lxc-start

2010-05-06 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: I'd like to use lxc-start as a wrapper, invisible to the parent and the (jailed) child. Of course I could hack around this by not exec-ing lxc-start but keeping the shell around, trap all

Re: [Lxc-users] lxc-start leaves temporary pivot dir behind

2010-05-06 Thread Daniel Lezcano
Ferenc Wagner wrote: Ferenc Wagner wf...@niif.hu writes: Daniel Lezcano dlezc...@fr.ibm.com writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: While playing with lxc-start, I noticed that /tmp is infested by empty lxc-r* directories

Re: [Lxc-users] lxc-unshare woes and signal forwarding in lxc-start

2010-05-06 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: I'd like to use lxc-start as a wrapper, invisible to the parent and the (jailed) child

Re: [Lxc-users] lxc-unshare woes and signal forwarding in lxc-start

2010-05-05 Thread Daniel Lezcano
Ferenc Wagner wrote: Daniel Lezcano daniel.lezc...@free.fr writes: Ferenc Wagner wrote: I can see that lxc-unshare isn't for me: I wanted to use it to avoid adding the extra lxc-start process between two daemons communicating via signals, but it's impossible to unshare PID namespaces, so

Re: [Lxc-users] tc on container gets RTNETLINK answers: Invalid argument

2010-04-17 Thread Daniel Lezcano
Przemysław Knycz wrote: Hi! At the first glance I would say it is not supported by the kernel yet. Is there support for IFB or IMQ in container? 2.6.33 can support this? IFB and IMQ are out of kernel tree, right ? I am discovering IFB / IMQ. Are you asking if we can move a

Re: [Lxc-users] [Network] ioctl on socket fails in container

2010-04-14 Thread Daniel Lezcano
stephane.rivi...@regis-dgac.net wrote: Hi, I'm using LXC to run Perl scripts that generate network traffic, using the Net::RawIP package. The scripts work perfectly well on a real host, but fail inside an LXC container. After a few hours of testing/debuging, the origin of the problem is

Re: [Lxc-users] Lucid host container - ignored fstab?

2010-04-12 Thread Daniel Lezcano
Roman Yepishev wrote: Hello, Daniel. Thanks for your reply! On Sun, 2010-04-11 at 09:41 +0200, Daniel Lezcano wrote: When the container starts, it setup the root filesystem. The rootfs is done with the pivot_root syscall, hence the old rootfs contains the mount points which

[Lxc-users] X server consumes 100% of CPU after launching a container

2010-04-12 Thread Daniel Lezcano
Hi all, did someone experienced the X server consuming 100% of CPU after launching a container on Ubuntu 9.10 ? Thanks -- Daniel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself.

Re: [Lxc-users] Lucid host container - ignored fstab?

2010-04-11 Thread Daniel Lezcano
Roman Yepishev wrote: Hello all, I am trying to use LXC to run Ubuntu Lucid Lynx containers on Lucid Lynx hosts. I have succeeded in configuring the container properly so it starts, connects to the network etc. However, as described in [1], my container can remount the /srv partition

Re: [Lxc-users] SSH - PTY allocation request failed on channel 0 stdin: is not a tty

2010-04-06 Thread Daniel Lezcano
Osvaldo Filho wrote: I this: ... mountall: mount /dev/pts [25] terminated with status 1 mount: according to mtab, none is already mounted on /dev/shm mountall: mount /dev/shm [26] terminated with status 1 mount: according to mtab, varrun is already mounted on /var/run mountall: mount

Re: [Lxc-users] setrlimit(3) and containers

2010-04-02 Thread Daniel Lezcano
Mikhail Gusarov wrote: Twas brillig at 09:47:33 01.04.2010 UTC-05 when se...@us.ibm.com did gyre and gimble: Here process drops root privileges, setuids to uid=103 and limits itself to 3 processes with this uid. Clone fails due to fact there are two processes with uid=103 running in

Re: [Lxc-users] lxc.console with lxc from git

2010-04-02 Thread Daniel Lezcano
Mikhail Gusarov wrote: Hi. I have tried to run lxc tools from git and got the following output: [dotted...@vertex:~]% sudo lxc-start --logfile=/dev/stderr --logpriority=TRACE -n cf lxc-start 1270236851.229 INFO lxc_conf - tty's configured lxc-start 1270236851.229 ERROR

Re: [Lxc-users] Networking issues with LXC

2010-02-11 Thread Daniel Lezcano
Michael B. Trausch wrote: On 02/11/2010 03:46 AM, Daniel Lezcano wrote: If you do not set a mac address in the container configuration file, the kernel will choose one for you preventing duplicate mac address on the host. Will it pick something that is static for each container? I'd like

Re: [Lxc-users] Networking issues with LXC

2010-02-10 Thread Daniel Lezcano
Daniel Lezcano wrote: Michael B. Trausch wrote: Hello, I am running LXC version 0.6.5, with kernel 2.6.32.7. I am having some pretty significant troubles getting networking to reliably work with the containers. That is to say, the host name is doing just fine, and answers network

Re: [Lxc-users] Still can not get macvlan to work.

2010-02-08 Thread Daniel Lezcano
Michael H. Warfield wrote: I mentioned this in an earlier posting that I was using the veth method with bridges because I could NOT get macvlan to work. Problem is that the containers will come up and will talk on the network but the host can not talk to any of the guest containers. Ping

Re: [Lxc-users] Regarding lxc tools and libvirt (virsh).

2010-02-05 Thread Daniel Lezcano
Kumar L Srikanth-B22348 wrote: Hi, I am new to Linux Containers and Libvirt. Recently, I installed Linux Container tools on my Fedora Core 12 (64 bit) machine and able to create/start/destroy my own containers using the following commands: lxc-create lxc-sshd lxc-start lxc-destroy And

Re: [Lxc-users] Regarding lxc tools and libvirt (virsh).

2010-02-05 Thread Daniel Lezcano
set the target directory to '/'? By the way, I am using libvirt version o.7.6. I won't be able to answer as I don't know libvirt, it's better you ask to the libvirt mailing list. This mailing list is for the lxc container tools. -Original Message- From: Daniel Lezcano

Re: [Lxc-users] Unable to SSH to the containers.

2010-02-05 Thread Daniel Lezcano
Kumar L Srikanth-B22348 wrote: Hi Daniel, Please see my inline comments. Regards, Srikanth -Original Message- From: Daniel Lezcano [mailto:daniel.lezc...@free.fr] Sent: Friday, February 05, 2010 5:40 PM To: Kumar L Srikanth-B22348 Cc: lxc-users@lists.sourceforge.net Subject

Re: [Lxc-users] Kernel 2.6.33-rc6, 3 bugs container specific.

2010-02-04 Thread Daniel Lezcano
Serge E. Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): Serge E. Hallyn wrote: Quoting Jean-Marc Pigeon (j...@safe.ca): Hello, I was wondering out loud about the best design to solve his problem. If we try to redirect kernel-generated messages

Re: [Lxc-users] restricting container visible cpus

2010-02-01 Thread Daniel Lezcano
atp wrote: Hi, There is a /proc virtualization layer prototype with fuse which needs to be enhanced but it's not for the short term as there are several issues with the container itself to be solved before adding it. But any volunteer is welcome ;) I hacked up a quick

Re: [Lxc-users] Network confusion

2010-01-29 Thread Daniel Lezcano
Matteo Ghezzi wrote: 2010/1/29 Daniel Lezcano dlezc...@fr.ibm.com: Thanks for your answer. Can you send the config file of the container ? it should be in /var/lib/lxc/container_name/config or /etc/lxc/container_name. The config file of the container

Re: [Lxc-users] How to make a container init DIE after finishing runlevel 0

2010-01-25 Thread Daniel Lezcano
Michael H. Warfield wrote: On Mon, 2010-01-25 at 21:50 +0100, Daniel Lezcano wrote: apologies for the length, but how is everyone else handling this? this is the last thing i need to solve before i actually start running all my services on this setup. I was wondering

Re: [Lxc-users] How to make a container init DIE after finishing runlevel 0

2010-01-25 Thread Daniel Lezcano
Michael H. Warfield wrote: On Mon, 2010-01-25 at 21:50 +0100, Daniel Lezcano wrote: apologies for the length, but how is everyone else handling this? this is the last thing i need to solve before i actually start running all my services on this setup. I was wondering

Re: [Lxc-users] How to make a container init DIE after finishing runlevel 0

2010-01-25 Thread Daniel Lezcano
Michael H. Warfield wrote: On Mon, 2010-01-25 at 23:39 +0100, Daniel Lezcano wrote: Michael H. Warfield wrote: On Mon, 2010-01-25 at 21:50 +0100, Daniel Lezcano wrote: apologies for the length, but how is everyone else handling this? this is the last thing i need

<    1   2   3   4