Comment 13 for bug 1738896

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

Reviewed: https://review.openstack.org/538979
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=fac45afc6057a2fd18ddb59423965e521e1963e8
Submitter: Zuul
Branch: master

commit fac45afc6057a2fd18ddb59423965e521e1963e8
Author: David Ames <email address hidden>
Date: Mon Jan 29 09:05:03 2018 -0800

    Gate db{-admin} relations until cluster is ready

    Percona-cluster was responding to db and db-admin relations before it
    was ready. This led to the error: "WSREP has not yet prepared node for
    application use."

    This change applies the same gating share-db relation already has to db
    and db-admin relations. It also condenses code used in both instances.

    This change guarantees the rendered configuration will not
    auto-bootstrap for non-leaders. This addresses Bug 1738896.

    Closes-Bug: #1742683
    Closes-Bug: #1738896
    Change-Id: If525595fd109e6a738071a3f016b9c2eabec529e