Hi and thanks for reporting! This is strange because the only way this can happen is if the number of peer units is smaller than the config option `cluster_count` [0], which you have correctly set to 3. related_units() is called in order to determine that, however it is decorated with `@cache` [1]. I'm wondering if this can be the culprit.
Hi and thanks for reporting! This is strange because the only way this can happen is if the number of peer units is smaller than the config option `cluster_count` [0], which you have correctly set to 3. related_units() is called in order to determine that, however it is decorated with `@cache` [1]. I'm wondering if this can be the culprit.
[0] https:/ /github. com/openstack/ charm-hacluster /blob/master/ hooks/utils. py#L1338 /github. com/openstack/ charm-hacluster /blob/master/ charmhelpers/ core/hookenv. py#L539
[1] https:/