~mariosplivalo/charm-mongodb:status-fix

Last commit made on 2018-03-15
Get this branch:
git clone -b status-fix https://git.launchpad.net/~mariosplivalo/charm-mongodb
Only Mario Splivalo can upload to this branch. If you are Mario Splivalo please log in for upload directions.

Branch merges

Branch information

Name:
status-fix
Repository:
lp:~mariosplivalo/charm-mongodb

Recent commits

bff8038... by Mario Splivalo

Increase logging

e652517... by Mario Splivalo

Made config-changed and replicaset-relation-changed hook wait.

As members are joined to replicaset from PRIMARY, when update_status()
is called from -changed hooks, it ofter returns a temporary error state.
However, that state stay in 'juju status' for cca 5 minutes, until
update-status hook is called.

This should make -changed hooks wait a bit until the replicaset state
of a member changes so that 'juju status' provides more 'recent' info.

f8bb797... by Mario Splivalo

Added update_status hook. Added get_replicaset_status support
function, for easy parsing the replicaset state for a particular
unit.

Added calls to status_set in install, config-changed and
replicaset-changed hooks.

Fixes-bug: LP: #1676730

001d9b5... by Mario Splivalo

Merge branch 'bionic-fix' of git+ssh://git.launchpad.net/~mariosplivalo/mongodb-charm into bionic-fix

8a25287... by Mario Splivalo

Fixes replicaset initialization for Bionic.

Also, uses leader-election to figure out the unit to initialize replicaset
on.

Fixes-bug: LP: #1748214

67b1175... by Mario Splivalo

Fix replicaset initialization for Bionic, use leader-election.

Fixes-bug: LP #1748214

6827e8c... by Mario Splivalo

Fix replicaset initialization for Bionic, use leader-election.

f7aa97a... by David Ames

Enable artful and bionic

584b0c1... by Laurent Sesquès

[mhilton,r=sajoupa] Add the nagios_servicegroups configuration setting

9b6576f... by Martin Hilton

add nagios_servicegroups configuration