Comment 1 for bug 2006484

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote : Re: upgrade-series complete hangs when upgrade from Focal to Jammy

I've reproduced the error, or at least I think I have. What seems to be happening during the series-upgrade is that the /var/lib/rabbitmq/.erlang.cookie is being overwritten when the new packages were installed.

When the .erlang.cookie doesn't match within the cluster, it won't reform and thus the hook times out. This may be new behaviour in the package, or something different in upstream code.

What I think we need to do, is update the post-series-upgrade hook to ensure that the peer-storage('cookie') is synced to the .erlang.cookie before attempting to start the service.