Re: [Lxc-users] Routing issues

2013-06-03 Thread Papp Tamas
On 06/03/2013 06:55 PM, Rory Campbell-Lange wrote: I have (with Rob van der Hoeven's help) setup a Debian Wheezy container on a Wheezy host. This worked well. I can ssh into the main host from the lxc host. However I cannot hit the internet from the lxc host. I'd be grateful for some

Re: [Lxc-users] Routing issues

2013-06-03 Thread Papp Tamas
On 06/04/2013 12:52 AM, Rory Campbell-Lange wrote: Hi Tamas Thanks very much for your email. First of all thanks very much for the note about the lxc.network.ipv4 paramenter -- I disabled that and routing seems to be fine. My question was unclear -- sorry! My host is on the internet. I can

Re: [Lxc-users] frequent host machine kernel panic

2013-06-02 Thread Papp Tamas
On 06/02/2013 06:06 AM, Kalyana sundaram wrote: No actually kernel panics happen in more than one host. Please keep the mailing list in the address list and don't use toppost. What version do you use? tamas -- Get

Re: [Lxc-users] frequent host machine kernel panic

2013-06-02 Thread Papp Tamas
On 06/02/2013 01:32 PM, Kalyana sundaram wrote: lxc 0.8.0 Please don not use toppost! Is there any speacial, when it goes to panic? Any details? I would try with higher and lower version of LXC and update kernel, if there is any. Though, I've never used LXC on CentOS, I've never heard things

Re: [Lxc-users] frequent host machine kernel panic

2013-06-01 Thread Papp Tamas
On 06/01/2013 09:43 PM, Kalyana sundaram wrote: Hi All We run a bunch of lxc containers over a centos 6.2 host. The containers use veth pairs and connect to the network through a linux bridge(br0) at the host. The setup was fine. But suddenly the host machine started crashing frequently

Re: [Lxc-users] Running an NFS server within LXC

2013-04-15 Thread Papp Tamas
On 04/15/2013 12:17 PM, David Parks wrote: Could this be an LXC specific issue? I’m trying to run an NFS server within a container. davidparks21@hadoop-fsimage-bkup1:~$ sudo service nfs-kernel-server restart * Stopping NFS kernel daemon ...done. * Unexporting directories for NFS

Re: [Lxc-users] Running an NFS server within LXC

2013-04-15 Thread Papp Tamas
On 04/15/2013 12:34 PM, David Parks wrote: It's really a no-go on LXC huh? That's too bad. Glusterfs seems like overkill, I just want a remote mount for a small, but critical, backup process. But it must be mounted, I'd rather not clutter up the host OS, as the whole point of LXC was to keep

Re: [Lxc-users] Fedora 18 - User namespace: missing

2013-04-08 Thread Papp Tamas
On 04/08/2013 03:05 AM, István Király wrote: Hi folks. I installed a fresh Fedora 18. Updated, kernel is at 3.8.5-201.fc18.x86_64 Downloaded lxc 0.9.0, and compiled it. [root@g7 ~]# lxc-checkconfig Kernel configuration not found at /proc/config.gz; searching... Kernel configuration found

Re: [Lxc-users] zfs support

2013-04-04 Thread Papp Tamas
On 04/04/2013 03:54 PM, Serge Hallyn wrote: If you want to go ahead and send a full patch against the current lxc-clone.in script, that should help me reproduce what you want in the api version. I have limited scripting skills, but I do my best. Will the path used as rootfs always be a zfs

Re: [Lxc-users] zfs support

2013-04-03 Thread Papp Tamas
On 04/03/2013 11:18 PM, Serge Hallyn wrote: I'm working right now on clone in the c api. The basics were simple enough, now to tackle the blockdev copy/snapshotting... Is zfs on the support list?:) Or just existing backingtores, like btrfs, lvm..etc? 10x tamas

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Papp Tamas
On 03/07/2013 04:54 PM, Serge Hallyn wrote: Quoting Papp Tamas (tom...@martos.bme.hu): hi All, At the end of this script it wants to remove the fs in some cases. But something is wrong about it, as if it's other they are ignored. Sorry I don't understand - what is being ignored in which

Re: [Lxc-users] lxc-destroy fs

2013-03-07 Thread Papp Tamas
On 03/07/2013 09:43 PM, zoolook wrote: On Thu, Mar 7, 2013 at 5:21 PM, Papp Tamas tom...@martos.bme.hu wrote: else # In case rootfs is not under $lxc_path/$lxc_name, remove it rm -rf --one-file-system --preserve-root $rootdev But it's removed here

Re: [Lxc-users] python api

2013-03-06 Thread Papp Tamas
On 03/04/2013 07:44 PM, Papp Tamas wrote: How does python api works what does it look for? Or maybe there is an issue only in lxc-ls: If I see correctly, it checks if /var/lib/lxc/$container/config file exists. I tried without the lxcpath setting as well. Than I see, it want's to connect

[Lxc-users] lxc-destroy fs

2013-03-06 Thread Papp Tamas
hi All, At the end of this script it wants to remove the fs in some cases. But something is wrong about it, as if it's other they are ignored. # Deduce the type of rootfs # If LVM partition, destroy it. For btrfs, we delete the subvolue. If anything # else, ignore it. We'll support deletion of

Re: [Lxc-users] zfs support

2013-03-05 Thread Papp Tamas
On 03/05/2013 05:27 AM, Scott Moser wrote: I wrote the btrfs clone stuff, I just cloned the rootfs directory as it was the only thing I thought would be of any significant size. The other things I think just get copied). Its probably me thats missing something obvious, but whats the benefit

Re: [Lxc-users] lxcpath

2013-03-04 Thread Papp Tamas
On 03/04/2013 03:34 PM, Stéphane Graber wrote: The change proposed above wouldn't work for cases where you create the container config in /var/lib/lxc/container but don't store the rootfs there. For example when using lvm-backed containers. In such case, a second call to lxc-create would

[Lxc-users] python api

2013-03-04 Thread Papp Tamas
hi, How does python api works what does it look for? Or maybe there is an issue only in lxc-ls: If I see correctly, it checks if /var/lib/lxc/$container/config file exists. I tried without the lxcpath setting as well. Than I see, it want's to connect to /var/lib/lxc/$container/command file and

Re: [Lxc-users] zfs support

2013-03-04 Thread Papp Tamas
On 03/04/2013 04:45 PM, Serge Hallyn wrote: Quoting Papp Tamas (tom...@martos.bme.hu): hi All, I'm about adding zfs support to lxc-create like lvm and btrfs has. elif [ $backingstore = btrfs ]; then mkdir $lxc_path/$lxc_name if ! out=$(btrfs subvolume create $rootfs 21

Re: [Lxc-users] Ubuntu 12.04 LTSEnablementStack: missing user namespace

2013-03-02 Thread Papp Tamas
On 03/01/2013 07:47 PM, Stéphane Graber wrote: No kernel until 3.8 (and slightly higher actually) will really support user namespaces. In any case, the lxc version in 12.04 doesn't know how to use the user namespaces even if they were there. So that output from lxc-checkconfig is safe to

[Lxc-users] zfs support

2013-03-02 Thread Papp Tamas
hi All, I'm about adding zfs support to lxc-create like lvm and btrfs has. elif [ $backingstore = btrfs ]; then mkdir $lxc_path/$lxc_name if ! out=$(btrfs subvolume create $rootfs 21); then echo $(basename $0): failed to create subvolume in $rootfs: $out 2 exit 1;

Re: [Lxc-users] I'm wonder if there is a command to see the status of all container ?

2013-02-27 Thread Papp Tamas
On 02/27/2013 10:41 AM, Stéphane Klein wrote: Hi, I'm wonder if there is a command to see the status of all container ? example : # lxc-info --all 'foo' is STOPPER 'bar' is RUNNING … I've see this script https://github.com/phbaer/lxc-tools/blob/master/lxc-status This feature is

Re: [Lxc-users] tail -f (inotify) not working in container?

2013-02-26 Thread Papp Tamas
On 02/26/2013 07:36 PM, Dan Kegel wrote: Oddly, tail -f doesn't seem to be working properly inside my container. It displays ten lines, and then sits forever. ^C and running it again shows a more up to date ten lines, but then sits forever. strace shows: ... inotify_init()

Re: [Lxc-users] databases in lxc container

2013-02-26 Thread Papp Tamas
On 02/26/2013 08:24 PM, Csordás Csaba Ifj. wrote: Is it possible to run a database server in an LXC container? Yes. Does anybody accomplished this task with Oracle XE 10g/11g? Yes. However at this very moment I'm not sure it's 10g. I can't get it to working, and I need to be sure. In fact,

Re: [Lxc-users] oracle yum install

2013-02-25 Thread Papp Tamas
On 02/25/2013 12:36 PM, Csordás Csaba Ifj. wrote: Hi, when using the oracle template on a Debian host yum install mc wants to install 71M of dependencies (77 Packages). The were already installed during container creation. How to tell yum to recognize those packages? You have to fix

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/20/2013 12:06 AM, Papp Tamas wrote: On 02/19/2013 11:53 PM, Serge Hallyn wrote: At this point, there will be a /var/lib/lxc/ltest/config which will list lxc.rootfs = /var/lib/lxc/ltest/rootfs. So these steps are not quite what you want. Perhaps you just want to sudo lxc-create

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 03:22 PM, Serge Hallyn wrote: About what? What I described above should work. Yes, that's correct. It doesn't (at least for me) that's why it is a bug, I guess;) Note also that the staging branch now supports '-P|--lxcpath' for all commands, so you could simply sudo

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:04 PM, Stéphane Graber wrote: Once every user will be able to just run lxc containers, you don't want them to have to check what container names the others are using to avoid clashing with them. I see, you're absolutely right. It'd have been confusing to restrict system

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:04 PM, Serge Hallyn wrote: Oh, my recipe wasn't quite right - when you sudo sed -i 's@/var/lib/lxc@/data/lxc@' /var/lib/lxc/r2/config that also changes the path to r2's fstab. So either you have to tweak the sed command, or sudo mv /var/lib/lxc/r2/fstab

[Lxc-users] listadmin

2013-02-22 Thread Papp Tamas
hi All, Who is the admin for this list? Failed to deliver to 'msklizman...@ebuddy.com' SMTP module(domain mail-in.ebuddy.com:25) reports: host mail-in.ebuddy.com:25 says: 550 5.1.1 User unknown If he/she doesn't have enough for that, I'd like to do it so much. I cannot help the project

Re: [Lxc-users] lxc configuration bug

2013-02-22 Thread Papp Tamas
On 02/22/2013 04:49 PM, Stéphane Graber wrote: We're planning on setting up a default lxcpath for user run containers, -P will just be used to override this. Excellent. Thanks, tamas -- Everyone hates slow

[Lxc-users] lxcpath

2013-02-22 Thread Papp Tamas
hi Serge and Others, lxc version: 0.9.0.alpha3 lxcpath=/data/lxc tank/lxc/ltest on /tank/lxc/ltest type zfs (rw,noatime) # sh -x /usr/bin/lxc-create -n ltest -t ubuntu + . /usr/share/lxc/lxc.functions + globalconf=/etc/lxc/lxc.conf + bindir=/usr/bin + templatedir=/usr/share/lxc/templates +

Re: [Lxc-users] lxc configuration bug

2013-02-19 Thread Papp Tamas
On 02/19/2013 11:53 PM, Serge Hallyn wrote: At this point, there will be a /var/lib/lxc/ltest/config which will list lxc.rootfs = /var/lib/lxc/ltest/rootfs. So these steps are not quite what you want. Perhaps you just want to sudo lxc-create -n ltest -t ubuntu sudo mkdir -p

[Lxc-users] lxc configuration bug (was: Re: lxc-destroy erase rootfs)

2013-02-18 Thread Papp Tamas
On 02/11/2013 04:11 AM, Serge Hallyn wrote: Agreed, please do get us precise reproduction steps so we can look into it and fix it. I'm sorry about the delay. I tested is again and I'm quite surprised, that you're right. If it's at the originial location, then it just works fine. If you can

Re: [Lxc-users] lxc-destroy erase rootfs

2013-02-09 Thread Papp Tamas
On 02/10/2013 12:06 AM, Fajar A. Nugraha wrote: On Sun, Feb 10, 2013 at 8:34 AM, Papp Tamas tom...@martos.bme.hu mailto:tom...@martos.bme.hu wrote: On 02/09/2013 12:41 AM, Serge Hallyn wrote: Or just suggest a way to modify containers configuration. Sorry, can you

Re: [Lxc-users] lxc-destroy erase rootfs

2013-02-07 Thread Papp Tamas
On 02/07/2013 11:42 PM, Christoph Willing wrote: On 08/02/2013, at 8:37 AM, Papp Tamas tom...@martos.bme.hu wrote: hi All, Actually there was already a topic about this, but I don't really remember the result, because with lxc v0.7 the rootfs was removed only if it existed in /var/lib

Re: [Lxc-users] lxc-destroy erase rootfs

2013-02-07 Thread Papp Tamas
On 02/08/2013 12:10 AM, Roland Neary wrote: Sorry to hear you b0rked your setup. Are you perhaps a Xen user who found out that `'xm destroy` != lxc-destroy? If so, you're probably not the first Actually neither xen, nor virsh destroys _data_ and until v0.7 (or v0.8?) lxc does it only

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/04/2013 02:35 PM, Kalyana sundaram wrote: I have made a lxc centos template https://github.com/kalyanceg/lxc-centos Thanks Kalyana, unfortunately it doesn't seem to work correctly, because there is only an init process started, nothing else. However the script from the recent tarball

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/05/2013 11:34 AM, Roland Neary wrote: Hi Tamas, I recetly setup CentOS on Ubuntu with a slight variation of https://gist.github.com/hagix9/3514296 hi, What changes did you make? If it's not necessary, I don't want to make double work. 10x tamas

Re: [Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-05 Thread Papp Tamas
On 02/05/2013 01:56 PM, Roland Neary wrote: Nothing exciting, I modified a few values such as dns servers which were hardcoded into the script but not appropriate for my setup. As is the script worked out of the box, I just didn't fancy fixing these niggling issues by hand as I made quite

[Lxc-users] lxc-centos on Ubuntu 12.04

2013-02-04 Thread Papp Tamas
hi All, Is there a template available that can be used to create working CentOS 6 containers out of box? Thank you, tamas -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download

Re: [Lxc-users] Bind mount within an LXC container

2013-01-30 Thread Papp Tamas
On 01/30/2013 01:13 PM, Ben Butler-Cole wrote: Hello I find that I can't do a read-write bind mount within a container (that is to say, the source and target for the mount are both within the container's own filesystem). I believe that it is being restricted to read-only by Apparmour. I

Re: [Lxc-users] Is lxc-create -n foo supposed to work?

2013-01-23 Thread Papp Tamas
On 01/24/2013 05:47 AM, Dan Kegel wrote: On ubuntu 12.04, I tried the minimalist command sudo lxc-create -n foo without a -t option. This completed very quickly (yay) but then sudo lxc-start -n foo hung (after complaining there was no fstab.old or something). Is that supposed to

Re: [Lxc-users] [LXC] loop module in ubuntu template

2013-01-10 Thread Papp Tamas
On 01/10/2013 05:36 PM, Sujay M wrote: Hi all, I have created a container vm0 using the ubuntu template. I want to use /mnt/sdb1/ as loopback storage. so if i try to mount it i'm getting root@vm0:~# mount /mnt/sdb1/ mount: Could not find any loop device. Maybe this kernel does not know

Re: [Lxc-users] [LXC] loop module in ubuntu template

2013-01-10 Thread Papp Tamas
On 01/10/2013 06:10 PM, Sujay M wrote: In the container config: lxc.aa_profile = lxc-container-default--with- loops # loop lxc.cgroup.devices.allow = b 7:* rwm lxc.cgroup.devices.allow = c 10:237 rwm Should i create a new container with this property in config file or will it

Re: [Lxc-users] [LXC] loop module in ubuntu template

2013-01-10 Thread Papp Tamas
On 01/10/2013 07:16 PM, Sujay M wrote: Hi Tamas, Thanks a lot for the help. You've almost solved my problem, The previous loop error is not there but I'm getting write-protected error when trying to mount root@vm0:/srv# ls -l swift-disk -rw-r--r-- 1 ubuntu ubuntu 10 Jan 10 18:01

Re: [Lxc-users] how to install LXC on CentOS 6.3?

2012-12-21 Thread Papp Tamas
On 12/21/2012 11:15 PM, Jun Yang wrote: Hi all, I just rented a dedicated server. My provider only has CentOS 6.3 available. I have had great experience with LXC on Ubuntu. But I am a beginner on CentOS. From Google search I can only find very scarce information about how to install

Re: [Lxc-users] broadcast storm

2012-12-12 Thread Papp Tamas
On 12/12/2012 10:54 AM, Kalyana sundaram wrote: Hey I have set up some 10 containers on two different host machines with veth setup My network config is lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = x.x.x.x/23 Did you specified real IP address

[Lxc-users] start order

2012-12-07 Thread Papp Tamas
hi All, Regarding the bug #1087765 is there a way in Ubuntu to specify the starting order of containers? I this this code in /etc/init/lxc.conf: for f in /etc/lxc/auto/*; do c=$(basename $f .conf) lxc-info -n $c 2/dev/null | grep state | grep -q RUNNING || lxc-start -n

Re: [Lxc-users] centos6 container and root login

2012-10-22 Thread Papp Tamas
On 10/22/2012 09:05 PM, olx69 wrote: Hello, basically I did follow http://wiki.1tux.org/wiki/Centos6/Installation/Minimal_installation_using_yum Additionally I added echo pts/0 /etc/securetty to the lxc container to allow root login, but it doesn't allow me this. Any hints for this?

[Lxc-users] task counter cgroup

2012-10-16 Thread Papp Tamas
hi All, Is there any news about this in the mainline kernel? I didn't see it in the kernel changelog. Thank you, tamas -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app

Re: [Lxc-users] use lxc in python,manage lxc

2012-10-15 Thread Papp Tamas
On 10/15/2012 09:50 AM, Stéphane Graber wrote: There are a few scripts already using python3-lxc to manage containers, Jonathan Carter has one on his github: https://github.com/highvoltage/llxc Is there an uptodate LXC ppa available? Maybe Serge, do you plan to update your backport PPA int he

Re: [Lxc-users] Cluster filesystem?

2012-10-08 Thread Papp Tamas
On 10/08/2012 09:47 AM, Ulli Horlacher wrote: Are there recommendations on cluster filesystems? I have several hosts with fibre channel. They should use a common filesystem to have a half-automatic fail-over. I think you should be able to use any of the cluster FS (eg. gluster, moosefs,

Re: [Lxc-users] Cluster filesystem?

2012-10-08 Thread Papp Tamas
On 10/08/2012 05:00 PM, Ulli Horlacher wrote: should - I prefer recommendations ny experience :-) I have tried by myself gluster and it is HORRIBLE slow. With GFS I have heard of several fatal crashes with data corruption. Also GFS locking mechanism is not the best if I know well. If you are

Re: [Lxc-users] Cluster filesystem?

2012-10-08 Thread Papp Tamas
On 10/08/2012 05:58 PM, Ulli Horlacher wrote: Moosefs is FUSE based (for clients) and therefore will be very slow. I suspect NFS is faster, even on (only) GbE. Glusterfs is also fuse based. If you don't want that, try Lustre. NFS is faster, but it's not clusterfs. Ubuntu 12.04 does not

[Lxc-users] open files

2012-07-02 Thread Papp Tamas
hi All, How is this counted? Should it be in a separated namespace? I see sometimes, that too many files are opened, which is not possible _inside_ the container. Recently with Ubuntu 12.04 x86_64 lxc 0.7.5-3ubuntu58 kernel 3.2.0-25-generic Thank you, tamas

[Lxc-users] linkedin

2012-06-19 Thread Papp Tamas
hi, I created a group for LXC on linkedin. If I see well, there is no other group, like this. Is a project logo available? Should an invitation be sent to this list? Thanks, tamas -- Live Security Virtual Conference

Re: [Lxc-users] Ubuntu 12.04: initscripts.postinst

2012-06-19 Thread Papp Tamas
On 06/15/2012 04:49 PM, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): On 06/15/2012 09:10 AM, Papp Tamas wrote: hi All, I upgraded initscripts package: # apt-get install initscripts Reading package lists... Done Building dependency tree... Done Recommended packages

Re: [Lxc-users] linkedin

2012-06-19 Thread Papp Tamas
On 06/19/2012 11:34 PM, Fajar A. Nugraha wrote: The difference is, many people (like me) when getting at invitation to linkedin, will simply delete it or mark it as spam. Cause there's just too many people who sends invitation to everyone in their address book. Sending the link, with a

[Lxc-users] Ubuntu 12.04: initscripts.postinst

2012-06-15 Thread Papp Tamas
hi All, I upgraded initscripts package: # apt-get install initscripts Reading package lists... Done Building dependency tree... Done Recommended packages: psmisc The following packages will be upgraded: initscripts 1 upgraded, 0 newly installed, 0 to remove and 46 not upgraded. Need to get

Re: [Lxc-users] small improvement to lxc scripts

2012-06-15 Thread Papp Tamas
On 06/14/2012 11:40 PM, -- NeoX -- wrote: #!/bin/bash [...custom script...] In Ubuntu 12.04 there is a custom script called lxc-list: #!/bin/sh set -e if [ ! -x $(which lxc-info 2/dev/null) ] then echo E: lxc-info - no such file exit 1 fi for _STATUS in RUNNING STOPPED do

Re: [Lxc-users] SIOCGIFNAME

2012-05-30 Thread Papp Tamas
On 05/30/2012 04:28 AM, Daniel Lezcano wrote: On 05/29/2012 10:10 PM, Papp Tamas wrote: On 05/29/2012 07:29 PM, Daniel Lezcano wrote: On 05/29/2012 03:48 PM, Papp Tamas wrote: hi All, This doesn't work now: ioctl(3, SIOCGIFNAME, {ifr_index=0, ifr_name=???}) = -1 ENODEV

Re: [Lxc-users] uptime

2012-05-14 Thread Papp Tamas
On 05/04/2012 09:04 AM, Ulli Horlacher wrote: On Fri 2012-05-04 (00:05), Samuel Maftoul wrote: Maybe, the uptime of container's init process will show you uptime of the container (so is accessible from within the container). init does not provide its start time I have now written a special

Re: [Lxc-users] postgres

2012-05-14 Thread Papp Tamas
On 05/14/2012 12:10 PM, Matthijs Kooijman wrote: hi, Sorry for the useless noise. Easy to be confused about this paramaters. Ah, right. In that case, perhaps postgresql somehow allocates different amounts of SHM based on some autodetection mechanism or other circumstance, and lxc is

[Lxc-users] postgres

2012-05-12 Thread Papp Tamas
hi! I want to increase shared_buffers value. Machine has 8GB of RAM. OS is Ubuntu Precise on both host and container. kernel.shmmax = 2147483648 kernel.shmall = 2147483648 kernel.shmmni = 4096 Originally the maximum value was 25M, I don't know how, but I could increase it until 29M. It starts

Re: [Lxc-users] hostname --fqdn returns just an error message

2012-05-07 Thread Papp Tamas
On 05/07/2012 05:19 PM, Harald Dunkel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, Running hostname --fqdn in an lxc client returns an error message on stderr and an empty string on stdout: # hostname --fqdn hostname: Name or service not known This breaks

Re: [Lxc-users] Backing Up A Container

2012-05-03 Thread Papp Tamas
On 05/03/2012 07:01 PM, Patrick Kevin McCaffrey wrote: Hello list, I've been doing some work on my LXC setup lately. I have several Debian containers set up under an Ubuntu 12.04 host. Each container runs different services (email, web, database, etc.), and I've been trying to figure out

[Lxc-users] dropped packets on bridged interface

2012-04-20 Thread Papp Tamas
hi, There is this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/986043 Has anybody meet it ever? Does anybody have an idea? Thank you, tamas -- For Developers, A Lot Can Happen In A Second. Boundary is the

Re: [Lxc-users] dropped packets on bridged interface

2012-04-20 Thread Papp Tamas
On 04/20/2012 10:10 AM, Fajar A. Nugraha wrote: On Fri, Apr 20, 2012 at 3:05 PM, Papp Tamastom...@martos.bme.hu wrote: hi, There is this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/986043 Has anybody meet it ever? Does anybody have an idea? Not in my setup. $ ifconfig br0

Re: [Lxc-users] dropped packets on bridged interface

2012-04-20 Thread Papp Tamas
On 04/20/2012 05:31 PM, Serge Hallyn wrote: Bugs like these have cropped up occasion, and often go completely unreproduced and un-diagnosed. Often they turn out to be caused by funky router settings neaby. There is no router in this case:) I mean, I hope the problem is not something about the

[Lxc-users] precise update in container

2012-04-02 Thread Papp Tamas
hi, I guess something is still not good. Setting up util-linux (2.20.1-1ubuntu3) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 12314 files and directories currently installed.) Preparing to replace udev 175-0ubuntu6 (using

Re: [Lxc-users] precise update in container

2012-04-02 Thread Papp Tamas
On 04/02/2012 03:22 PM, Serge Hallyn wrote: Quoting Papp Tamas (tom...@martos.bme.hu): hi, I guess something is still not good. Yes, a bug was re-opened on that last week. See bugs http://pad.lv/969299 and http://pad.lv/925024. Nezd time I check launchpad:) Thanks, tamas

Re: [Lxc-users] init keeps files opened

2012-03-30 Thread Papp Tamas
On 03/30/2012 07:58 AM, Serge Hallyn wrote: Funky. Can you turn off apache and mysqld (switch the startup jobs to not run) and see if the container behaves better? Good idea: # lsof|grep -c mysql.log 1008 init 1 root 1016w REG 253,0 1407936 270760

Re: [Lxc-users] init keeps files opened

2012-03-29 Thread Papp Tamas
Does somebody have any idea about this? Thanks, tamas On 03/28/2012 02:25 PM, Papp Tamas wrote: On 03/28/2012 11:26 AM, Papp Tamas wrote: hi! I have a container, which init process uses 100% CPU. If I create a strace dump from it: open(/dev/ptmx, O_RDWR|O_NOCTTY) = -1 EMFILE (Too

[Lxc-users] init keep files opened

2012-03-28 Thread Papp Tamas
hi! I have a container, which init process uses 100% CPU. If I create a strace dump from it: open(/dev/ptmx, O_RDWR|O_NOCTTY) = -1 EMFILE (Too many open files) close(1022) = 0 close(1023) = 0 pipe([1022, 1023]) =

Re: [Lxc-users] init keeps files opened

2012-03-28 Thread Papp Tamas
On 03/28/2012 11:26 AM, Papp Tamas wrote: hi! I have a container, which init process uses 100% CPU. If I create a strace dump from it: open(/dev/ptmx, O_RDWR|O_NOCTTY) = -1 EMFILE (Too many open files) close(1022) = 0 close(1023

Re: [Lxc-users] Ubuntu template questions

2012-03-10 Thread Papp Tamas
On 03/08/2012 04:30 PM, Papp Tamas wrote: On 03/08/2012 09:27 AM, Papp Tamas wrote: hi All, I always created an own template with debootstrap and I used it. Now I tried lxc-create -t ubuntu and I still have some question and suggestion: 1. I suggest ntpdate not to be installed (remove

[Lxc-users] Ubuntu template questions

2012-03-08 Thread Papp Tamas
hi All, I always created an own template with debootstrap and I used it. Now I tried lxc-create -t ubuntu and I still have some question and suggestion: 1. I suggest ntpdate not to be installed (remove after debootstrap). Also I think 'update-rc.d -f ondemand remove' would be fine in the

Re: [Lxc-users] Ubuntu template questions

2012-03-08 Thread Papp Tamas
On 03/08/2012 09:27 AM, Papp Tamas wrote: hi All, I always created an own template with debootstrap and I used it. Now I tried lxc-create -t ubuntu and I still have some question and suggestion: 1. I suggest ntpdate not to be installed (remove after debootstrap). Also I think 'update

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread Papp Tamas
On 03/07/2012 09:58 AM, 陈竞 wrote: i want to start lxc-sshd, but get error: localhost lxc # /usr/local/bin/lxc-start -n sshd lxc-start: No such file or directory - failed to rename cgroup /cgroup//lxc/9740-/cgroup//lxc/sshd lxc-start: failed to spawn 'sshd' lxc-start: No such file or

Re: [Lxc-users] Upgrade distribution

2012-03-07 Thread Papp Tamas
On 03/07/2012 07:18 PM, Stéphane Graber wrote: It's possible but I wouldn't recommend it until 12.04. In my experience upgrading will at least require you to umount /lib/init/fstab and tty[1234] and console in /dev, otherwise udev, mountall and a few others will fail to upgrade. I tried it

Re: [Lxc-users] limit number of processes

2012-03-05 Thread Papp Tamas
On 03/05/2012 05:50 PM, Daniel Lezcano wrote: On 03/01/2012 06:49 PM, Ulli Horlacher wrote: On Tue 2011-10-18 (14:54), Papp Tamas wrote: Is it possible to limit the maximum number of processes per container? I have the same problem. A user has killed the host (and therefore all containers

Re: [Lxc-users] version 0.8.0 coming soon

2012-02-27 Thread Papp Tamas
On 02/28/2012 01:20 AM, Serge Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): Hi all, I will release a 0.8.0-rc1. I am looking for volunteer to test it :) Worked fine for me. Tested create and clone of ubuntu, ubuntu and ubuntu-cloud images, with dir and lvm backing stores.

Re: [Lxc-users] Creating stand alone container

2012-02-15 Thread Papp Tamas
On 02/15/2012 11:51 AM, bruce bushby wrote: Hi I've been following these two guides: https://access.redhat.com/kb/docs/DOC-67682 http://berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/ and I finally have a container running (Happy Days) I wanted to ask the list if

Re: [Lxc-users] Creating stand alone container

2012-02-15 Thread Papp Tamas
On 02/15/2012 11:51 AM, bruce bushby wrote: Hi I've been following these two guides: https://access.redhat.com/kb/docs/DOC-67682 http://berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/ and I finally have a container running (Happy Days) I wanted to ask the list if

Re: [Lxc-users] Security in LXC

2012-01-31 Thread Papp Tamas
On 02/01/2012 06:28 AM, Shweta Shinde wrote: Thanks for your kind response. As we see Ubuntu is making use of LXC to have virtualization over cloud, http://daniil.kulchenko.com/blog/2011/10/virtualization-using-lxc-linux-containers-in-amazon-ec2/interested to know any insights about the same.

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

2011-11-29 Thread Papp Tamas
On 11/29/2011 05:15 PM, Patrick Kevin McCaffrey wrote: I do not have a tty config file. Containers are new to me - how would I go about seeing if there's a shell running on tty1? Sorry if these are silly questions - just trying to understand more about how LXC works. $ dpkg -S

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

2011-11-27 Thread Papp Tamas
On 11/27/2011 05:54 AM, Patrick Kevin McCaffrey wrote: Hello, I'm trying to configure a few LXC guests on my Ubuntu machine. I have configured the container using the methods described at http://blog.bodhizazen.net/linux/lxc-linux-containers/ and

Re: [Lxc-users] Linux Containers vs Solaris Zones

2011-11-15 Thread Papp Tamas
On 11/15/2011 10:14 AM, bruce bushby wrote: Hello I'm hoping someone on the list could answer a couple of questions. I believe Linux Containers are the perfect answer to some of the issues I have at work but wanted to confirm some technical bits before formally submitting any designs. I have

Re: [Lxc-users] note on using rsyslog in a container

2011-11-07 Thread Papp Tamas
On 11/07/2011 06:44 PM, Ulli Horlacher wrote: On Tue 2011-01-11 (02:54), Mike wrote: I noticed netfilter messages getting trashed in the various /var/log/messages on a system with two containers, netfilter rules on the host, and each container and the host running rsyslog. On closer

Re: [Lxc-users] cannot start any more any container?!

2011-10-20 Thread Papp Tamas
On 10/20/2011 12:54 AM, Ulli Horlacher wrote: On Wed 2011-10-19 (22:11), Papp Tamas wrote: What version of lxc package do you use? See my first mail: lxc version: 0.7.4.1 Well, I don't see anything like this. Actually I use 0.7.5. Try to upgrade. What do you see in system logs? My

Re: [Lxc-users] OUI

2011-10-19 Thread Papp Tamas
On 10/19/2011 12:36 AM, Derek Simkowiak wrote: /But actually I think, lxc-virt.org sounds better./ I disagree with lxc-virt.org. The difference between container and virtual machine is already confusing enough. There is no virtualization layer in LXC, so I don't think virt should

Re: [Lxc-users] cannot start any more any container?!

2011-10-19 Thread Papp Tamas
On 10/19/2011 07:24 PM, Ulli Horlacher wrote: Besides my problem with cannot stop/kill lxc-start (see other mail), I have now an even more severe problem: I cannot start ANY container anymore! I am sure I have overlooked something, but I cannot see what. I am really desperate now, because

Re: [Lxc-users] cannot start any more any container?!

2011-10-19 Thread Papp Tamas
On 10/19/2011 09:18 PM, Ulli Horlacher wrote: root@vms1:/lxc# ps axf | grep vmtest1 31571 ?Ds 0:00 lxc-start -f /data/lxc/vmtest1.cfg -n vmtest1 -d -o /data/lxc/vmtest1.log 2171 ?Ds 0:00 lxc-start -f /data/lxc/vmtest1.cfg -n vmtest1 -l DEBUG -d -o

Re: [Lxc-users] cannot start any more any container?!

2011-10-19 Thread Papp Tamas
On 10/19/2011 09:28 PM, Ulli Horlacher wrote: On Wed 2011-10-19 (21:24), Papp Tamas wrote: On 10/19/2011 09:18 PM, Ulli Horlacher wrote: root@vms1:/lxc# ps axf | grep vmtest1 31571 ?Ds 0:00 lxc-start -f /data/lxc/vmtest1.cfg -n vmtest1 -d -o /data/lxc/vmtest1.log 2171

[Lxc-users] limit number of processes

2011-10-18 Thread Papp Tamas
hi! Is it possible to limit the maximum number of processes per container? Thank you, tamas -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application

Re: [Lxc-users] Launching init in a container as non-root

2011-10-18 Thread Papp Tamas
On 10/18/2011 04:47 PM, Serge E. Hallyn wrote: http://wiki.ubuntu.com/UserNamespace I've got a few patches to send yet for tightening down some remaining privilege leaks, then we should be ready to start relaxing things to make them usable. This includes Eric's simple implementation of

Re: [Lxc-users] OUI

2011-10-18 Thread Papp Tamas
On 10/18/2011 10:30 PM, Brian K. White wrote: So after looking at the IEEE site about applying for an OUI, it seems to me there needs to be some actual entity to do that appplication. Since I am not a principle developer nor is my company more than an interested user, I can't really just go

Re: [Lxc-users] shutting down CentOS6 container

2011-10-17 Thread Papp Tamas
On 10/17/2011 10:02 PM, Milos Negovanovic wrote: On Mon, Oct 17, 2011 at 10:36:24PM +0300, Iliyan ilf Stoyanov wrote: Hi Milos, have you tried doing lxc-console --name $NAME_OF_YOUR_CENTOS6_CONTAINER, then loging in and issuing shutdown -h now. It works for me on Fedora 15/SL6.1. BR,

Re: [Lxc-users] shutting down CentOS6 container

2011-10-17 Thread Papp Tamas
On 10/17/2011 10:26 PM, Milos Negovanovic wrote: If I am not mistaken thats similar approach to using this script: http://pastie.org/2713689 Ive tried using that python script, but instead of shutting down my container restarts! Can you paste your container /etc/inittab by any chance?

Re: [Lxc-users] shutting down CentOS6 container

2011-10-17 Thread Papp Tamas
On 10/17/2011 10:54 PM, Derek Simkowiak wrote: /I tried the python script, it just works fine./ Q1: How does the kill -INT init method affect running processes, especially MySQL and other databases that may need to shutdown gracefully to avoid data corruption? I believe that the

  1   2   >