Re: [lxc-users] LXD Openstack

2015-05-14 Thread Alvaro Miranda Aguilera
On Wed, May 6, 2015 at 5:29 AM, Chuck Short wrote: > https://zulcss.wordpress.com/2015/05/01/introduction-to-nova-compute-lxd/ Thanks very much. I will give it a go. Alvaro. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.l

[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] LXC Stability Question

2014-07-13 Thread Alvaro Miranda Aguilera
Hello, I think the article intention was describe the environment at 2013 since Oracle Linux 6.5 LXC is supported with the OS. Talking about LXC, it does work pretty good, the key is to understand what it does and what it doesn't and avoid generalizations and simplifacions. Alvaro. On Sun, Ju

Re: [lxc-users] Newbie

2014-06-24 Thread Alvaro Miranda Aguilera
hello, you need to enable ip forwarding in the kernel of the host, and the containers will have access to the network. something like this: sysctl -w net.ipv4.ip_forward=1 sed -i -e 's/net.ipv4.ip_forward\s=\s0$/net.ipv4.ip_forward = 1/' /etc/sysctl.conf the containers will be isolated in his

Re: [lxc-users] multiple veths cannot configure for each default gateway

2014-04-15 Thread Alvaro Miranda Aguilera
docker is now not using lxc libraries, you want to check the new version perhaps? Alvaro. On Sat, Apr 12, 2014 at 3:33 PM, Nakayama Kenjiro wrote: > Hi, > > I tried to set up multiple veth and default GW for each veth in one > container[1] by using docker with following command [2]. > But I go

Re: [lxc-users] vhost, vcontaiters?

2014-03-09 Thread Alvaro Miranda Aguilera
if you were doing this with nomal machines you will end probably having a nginx as front end and doing reverse proxy to 2nd and 3rd machine you need to do the same approach On Sun, Mar 9, 2014 at 12:49 PM, J Bc wrote: > Hello, a shit question, sorry. > When you use apache or nginx you can redi

Re: [lxc-users] Copy files from one container to another

2014-03-09 Thread Alvaro Miranda Aguilera
what failed, what errors did you face? On Sat, Mar 8, 2014 at 8:48 AM, Thouraya TH wrote: > Hello, > > Please, how can i send a file from one container to another ? > i have tried with scp MyFile ubuntu@10.0.3.205:/ > > But it did'nt work ! Have you an idea please ? > > > Thanks a lot. > Best R

Re: [lxc-users] lxc-stop doesn't stop centos, waits for the timeout

2014-02-26 Thread Alvaro Miranda Aguilera
ack' On Sun, Feb 23, 2014 at 8:40 AM, Istvan Balazs wrote: > testaasdf > > > 2014-02-21 11:22 GMT+01:00 Harald Dunkel : > > Found it: upstart ignores SIGPWR by default. >> >> Fix: >> >> cat > # power-status-changed - shutdown on SIGPWR >> # >> start on powe

Re: [lxc-users] lxc-ls question

2014-02-25 Thread Alvaro Miranda Aguilera
for the rpm part, you can do make rpm after the make and update the lxc that came/require docker.. On Tue, Feb 25, 2014 at 2:29 AM, Kevin Wilson wrote: > Thanks, Stephane, > > I just want to let you know that > ./configure --disable-python --prefix=/test > --with-config-path=/test/var/lib/lxc

Re: [lxc-users] Setting up containers with multiple logical volumes

2014-02-12 Thread Alvaro Miranda Aguilera
.html On Wed, Feb 12, 2014 at 9:34 AM, Joshua Schaeffer wrote: > Based on the documentation I read, this can be the same, however all I > really care about is that the LV gets mounted to that location on the host. > > > On Tue, Feb 11, 2014 at 1:13 PM, Alvaro Miranda Aguilera < >

Re: [lxc-users] Setting up containers with multiple logical volumes

2014-02-11 Thread Alvaro Miranda Aguilera
On Wed, Feb 12, 2014 at 4:11 AM, Joshua Schaeffer wrote: > lxc.mount.entry= /var/lib/lxc/ldap_baneling/rootfs/var > /var/lib/lxc/ldap_baneling/rootfs/varnonebind00 > lxc.mount.entry= /var/lib/lxc/ldap_baneling/rootfs/tmp > /var/lib/lxc/ldap_baneling/rootfs/tmpnonebi

Re: [lxc-users] failed to start container on centos

2014-02-10 Thread Alvaro Miranda Aguilera
try this: chkconfig cgconfig on service cgconfig restart service libvirtd start sysctl -w net.ipv4.ip_forward=1 if you want the containers to access the network/internet add net.ipv4.ip_forward=1 to /etc/sysctl.conf Alvaro. On Tue, Feb 11, 2014 at 4:06 AM, Mingjiang Shi wrote: > Hi th

Re: [lxc-users] Use rootfs images to avoid lxc-create

2014-02-10 Thread Alvaro Miranda Aguilera
When you compress, be sure you use tar and --numeric-owner keep the same config, and start from there, i should and works. On Tue, Feb 11, 2014 at 10:05 AM, Robin Monjo wrote: > Hello, > > I'd like to avoid the lxc-create step and directly use a "static" rootfs > (that I can download for exam

Re: [lxc-users] networking issue

2014-01-26 Thread Alvaro Miranda Aguilera
for what I see, if you are using iptables prerouting, then you need to use the IP that is on the same network for both machines. if you want to go from one network to other separate, you need to set routes, otherwise, the packages will go out to 0.0.0.0 >From what I undestand in you network: hos

Re: [lxc-users] Lxcfile :: For creating containers easily

2014-01-22 Thread Alvaro Miranda Aguilera
have a look at this: https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/ On Thu, Jan 23, 2014 at 3:38 PM, Alvaro Miranda Aguilera wrote: > Hello, > > If you can review the devel mailing list, you will find something like > this is working in progress. > >

Re: [lxc-users] Lxcfile :: For creating containers easily

2014-01-22 Thread Alvaro Miranda Aguilera
Hello, If you can review the devel mailing list, you will find something like this is working in progress. they are building daily images of some templates (oracle, ubuntu, etc), and working in add a new lxc-download to have an option to lxc-create. https://github.com/lxc/lxc/blob/master/templat

Re: [lxc-users] Stopping a container

2014-01-20 Thread Alvaro Miranda Aguilera
: failed to clone(0x8000): Invalid argument > lxc-attach: Invalid argument - failed to create subprocess > > > Any ideas about this error message of lxc-attach ? > > I am working with latest git tree on both fedora and ubuntu. I build it > in both cases with --disable-pytho

Re: [lxc-users] Stopping a container

2014-01-16 Thread Alvaro Miranda Aguilera
what's the time if you shutdown the container from inside? time lxc-attach -n fedoraCT1 poweroff On Fri, Jan 17, 2014 at 9:31 AM, David Shwatrz wrote: > Hello, lxc-users, > > I created a container using the fedora template with the latest git > LXC tree, on Fedora 20. > > I use the standard

Re: [lxc-users] Can LVM be used in an LXC container?

2014-01-16 Thread Alvaro Miranda Aguilera
Hello. 10 236 are the device major minor for /dev/mapper devices http://debian-handbook.info/browse/wheezy/advanced-administration.html 252 for disk devices i think According to the "devices.txt" file in /usr/src/linux/Documentation, those number fall into the range, well, here's what's in the

Re: [lxc-users] Network question

2013-12-28 Thread Alvaro Miranda Aguilera
>From what I know, and based on my experience. the LXC install will setup the libvirt bridge, and if the ipv4 forward is enabled, then the guest will have outgoing traffic. echo 1 > /proc/sys/net/ipv4/ip_forward For the port-forward, you can use iptabled to forward host ports into guests. Alva

Re: [lxc-users] short question: can a user know he is inside a container ?

2013-12-28 Thread Alvaro Miranda Aguilera
Hello, For non root user, I check for /dev/lxc/console [grid@ol6 ~]$ [ -c /dev/lxc/console ] && echo "inside lxc container" inside lxc container Alvaro. On Thu, Dec 26, 2013 at 9:52 AM, Stéphane Graber wrote: > On Wed, Dec 25, 2013 at 10:44:21PM +0200, David Shwatrz wrote: > > Hello, lxc us

Re: [lxc-users] Newbie: templates and zip downloadables

2013-12-28 Thread Alvaro Miranda Aguilera
Hello, The idea behind the template, is that will build a minimal box for you, from there you can add other software that you will need. once the new lxc guest have been created, if you think is better/easier/quicker, you can create a zip/tar. this approach will allow 1000 of different installat