Glad to see this here!<div><br clear="all"><div>Thanks,</div><div><br></div><div>Juan</div>
<br><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 6:14 PM, Kapil Thangavelu <span dir="ltr"><<a href="mailto:kapil.thangavelu@canonical.com">kapil.thangavelu@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Folks,<br>
<br>
If your interested in trying out the new local/lxc provider for juju, its in the<br>
latest daily ppa (and trunk) (revno 385) and could benefit from some further<br>
testing. We'd love to hear about any feedback people might have with this new<br>
feature.<br>
<br>
You'll need to setup an environment.yaml with the following provider config<br>
<br>
   name:<br>
     provider: local<br>
     data-dir: path-to-some-directory<br>
     default-series: oneiric<br>
<br>
You'll need some additional package dependencies (the cli will warn you at<br>
bootstrap if anything is missing), specifically libvirt-bin, lxc, apt-cacher-ng,<br>
and zookeeperd.<br>
<br>
After that you can bootstrap juju (it will do a sudo prompt), this will launch<br>
zookeeper and a machine agent (the latter running as root) on the host. All<br>
log files and data are kept in the user specific data-dir.<br>
<br>
 juju bootstrap<br>
 juju deploy --repository=examples local:wordpress<br>
 juju deploy --repository=examples local:mysql<br>
 juju add-relation wordpress mysql<br>
 ./bin/juju status<br>
<br>
If you have any problems getting things running please ping us on the #juju irc<br>
channel, or post a bug, please include $data-dir/units/master-customize.log and<br>
$data-dir/machine-agent.log in bug reports.<br>
<br>
The initial container creation will take a few minutes depending on if you've<br>
used lxc before as it does a debootstrap (cached subsequently), but additional<br>
containers should be quite fast. Ben did some nice work to make this as fast<br>
possible using lxc-clone and package caching (apt-cacher-ng) under the hood.<br>
<br>
The containers created are namespaced in a such way that you can create multiple<br>
environments on a machine. The containers also namespaced by user for multi-user<br>
machines. Hopefully the need for a sudo/root machine agent. users will disappear<br>
with user namespaces next cycle.<br>
<br>
cheers,<br>
<br>
Kapil<br>
<font color="#888888"><br>
--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
<br>
</font></blockquote></div><br></div>