commit 08a33d6759c4012c7ec470fdd2dcd7852b036394
Author: Nicolas Bock <email address hidden>
Date: Tue Aug 1 07:46:53 2023 -0600
Add cleanup of configuration files on `stop`
When this subordinate is removed from a unit it leaves its configuration
files behind. This can become an issue if the subordinate is added back
to the unit as pointed out in #2004088.
This change adds a cleanup step to the `stop` hook so that those
configuration files are removed on the removal of the subordinate charm.
Closes-Bug: #2004088
Closes-Bug: #2004089
Change-Id: Icfca352f29e089aeccd1434d33a573ca1682339a
Signed-off-by: Nicolas Bock <email address hidden>
(cherry picked from commit 17595788edd80580624b03a664dd5cdb05bba47f)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- mysql-router/ +/902535 /opendev. org/openstack/ charm-mysql- router/ commit/ 08a33d6759c4012 c7ec470fdd2dcd7 852b036394
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/jammy
commit 08a33d6759c4012 c7ec470fdd2dcd7 852b036394
Author: Nicolas Bock <email address hidden>
Date: Tue Aug 1 07:46:53 2023 -0600
Add cleanup of configuration files on `stop`
When this subordinate is removed from a unit it leaves its configuration
files behind. This can become an issue if the subordinate is added back
to the unit as pointed out in #2004088.
This change adds a cleanup step to the `stop` hook so that those
configuration files are removed on the removal of the subordinate charm.
Closes-Bug: #2004088 aeccd1434d33a57 3ca1682339a 0624b03a664dd5c db05bba47f)
Closes-Bug: #2004089
Change-Id: Icfca352f29e089
Signed-off-by: Nicolas Bock <email address hidden>
(cherry picked from commit 17595788edd8058