juju-core 1.21-alpha1

Retracted because it conflicts with juju 1.16.x and 1.18.x rules for bootstrap and upgrade.

Milestone information

Project:
juju-core
Series:
1.21
Version:
1.21-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:
1 Adam Collard, 30 Andrew Wilkins, 2 Bodie Solomon, 1 Casey Marshall, 2 Curtis Hovey, 12 Dave Cheney, 4 Dimiter Naydenov, 1 Domas Monkus, 1 Eric Snow, 5 Frank Mueller, 3 Horacio Durán, 27 Ian Booth, 3 Jesse Meek, 1 John A Meinel, 4 John Weldon, 2 Jorge Niedbalski, 13 Katherine Cox-Buday, 2 Matthew Williams, 5 Menno Finlay-Smits, 2 Michael Foord, 1 Nate Finch, 1 Roger Peppe, 6 Tim Penhey, 1 Wayne Witzel III
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
138 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-alpha1.exe (md5, sig) Windows installer for the juju client 37
last downloaded 16 weeks ago
download icon juju-core_1.21-alpha1.tar.gz (md5, sig) Juju-core release 26
last downloaded 16 weeks ago
Total downloads: 63

Release notes 

juju-core 1.21-alpha1

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

Getting Juju

juju-core 1.21-alpha1 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 'tools-metadata-url' option in your
environments.yaml to use the matching juju tools.

    tools-metadata-url: https://streams.canonical.com/juju/devel/tools

This ensures a clean separation between the stable tools and the devel
tools. Production environments based on stable juju cannot accidentally
upgrade to a devel release even when the --version option is passed to
the 'upgrade-juju' command. The 'tools-metadata-url' option must be set
to clearly state the environment is for evaluating development versions.

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-alpha1. You can switch your testing
environment to use the devel streams like so:

    juju set-env tools-metadata-url=https://streams.canonical.com/juju/devel/tools

This change may take hours to propagate. You can upgrade when the devel url
is shown to be in the env.

     juju get-env tools-metadata-url

Notable Changes

* Harvest Modes

* Disabling apt-get update/upgrade for faster provisioning

* Using daily image streams for faster provisioning

* Add many machines

* Setting the MAAS network rules

* Performing autopsies on failed bootstraps

Harvest Modes

Juju keeps a model of what it thinks the environment looks like, and
based on that model, can harvest machines which it deems are no longer
required. This can help keep your costs low, and keep you out of web
consoles. Juju supports several harvesting modes to suit your needs.

that Juju knows about. Unknown instances will not be harvested. This
is the default mode.

Destroyed: Juju will harvest only machine instances that are dead, and

Unknown: Juju will harvest only instances that Juju doesn't know about.

All: Juju will terminate all instances – destroyed or unknown – that it
finds. This is a good option if you are only utilizing Juju for your
environment.

None: Juju won't harvest any machines. This is the most conservative
mode, and a good choice if you manage your machines utilizing a separate
process outside of Juju.

Juju's harvesting behaviour is set through the environments.yaml file.

    provisioner-harvest-mode: <MODE>

'provisioner-harvest-mode' replaces 'safe-mode'. Environments with
'safe-mode' set will be converted to 'provisioner-harvest-mode' when
upgraded.

Disabling apt-get update/upgrade for faster provisioning

When juju provisions a machine, its default behaviour is to update the
list of available packages and upgrade the existing packages to the
latest version. If your OS images are fresh or the services you deploy
don't require updated packages, you can disable updates and upgrades to
provision the machine faster.

Two configuration options are available to disable apt updates and
upgrades. When your OS images are fresh, you can set both
'enable-os-refresh-update', and 'enable-os-upgrade' to false. When you
know that some charms want the latest packages to to setup services, you
will want to keep 'enable-os-refresh-update' set to "true"

You can configure the options in environments.yaml for fast provision
like so

    enable-os-upgrade: false
    enable-os-refresh-update: false

Using daily image streams for faster provisioning

Juju prefers to use the well slow changing "released" images when
provisioning machines. The 'image-stream' option in environments.yaml
can be set to "daily" use more up-to-date images, thus shortening the
time it takes to perform apt-get update/upgrade. While this feature has
existed since 1.18.0, it was not applied consistently KVM containers.
KVM containers will now use "daily" when environments.yaml is set to:

    image-stream: daily

Add many machines

Juju's 'add-machine' command now accepts the '-n' option to add many
machines. For example, to add two machines:

    juju add-machine -n 2

The '-n' option can be combined with placement. You can add to lxc
containers to machine 1 thusly

     juju add-machine lxc:1 -n 2

Setting the MAAS network rules

The default network bridge is eth0. MAAS environments can specify a
different interface using the network-bridge options. For bridge can
be set to eth2 in environments.yaml like so:

    network-bridge: eth2

Juju and MAAS cannot both be in control of the network. When MAAS
is managing the bridge and bringing networks up and down, set the
'disable-network-management' option in environments.yaml to "true":

    disable-network-management: true

This tells Juju not to create a network bridge or bringing eth0
up and down during cloudinit. Juju will not make changes to the
network config when its agents start.

Performing autopsies on failed bootstraps

The juju 'bootstrap' command has a new option for testers and anyone
examining why a bootstrap failed. Use the '--keep-broken' option to
keep the machine up. You can then use ssh to gather logs and
investigate the cause of the failure.

Resolved issues

* Maas provider assumes machine uses dhcp for eth0
  Lp 1361374

* Relation-get with invalid relation name panics agent
  Lp 1365412

* We should remove direct db access for clients
  Lp 1253652

* Allow specifying a key when doing manual provisioning
  Lp 1270466

* Juju doesn't use maas' knowledge of system architecture when picking
  tools
  Lp 1303853

* Juju add-machine still assumes precise (maas)
  Lp 1315473

* Local provider is very slow to tranistion from agent-status: pending
  Lp 1322302

* Juju should wrap apt-get invocations with eatmydata when
  provisioning cloud instances
  Lp 1335822

* Juju 1.21-alpha1 local provider does not create all-machines.log
  Lp 1339715

* Cloudinit does not use ssh client
  Lp 1339976

* Provisioner-safe-mode is undocumented
  Lp 1342729

* Networker restarts every 3 seconds with the local provider (missing
  /etc/network/interfaces)
  Lp 1343219

* Describe harvesting strategy rather than using "safe mode" name
  Lp 1345553

* Configstore: if the size of the serialised jenv decreases the .jenv
  file will be corrupt
  Lp 1348458

* Juju-core client panics with juju set empty string
  Lp 1348829

* Juju ignores environments.yaml on failed bootstrap if $provider.jenv
  exists
  Lp 1361680

* Saved addresses should omit link-local addresses
  Lp 1362453

* Add-machine containers should default to latest lts
  Lp 1363971

* Blobstore's hashing needs improvement
  Lp 1364750

* --keep-broken option still allows instance to be stopped
  Lp 1365772

* Removing a unit on an unclean machine should remove that machine
  Lp 1206532

* Juju log files should not be world readable
  Lp 1286518

* Juju uses hard-coded regions
  Lp 1319474

* Cmd/juju: deploy --to a non existent machine fails too late in the
  process
  Lp 1212538

* Cmd/juju: add-machine should take a -n param
  Lp 1214209

* Missing @ syntax for reading config setting from file content
  Lp 1216967

* Container provisioner may choose bad tools
  Lp 1347984

* Juju set help is written but not shown
  Lp 1359187

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

Bug report Importance Assignee Status
1334493 #1334493 Cannot compile/exec win client 2 Critical Dave Cheney  10 Fix Released
1334500 #1334500 state/apiserver: more data races 2 Critical Dave Cheney  10 Fix Released
1336089 #1336089 FAIL: managedstorage_test trusty ppc64 2 Critical Bodie Solomon  10 Fix Released
1336180 #1336180 state/apiserver: yet more data races 2 Critical Dave Cheney  10 Fix Released
1337063 #1337063 ppc64el compilation error 2 Critical Dave Cheney  10 Fix Released
1340997 #1340997 Many unit test failuere for utopic amd64 2 Critical   10 Fix Released
1342106 #1342106 add-machine fails in recent commit 2 Critical Tim Penhey  10 Fix Released
1342725 #1342725 C:/Juju/lib/juju/nonce.txt does not exist, bootstrap failed in win 2 Critical Andrew Wilkins  10 Fix Released
1342937 #1342937 Juju restore fails Could not get lock /var/lib/dpkg/lock 2 Critical Horacio Durán  10 Fix Released
1347715 #1347715 Manual provider does not respond after bootstrap 2 Critical Andrew Wilkins  10 Fix Released
1349635 #1349635 Networker shouldn't touch /etc/network/interfaces in a local environment 2 Critical Michael Foord  10 Fix Released
1350983 #1350983 Cannot bootstrap on azure: cannot create log collection 2 Critical Horacio Durán  10 Fix Released
1351019 #1351019 MongoSuite.TestJournalDisabledDetected fails on precise amd64 2 Critical Menno Finlay-Smits  10 Fix Released
1351030 #1351030 HA tests timeout 2 Critical Menno Finlay-Smits  10 Fix Released
1354027 #1354027 LXC was not created, no errors, no logs -> pending state. 2 Critical Ian Booth  10 Fix Released
1355219 #1355219 win client cannot build because src\gopkg.in\natefinch\npipe.v2 not found 2 Critical Nate Finch  10 Fix Released
1355320 #1355320 Cannot achieve HA 2 Critical Andrew Wilkins  10 Fix Released
1355324 #1355324 Restore fails starting the machine agent 2 Critical Horacio Durán  10 Fix Released
1356899 #1356899 manual provider add-machine fails if no ubuntu user on machine 2 Critical Jesse Meek  10 Fix Released
1357033 #1357033 sourcesSuite.TestGetFilesToBackup consistently fails on utopic 2 Critical Eric Snow  10 Fix Released
1358768 #1358768 No tools found in i386 and ppc64el unit tests 2 Critical Andrew Wilkins  10 Fix Released
1359333 #1359333 win client thinks the cloud-init log is on the c drive 2 Critical Ian Booth  10 Fix Released
1359837 #1359837 expose open_port fails with no-op change 2 Critical Domas Monkus  10 Fix Released
1361374 #1361374 maas provider assumes machine uses dhcp for eth0 2 Critical Dimiter Naydenov  10 Fix Released
1364438 #1364438 utopic lxc tools.tar.gz and aria2c not found 2 Critical Andrew Wilkins  10 Fix Released
1365412 #1365412 relation-get with invalid relation name panics agent 2 Critical Dave Cheney  10 Fix Released
1366802 #1366802 juju.-gui fails with a config-changed error when used under juju 1.21alpha 2 Critical   10 Fix Released
1367431 #1367431 Juju upgrade times out, never completes 2 Critical Andrew Wilkins  10 Fix Released
1243827 #1243827 juju is stripping underscore from options 3 High Katherine Cox-Buday  10 Fix Released
1253652 #1253652 we should remove direct DB access for clients 3 High   10 Fix Released
1270466 #1270466 allow specifying a key when doing manual provisioning 3 High Jesse Meek  10 Fix Released
1303853 #1303853 juju doesn't use maas' knowledge of system architecture when picking tools 3 High Andrew Wilkins  10 Fix Released
1307434 #1307434 talking to mongo can fail with "TCP i/o timeout" 3 High Michael Foord  10 Fix Released
1311227 #1311227 juju api-endpoints has no way to distinguish public and private addresses 3 High Frank Mueller  10 Fix Released
1311668 #1311668 clonetemplate lock can be left stale 3 High Ian Booth  10 Fix Released
1315093 #1315093 state: test failure due to map ordering 3 High Dave Cheney  10 Fix Released
1315473 #1315473 juju add-machine still assumes precise (maas) 3 High Ian Booth  10 Fix Released
1316185 #1316185 juju bootstrap hangs in slow environments 3 High Andrew Wilkins  10 Fix Released
1322302 #1322302 local provider is very slow to tranistion from agent-status: pending 3 High Katherine Cox-Buday  10 Fix Released
1322401 #1322401 kvm on ppc64el cannot fine images 3 High   10 Fix Released
1325034 #1325034 juju upgrade-juju on 1.18.3 upgraded my agents to 1.19.2 3 High Wayne Witzel III  10 Fix Released
1329637 #1329637 yet another map ordering test bug 3 High Katherine Cox-Buday  10 Fix Released
1334273 #1334273 Upgrades of precise localhost fail 3 High Andrew Wilkins  10 Fix Released
1334531 #1334531 state: mongo db connections leaking in tests 3 High Andrew Wilkins  10 Fix Released
1334773 #1334773 Upgrade from 1.19.3 to 1.19.4 cannot set machineaddress 3 High Andrew Wilkins  10 Fix Released
1335243 #1335243 No tools available TestValidateConstraintsCalledWithMetadatasource 3 High Ian Booth  10 Fix Released
1335328 #1335328 win juju client still broken with unknown 3 High Dave Cheney  10 Fix Released
1335822 #1335822 juju should wrap apt-get invocations with eatmydata when provisioning cloud instances 3 High Andrew Wilkins  10 Fix Released
1336104 #1336104 cannot restore bootstrap machine: cannot get public address of bootstrap machine 3 High Ian Booth  10 Fix Released
1336634 #1336634 testing/swiftservice: data race 3 High Dave Cheney  10 Fix Released
1336967 #1336967 Restore doesn't 3 High   10 Fix Released
1336980 #1336980 provider/openstack: map ordering issue in tests 3 High Dave Cheney  10 Fix Released
1337050 #1337050 state/apiserver/uniter: tear down test panics if there is a test failure 3 High Dave Cheney  10 Fix Released
1337091 #1337091 maas provider: allow users to specify network bridge interface. 3 High Jorge Niedbalski  10 Fix Released
1337340 #1337340 Juju bootstrap fails because mongodb is unreachable 3 High Andrew Wilkins  10 Fix Released
1338179 #1338179 juju 1.20.x slow bootstrap 3 High Andrew Wilkins  10 Fix Released
1338511 #1338511 api-endpoints fails if run just after bootstrap 3 High Andrew Wilkins  10 Fix Released
1339240 #1339240 juju 1.20 consistently fails to bootstrap a MAAS environment (regression from 1.18) 3 High Andrew Wilkins  10 Fix Released
1339715 #1339715 Juju 1.21-alpha1 local provider does not create all-machines.log 3 High Katherine Cox-Buday  10 Fix Released
1339957 #1339957 state/apiserver/uniter: map ordering related test failure 3 High John Weldon  10 Fix Released
1339976 #1339976 CloudInit does not use ssh client 3 High Jesse Meek  10 Fix Released
1340893 #1340893 juju bootstrap in an existing environment destroys the environment 3 High Katherine Cox-Buday  10 Fix Released
1341589 #1341589 Distribution tarball has licensing problems that prevent redistribution 3 High Ian Booth  10 Fix Released
1342729 #1342729 provisioner-safe-mode is undocumented 3 High Katherine Cox-Buday  10 Fix Released
1342747 #1342747 juju bootstrap fails if kvm-ok not in path 3 High Katherine Cox-Buday  10 Fix Released
1343219 #1343219 networker restarts every 3 seconds with the local provider (missing /etc/network/interfaces) 3 High Dimiter Naydenov  10 Fix Released
1344940 #1344940 Juju state server database is overly large 3 High Andrew Wilkins  10 Fix Released
1345014 #1345014 juju machine agents suiciding 3 High Andrew Wilkins  10 Fix Released
1345553 #1345553 Describe harvesting strategy rather than using "safe mode" name 3 High Katherine Cox-Buday  10 Fix Released
1345832 #1345832 Juju writes to mongo without an actual change occurring 3 High Andrew Wilkins  10 Fix Released
1347371 #1347371 azure: secondary state servers do not load balance API server port 3 High Andrew Wilkins  10 Fix Released
1347939 #1347939 Deadlock in login tests 3 High Ian Booth  10 Fix Released
1348032 #1348032 state/watcher: FastPeriodSuite.TestWatchAfterKnown failure 3 High Ian Booth  10 Fix Released
1348287 #1348287 Juju status returns private IP in 'public-ip' field. 3 High Ian Booth  10 Fix Released
1348386 #1348386 lxc template fails to stop 3 High Katherine Cox-Buday  10 Fix Released
1348458 #1348458 configstore: if the size of the serialised jenv decreases the .jenv file will be corrupt 3 High Dave Cheney  10 Fix Released
1348477 #1348477 userAuthenticatorSuite.TearDown failure 3 High Tim Penhey  10 Fix Released
1348829 #1348829 juju-core client panics with juju set empty string 3 High Jorge Niedbalski  10 Fix Released
1349771 #1349771 ppc64 architecture miss match for MAAS ppc64el 3 High Ian Booth  10 Fix Released
1349969 #1349969 Jujud rewrites /etc/init/juju-db.conf constantly 3 High Tim Penhey  10 Fix Released
1349989 #1349989 network error causes tools download to fail 3 High Ian Booth  10 Fix Released
1350011 #1350011 lxc deploys broken on precise 3 High Ian Booth  10 Fix Released
1350111 #1350111 machine agent enters "upgrade mode" unnecessarily 3 High Menno Finlay-Smits  10 Fix Released
1350493 #1350493 1.20.x local provider not running apt-get update 3 High Katherine Cox-Buday  10 Fix Released
1350633 #1350633 Deploy broken on many substrates: df: `/var/lib/juju/db 3 High Tim Penhey  10 Fix Released
1350700 #1350700 Bootstrap fails if /usr/lib/juju/bin/mongod doesn't already exist 3 High Andrew Wilkins  10 Fix Released
1351004 #1351004 Multiple lxc boostraps fail because stable is leaving stale locks 3 High Ian Booth  10 Fix Released
1351083 #1351083 API server inaccessible for roughly 5 seconds after bootstrap 3 High   10 Fix Released
1351089 #1351089 Isolation failure in several tests 3 High John Weldon  10 Fix Released
1351371 #1351371 state/apiserver/uniter/uniter_test fails TestPreexistingActions when Actions arrive out of order. 3 High Bodie Solomon  10 Fix Released
1353442 #1353442 MAAS provider uses dead instance address 3 High Ian Booth  10 Fix Released
1353443 #1353443 Install hook error due to modprobe 8021q failure 3 High Dimiter Naydenov  10 Fix Released
1354015 #1354015 ppc64 cannot bootstrap local to deploy manual 3 High Ian Booth  10 Fix Released
1354685 #1354685 installation of packages for containers should be retried in face of lock errors 3 High Adam Collard  10 Fix Released
1355521 #1355521 machineenvironmentworker tests timeout regularly 3 High John Weldon  10 Fix Released
1357552 #1357552 lxc containers created, juju can't seen or communicate with them 3 High Ian Booth  10 Fix Released
1358078 #1358078 cmd/juju: juju bootstrap --upload-tools on a fresh environment triggers upgrade mode 3 High Menno Finlay-Smits  10 Fix Released
1358585 #1358585 RelationSetCommand.Run() does not check all errors 3 High Ian Booth  10 Fix Released
1358837 #1358837 Makefile mishandles precise and i386 3 High Curtis Hovey  10 Fix Released
1358933 #1358933 localHTTPSServerSuite.TestMustDisableSSLVerify fails in lxc 3 High Curtis Hovey  10 Fix Released
1359170 #1359170 arguments no longer passed to plugins if you don't have an environment set 3 High Tim Penhey  10 Fix Released
1359435 #1359435 Next version selection for upgrades is no longer correct 3 High Ian Booth  10 Fix Released
1359484 #1359484 upgradedToVersion in agent.conf not being upgraded when no upgrade steps are run 3 High Menno Finlay-Smits  10 Fix Released
1359800 #1359800 cannot get tools from machine for lxc container 3 High Ian Booth  10 Fix Released
1360286 #1360286 ppc64el and i386 unittests cannot find tools 3 High Ian Booth  10 Fix Released
1361216 #1361216 unit tests for all series and archs fail 3 High   10 Fix Released
1361680 #1361680 juju ignores environments.yaml on failed bootstrap if $PROVIDER.jenv exists 3 High Katherine Cox-Buday  10 Fix Released
1361971 #1361971 cmd/juju: tests are slowed down by repetitive ssh key generation 3 High Andrew Wilkins  10 Fix Released
1362453 #1362453 Saved addresses should omit link-local addresses 3 High John A Meinel  10 Fix Released
1362636 #1362636 ppc64el compilation error 3 High Tim Penhey  10 Fix Released
1362664 #1362664 Rename Payload to Parameters in actionDoc 3 High John Weldon  10 Fix Released
1362923 #1362923 bootstrap option to keep failed environments 3 High Ian Booth  10 Fix Released
1362990 #1362990 RunTestSuite.TestNoContextWithLock: tests don't wait long enough for lock to be released 3 High Andrew Wilkins  10 Fix Released
1363130 #1363130 manual provider cannot download tools 3 High Andrew Wilkins  10 Fix Released
1363143 #1363143 local lxc deployments fail to create machines 3 High Andrew Wilkins  10 Fix Released
1363971 #1363971 add-machine containers should default to latest lts 3 High Ian Booth  10 Fix Released
1364172 #1364172 Intermittent storeManagerStateSuite.TestStateWatcher test failure 3 High Ian Booth  10 Fix Released
1364419 #1364419 Juju status still returns private IP in 'public-ip' field 3 High Ian Booth  10 Fix Released
1364750 #1364750 blobstore's hashing needs improvement 3 High Ian Booth  10 Fix Released
1365480 #1365480 new compiler breaks ppc64el unit tests in many ways 3 High Dave Cheney  10 Fix Released
1365772 #1365772 --keep-broken option still allows instance to be stopped 3 High Ian Booth  10 Fix Released
1366650 #1366650 cmd/jujud: bootstrap logs are no longer captured on failure 3 High Andrew Wilkins  10 Fix Released
1193998 #1193998 maas provider doesn't return hardware characteristics of started instances 4 Medium Andrew Wilkins  10 Fix Released
1206532 #1206532 removing a unit on an unclean machine should remove that machine 4 Medium Casey Marshall  10 Fix Released
1286518 #1286518 juju log files should not be world readable 4 Medium Katherine Cox-Buday  10 Fix Released
1319474 #1319474 Juju uses hard-coded regions 4 Medium Andrew Wilkins  10 Fix Released
1339864 #1339864 MachineSuite.TestWatchInterfaces intermittently fails 4 Medium Frank Mueller  10 Fix Released
1340777 #1340777 serverSuite.TestAPIServerCanListenOnBothIPv4AndIPv6 intermittently fails 4 Medium Frank Mueller  10 Fix Released
1212538 #1212538 cmd/juju: deploy --to a non existent machine fails too late in the process 5 Low Matthew Williams  10 Fix Released
1214209 #1214209 cmd/juju: add-machine should take a -n param 5 Low Matthew Williams  10 Fix Released
1216967 #1216967 Missing @ syntax for reading config setting from file content 5 Low Frank Mueller  10 Fix Released
1257587 #1257587 environment-tag handling permits non-unique tags 5 Low   10 Fix Released
1273198 #1273198 charm.Bundle (et al) should be renamed to Archive 5 Low Roger Peppe  10 Fix Released
1304151 #1304151 lxc and kvm brokers should use the api to get possible tools 5 Low Andrew Wilkins  10 Fix Released
1319475 #1319475 Juju should support new signing format 5 Low Katherine Cox-Buday  10 Fix Released
1328429 #1328429 Improve IPv4 private IP address detection 5 Low Dimiter Naydenov  10 Fix Released
1347984 #1347984 container provisioner may choose bad tools 5 Low Andrew Wilkins  10 Fix Released
1359187 #1359187 juju set help is written but not shown 5 Low Frank Mueller  10 Fix Released
This milestone contains Public information
Everyone can see this information.