<div dir="ltr">Is there a way to see what commits made it in to this release? I'm curious to know if a few patches (that weren't tied to bugs until recently) made it in.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 19, 2014 at 5:32 AM, Samuel Cozannet <span dir="ltr"><<a href="mailto:samuel.cozannet@canonical.com" target="_blank">samuel.cozannet@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">Thanks for all of this, all good and very helpful stuff :)</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 10:04 PM, Curtis Hovey-Canonical <span dir="ltr"><<a href="mailto:curtis@canonical.com" target="_blank">curtis@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">juju-core 1.21-alpha1<br>
<br>
A new development release of Juju, juju-core 1.21-alpha1, is now available.<br>
<br>
<br>
Getting Juju<br>
<br>
juju-core 1.21-alpha1 is available for utopic and backported to earlier<br>
series in the following PPA:<br>
<br>
    <a href="https://launchpad.net/~juju/+archive/devel" target="_blank">https://launchpad.net/~juju/+archive/devel</a><br>
<br>
The devel packages in this archive use the devel simple-streams.<br>
You must configure the 'tools-metadata-url' option in your<br>
environments.yaml to use the matching juju tools.<br>
<br>
    tools-metadata-url: <a href="https://streams.canonical.com/juju/devel/tools" target="_blank">https://streams.canonical.com/juju/devel/tools</a><br>
<br>
This ensures a clean separation between the stable tools and the devel<br>
tools. Production environments based on stable juju cannot accidentally<br>
upgrade to a devel release even when the --version option is passed to<br>
the 'upgrade-juju' command. The 'tools-metadata-url' option must be set<br>
to clearly state the environment is for evaluating development versions.<br>
<br>
Upgrading from stable releases to development releases is not<br>
supported. You can upgrade test environments to development releases<br>
to test new features and fixes, but it is not advised to upgrade<br>
production environments to 1.21-alpha1. You can switch your testing<br>
environment to use the devel streams like so:<br>
<br>
    juju set-env<br>
tools-metadata-url=<a href="https://streams.canonical.com/juju/devel/tools" target="_blank">https://streams.canonical.com/juju/devel/tools</a><br>
<br>
This change may take hours to propagate. You can upgrade when the devel url<br>
is shown to be in the env.<br>
<br>
     juju get-env tools-metadata-url<br>
<br>
<br>
Notable Changes<br>
<br>
* Harvest Modes<br>
<br>
* Disabling apt-get update/upgrade for faster provisioning<br>
<br>
* Using daily image streams for faster provisioning<br>
<br>
* Add many machines<br>
<br>
* Setting the MAAS network rules<br>
<br>
* Performing autopsies on failed bootstraps<br>
<br>
<br>
Harvest Modes<br>
<br>
Juju keeps a model of what it thinks the environment looks like, and<br>
based on that model, can harvest machines which it deems are no longer<br>
required. This can help keep your costs low, and keep you out of web<br>
consoles. Juju supports several harvesting modes to suit your needs.<br>
<br>
that Juju knows about. Unknown instances will not be harvested. This<br>
is the default mode.<br>
<br>
Destroyed: Juju will harvest only machine instances that are dead, and<br>
<br>
Unknown: Juju will harvest only instances that Juju doesn't know about.<br>
<br>
All: Juju will terminate all instances – destroyed or unknown – that it<br>
finds. This is a good option if you are only utilizing Juju for your<br>
environment.<br>
<br>
None: Juju won't harvest any machines. This is the most conservative<br>
mode, and a good choice if you manage your machines utilizing a separate<br>
process outside of Juju.<br>
<br>
Juju's harvesting behaviour is set through the environments.yaml file.<br>
<br>
    provisioner-harvest-mode: <MODE><br>
<br>
'provisioner-harvest-mode' replaces 'safe-mode'. Environments with<br>
'safe-mode' set will be converted to 'provisioner-harvest-mode' when<br>
upgraded.<br>
<br>
<br>
Disabling apt-get update/upgrade for faster provisioning<br>
<br>
When juju provisions a machine, its default behaviour is to update the<br>
list of available packages and upgrade the existing packages to the<br>
latest version. If your OS images are fresh or the services you deploy<br>
don't require updated packages, you can disable updates and upgrades to<br>
provision the machine faster.<br>
<br>
Two configuration options are available to disable apt updates and<br>
upgrades. When your OS images are fresh, you can set both<br>
'enable-os-refresh-update', and 'enable-os-upgrade' to false. When you<br>
know that some charms want the latest packages to to setup services, you<br>
will want to keep 'enable-os-refresh-update' set to "true"<br>
<br>
You can configure the options in environments.yaml for fast provision<br>
like so<br>
<br>
    enable-os-upgrade: false<br>
    enable-os-refresh-update: false<br>
<br>
<br>
Using daily image streams for faster provisioning<br>
<br>
Juju prefers to use the well slow changing "released" images when<br>
provisioning machines. The 'image-stream' option in environments.yaml<br>
can be set to "daily" use more up-to-date images, thus shortening the<br>
time it takes to perform apt-get update/upgrade. While this feature has<br>
existed since 1.18.0, it was not applied consistently KVM containers.<br>
KVM containers will now use "daily" when environments.yaml is set to:<br>
<br>
    image-stream: daily<br>
<br>
<br>
Add many machines<br>
<br>
Juju's 'add-machine' command now accepts the '-n' option to add many<br>
machines. For example, to add two machines:<br>
<br>
    juju add-machine -n 2<br>
<br>
The '-n' option can be combined with placement. You can add to lxc<br>
containers to machine 1 thusly<br>
<br>
     juju add-machine lxc:1 -n 2<br>
<br>
<br>
Setting the MAAS network rules<br>
<br>
The default network bridge is eth0. MAAS environments can specify a<br>
different interface using the network-bridge options. For bridge can<br>
be set to eth2 in environments.yaml like so:<br>
<br>
    network-bridge: eth2<br>
<br>
Juju and MAAS cannot both be in control of the network. When MAAS<br>
is managing the bridge and bringing networks up and down, set the<br>
'disable-network-management' option in environments.yaml to "true":<br>
<br>
    disable-network-management: true<br>
<br>
This tells Juju not to create a network bridge or bringing eth0<br>
up and down during cloudinit. Juju will not make changes to the<br>
network config when its agents start.<br>
<br>
<br>
Performing autopsies on failed bootstraps<br>
<br>
The juju 'bootstrap' command has a new option for testers and anyone<br>
examining why a bootstrap failed. Use the '--keep-broken' option to<br>
keep the machine up. You can then use ssh to gather logs and<br>
investigate the cause of the failure.<br>
<br>
<br>
Resolved issues<br>
<br>
* Maas provider assumes machine uses dhcp for eth0<br>
  Lp 1361374<br>
<br>
* Relation-get with invalid relation name panics agent<br>
  Lp 1365412<br>
<br>
* We should remove direct db access for clients<br>
  Lp 1253652<br>
<br>
* Allow specifying a key when doing manual provisioning<br>
  Lp 1270466<br>
<br>
* Juju doesn't use maas' knowledge of system architecture when picking<br>
  tools<br>
  Lp 1303853<br>
<br>
* Juju add-machine still assumes precise (maas)<br>
  Lp 1315473<br>
<br>
* Local provider is very slow to tranistion from agent-status: pending<br>
  Lp 1322302<br>
<br>
* Juju should wrap apt-get invocations with eatmydata when<br>
  provisioning cloud instances<br>
  Lp 1335822<br>
<br>
* Juju 1.21-alpha1 local provider does not create all-machines.log<br>
  Lp 1339715<br>
<br>
* Cloudinit does not use ssh client<br>
  Lp 1339976<br>
<br>
* Provisioner-safe-mode is undocumented<br>
  Lp 1342729<br>
<br>
* Networker restarts every 3 seconds with the local provider (missing<br>
  /etc/network/interfaces)<br>
  Lp 1343219<br>
<br>
* Describe harvesting strategy rather than using "safe mode" name<br>
  Lp 1345553<br>
<br>
* Configstore: if the size of the serialised jenv decreases the .jenv<br>
  file will be corrupt<br>
  Lp 1348458<br>
<br>
* Juju-core client panics with juju set empty string<br>
  Lp 1348829<br>
<br>
* Juju ignores environments.yaml on failed bootstrap if $provider.jenv<br>
  exists<br>
  Lp 1361680<br>
<br>
* Saved addresses should omit link-local addresses<br>
  Lp 1362453<br>
<br>
* Add-machine containers should default to latest lts<br>
  Lp 1363971<br>
<br>
* Blobstore's hashing needs improvement<br>
  Lp 1364750<br>
<br>
* --keep-broken option still allows instance to be stopped<br>
  Lp 1365772<br>
<br>
* Removing a unit on an unclean machine should remove that machine<br>
  Lp 1206532<br>
<br>
* Juju log files should not be world readable<br>
  Lp 1286518<br>
<br>
* Juju uses hard-coded regions<br>
  Lp 1319474<br>
<br>
* Cmd/juju: deploy --to a non existent machine fails too late in the<br>
  process<br>
  Lp 1212538<br>
<br>
* Cmd/juju: add-machine should take a -n param<br>
  Lp 1214209<br>
<br>
* Missing @ syntax for reading config setting from file content<br>
  Lp 1216967<br>
<br>
* Container provisioner may choose bad tools<br>
  Lp 1347984<br>
<br>
* Juju set help is written but not shown<br>
  Lp 1359187<br>
<br>
<br>
Finally<br>
<br>
We encourage everyone to subscribe the mailing list at<br>
<a href="mailto:juju-dev@lists.canonical.com" target="_blank">juju-dev@lists.canonical.com</a>, or join us on #juju-dev on freenode.<br>
<span><font color="#888888"><br>
--<br>
Curtis Hovey<br>
Canonical Cloud Development and Operations<br>
<a href="http://launchpad.net/~sinzui" target="_blank">http://launchpad.net/~sinzui</a><br>
<br>
--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com" target="_blank">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr">Samuel Cozannet<div>Cloud, Big Data and IoT Strategy Team<br><div>Strategic Program Manager</div><div>Changing the Future of Cloud<br>Ubuntu <<a href="http://ubuntu.com/" style="color:rgb(17,85,204)" target="_blank">http://ubuntu.com</a>> / Canonical <<a href="http://canonical.com/" style="color:rgb(17,85,204)" target="_blank">http://canonical.com</a>> UK LTD<br></div><div><a href="mailto:samuel.cozannet@canonical.com" target="_blank">samuel.cozannet@canonical.com</a></div><div>+33 616 702 389</div><div><br></div></div></div>
</font></span></div>
<br>--<br>
canonical-juju mailing list<br>
<a href="mailto:canonical-juju@lists.canonical.com">canonical-juju@lists.canonical.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.canonical.com/mailman/listinfo/canonical-juju" target="_blank">https://lists.canonical.com/mailman/listinfo/canonical-juju</a><br>
<br></blockquote></div><br></div>