~mfoord/juju-core/write-majority

Viewing all changes in revision 2745.

[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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: