2747
|
|
|
Michael Foord |
9 years ago
|
|
|
2746
|
|
|
Michael Foord |
9 years ago
|
|
|
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
|
Vladislav Klyachin |
9 years ago
|
|
|
2744
|
|
|
Horacio Durán |
9 years ago
|
|
|
2743
|
|
|
Dave Cheney |
9 years ago
|
|
|
2742
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2741
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2740
|
|
|
Dave Cheney |
9 years ago
|
|
|
2739
|
|
|
John Arbash Meinel |
9 years ago
|
|
|
2738
|
|
|
Dave Cheney |
9 years ago
|
|
|
2737
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2736
|
|
|
Ian Booth |
9 years ago
|
|
|
2735
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2734
|
|
|
Ian Booth |
9 years ago
|
|
|
2733
|
|
|
John Arbash Meinel |
9 years ago
|
|
|
2732
|
|
|
Ian Booth |
9 years ago
|
|
|
2731
|
|
|
Tim Penhey |
9 years ago
|
|
|
2730
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2729
|
|
|
Andrew Wilkins |
9 years ago
|
|
|
2728
|
|
[r=axwalk],[bug=1260171],[bug=1316272] Change StopInstances to take []instance.Id
StopInstances previously took []instance.Instance, which is unnecessary for most providers, and imposes an unnecessary cost for callers that only have IDs initially. We change StopInstances to
The openstack provider's StopInstances is now slightly more expensive than before, requiring an additional call to Instances. This cost will disappear when we fix the security groups/open-port implementation.
Drive-by: the maas provider now uses a bulk "release" in StopInstances.
Live tested on ec2, local, virtual MAAS, canonistack, azure. I lack a Joyent account, but I think it should be fine.
Fixes lp:1260171 Fixes lp:1316272
https://codereview.appspot.com/97400043/
|
Andrew Wilkins |
9 years ago
|
|
|