Comment 6 for bug 1942224

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

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-mon/+/806980
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/82743ab7e5b8d0c98fd09a6c12ac23110acd89ec
Submitter: "Zuul (22348)"
Branch: master

commit 82743ab7e5b8d0c98fd09a6c12ac23110acd89ec
Author: Dmitrii Shcherbakov <email address hidden>
Date: Wed Sep 1 23:19:53 2021 +0300

    Notify more relations when cluster is bootstrapped

    Currently mon_relation only calls notify_rbd_mirrors when the cluster is
    already bootstrapped which leads to broker requests not being handled
    for other relations in some cases.

    The change also moves the bootstrap attempt code into a separate
    function and adds unit tests for mon_relation to cover different
    branches for various inputs.

    Closes-Bug: #1942224
    Change-Id: Id9b611d128acb7d49a9a9ad9c096b232fefd6c68