Created by Martin Packman on 2014-04-25 and last modified on 2014-04-26
Get this branch:
bzr branch lp:~gz/juju-core/gosshnew_1312940
Only Martin Packman can upload to this branch. If you are Martin Packman please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Martin Packman

Recent revisions

2672. By Martin Packman on 2014-04-26

Naming changes suggested by axw in review

2671. By Martin Packman on 2014-04-25

Update utils/ssh for gosshnew with latest go.crypto

2670. By John A Meinel on 2014-04-23

[r=jameinel],[bug=1311083] cmd/juju/ensureavailability: default to 3 servers

I filed bug #1311083 because we currently have a default of '-1' and we
immediately fail when running the command. I don't think this is very
good UI for a user. I think we can make an opinionated statement that
n=3 is going to be the best for someone who wants to run this command.
And that is what this patch does.

The new default is not strictly '3' but to use 3 if you only have 1, and otherwise preserve whatever number of servers you already have. (which will start new servers to bring you back up to your requested availability.)


2669. By Wayne Witzel III on 2014-04-23

[r=wwitzel3] agent/mongo: rename the mongo agent API

Rename the mongo agent API calls so they are not redundant.


2668. By Andrew Wilkins on 2014-04-23

[r=axwalk] provider/maas: support maas-name directives

We treat all MAAS placement directives as
maas-name, and pass it on as a constraint
to the acquire-node API.

Partially fixes lp:1237709


2667. By Andrew Wilkins on 2014-04-23

[r=axwalk] Update dependencies.tsv

Fixes lp:1311005


2666. By Andrew Wilkins on 2014-04-23

[r=axwalk],[bug=1237709] Introduce instance.Placement

This change introduces a new Placement
structure in the instance package that
encapsulates machine-id, container, and
(new) environment-specific placement

The add-machine subcommand is modified
to pass this new Placement structure
through the AddMachine client API, which
calls a new state method AddMachineWithPlacement.

Machine-id and container placement do the
same thing as before, while new environment-
specific placement structures are stored in
state. A new state policy is added to allow
an Environ to validate placement.

The provisioner API and worker are updated
to pass Placement through to StartInstance.


2665. By John A Meinel on 2014-04-23

[r=jameinel],[bug=1311089] state/apiserver/client/client.go: default series

Change the unspecified 'series' to match the existing state server
series, rather than PreferredSeries (which is default-series if it
exists, or LatestLTSSeries otherwise).
This addresses bug #1311089, which makes "juju ensure-availability"
bring up more machines that match the state-server that is already
We probably still want to fix bug #1308966, which is about how we
determine PreferredSeries, but this seems a more direct "when creating
more machines like X, prefer them to look like X".


2664. By Martin Packman on 2014-04-23

[r=wallyworld],[bug=1310258] juju: Omit IPv6 and local addresses from jenv

Until the jenv addresses cache gains the extra metadata
fields that are returned over the API, filter out the
addresses that are unlikely to be useful for connecting
to an API server.


2663. By Kapil Thangavelu on 2014-04-22

[r=hazmat],[bug=1303195] manual provider shell for created ubuntu user is bash

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.