Juju Charm - Mysql Router
Go to file
Seyeong Kim d334665b2d Fixing broken mysql-router configuration
A customer faced an issue when they face full disk. Mysql router configuration file was broken. As this charm doesn't handle whole configuration file, charm wrote just part of them based on template. so re-bootstrapping is needed when this symptom happens.

To do that, I put code to check configuration file size, and if it is under 1000bytes, run bootstrap.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1196
Closes-Bug: #2004088
Change-Id: Ic28f0406eb8d5dbd9131ae83090498297ac48c31
2024-05-21 23:43:34 +00:00
src Fixing broken mysql-router configuration 2024-05-21 23:43:34 +00:00
unit_tests Fixing broken mysql-router configuration 2024-05-21 23:43:34 +00:00
.gitignore Add *.charm to gitignore 2022-04-18 21:08:31 +01:00
.gitreview Upstream charm 2019-10-17 09:41:43 -07:00
.stestr.conf Unit Tests 2019-10-10 16:48:29 -07:00
.zuul.yaml Updates for jammy enablement 2022-04-05 13:56:31 +01:00
LICENSE Required files 2019-10-04 14:12:47 -07:00
charmcraft.yaml Drop Ubuntu bases 23.04 and 23.10 2024-03-28 11:35:59 -03:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-28 10:33:02 +01:00
osci.yaml Add mantic support 2023-08-03 21:36:24 -04:00
rebuild Add impish bundles 2021-10-01 15:46:45 +01:00
rename.sh Update to build using charmcraft 2022-02-15 07:58:22 +00:00
requirements.txt Fixing charm-tools version 2024-03-28 11:35:59 -03:00
test-requirements.txt Update to build using charmcraft 2022-02-15 07:58:22 +00:00
tox.ini Add lunar and drop kinetic 2023-04-13 10:19:47 -04:00