lp:~fwereade/juju-core/sketch-uniter-better-upgrades

Created by William Reade and last modified
Get this branch:
bzr branch lp:~fwereade/juju-core/sketch-uniter-better-upgrades
Only William Reade can upload to this branch. If you are William Reade please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
William Reade
Project:
juju-core
Status:
Development

Recent revisions

422. By William Reade

largely working Uniter sketch, without upgrades

421. By Dave Cheney

environs/ec2: pass sanitised config

This proposal uses the previously added --env-config flag
to pass the sanitised (non secret) parts of the config
into jujud bootstrap-state via cloudinit.

R=niemeyer
CC=
https://codereview.appspot.com/6458151

420. By Dave Cheney

environs: add {Public,Private}Address() accessors

Provides a method for fetching the {Public,Private}Address() of the machine
you are running on.

Ideally, for ec2, the fetchMetadata method should move into goamz as our test
suite is not in a position to run code on a remote machine, only observe its
behaviour (ie, TestBootstrapProvisioner)

R=niemeyer
CC=
https://codereview.appspot.com/6458152

419. By Roger Peppe

cmd/jujud: implement upgrading for the machine agent

Works live, yay!

R=niemeyer
CC=
https://codereview.appspot.com/6463057

418. By William Reade

rework state charm usage

* Nothing has CharmURL or SetCharmURL methods any more
* Unit lost all upgrade-related methods
* Service.SetCharm also takes a force bool param
* Service.Charm returns a Charm with an additional Force field
* Service.WatchCharm produces the same thing that Service.Charm does
* oh, and, removed uniter/charm.UpgradingForced

R=niemeyer
CC=
https://codereview.appspot.com/6441169

417. By William Reade

tweaks to make Uniter easier

* added hook.Kind.IsRelation()
* made hook.StateFile.Read return a State, not a *State

R=niemeyer
CC=
https://codereview.appspot.com/6454169

416. By William Reade

add uniter/charm package

Contains useful types and constants related to charms, similar to the
uniter/hook and uniter/relation packages.

R=
CC=
https://codereview.appspot.com/6446156

415. By William Reade

jujuc command execution is now mutexed

...because HookContext and RelationContext haven't been designed to be
goroutine-safe, and I don't see any major benefits to parallel hook
command execution.

R=niemeyer
CC=
https://codereview.appspot.com/6443123

414. By Roger Peppe

cmd/jujud: add Upgrader type.

This conforms to the task interface as expected by
runTasks, which should make it simple to add upgrading
logic to agents.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/6464074

413. By Roger Peppe

environs: allow PutTools to specify a version.

R=niemeyer
CC=
https://codereview.appspot.com/6441158

Branch metadata

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

Subscribers