Comment 8 for bug 1858132

Revision history for this message
David Ames (thedac) wrote :

Adding the following in the reactive/gnocchi_handlers.py file is the work around and root cause.

@reactive.when('cluster.available')
def update_peers(cluster):
    """Inform peers about this unit"""
    with charm.provide_charm_instance() as charm_instance:
        charm_instance.update_peers(cluster)

This is a proof of concept fix. My team and I will discuss if this ought to live in layer-openstack-api as this problem affects multiple reactive api charms.

https://review.opendev.org/714792