~paulomachado/charm-mongodb:candidate/21.07

Last commit made on 2021-07-14
Get this branch:
git clone -b candidate/21.07 https://git.launchpad.net/~paulomachado/charm-mongodb
Only Paulo Machado can upload to this branch. If you are Paulo Machado please log in for upload directions.

Branch merges

Branch information

Name:
candidate/21.07
Repository:
lp:~paulomachado/charm-mongodb

Recent commits

5046c89... by Xav Paice

Add python-openstackclient to functests

Reviewed-on: https://code.launchpad.net/~llama-charmers/charm-mongodb/+git/charm-mongodb/+merge/401584
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Paul Goins <email address hidden>

22d8aa3... by Xav Paice

Add python-openstackclient to functests

Since b46f13ef113e690493364dabc87821699626d8e6 in zaza, if running tests
on an OpenStack cloud provider, each bundle test concludes with a
cleanup routine that needs the python-openstackclient package in
requirements.txt for the tox environment, plus the OS_ environment vars
exported/passed through such that the Openstack client actually works.
If these are not set, the test fails on the first bundle cleanup and
does not continue to the remaining bundles.

c30e079... by Peter Sabaini

Add checks for replica sets

Reviewed-on: https://code.launchpad.net/~peter-sabaini/charm-mongodb/+git/charm-mongodb/+merge/396580
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Drew Freiberger <email address hidden>

3a03dc6... by Peter Sabaini

Test fix

Fix unittests, update a reference string

Also minor style updates

731f080... by Edin S

Add unit test for checking replication set critical state

a3c41eb... by Edin S

Unit test: fix WARN string

7df1a94... by Edin S

Unit test: fix OK string

a702dea... by Edin S

Unit test: add tab to mongodb.conf ini file to force failure of YAML parsing

9d015fe... by Edin S

Unit tests: provide more descriptive test names and docstrings

5405fc4... by Edin S

Rewrite check code to be more robust

1. Previously the code counted members in the "RECOVERING" state, and
exit as okay otherwise. There are now a set of OK/CRIT states, and all
other unknown states raise a WARN instead.
2. The code now provides slightly more useful information
about which which members are in errored states, and their specific
state.