lp:~mfoord/juju-core/local-mongo

Created by Michael Foord and last modified
Get this branch:
bzr branch lp:~mfoord/juju-core/local-mongo
Only Michael Foord can upload to this branch. If you are Michael Foord please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Foord
Project:
juju-core
Status:
Development

Recent revisions

2747. By Michael Foord

Always use HA, even for local provider

2746. By Michael Foord

Merge

2745. By Vladislav Klyachin

[r=klyachin],[bug=1309444] HA: peergrouper spins in local environment

The peergrouper is intended to monitor the MongoDB replica health and make sure everything is functioning well.
However, when run in the local provider, or in an upgraded environment (while we haven't finished all the upgrade steps), it spams the log file with:

INFO juju.worker runner.go:260 start "peergrouper"
ERROR juju.worker.peergrouper worker.go:137 peergrouper loop terminated: cannot get replica set status: cannot get replica set status: not running with --replSet

This fix ensure NOT running of peergrouper worker in local environment.

https://codereview.appspot.com/97880045/

R=axwalk, fwereade, jameinel, klyachin
R=axwalk, fwereade, jameinel, klyachin

2744. By Horacio DurĂ¡n

[r=hduran-8] Added explicit --journal flag to mongod

Mongod has Write Ahead logging on by default for
64 bits systems:
http://docs.mongodb.org/manual/tutorial/manage-journaling/
juju seems to be assuming this for every arch
so the specific --journal flag was added.

https://codereview.appspot.com/97370044/

R=fwereade, hduran-8, wwitzel3

2743. By Dave Cheney

[r=fwereade],[bug=1320138] Fix LP 1320138

Constraints appear to be a set, not a list, so compare them in an unordered manner.

https://codereview.appspot.com/94520045/

2742. By Andrew Wilkins

[r=axwalk],[bug=1262967] Fix tests on i386

Various fixes to run tests on i386.

For Joyent, since it only supports
AMD64 I have modified the suites to
upload fake AMD64 tools; this involved
a change to envtesting.ToolsFixture
to parameterise UploadFakeTools.

For OpenStack, I added dummy metadata
for i386 and ppc64.

Fixes lp:1262967

https://codereview.appspot.com/92390046/

2741. By Andrew Wilkins

[r=axwalk] Fix arch preference algorithm

Change the instance architecture preference
selection to widest word-size, then first
arch name by alphabetical order. For tie-
breakers, choose the instance type based on
provider-specific ordering.

In the future we may want to extend the
ordering to include cost. For now, we rely
on the providers ordering instance types by
their own preference (no change here).

https://codereview.appspot.com/94530045/

2740. By Dave Cheney

[r=thumper] update errgo

Fixes gccgo incompatability

2739. By John A Meinel

[r=jameinel] utils/registry: TypedNameVersion registry

As part of getting API versioning in place, I was putting together some
Registry's in a couple of places. I realized I wanted 2 things that were
essentially identical code, just tracking slightly different object
types. So I put together an abstraction that still enforces the Type,
but is otherwise treats the input and output as a generic interface{}.

https://codereview.appspot.com/99180044/

2738. By Dave Cheney

[r=dave-cheney] provider/openstack: upgrade goose

Branch metadata

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

Subscribers