Seyeong Kim dd4b04bdd6 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: I02863c6afa0b4d95d3dbf550339a1860fe5ea8c1
2024-10-03 04:11:03 +00:00
2022-04-18 21:08:31 +01:00
2019-10-17 09:41:43 -07:00
2019-10-10 16:48:29 -07:00
2024-06-20 21:12:12 -07:00
2019-10-04 14:12:47 -07:00
2024-06-20 21:12:12 -07:00
2022-02-15 07:58:22 +00:00
2024-06-20 21:12:12 -07:00
2024-06-20 21:12:12 -07:00
Description
Juju Charm - Mysql Router
16 MiB
Languages
Python 99.2%
Jinja 0.4%
Shell 0.4%