juju-core 1.24-alpha1

Milestone information

Project:
juju-core
Series:
1.24
Version:
1.24-alpha1
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:
2 Anastasia, 5 Andrew Wilkins, 2 Bogdan Teleaga, 2 Cheryl Jennings, 4 Dimiter Naydenov, 20 Eric Snow, 1 Frank Mueller, 2 Gabriel Samfira, 2 Horacio Durán, 10 Ian Booth, 2 Jesse Meek, 1 John A Meinel, 2 John Weldon, 1 Jorge Niedbalski, 3 Katherine Cox-Buday, 1 Martin Packman, 1 Matthew Williams, 5 Menno Finlay-Smits, 3 Michael Foord, 2 Nate Finch, 2 Tim Penhey, 3 Wayne Witzel III
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
78 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-1.24-alpha1-osx.tar.gz (md5, sig) OS X juju commands tarball 9
last downloaded 37 weeks ago
download icon juju-setup-1.24-alpha1.exe (md5, sig) Windows installer for the juju client 8
last downloaded 37 weeks ago
download icon juju-core_1.24-alpha1.tar.gz (md5, sig) Juju-core release 7
last downloaded 37 weeks ago
Total downloads: 24

Release notes 

# juju-core 1.24-alpha1

A new development release of Juju, juju-core 1.24-alpha1, is now available.

## Getting Juju

juju-core 1.24-alpha1 is available for vivid and backported to earlier
series in the following PPA:

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

Windows and OS X users will find installers at:

    https://launchpad.net/juju-core/+milestone/1.24-alpha1

Development releases use the "devel" simple-streams. You must configure
the `agent-stream` option in your environments.yaml to use the matching
juju agents.

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.24-alpha1.

## Notable Changes

  * Service status
  * storage (experimental)

### Service status

Juju provides new hooks for charm authors to report service status, and
'juju status' now includes the service status. This new functionality
allows charms to explicitly inform Juju of their status, rather than
Juju guessing. Charm authors have access to 2 new hook tools, and the
status report includes more information.

The 'status-set' hook tool allows a charm to report its status to Juju.
This is known as the workload status and is meant to reflect the state
of the software deployed by the chrm. Charm authors are responsible for
setting the workload's status to "Active" when the charm is ready to run
its workload, and "Blocked" when it needs user intervention to resolve a
problem.

    status-set:
        status-set <maintenance | blocked | waiting | active> "message"

The 'status-get' hook tool allows a charm to query the current workload
status recorded in Juju. Without arguments, it just prints the workload
status value eg maintenance. With '--include-data' specified, it prints
YAML which contains the status value plus any data associated with the
status.

    status-get:
        status-get [--include-data]

Charms that do not make use of these hook tools will still work as
before, but Juju will not provide details about the workload status.

The 'juju status' command includes the 'workload-status' and
'service-status' in the report. for example:

    services:
     ...
     wordpress:
       charm: local:trusty/wordpress-93
       exposed: false
       service-status: <-- new service status
         current: blocked
         message: Waiting for database
         since: 01 May 2015 17:39:38 AEST
       relations:
         loadbalancer:
         - wordpress
       units:
         wordpress/0:
           workload-status: <-- new workload status
             current: blocked
             message: Waiting for database
             since: 01 May 2015 17:39:38 AEST
           agent-status: <-- new agent status
             current: idle
             since: 01 May 2015 17:39:44 AEST
             version: 1.24-alpha1.1
           agent-state: started <-- legacy Juju agent state
           agent-version: 1.24-alpha1.1
           machine: "1"
           open-ports:
           - 80/tcp
           public-address: 23.20.250.14

Juju aggregates all the unit 'workload-status' values to represent the
'service-status'. The 'service-status' value is derived from the worst
case status of all the units; eg, if any unit is in error, then the
service is in error.

The 'status' command will use a table layout in the future, and you can
set the environmental variable 'JUJU_CLI_VERSION' to "2" to see it like
so:

    export JUJU_CLI_VERSION=2
    juju status

    NAME STATUS EXPOSED CHARM
    mysql unknown false local:trusty/mysql-326
    wordpress blocked false local:trusty/wordpress-93

The legacy status values are omitted from output. You can use the
'--yaml' option to see status in the Juju 1.x layout.

Juju also records a history of status changes for a unit, and tracks the
time when the status was last updated. The 'juju status-history' command
allows you to inspect a charm's status changes over time

    juju status-history [options] [-n N] <unit>

    options:
    -e, --environment (= "")
       juju environment to operate in
    -n (= 20)
       size of logs backlog.
    --type (= "combined")
       type of statuses to be displayed [agent|workload|combined].
    --utc (= false)
       display time as UTC in RFC3339 format

    This command will report the history of status changes for
    a given unit.
    The statuses for the unit workload and/or agent are available.
    -type supports:
       agent: will show statuses for the unit's agent
       workload: will show statuses for the unit's workload
       combined: will show agent and workload statuses combined
    and sorted by time of occurrence.

For example, to see the history of the unit wordpress/0

    juju status-history wordpress/0

    TIME TYPE STATUS MESSAGE
    01 May 2015 17:33:20 EST workload unknown Waiting for agent initialization to finish
    01 May 2015 17:33:20 EST agent allocating
    01 May 2015 17:36:37 EST agent executing running install hook
    01 May 2015 17:36:37 EST workload maintenance installing charm software
    01 May 2015 17:36:38 EST workload maintenance installing dependencies
    01 May 2015 17:39:11 EST workload maintenance installing components
    01 May 2015 17:39:18 EST agent executing running leader-elected hook
    01 May 2015 17:39:18 EST agent executing running config-changed hook
    01 May 2015 17:39:19 EST workload maintenance configuring nginx
    01 May 2015 17:39:34 EST workload maintenance restarting services
    01 May 2015 17:39:38 EST workload blocked Waiting for database
    01 May 2015 17:39:39 EST agent executing running start hook
    01 May 2015 17:39:44 EST agent idle

### storage (experimental)

Juju now models storage, charms can request storage (volumes and
filesystems), and you can specify constraints on how to satisfy those
requests (which provider, what options, how large, how many).

Initially, Juju supports native volumes for the EC2 (EBS) and OpenStack
(Cinder) providers. Juju also supports several cloud-independent storage
providers: tmpfs, loop (loop devices), root filesystem. Future versions
of Juju will extend this set with providers for Ceph, NFS, and others.

The storage feature is experimental: it has some known caveats, and has
not yet been battle hardened. Instructions on use and caveats are
documented at https://jujucharms.com/docs/devel/wip-storage.

## Resolved issues

  * Deploying into kvm with local provider, hostnames are not unique
    Lp 1326091

  * Juju status complains "config has no uuid" when no .jenv is
    present
    Lp 1436925

  * Agent panic on maas network with uppercase characters
    Lp 1446608

  * Debug-log spammed with leader-election messages
    Lp 1437015

  * Eu-central-1 aws region v4 signing required and not supported
    Lp 1447841

  * Environment variables are not propagated to jujud on vivid
    Lp 1449436

  * Rsyslog-gnutls is not installed when enable-os-refresh-update is
    false
    Lp 1424892

  * Juju stop responding after juju-upgrade
    Lp 1438489

  * Jujud won't start if apt-get of juju-mongodb package fails
    Lp 1441904

  * Juju cli compatibility option
    Lp 1450701

  * Upgrade from 1.18 to 1.23 fails: password for machine agent can't
    be set
    Lp 1451297

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 78 bugs targeted

Bug report Importance Assignee Status
1431888 #1431888 Juju cannot be deployed on a restricted network 2 Critical Dimiter Naydenov  10 Fix Released
1433116 #1433116 386 compilation error: dblogpruner/worker.go:32: constant 4294967296 overflows int 2 Critical Menno Finlay-Smits  10 Fix Released
1433254 #1433254 manual provider on trusty/precise syntax error near unexpected token `then' 2 Critical Eric Snow  10 Fix Released
1433566 #1433566 Precise unit test failure discoverySuite.TestDiscoverInitSystemScript 2 Critical Eric Snow  10 Fix Released
1434070 #1434070 upgrades are broken in master 1.24-alpha1 2 Critical Tim Penhey  10 Fix Released
1434680 #1434680 Certificate generated by certupdater worker cannot be used by MongoDB 2 Critical Ian Booth  10 Fix Released
1436871 #1436871 ppc64 gccgo fails to build cmd/juju 2 Critical John Weldon  10 Fix Released
1437366 #1437366 MAX_ARGS is reached when calling relation-set 2 Critical Eric Snow  10 Fix Released
1439761 #1439761 AWS V4 signing does not work 2 Critical Katherine Cox-Buday  10 Fix Released
1440940 #1440940 xml/marshal.go:10:2: cannot find package "encoding" 2 Critical Eric Snow  10 Fix Released
1441826 #1441826 deployer and quickstart are broken in 1.24-alpha1 2 Critical Horacio Durán  10 Fix Released
1442801 #1442801 aws containers are broken in 1.23 2 Critical Dimiter Naydenov  10 Fix Released
1447392 #1447392 ssh args list too long when bootstrapping 2 Critical Bogdan Teleaga  10 Fix Released
1447446 #1447446 1.23.1: bootstrap failure, vivid, local provider 2 Critical Eric Snow  10 Fix Released
1447846 #1447846 Hooks don't fire after upgrade 1.23.0 2 Critical Menno Finlay-Smits  10 Fix Released
1450191 #1450191 quickstart thinks the unit is started when it's still being installed 2 Critical Ian Booth  10 Fix Released
1450912 #1450912 quickstart is universally broken in 1.24 2 Critical Ian Booth  10 Fix Released
1450917 #1450917 afterHook logic skipped if hook is missing 2 Critical Ian Booth  10 Fix Released
1450919 #1450919 many window unit tests failures 2 Critical Andrew Wilkins  10 Fix Released
1326091 #1326091 deploying into kvm with local provider, hostnames are not unique 3 High Wayne Witzel III  10 Fix Released
1394755 #1394755 juju ensure-availability should be able to target existing machines 3 High Nate Finch  10 Fix Released
1424892 #1424892 rsyslog-gnutls is not installed when enable-os-refresh-update is false 3 High Nate Finch  10 Fix Released
1427508 #1427508 cmd/jujud/agent: test failure 3 High   10 Fix Released
1427879 #1427879 juju cannot deploy when distro-info-data gets a new series 3 High Ian Booth  10 Fix Released
1430340 #1430340 Failing to create tempdir in tests on windows 3 High Gabriel Samfira  10 Fix Released
1431918 #1431918 gce minDiskSize incorrect 3 High Wayne Witzel III  10 Fix Released
1432421 #1432421 vivid local failed to retrieve the template to clone 3 High Eric Snow  10 Fix Released
1433577 #1433577 Vivid unit tests need to pass 3 High Eric Snow  10 Fix Released
1434555 #1434555 ppc64el unit test timeout 3 High Ian Booth  10 Fix Released
1435152 #1435152 Can't deploy local charm in non-server environment 3 High Jesse Meek  10 Fix Released
1435860 #1435860 certSuite.TestNewDefaultServer failure 3 High Eric Snow  10 Fix Released
1435974 #1435974 Copyright information is not available for some files 3 High Cheryl Jennings  10 Fix Released
1436191 #1436191 gce: bootstrap instance has no network rule for API 3 High Dimiter Naydenov  10 Fix Released
1436390 #1436390 GCE provider config should support extracting auth info from JSON file 3 High Eric Snow  10 Fix Released
1436397 #1436397 map-order sensitive test in md/juju/storage needs to be fixed 3 High Anastasia  10 Fix Released
1436415 #1436415 vivid local template container "juju-vivid-lxc-template" did not stop' 3 High Eric Snow  10 Fix Released
1436655 #1436655 gce provider should stop using deprecated zone europe-west1-a 3 High Wayne Witzel III  10 Fix Released
1436925 #1436925 juju status complains "config has no UUID" when no .jenv is present 3 High Jesse Meek  10 Fix Released
1436988 #1436988 juju backup/restore is upstart-specific 3 High Eric Snow  10 Fix Released
1437015 #1437015 debug-log spammed with leader-election messages 3 High Katherine Cox-Buday  10 Fix Released
1437038 #1437038 1.23b2 fails to get IP from MAAS for containers, falls back to lxcbr0 3 High Michael Foord  10 Fix Released
1437040 #1437040 unit test failure: TestNewDefaultServer.N40_github_com_juju_juju_cert_test.certSuite 3 High Eric Snow  10 Fix Released
1437220 #1437220 gce provider often can't find its own instances 3 High Eric Snow  10 Fix Released
1437296 #1437296 apt-http-proxy being reset to bridge address 3 High Anastasia  10 Fix Released
1438489 #1438489 juju stop responding after juju-upgrade 3 High John Weldon  10 Fix Released
1438683 #1438683 Containers stuck allocating, interface not up 3 High Michael Foord  10 Fix Released
1438748 #1438748 Use of /tmp/discover_init_system.sh is a security vulnerability. 3 High Eric Snow  10 Fix Released
1439364 #1439364 error in logs: environment does not support networking 3 High Michael Foord  10 Fix Released
1439398 #1439398 GCE low-level RemoveInstances fails if firewalls are not found 3 High Eric Snow  10 Fix Released
1439447 #1439447 tools download in cloud-init should not go through http[s]_proxy 3 High Cheryl Jennings  10 Fix Released
1441904 #1441904 jujud won't start if apt-get of juju-mongodb package fails 3 High Menno Finlay-Smits  10 Fix Released
1442132 #1442132 [packaging juju-1.23] Issues met while working on debian/copyright file 3 High Martin Packman  10 Fix Released
1443440 #1443440 1.23-beta4 sporadically fails autotests 3 High Menno Finlay-Smits  10 Fix Released
1443541 #1443541 juju 1.23b4 vivid panic: runtime error: invalid memory address or nil pointer dereference 3 High Eric Snow  10 Fix Released
1443904 #1443904 Apache-licensed code has been borrowed with violation of license requirements 3 High Ian Booth  10 Fix Released
1444354 #1444354 juju backups includes previous backups in saved file 3 High   10 Fix Released
1445063 #1445063 addressable containers cannot resolve non-FQDN in maas 3 High Frank Mueller  10 Fix Released
1445338 #1445338 Win builds fail: cloudconfig/userdatacfg.go:65: undefined: unixConfigure 3 High Gabriel Samfira  10 Fix Released
1446608 #1446608 agent panic on MAAS network with uppercase characters 3 High Dimiter Naydenov  10 Fix Released
1446662 #1446662 Vivid bootstrap and destroy-environment intermittently fails 3 High Eric Snow  10 Fix Released
1446857 #1446857 MeterStatusWatcher tests fail on windows test slave 3 High Matthew Williams  10 Fix Released
1447595 #1447595 TestLeadership fails on windows test slave 3 High Bogdan Teleaga  10 Fix Released
1447841 #1447841 eu-central-1 AWS region V4 signing required and not supported 3 High Katherine Cox-Buday  10 Fix Released
1447853 #1447853 Local charms are not added to storage on upgrade to 1.22.x 3 High Horacio Durán  10 Fix Released
1449301 #1449301 storage: storage cannot be destroyed 3 High Andrew Wilkins  10 Fix Released
1449302 #1449302 upgrades: old machines need block devices document 3 High Ian Booth  10 Fix Released
1449367 #1449367 remove storage feature flag 3 High Ian Booth  10 Fix Released
1449390 #1449390 storage: charms must wait for storage to be attached before running "install" hook 3 High Andrew Wilkins  10 Fix Released
1449436 #1449436 Environment variables are not propagated to jujud on vivid 3 High Andrew Wilkins  10 Fix Released
1449822 #1449822 storage: storage-detached should be storage-detaching 3 High Andrew Wilkins  10 Fix Released
1450146 #1450146 vsphere provider feature flag should apply only to bootstrap 3 High Eric Snow  10 Fix Released
1450701 #1450701 Juju CLI compatibility option 3 High Ian Booth  10 Fix Released
1451100 #1451100 TestCheckProviderProvisional fails on ppc64 3 High Eric Snow  10 Fix Released
1451297 #1451297 Upgrade from 1.18 to 1.23 fails: password for machine agent can't be set 3 High Menno Finlay-Smits  10 Fix Released
1326799 #1326799 juju should log at environment URL 4 Medium Tim Penhey  10 Fix Released
1408459 #1408459 pingerSuite tests consistenly fail on trusty+386 and vivid+amd64 4 Medium Eric Snow  10 Fix Released
1423936 #1423936 Juju backup fails when journal files are present 4 Medium Jorge Niedbalski  10 Fix Released
1439204 #1439204 environs/tools does not cleanup in the right order 5 Low John A Meinel  10 Fix Released
This milestone contains Public information
Everyone can see this information.