Comment 8 for bug 1797229

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (master)

Reviewed: https://review.openstack.org/638737
Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=a87b1011066650dbfc924501202d7048f6f022bc
Submitter: Zuul
Branch: master

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.

    Change-Id: I78ae12fda05ce006939b2d90a3d738bacb815915
    Closes-Bug: #1797229