| Age | Commit message (Collapse) | Author |
| TODO: docstrings for D101, D102, and D103 |
| |
| |
| Reviewed-on: https://code.launchpad.net/~afreiberger/charm-mongodb/+git/mongodb-charm/+merge/387959 Reviewed-by: Xav Paice <xav.paice@canonical.com> Reviewed-by: Giuseppe Petralia <giuseppe.petralia@canonical.com> |
| |
| This ensures python3-pip is installed as this package is missing from trusty series, which will break upgrades from older charm revisions. |
| Reviewed-on: https://code.launchpad.net/~xavpaice/charm-mongodb/+git/charm-mongodb/+merge/387639 Reviewed-by: Paul Goins <paul.goins@canonical.com> Reviewed-by: Joe Guo <joe.guo@canonical.com> |
| The charms.benchmark support and charm has been dead since Trusty, therefore the action for this should be removed entirely along with Trusty support in the charm Fixes-bug: LP:#1526990 |
| Reviewed-on: https://code.launchpad.net/~aieri/charm-mongodb/+git/charm-mongodb/+merge/386345 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> Reviewed-by: Zachary Zehring <zachary.zehring@canonical.com> |
| Reviewed-on: https://code.launchpad.net/~aieri/charm-mongodb/+git/charm-mongodb/+merge/386220 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> Reviewed-by: Zachary Zehring <zachary.zehring@canonical.com> |
| Closes-Bug: 1581023 |
| Note: turning on these options prevents mongo from starting, even in Trusty; there is therefore no reason to deprecate them first since noone could possibly be using them. Closes-Bug: 1580962 |
| This branch contains two subbranches: * ziyiwang/bug/1879803 * ziyiwang/bug/1879842 Reviewed-on: https://code.launchpad.net/~ziyiwang/charm-mongodb/+git/charm-mongodb/+merge/384400 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> Signed-off-by: Alvaro Uria <alvaro.uria@canonical.com> |
| * configsvr, mongos and shard1/2/3 to scale out mongo deployments does not work at this point. * related func test has been disabled |
| |
| Reviewed-on: https://code.launchpad.net/~ziyiwang/charm-mongodb/+git/charm-mongodb/+merge/384328 Reviewed-by: Paul Goins <paul.goins@canonical.com> |
| |
| |
| |
| - add focal - fix some python2 only syntax - fix lint for actions and hooks directory |
| - Fix the sync command in Makefile - contrib/python is moved to fetch/python |
| Reviewed-on: https://code.launchpad.net/~peter-sabaini/charm-mongodb/+git/charm-mongodb/+merge/382331 Reviewed-by: Adam Dyess <adam.dyess@canonical.com> Reviewed-by: Paul Goins <paul.goins@canonical.com> |
| Also remove some leftover |
| - Excise amulet tests, add zaza based functional testing - Setup tox for functests - Remove some python2-isms - Increase mongoclient timeout to make install more robust under load |
| |
| Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-mongodb/+git/charm-mongodb/+merge/379577 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> |
| |
| configuration parameter. Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-mongodb/+git/charm-mongodb/+merge/379564 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> |
| |
| configuration parameter. |
| Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-mongodb/+git/charm-mongodb/+merge/379529 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> |
| |
| Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-mongodb/+git/charm-mongodb/+merge/379489 Reviewed-by: Alvaro Uria <alvaro.uria@canonical.com> |
| - Address review comments MP #378219 Closes-Bug: #1806050 |
| Re-written charm config to remove the 'all' option and put a default 0.0.0.0 for bind_ip. Added missing hooks symlinks causing some hooks to fail. Added hook.template because of charm build requirements. Closes-Bug: #1806050 |
| Reviewed-on: https://code.launchpad.net/~vultaire/mongodb-charm/+git/mongodb-charm/+merge/373023 Reviewed-by: Jeremy Lounder <jeremy.lounder@canonical.com> Reviewed-by: Giuseppe Petralia <giuseppe.petralia@canonical.com> |
| |
| Reviewed-on: https://code.launchpad.net/~martin-hilton/mongodb-charm/+git/mongodb-charm/+merge/362290 Reviewed-by: Stuart Bishop <stuart.bishop@canonical.com> |
| Make the hooks less likely to restart the mongodb server. Excessive restarts had been seen to cause problems on bionic hosts. |
| Reviewed-on: https://code.launchpad.net/~mthaddon/mongodb-charm/+git/mongodb-charm/+merge/359932 Reviewed-by: Stuart Bishop <stuart.bishop@canonical.com> |
| |
| Reviewed-on: https://code.launchpad.net/~martin-hilton/mongodb-charm/+git/mongodb-charm/+merge/358450 Reviewed-by: Tom Haddon <tom.haddon@canonical.com> |
| |
| Reviewed-on: https://code.launchpad.net/~mthaddon/mongodb-charm/+git/mongodb-charm/+merge/358641 Reviewed-by: Jamon Camisso <jamon.camisso@canonical.com> Reviewed-by: Martin Hilton <martin.hilton@canonical.com> |
| |
| Implement the series-upgrade feature allowing to move between Ubuntu series. Reviewed-on: https://code.launchpad.net/~thedac/mongodb-charm/+git/mongodb-charm/+merge/356867 Reviewed-by: Xav Paice <xav.paice@canonical.com> |
| Reviewed-on: https://code.launchpad.net/~afreiberger/mongodb-charm/+git/mongodb-charm/+merge/358133 Reviewed-by: Xav Paice <xav.paice@canonical.com> |
| Mongodb by default on bionic only listens on localhost, which means no relations to mongodb can connect to the database by default when using charm default configs of bind_ip=all and replicaset_master=auto. This issue was mitigated for HA deployments of mongodb in commit 7b2828638b3dad83776fef60b0dc96825ec4e10e, but did not solve client connectivity. This patch resolves the issue for HA and non HA deploys. Closes-Bug: #1800208 |
| |
| Try only 10 times to stop being the primary and then raise an Exception. |