commit a87b1011066650dbfc924501202d7048f6f022bc
Author: Paul Goins <email address hidden>
Date: Fri Feb 22 10:12:32 2019 -0800
Unset DB init flag on shared-db relation removal
The keystone charm sets db-initialised to true after initializing the
database the first time. However, if the database application is
removed, this flag is not unset.
This results in breakage on attempts to re-add a shared-db relation
with a new database application, as the charm will not attempt to
re-initialize the database prior to doing DB operations.
This fix simply ensures that we unset this flag prior to finalizing
removal of the shared-db relation.
Reviewed: https:/ /review. openstack. org/638737 /git.openstack. org/cgit/ openstack/ charm-keystone/ commit/ ?id=a87b1011066 650dbfc92450120 2d7048f6f022bc
Committed: https:/
Submitter: Zuul
Branch: master
commit a87b1011066650d bfc924501202d70 48f6f022bc
Author: Paul Goins <email address hidden>
Date: Fri Feb 22 10:12:32 2019 -0800
Unset DB init flag on shared-db relation removal
The keystone charm sets db-initialised to true after initializing the
database the first time. However, if the database application is
removed, this flag is not unset.
This results in breakage on attempts to re-add a shared-db relation
with a new database application, as the charm will not attempt to
re-initialize the database prior to doing DB operations.
This fix simply ensures that we unset this flag prior to finalizing
removal of the shared-db relation.
Change-Id: I78ae12fda05ce0 06939b2d90a3d73 8bacb815915
Closes-Bug: #1797229