Comment 11 for bug 1889792

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charm-mysql-innodb-cluster (stable/21.04)

Reviewed: https://review.opendev.org/c/openstack/charm-mysql-innodb-cluster/+/799953
Committed: https://opendev.org/openstack/charm-mysql-innodb-cluster/commit/6d9a50774c4a1c7875bd2d90fe66b5cb5dafe63a
Submitter: "Zuul (22348)"
Branch: stable/21.04

commit 6d9a50774c4a1c7875bd2d90fe66b5cb5dafe63a
Author: David Ames <email address hidden>
Date: Wed Apr 14 11:42:18 2021 -0700

    Remove instance flags when instance removed

    Previously when an instance was removed the leadership settings and
    charms.reactive flags remained for that instance's IP address. If a new
    instance was subsequently added and happened to have the same IP address
    the charm would never add the new instance to the cluster because it
    believed the instance was already configured and clustered based on
    leader settings.

    Clear leader settings flags for instance cluster configured and
    clustered.

    Due to a bug in Juju the previous use of IP addresses with '.' were
    unable to be unset. Transform dotted flags to use '-' instead.

    Change-Id: If3ffa9e9191c057ac7e3d96bfcf84d8a3a2ad45a
    Closes-Bug: #1922394
    Related-Bug: #1889792
    (cherry picked from commit f22ca3b5b4dde7f92edb3a9b1e17835555590d1a)