Comment 8 for bug 1752402

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I think we're missing an is_leader() check in the following code:

@hooks.hook('cloud-compute-relation-changed')
def compute_changed(rid=None, unit=None):
    ...

    if is_cellv2_init_ready() and is_db_initialised():
        add_hosts_to_cell()

More thorough look at code: https://paste.ubuntu.com/p/9K7Xt3YwWt/