Comment 2 for bug 2015256

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

Reviewed: https://review.opendev.org/c/openstack/charm-mysql-innodb-cluster/+/879541
Committed: https://opendev.org/openstack/charm-mysql-innodb-cluster/commit/2b944827d5d2ac5cc529a689693aa62e1e11d57f
Submitter: "Zuul (22348)"
Branch: master

commit 2b944827d5d2ac5cc529a689693aa62e1e11d57f
Author: Alex Kavanagh <email address hidden>
Date: Wed Apr 5 11:50:47 2023 +0100

    Fix create_user() when unit is out of cluster

    When a unit is configured for the cluster but not yet joined, the
    create_user() function would write to the local database. This would
    then break the cluster; instead check for this condition and delay the
    user creation until the the unit is clustered.

    Change-Id: I9badf28a22edede19302ff5115b1dee16f2b17f7
    Closes-Bug: #2015256