cf-charmers team mailing list archive
-
cf-charmers team
-
Mailing list archive
-
Message #00039
Re: fast lxc
Hi Kapil,
I’m trying using KVM for DEA only.
It doesn’t work for me inside vagrant. Now trying on bare metal.
If it works, how to use it with bundle deployer. How to specify to use KVM for DEA?
-Alex Prismakov
On Apr 8, 2014, at 17:13, Kapil Thangavelu <kapil.thangavelu@xxxxxxxxxxxxx> wrote:
> with juju's builtin local provider (running 1.18) if you have btrfs @ /var/lib/lxc and install squid-deb-proxy on the host, and run juju set-env apt-http-proxy="http://10.0.3.1:8000" you should be able to use the local provider with significant speed improvements. (clone for containers package caches, you also need to modify the squid deb proxy conf to allow for ppa access), but that won't include nested containers, you can however use add-machine kvm:0 to get a kvm machine in local provider for dea agents that will support warden containers. you'll need to configure the 'network-bridge' option in environments.yaml to point to virbr0 so lxc and kvm come up on the same network.
>
>
> I put together an ansible script on my separate workflow with manual provider + lxc which does allow nesting but its not polished, and i don't think i can recommend it.
> https://github.com/kapilt/juju-lxc/blob/master/ec2.yml
>
> having issues logging into pivotal tracker will resolve later.
>
> http://www.pivotaltracker.com/story/show/68893338
>
> cheers,
>
> Kapil
>
> --
> Mailing list: https://launchpad.net/~cf-charmers
> Post to : cf-charmers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cf-charmers
> More help : https://help.launchpad.net/ListHelp
References
-
fast lxc
From: Kapil Thangavelu, 2014-04-08