[lxc-users] LXD Openstack

2015-04-28 Thread Alvaro Miranda Aguilera
Hello, Can anyone point me in a guide I can use and end with OpenStack using LXD? I did look over the web, and wasn't able to find anything like a guide or howto, so I am asking here in case someone has done and can give an idea where to look Thanks in advance Alvaro. ___

Re: [lxc-users] sysctl -p fails again in container with 1.1.2-0ubuntu3~ubuntu14.04.1~ppa1 ?

2015-04-28 Thread Serge Hallyn
Quoting Dan Kegel (d...@kegel.com): > On April 23rd, I started seeing this on my ubuntu 14.04 system in an lxc > guest: > $ sudo /sbin/sysctl -p > sysctl: setting key "kernel.sem": Read-only file system > > Didn't we go through this last year? :-) > http://comments.gmane.org/gmane.linux.kernel.c

Re: [lxc-users] What's the best way to copy file from host to container?

2015-04-28 Thread Fiedler Roman
Hello Andrey, > Von: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] Im > Auftrag > > Greetings, Fiedler Roman. > > Monday, April 27, 2015, 09:14:26 you wrote: > > >> This seems to be the perfect solution, I can just copy over to the path > >> like > >> proc/12423/root/usr/local,

[lxc-users] some command line questions

2015-04-28 Thread Fırat KÜÇÜK
Hi, ı want to use lxd on my dedicated server to seperate my projects like kvm based VPSs. So i cannot find a complete document about lxd how can i limit memory of my lxd container? I tried something like this but cannot succeeded lxc config set ilactakip lxc.cgroup.memory.limit_in_bytes 536870

Re: [lxc-users] some command line questions

2015-04-28 Thread Fırat KÜÇÜK
i tried: lxc config set ilactakip limits.memory 4GB lxc accepted the key but container doesn't start. lxc_container 1430238697.214 INFO lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for ilactakip lxc_container 1430238697.216 INFO lxc_monitor - monitor.c:lxc_m

Re: [lxc-users] some command line questions

2015-04-28 Thread Serge Hallyn
0 ✓ serge@sl ~/go/bin $ lxc config set b2 limits.memory 4G 0 ✓ serge@sl ~/go/bin $ lxc start b2 0 ✓ serge@sl ~/go/bin $ lxc stop b2 0 ✓ serge@sl ~/go/bin $ lxc config set b2 limits.memory 4GB 0 ✓ serge@sl ~/go/bin $ lxc start b2 error: starting the container failed So I'd call this a bug in lxc -

Re: [lxc-users] networking and permissions questions

2015-04-28 Thread Joe McDonald
On Mon, Apr 27, 2015 at 8:05 PM, Fajar A. Nugraha wrote: > On Tue, Apr 28, 2015 at 6:53 AM, Joe McDonald wrote: >> 1) Do I need to specify this IP in both the >> config file and the rootfs/etc/network/interfaces file? >> Is there a better way to do this? > > IMHO the best way is on container's in

Re: [lxc-users] some command line questions

2015-04-28 Thread Fırat KÜÇÜK
i find the command from this document: https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md Document can be updated. 0 ✓ serge@sl ~/go/bin $ lxc config set b2 limits.memory 4G 0 ✓ serge@sl ~/go/bin $ lxc start b2 0 ✓ serge@sl ~/go/bin $ lxc stop b2 0 ✓ serge@sl ~/go/bin $

Re: [lxc-users] What's the best way to copy file from host to container?

2015-04-28 Thread Andrey Repin
Greetings, LXC users mailing-list! >> > What about packing the files with e.g. cpio on the host and injecting them >> > via >> > pipe to ns-attached cpio-process running in guest scope. >> >> > This also works around guest to host privilege escalation if malicious >> > guest >> > content moves a

[lxc-users] memory.limit_in_bytes works, but not memory.memsw.limit_in_bytes and cpuset.cpus

2015-04-28 Thread Yonsy Solis
Hi. I setup some containers (lxc 1.1.2 ubuntu-lxc-git-stable-1_1 ppa) and i can configure memory with memory.limit_in_bytes, but i have two problems: - if i try to setup the swap memory limit with memory.memsw.limit_in_bytes (in config or with lxc-cgroup), don't work aparently, this is a mi

Re: [lxc-users] memory.limit_in_bytes works, but not memory.memsw.limit_in_bytes and cpuset.cpus

2015-04-28 Thread Serge Hallyn
Quoting Yonsy Solis (yonsy@gmail.com): > Hi. > > I setup some containers (lxc 1.1.2 ubuntu-lxc-git-stable-1_1 ppa) > and i can configure memory with memory.limit_in_bytes, but i have > two problems: > > - if i try to setup the swap memory limit with > memory.memsw.limit_in_bytes (in config or

[lxc-users] change ip

2015-04-28 Thread Fırat KÜÇÜK
Hi, how can i change default ip address on new style lxc/lxd command? Is there any documentation about this? -- FIRAT KÜÇÜK ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] memory.limit_in_bytes works, but not memory.memsw.limit_in_bytes and cpuset.cpus

2015-04-28 Thread Yonsy Solis
On Tue, Apr 28, 2015 at 2:59 PM, Serge Hallyn wrote: I suspect your kernel isn't compiled with the support for that. You can verify that by looking under /sys/fs/cgroup/memory for a memory.memsw.limit_in_bytes file. If you compile it into the kernel then lxc will be able to use it GRUB

Re: [lxc-users] LXCFS install issue

2015-04-28 Thread Rajasekar Darapuram
When I try to restart restart the containers..on lxc-start the lxcfs is getting killed again...Do I need to reboot the machine? So here are the steps I did 1. Stopped all containers 2. ran fusermount -uz /var/lib/lxcfs (as service lxcfs start was failing) 3. Start lxcfs..checked the status and it