<div dir="ltr">I do not understand how this works. Could someone with knowledge of how jujud on a  controller communicates with jujud agents on units describe how that is done?<div><br></div><div>My limited understanding must be wrong give that James has this working.</div><div><br></div><div>This is what I thought:</div><div><br></div><div>On most cloud providers: add-machine instructs the cloud provider to start a new instance and the cloud-config passed to cloud-init includes how to download jujud agent and run it and configure it with public key trust of the juju controller.</div><div><br></div><div>On manually added machine: same thing only instead of cloud-init and cloud-config an ssh connection is used to perform the same commands.</div><div><br></div><div>I had thought the juju controller was initiating the ssh-connection to the address given in the add-machine command and that a non-internet routable address would simply not work as the controller cannot open any TCP connection to it. This is where my understanding stops.</div><div><br></div><div>Please, anyone, describe how this works?</div><div>--</div><div>Jay</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 9:42 AM, James Beedy <span dir="ltr"><<a href="mailto:jamesbeedy@gmail.com" target="_blank">jamesbeedy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I think the primary advantage being less clutter to the end user. The difference between the end user have to bootstrap and control things from inside the vm vs from their host. For some reason this small change made some of my users who were previously not really catching on, far more apt to jump in. I personally like it because these little vms go further when they don't have the controller on them as well. @jameinel totally, possibly I'll add the bridge bits in place of the lxd-proxy in that write up, or possibly in another.</div><span class="HOEnZb"><font color="#888888"><div id="m_-7020896893441136560AppleMailSignature"><br></div><div id="m_-7020896893441136560AppleMailSignature">~James</div></font></span><div><div class="h5"><div><br>On Jun 2, 2017, at 12:56 AM, John Meinel <<a href="mailto:john@arbash-meinel.com" target="_blank">john@arbash-meinel.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Interesting. I wouldn't have thought to use a manually added machine to use JAAS to deploy applications to your local virtualbox. Is there a reason this is easier than just "juju bootstrap lxd" from inside the VM?<div><br></div><div>I suppose our default lxd provider puts the new containers on a NAT bridge, though you can reconfigure 'lxdbr0' to bridge your 'eth0' as well.<br><div><br></div><div>John</div><div>=:-></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 8:33 AM, James Beedy <span dir="ltr"><<a href="mailto:jamesbeedy@gmail.com" target="_blank">jamesbeedy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="https://medium.com/@jamesbeedy/using-jaas-to-deploy-lxd-containers-to-virtualbox-vms-on-os-x-a06a8046756a" target="_blank">https://medium.com/@jamesbeedy<wbr>/using-jaas-to-deploy-lxd-<wbr>containers-to-virtualbox-vms-<wbr>on-os-x-a06a8046756a</a></div>
<br>--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/juju-dev</a><br>
<br></blockquote></div><br></div>
</div></blockquote></div></div></div><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" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/juju</a><br>
<br></blockquote></div><br></div>