rabbitmq leader unit doesn't settle after changing source config

Bug #2046381 reported by Gabriel Cocenza
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack RabbitMQ Server Charm
Confirmed
Undecided
Unassigned

Bug Description

I've observed that in a rabbitmq-server cluster, the leader units never settles when the "source" config is changed. This happened every time that I upgraded a cloud from focal-ussuri to focal-yoga.

Logs can be found here:
https://pastebin.canonical.com/p/Cy7qvJwHjg/

This required manual intervention to pause and resume the leader unit and in some cases ssh into the unit and reboot it.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Please could you provide more information:

* a juju status for the model
* complete logs from the affected units.
* what the "source" config was changed from and to.

Thanks.

Changed in charm-rabbitmq-server:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack RabbitMQ Server Charm because there has been no activity for 60 days.]

Changed in charm-rabbitmq-server:
status: Incomplete → Expired
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote (last edit ):

Hi Alex. I'm attaching the logs from the rmq units that have the issue that I've described before. The change on configuration "source" was from "distro" to "cloud:focal-victoria. It"happened at 2024-04-15 18:52:24 to make easier to analyze the issue. Here is also a link[0] for the juju status as asked.

[0]https://pastebin.canonical.com/p/nwZrSWYGj6/

Changed in charm-rabbitmq-server:
status: Expired → New
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Gabriel;

Ok, so the problem is probably in the coordinator software in charmhelpers. It would be useful if you had a "juju show-unit" for each of the rabbitmq units as that might indicate why the locks are being held.

Changed in charm-rabbitmq-server:
status: New → Incomplete
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

Hi Alex, here is a pastebin with the juju show-units

https://pastebin.canonical.com/p/Yj44xRVx4X/

Revision history for this message
Chi Wai CHAN (raychan96) wrote :

I have the same issue. The steps to reproduce is outline here (using juju 3.5.0, and juju controller 3.3.1):

```
juju deploy rabbitmq-server --base ubuntu@20.04 -n 3
juju config rabbitmq-server enable-auto-restarts=True
juju config rabbitmq-server source=cloud:focal-victoria
```

Changed in charm-rabbitmq-server:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.