charm-percona-cluster:master

Last commit made on 2023-01-27
Get this branch:
git clone -b master https://git.launchpad.net/charm-percona-cluster

Branch merges

Branch information

Name:
master
Repository:
lp:charm-percona-cluster

Recent commits

a86390a... by Rafael Lopez

Additional check to replace missing seeded file

The additional check is based on cluster being bootstrapped and the last
backup being a SST.

The change includes new function for checking the last backup was SST and unittests to verify said function as well as the main charm_check_func where the check is used and seeded file is replaced.

Closes-Bug: #2000107
Signed-off-by: Rafael Lopez <email address hidden>
Change-Id: I8e516059da5299cc0e0ce8ef0802d3a46abb1a54

43b98b6... by Rafael Lopez

Minimal update to tox.ini for tests to pass

- remove pip.sh
- unpin top level requirements
- update charm-tools version for pep8 test
- update osci.yaml tox_extra_args for compatibility

Signed-off-by: Rafael Lopez <email address hidden>
Change-Id: Iec9fbd296d6d5b5fa647739d5588218c28e0a773

9905ca1... by Mert Kirpici

Revert "Added NRPE requested governor CPU check"

This is being handled in the nrpe charm now.

See MP #427905 in LP:
https://code.launchpad.net/~mertkirpici/charm-nrpe/+git/charm-nrpe/+merge/427905

This reverts commit 7d240fa35479028793f7059530b68b538c4a6bd8.

Signed-off-by: Mert Kırpıcı <email address hidden>
Change-Id: Iad0cf612e1333a1d89b6ccaca5161e84b7b020aa

a3f6597... by Gui Maluf Balzana

Fix log message when catching `get_wsrep_value` exception

`get_wresp_value` can fail in `cursor.execute()` and no log
message would be written.

This commit fix and ensure the right message is logged.

Closes-Bug: #1942936
Change-Id: Idbb1170bbf43fdecec233137d6581bf8f799baa9

66f004c... by Chi Wai CHAN

Add an option to allow MySQL service to log to syslog.

This patch provides one of the alternative solution to address the
problem that the error log might grow too large.

Closes-bug: #1812950
Change-Id: If7c0c71492eb30f24cbcc03ca05a67e6ea571f4e

6e42563... by Liam Young

Sync test-requirements.txt from release-tools

Change-Id: I8c880069d152603ca3dded43bdedf39e4565385f

6751832... by Alex Kavanagh

Migrate percona-cluster to charmcraft build

- add *.charm to .gitignore
- add build-requirements.txt
- add charmcraft.yaml (build on 18.04, run on 18.04)
- modify osci.yaml to do build
- add rename.sh to clean-up naming of charms
- modify bundles to work with *.charm and use the charmhub
- modify tox.ini to include the build target

Note that this charm doesn't officially support xenial, but the bundle
has been left in the tests for debugging/test purposes. It Launchpad it
will be build on bionic to run on bionic.

This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.

Change-Id: Icd4942262a8dfcd3a194684571861121d92f8ed2

6ff8acb... by Herve Beraud

Use unittest.mock instead of mock

The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Ie96a81d19be4f14efc7067ddb9c47827f5255ccf

50f3f31... by Corey Bryant

Switch to yoga unit jobs and add py39

Change-Id: I951c774ef57b5437d7e624936f67fdbf6c383d58

393afdd... by Corey Bryant

Remove xenial metadata and function tests

Drop xenial metadata and function tests as the next release of
the charms won't support xenial. xenial-queens-ha-series-upgrade
was not dropped as it still seems useful to test.

Change-Id: I27005eb7c149f788a14a68fad1b700b374697dd3