juju-core 1.21-beta2

Milestone information

Project:
juju-core
Series:
1.21
Version:
1.21-beta2
Released:
 
Registrant:
Curtis Hovey
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Anastasia, 2 Andrew Wilkins, 1 Dimiter Naydenov, 6 Ian Booth, 1 John A Meinel, 1 Michael Foord
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
13 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon juju-setup-1.21-beta2.exe (md5, sig) Windows installer for the juju client 6
last downloaded 42 weeks ago
download icon juju-core_1.21-beta2.tar.gz (md5, sig) Juju-core release 7
last downloaded 43 weeks ago
Total downloads: 13

Release notes 

juju-core 1.21-beta2

A new development release of Juju, juju-core 1.21-beta2, is now available.
This release replaces 1.21-beta1.

Getting Juju

juju-core 1.21-beta2 is available for utopic and backported to earlier
series in the following PPA:

    https://launchpad.net/~juju/+archive/devel

The devel packages in this archive use the devel simple-streams.
You must configure the 'agent-stream' option in your
environments.yaml to use the matching juju agents.

    agent-stream: devel

Upgrading from stable releases to development releases is not
supported. You can upgrade test environments to development releases
to test new features and fixes, but it is not advised to upgrade
production environments to 1.21-beta2.

Notable Changes

  * Rebooting units from charm hooks

Rebooting units from charm hooks

There are several cases where a charm needs to reboot a machine, such as
after a kernel upgrade, or to upgrade the entire system. The charm may
not be able to complete the hook until the machine is rebooted.

The 'juju-reboot' command allows charm authors schedule a reboot from
inside a charm hook. The reboot will only happen if the hook completes
without error. You can schedule a reboot like so:

    juju-reboot

The '--now' option can be passed to block hook execution. The
'juju-reboot' command will hang until the unit agent stops the hook and
re-queues it for next run. This will allow you to create multi-step
install hooks.

Charm authors must wrap calls to 'juju-reboot' th ensure it is
actually necessary, otherwise The charm risks entering a reboot loop.
The preferred work-flow is to check if the feature/charm is in the
desired state, and reboot when needed. This bash example assumes that
"$FEATURE_IS_INSTALLED" variable was defined by a check for the feature,
then 'juju-reboot' is called if the variable is false:

    if [[ $FEATURE_IS_INSTALLED == "false" ]]
    then
        install_feature
        juju-reboot --now
    fi

The 'juju-reboot' command can be called from any hook. It can also be called
using the 'juju run' command.

Resolved issues

* Failed to destroy-environment when node is in commissioning or new
  state
  Lp 1381619

* Unit-get public-address on ec2 returns split horizon dns
  Lp 1308374

* Juju tries to use lxcbr0 when local provider is configured with kvm
  containers
  Lp 1307677

* Add juju_machine_id to the hooks environment
  Lp 1359714

* Openstack provider, instance-state doesn't change on instance
  shutdown
  Lp 1382709

* Debug-log uses internal names for filtering
  Lp 1320543

* Tools linking issue 1.21beta1 for collocated services
  Lp 1391645

* Config-get error inside config-changed: "settings not found"
  Lp 1301996

* Bootstrap on multi-zone maas leaves 'allocated' nodes in all zones
  Lp 1392411

* Open-stack provider breaks swift with standard config
  Lp 1312217

Finally

We encourage everyone to subscribe the mailing list at
juju-dev@lists.canonical.com, or join us on #juju-dev on freenode.

Changelog 

This release does not have a changelog.

0 blueprints and 13 bugs targeted

Bug report Importance Assignee Status
1308374 #1308374 unit-get public-address on EC2 returns split horizon DNS 2 Critical Ian Booth  10 Fix Released
1381619 #1381619 Failed to destroy-environment when node is in commissioning or new state 2 Critical Michael Foord  10 Fix Released
1392514 #1392514 file not closed when writing simplestreams metadata 2 Critical Ian Booth  10 Fix Released
1301996 #1301996 config-get error inside config-changed: "settings not found" 3 High Dimiter Naydenov  10 Fix Released
1307677 #1307677 juju tries to use lxcbr0 when local provider is configured with kvm containers 3 High Ian Booth  10 Fix Released
1320543 #1320543 debug-log uses internal names for filtering 3 High Anastasia  10 Fix Released
1352944 #1352944 generate certificates with valid time one week in past 3 High John A Meinel  10 Fix Released
1359714 #1359714 Add JUJU_MACHINE_ID to the hooks environment 3 High Ian Booth  10 Fix Released
1382709 #1382709 Openstack provider, Instance-state doesn't change on instance shutdown 3 High Ian Booth  10 Fix Released
1391645 #1391645 Tools linking issue 1.21beta1 for collocated services 3 High Andrew Wilkins  10 Fix Released
1392411 #1392411 bootstrap on multi-zone MAAS leaves 'Allocated' nodes in all zones 3 High Andrew Wilkins  10 Fix Released
1244761 #1244761 reboot hook command for deferred reboot 4 Medium   10 Fix Released
1312217 #1312217 open-stack provider breaks swift with standard config 4 Medium Ian Booth  10 Fix Released
This milestone contains Public information
Everyone can see this information.