<div dir="ltr"><div><span style="font-size:12.8px">Hi Dimiter,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I tried:</span></div><span style="font-size:12.8px">   JUJU_DEV_FEATURE_FLAG=address-</span><span style="font-size:12.8px">allocation juju bootstrap</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">However, it does not work.</span></div><div><span style="font-size:12.8px">I try a bootstrap using --show-log --debug and I get a line:</span></div><div><span style="font-size:12.8px">2015-11-02 14:07:34 INFO juju.provider.maas environ.go:139 address allocation feature disabled; using "juju-br0" bridge for all containers</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So, the address-allocation feature remains disabled.</span></div><div><span style="font-size:12.8px">Using juju 1.25.0.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2015 at 12:50, Richard Harding <span dir="ltr"><<a href="mailto:rick.harding@canonical.com" target="_blank">rick.harding@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 02 Nov 2015, Dimiter Naydenov wrote:<br>
<br>
> On 30.10.2015 01:06, Pshem Kowalczyk wrote:<br>
> ><br>
> > Hi<br>
> ><br>
> > On Fri, 30 Oct 2015 at 08:03 Curtis Hovey-Canonical<br>
> > <<a href="mailto:curtis@canonical.com">curtis@canonical.com</a> <mailto:<a href="mailto:curtis@canonical.com">curtis@canonical.com</a>>> wrote:<br>
> ><br>
> > {cut}<br>
> ><br>
> > ### Support "devices" on MAAS 1.8+<br>
> ><br>
> > MAAS 1.8 introduced a new feature called "devices". This allows<br>
> > the association of a "device", that requires an IP address, with a<br>
> > parent machine managed by MAAS. There is a view in the MAAS UI<br>
> > showing all devices.<br>
> ><br>
> > With the "address-allocation" feature flag enabled, Juju will<br>
> > register LXC and KVM containers as devices on MAAS 1.8+. They are<br>
> > visible in the MAAS UI. If the environment is forcibly shut down,<br>
> > the IP addresses allocated to the containers will be released by<br>
> > MAAS.<br>
> ><br>
> > You can enable "address-allocation" is new Juju environments like<br>
> > so:<br>
> ><br>
> > JUJU_DEV_FEATURE_FLAG=address-allocation juju bootstrap<br>
> ><br>
> ><br>
> ><br>
> > Are they any other requirements in order to get the "devices"<br>
> > feature working? I've just built a  brand new MAAS<br>
> > (1.8.2+bzr4041-0ubuntu1) and juju (1.25.0, from PPA) setup,<br>
> > bootstrapped a new environment using the syntax provided above, but<br>
> > the containers are not getting registered under 'MAAS devices'.<br>
> ><br>
> This is because recently MAAS web UI changed not to show devices as<br>
> before. However, juju should still be registering them for containers<br>
> and this can be verified by using the MAAS CLI:<br>
><br>
> $ maas <profile-name> devices list<br>
<br>
</div></div>Copying in Andres to ask if MAAS 1.9alpha has that UI support or is it<br>
part of the planned 2.0 releaes?<br>
<br>
--<br>
Rick Harding<br>
<br>
Juju Engineering<br>
<a href="https://launchpad.net/~rharding" rel="noreferrer" target="_blank">https://launchpad.net/~rharding</a><br>
@mitechie<br>
<div class="HOEnZb"><div class="h5"><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/mailman/listinfo/juju</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Wishes,</div><div><br></div><div>Darryl Weaver</div><div>+44 (0)7770 968825</div><div><a href="mailto:darryl@ubuntu.com" target="_blank">darryl@ubuntu.com</a></div><div>IRC: dweaver on Freenode, #ubuntu-uk or #darrylweaver</div></div></div>
</div>