Closed valexby closed 3 months ago
For more detail, when was the first accurance:
cou upgrade control-plane
and cou refreshed my rabbitmq-server to 3.9/stable
rabbitmq-server
juju leader was in config-changed
eternal loop. I checked the logs
I checked the logs and saw there constant attempts to install rabbitmq
package. You may see about 9:13
it starts, when charm was refreshed.juju refresh rabbitmq-server --channel=3.8/stable
. 9:30
charm stabilized.I think we should only refresh from 3.8/channel to 3.9/channel when a cloud is on Jammy.
I am not sure if we will have cases like that because rabbitmq-server channel "3.8/stable" is only available on: ubuntu@20.04 (focal) and ubuntu@18.04 (bionic) base.
On the other hand, rabbitmq-server 3.9/stable is available on: ubuntu@22.04 (jammy) and ubuntu@20.04 (focal) base.
juju deploy rabbitmq-server --channel 3.8/stable --base ubuntu@20.04 --config source=cloud:focal-victoria
ubuntu@juju-ec5904-7:~$ apt info rabbitmq-server
Package: rabbitmq-server
Version: 3.8.2-0ubuntu1.5
ubuntu@juju-ec5904-7:~$ cat /etc/apt/sources.list.d/cloud-archive.list
# Ubuntu Cloud Archive
deb http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria main
juju deploy rabbitmq-server --channel 3.9/stable --base ubuntu@20.04 --config source=cloud:focal-victoria
ubuntu@juju-ec5904-8:~$ apt info rabbitmq-server
Package: rabbitmq-server
Version: 3.8.2-0ubuntu1.5
ubuntu@juju-ec5904-8:~$ cat /etc/apt/sources.list.d/cloud-archive.list
# Ubuntu Cloud Archive
deb http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria main
It seem even though we are refreshing to 3.9/stable on Focal, the underlying source has not been changed internally though. We will need to look deeper on differences maybe.
I'm upgrading Control plane to Xena today. My juju config rabbitmq-server enable-auto-restarts
is false
. I decided to submit to whatever cou
wants and allowed it to refresh rabbit to 3.9
. The upgrade went all automatically without any issues.
Even so it is somewhat weird to refresh to 3.9
charm expecting it to manage 3.8
workload, I can say it works now and doesn't make trouble to Managed Solutions yet
After confirmed with openstack team and internal discussion, 3.9 is compatible with 3.8. Therefore, it should be fine to maintain current behavior.
On every control-plane upgrade from ussuri to yoga cou tries to refresh
rabbitmq-server
charm from3.8/channel
to3.9/channel
while 3.8 is the latest Focal.That leads the control-plane upgrade to get stuck on
rabbitmq-server
config-changed
hook that never ends and cou fails.To workaround that, I tried to workaround it and just to switch source for rabbitmq-server before running the upgrade
and the upgrade went smoothly after that.
I think we should only refresh from
3.8/channel
to3.9/channel
when a cloud is on Jammy.