<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 9, 2017 at 12:29 PM, Uros Jovanovic <span dir="ltr"><<a href="mailto:uros.jovanovic@canonical.com" target="_blank">uros.jovanovic@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Quick instructions on how the new azure credentials flow works in Juju 2.2-RC2: </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><div># install az client using a snap</div><div>$ sudo snap install azure-cli --classic --edge</div></div></div></div></blockquote><div><br></div><div>I've pushed the snap to stable, so you can drop the --edge flag:</div><div><div> </div><div><span style="font-size:12.8px">$ sudo snap install azure-cli --classic</span></div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><div><div> </div><div># login to azure</div><div>$ az login </div><div> </div><div># install latest 2.2-rc2 Juju</div><div>$ sudo snap install juju --classic --candidate</div><div> </div><div># verify version </div><div>$ juju version </div><div>2.2-rc2-xenial-amd64</div><div># if it's not 2.2-rc2, PATH needs to be set so that snapped juju comes first</div><div>$ export PATH=/snap/bin:$PATH</div><div> </div><div>$ juju add-credential azure</div><div># select some name for the credentials, </div><div># then select interactive as default choice, </div><div># and when asked for "subscription id (optional)" just press enter.</div><div># the process uses the default subscription</div><div> </div><div># if you’d like to select between multiple subscriptions instead</div><div>$ juju autoload-credentials</div><div> </div><div>$ juju credentials</div><div># shows new creds for azure</div></div><div><br></div><div>Done.</div><div><br></div><div>You can also install Azure CLI Client from from <a href="https://github.com/Azure/azure-cli" target="_blank">https://github.com/Azure/<wbr>azure-cli</a> like this: </div><div>$ curl -L <a href="https://aka.ms/InstallAzureCli" target="_blank">https://aka.ms/InstallAzureCli</a> | bash<br></div><div><br></div><div><br></div><div>PS: a link to instructions how to get packages for other platforms should be <a href="https://jujucharms.com/docs/devel/reference-install#getting-development-releases" target="_blank">https://jujucharms.com/<wbr>docs/devel/reference-install#<wbr>getting-development-releases</a></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Fri, Jun 9, 2017 at 1:25 PM, Chris Lee <span dir="ltr"><<a href="mailto:chris.lee@canonical.com" target="_blank">chris.lee@canonical.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div dir="ltr"><span id="gmail-m_843216458995689054m_-3537513794364915606gmail-docs-internal-guid-954344ee-8c98-4384-0d85-e4245ac555f0"><p dir="ltr" style="line-height:1.38;margin-top:24pt;margin-bottom:0pt;margin-right:72pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"># Juju 2.2-rc2 Release Notes</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">We are delighted to announce the release of Juju and conjure-up 2.2-rc2! In this release, Juju greatly improves memory and storage consumption, works on KVM containers, and improves network modelling. conjure-up now supports Juju as a Service (JAAS), provides a MacOS client, and adds support for repeatable spell deployments.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">The best way to get your hands on this release of Juju and conjure-up is to install them via snap packages (see </span><a href="https://snapcraft.io/" style="text-decoration-line:none" target="_blank"><span style="font-size:11pt;font-family:"Ubuntu Mono";background-color:transparent;text-decoration-line:underline;vertical-align:baseline;white-space:pre-wrap">https://snapcraft.io/</span></a><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> for more info on snaps).</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">      </span><span style="font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap">   snap install juju --classic --candidate</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-right:72pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap">         snap install conjure-up --classic --candidate</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Other packages are available for a variety of platforms. Please see the online documentation at </span><a href="https://jujucharms.com/docs/devel/reference-releases#development" style="text-decoration-line:none" target="_blank"><span style="font-size:11pt;font-family:"Ubuntu Mono";background-color:transparent;text-decoration-line:underline;vertical-align:baseline;white-space:pre-wrap">https://jujucharms.com/docs/de<wbr>vel/reference-releases#develop<wbr>ment</span></a></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Please note that if you are upgrading an existing controller, please make sure there is at least 6G of free disk space. The upgrade step for the logs can take a while, in the vicinity of 10 or more minutes if the current logs collection is at its maximum size.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Since 2.2-rc1</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-m_843216458995689054m_-3537513794364915606gmail-kix-line-break"></span><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">## New and Improved</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"></span></p><hr><p></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Better support credential management in the Azure provider</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">* </span><span style="font-size:10pt;font-family:"Ubuntu Mono";color:rgb(36,41,46);vertical-align:baseline;white-space:pre-wrap">support autoload-credentials and juju add-credential in the azure provider when Azure CLI is installed.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:"Ubuntu Mono";color:rgb(36,41,46);vertical-align:baseline;white-space:pre-wrap">(this removes the requirement that the user discover their subscription ID before creating credentials)</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-right:72pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-right:72pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap">Rate limit login and connection requests to the controller(s) on busy systems.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">## Fixes</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"></span></p><hr><p></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-right:72pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap">Fix issue where status history logs were not pruned:</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-right:72pt"><span style="font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap">   </span><span style="text-decoration-line:underline;font-size:11pt;font-family:"Ubuntu Mono";vertical-align:baseline;white-space:pre-wrap"><a href="https://bugs.launchpad.net/juju/+bug/1696491" style="text-decoration-line:none" target="_blank">https://bugs.launchpad.net/j<wbr>uju/+bug/1696491</a></span></p><div><br></div></span></div>
<br></div></div><span class="gmail-HOEnZb"><font color="#888888">--<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></font></span></blockquote></div><br></div>
<br>--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">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/<wbr>mailman/listinfo/juju-dev</a><br>
<br></blockquote></div><br></div></div>