Re: [lxc-users] openstack support

2014-09-25 Thread Tamas Papp
On 09/24/2014 09:29 AM, Tamas Papp wrote: hi, Is that still(?) right, that openstack supports only the libvirt based implementation? Wooff, I thought, it's a quick question with a short answer:) Actually I am interested in anything else, is there any web based dashboard, management tool,

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-25 Thread Chris
On 24/09/14 20:56, Serge Hallyn wrote: Quoting Chris (berzerkati...@gmail.com): On 24/09/14 17:32, Serge Hallyn wrote: Ok in that case /sys/fs/cgroup should still be mounted read-write. After you login, what does /proc/self/cgroup show, and what does the tree under /sys/fs/cgroup/freezer/ loo

Re: [lxc-users] openstack support

2014-09-25 Thread István Király
I'm planning to write a web-gui with nodejs. Currently I have a bash backend script that does the management of containers, network, proxies, mail, etc, .. With LXC, it creates a virtual server farm ... it is fedora based though. Probably can be ported to other OS. For now, it can be managed over

Re: [lxc-users] openstack support

2014-09-25 Thread Chuck Short
On Thu, Sep 25, 2014 at 4:15 AM, Tamas Papp wrote: > > On 09/24/2014 09:29 AM, Tamas Papp wrote: > > hi, > > Is that still(?) right, that openstack supports only the libvirt based > implementation? > > > Wooff, I thought, it's a quick question with a short answer:) > Actually I am interested in a

[lxc-users] Accessing /dev file system from container

2014-09-25 Thread Murthy, Krishna J
I have a Ethernet device which is attached to the container. I have installed the driver module for this device on the host. When I run the application on the container it complains it is unable to find the device in the /dev file system. Infact I use UIO based driver. So in container I get mess

Re: [lxc-users] openstack support

2014-09-25 Thread brian mullan
tamas not sure the intent you had for lxc and openstack but just in case you hadn't seen this yet take a look at the new Ubuntu Cloud-Installer for OpenStack: http://ubuntu-cloud-installer.readthedocs.org/en/latest/ both the Multi & Single mode installers ... install OpenStack using a combo of

Re: [lxc-users] openstack support

2014-09-25 Thread Tamas Papp
On 09/25/2014 03:18 PM, brian mullan wrote: tamas not sure the intent you had for lxc and openstack but just in case you hadn't seen this yet take a look at the new Ubuntu Cloud-Installer for OpenStack: http://ubuntu-cloud-installer.readthedocs.org/en/latest/ both the Multi & Single mode i

Re: [lxc-users] openstack support

2014-09-25 Thread brian mullan
Okay I see what you were asking. You might also want to refer to this Openstack page: https://wiki.openstack.org/wiki/HypervisorSupportMatrix On Thu, Sep 25, 2014 at 9:25 AM, Tamas Papp wrote: > > On 09/25/2014 03:18 PM, brian mullan wrote: > >> tamas >> >> not sure the intent you had for lxc

Re: [lxc-users] openstack support

2014-09-25 Thread brian mullan
Another reference about LXC w/Nova - https://wiki.openstack.org/wiki/CaaS_demo However, it may be using LXC to represent libvirt-lxc. On Thu, Sep 25, 2014 at 9:36 AM, brian mullan wrote: > Okay I see what you were asking. > > You might also want to refer to this Openstack page: > > https://w

Re: [lxc-users] Accessing /dev file system from container

2014-09-25 Thread Michael H. Warfield
On Thu, 2014-09-25 at 13:04 +, Murthy, Krishna J wrote: > I have a Ethernet device which is attached to the container. I have > installed the driver module for this device on the host. When I run > the application on the container it complains it is unable to find the > device in the /dev file

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-25 Thread Serge Hallyn
Quoting Chris (berzerkati...@gmail.com): > > On 24/09/14 20:56, Serge Hallyn wrote: > >Quoting Chris (berzerkati...@gmail.com): > >>On 24/09/14 17:32, Serge Hallyn wrote: > >>>Ok in that case /sys/fs/cgroup should still be mounted read-write. After > >>>you login, what does /proc/self/cgroup show

Re: [lxc-users] openstack support

2014-09-25 Thread Tamas Papp
On 09/25/2014 03:42 PM, brian mullan wrote: Another reference about LXC w/Nova - https://wiki.openstack.org/wiki/CaaS_demo However, it may be using LXC to represent libvirt-lxc. Yes, according to these pages this lxc implementation isn't supported, only libvirt lxc and docker. Am I correc

[lxc-users] Using valgrind with lxc

2014-09-25 Thread Vallevand, Mark K
In our program, we do a fork() and in the child process the lxc library is called to start a program in a container using lxc_start(). We don't care about valgrind in the child process. You can disable valgrind messages from child processes, but you cannot detach valgrind unless you exec() a n

Re: [lxc-users] Accessing /dev file system from container

2014-09-25 Thread Anjali Kulkarni
You can export the uio device to the container in its config file using its device major and minor number, such as: lxc.cgroup.devices.allow = c 247:0 rwm lxc.mount.entry = /dev/uio0 dev/uio0 none bind,create=file Where, you get the 247:0 from the output of ls -l /dev/uio0 If you are trying to

Re: [lxc-users] Accessing /dev file system from container

2014-09-25 Thread Anjali Kulkarni
Sorry, there is a typo, it should be: lxc.mount.entry=/mnt/huge /var/lib/lxc/$container_name/rootfs/mnt/huge none rw,bind 0 0 From: Admin mailto:anj...@juniper.net>> Date: Thursday, September 25, 2014 7:48 AM To: LXC users mailing-list mailto:lxc-users@lists.linuxcontainers.org>> Subject: Re: [l

[lxc-users] Magic incantation or sacrificial chickens necessary?

2014-09-25 Thread Chris Kloiber
Would anyone know what is required (both on the host and within a container) using Red Hat based distributions such as Oracle Linux 6.5 or 7.0 as both the Host and the container to have each container have its own static, Public IP (no iptables NAT nonsense) and be reachable from anywhere? I can't

Re: [lxc-users] Magic incantation or sacrificial chickens necessary?

2014-09-25 Thread Erik Haller
Here is my production configuration. It should work with Redhat: lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.network.link = eth0 lxc.network.ipv4 = 192.168.7.70/16 lxc.network.ipv4.gateway = 192.168.7.1 #

Re: [lxc-users] LXC 1.0.6 has been released!

2014-09-25 Thread J Bc
In Debian wheezy 7: wget https://linuxcontainers.org/downloads/lxc-1.0.6.tar.gz tar-zxvf lxc-1.0.6.tar.gz cd lxc-1.0.6 ./autogen.sh && ./configure && make && make install ldconfig lxc-checkconfig OK lxc-create -n contenedor1 -t debian lxc-start -n contenedor1 lxc-start 1411666224.618 ERR

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-25 Thread Chris
On 25/09/14 14:49, Serge Hallyn wrote: Quoting Chris (berzerkati...@gmail.com): On 24/09/14 20:56, Serge Hallyn wrote: Quoting Chris (berzerkati...@gmail.com): On 24/09/14 17:32, Serge Hallyn wrote: Ok in that case /sys/fs/cgroup should still be mounted read-write. After you login, what does

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-25 Thread Serge Hallyn
Quoting Chris (berzerkati...@gmail.com): > On 25/09/14 14:49, Serge Hallyn wrote: > >Quoting Chris (berzerkati...@gmail.com): > >>On 24/09/14 20:56, Serge Hallyn wrote: > >>>Quoting Chris (berzerkati...@gmail.com): > On 24/09/14 17:32, Serge Hallyn wrote: > >Ok in that case /sys/fs/cgroup s

Re: [lxc-users] LXC 1.0.6 has been released!

2014-09-25 Thread Serge Hallyn
Quoting J Bc (jav...@esdebian.org): > In Debian wheezy 7: that is kernel 3.2 right? That won't support user namespaces. That requires 3.8. Debian also may still have a sysctl to disable unpriv userns clone by default (look under /proc/sys/kernel/unpriv* or so.) > wget https://linuxcontainers.or

Re: [lxc-users] LXC 1.0.6 has been released!

2014-09-25 Thread J Bc
Correct, sorry. Instructions: echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list echo "deb-src http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list apt-get -t wheezy-backports install linux-image-3.14-0.bpo.2-686-pae apt-get install li

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-25 Thread Chris
On 25/09/14 19:43, Serge Hallyn wrote D'oh. yeah you cannot have the last line inside a script - it moves the *script*, not your shell, into the new cgroup :) So from your shell after running the script, do for d in /sys/fs/cgroup/*; do echo $$ > $d/$USER/tasks done and that should wo