<div dir="ltr"><div style="font-size:12.800000190734863px">Quick instructions on how the new azure credentials flow works in Juju 2.2-RC2: </div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><div><div># install az client using a snap</div><div>$ sudo snap install azure-cli --classic --edge</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">https://github.com/Azure/azure-cli</a> like this: </div><div>$ curl -L <a href="https://aka.ms/InstallAzureCli">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">https://jujucharms.com/docs/devel/reference-install#getting-development-releases</a></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span id="m_-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/<wbr>devel/reference-releases#<wbr>development</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="m_-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/<wbr>juju/+bug/1696491</a></span></p><div><br></div></span></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>