Update git submodules
* Update charm-mysql-router from branch 'master' to 6df798a939c9f5e167a73f6e8c145c6ec631ac6c - Fix restarts during upgrade-charm hook Upgrade-charm code needs to make various adjustments to the config files and restart the mysql-router service, but the code is currently running config-changed and getting stuck in a restart loop before upgrade-charm is able to run to make the config adjustments and invoke a successful restart. This change adds a condition to skip the execution of config_changed function when upgrade-charm hook runs, so upgrade_charm code takes care of the adjustments. Also, now upgrade-charm hook is guaranteed to restart the mysql-router service whenever any change to the config file is made as part of its execution, whereas before it wasn't doing so when making the adjustments of the custom upgrade_charm function, resulting in the possibility of no restarts after a charm upgrade. This change includes the now-abandoned change: https://review.opendev.org/848748 Co-Authored-By: Felipe Reyes <felipe.reyes@canonical.com> Closes-bug: #1980693 Closes-bug: #1979263 Related-bug: #1927981 Change-Id: If9d71bdb839c9c0ee3f4b33e4d44a5c93bdd13de
This commit is contained in:
parent
b4eda86d07
commit
9639405a48
@ -1 +1 @@
|
||||
Subproject commit e3fcc5c96c4c635e2dc1147323fcd416785d26ba
|
||||
Subproject commit 6df798a939c9f5e167a73f6e8c145c6ec631ac6c
|
Loading…
Reference in New Issue
Block a user