<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 2:17 PM, Martin Packman <span dir="ltr"><<a href="mailto:martin.packman@canonical.com" target="_blank">martin.packman@canonical.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For the lxd provider, I understand we're resigned to the user having<br>
to manually configure a bridge for lxd before bootstrap can work.<br>
Currently the documentation is confused as to what exactly the steps<br>
are, the release notes refer to these two links:<br>
<br>
<<a href="https://linuxcontainers.org/lxd/getting-started-cli/" rel="noreferrer" target="_blank">https://linuxcontainers.org/lxd/getting-started-cli/</a>><br>
<<a href="http://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/" rel="noreferrer" target="_blank">http://insights.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained/</a>><br>
<br>
But I think the latest advice is as committed with this change to our<br>
documentation:<br>
<br>
<<a href="https://github.com/juju/docs/pull/998/files" rel="noreferrer" target="_blank">https://github.com/juju/docs/pull/998/files</a>><br>
<br>
Note that just running dpkg-reconfigure is not enough, you have to<br>
poke a service or run `lxc` afterwards or you get this error with<br>
beta4:<br>
<br>
    $ juju bootstrap --config default-series=xenial lxd-test lxd<br>
    ERROR cannot find network interface "lxcbr0": route ip+net: no<br>
such network interface<br>
    ERROR invalid config: route ip+net: no such network interface<br>
<br>
That's probably the cause of the other confusion in the updated docs -<br>
now we *do* want the bridge named lxdbr0 not lxcbr0. If the user<br>
already has lxc setup in some fashion there's a different error from<br>
juju telling them to run the dpkg-reconfigure command. That should<br>
presumably always appear whenever there's no usable bridge.<br></blockquote><div>The flip flopping back and forth on the bridge name is going to cause havoc even after release. Do we have clear direction now from LXD on how they plan to handle the competing network bridge names? I understand we're now saying a dpkg-reconfigure is required, but I'm not clear if / when we plan to make this easier. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unlike other providers, lxd exposes no way to use the daily images<br>
instead of release images, so at present any machine using lxd<br>
containers with juju for the first time will get the xenial beta2<br>
image then upgrade basically every package. This issue goes away next<br>
week, but gets in the way of testing before then.<br></blockquote><div>I think some workarounds for this were discussed -- did we have any success here? Do we have an issue filed upstream on this?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In a related note, the lxc container handling in juju manages images<br>
on the state server, but from what I see of the lxd code, each<br>
deployed machine will fetch images from <a href="http://cloud-images.ubuntu.com" rel="noreferrer" target="_blank">cloud-images.ubuntu.com</a> and<br>
keep a separate set of images. That makes the above problem much worse<br>
for any bundle with multiple machines that use containers.<br></blockquote><div>Same as above. I just want to make sure we don't loose sight of this and do our part in reporting it so upstream can seek to resolve at some point. </div><div><br></div><div><br></div></div></div></div>