Comment 3 for bug 2066188

Revision history for this message
Nobuto Murata (nobuto) wrote :

Even in the "success" case, the queues do not have sufficient members after peers-relation-changed which is supposed to call grow_queues_onto_unit. It looks like there are some race conditions not well captured in the charm.

$ juju show-status-log -m openstack rabbitmq/0 --days 1

...

21 May 2024 08:48:01Z juju-unit idle
21 May 2024 08:48:04Z juju-unit executing running peers-relation-changed hook for rabbitmq/2
21 May 2024 08:48:11Z juju-unit idle
21 May 2024 08:48:23Z juju-unit executing running peers-relation-changed hook for rabbitmq/1
21 May 2024 08:48:35Z workload active WARNING: 23 Queue(s) with insufficient members
21 May 2024 08:48:45Z workload active WARNING: 5 Queue(s) with insufficient members
21 May 2024 08:48:55Z juju-unit idle
21 May 2024 08:49:03Z juju-unit executing running config-changed hook
21 May 2024 08:49:05Z juju-unit idle
21 May 2024 08:49:15Z juju-unit executing running peers-relation-changed hook for rabbitmq/2
21 May 2024 08:49:27Z juju-unit executing running peers-relation-changed hook for rabbitmq/1
21 May 2024 08:49:39Z juju-unit idle
21 May 2024 12:14:35Z workload active