Upgrade RabbitMQ
Categories
(Webtools :: Pulse, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: dustin, Assigned: dustin)
References
Details
Attachments
(2 files)
We are running a 3-year-old version of RabbitMQ. Let's upgrade.
Assignee | ||
Comment 1•4 years ago
|
||
My concern with doing this is less that Taskcluster will malfunction in some way (although that's possible) but that other uses of pulse will malfunction.
Kim, I suspect you at least considered an upgrade at some point when your team managed this service. If you could add any context you can remember or find, that'd be great!
Comment 2•4 years ago
|
||
I have not personally considered an upgrade while on the team but I recall discussing this with the support folks from cloudampq . I can't find any notes from the conversation which is unusual for me. I did find this
https://www.cloudamqp.com/blog/2016-05-03-upgrade-clusters.html
I would suggest reaching out to them for a meeting to discuss especially since our version is so far behind and the upgrade process may be a bit different. Glob may have more information, but he is on pto right now.
Assignee | ||
Comment 3•4 years ago
|
||
Thanks!
Assignee | ||
Comment 4•4 years ago
|
||
One helpful point here: we've been running staging and our dev environments off RabbitMQ 3.7.5 / Erlang 20.1 for some time with no issues.
Assignee | ||
Comment 5•4 years ago
|
||
Based on our meeting today, edunham will be taking the lead on this one..
Comment 6•4 years ago
|
||
A few thoughts for when edunham is ready to pick this up:
Based on https://www.cloudamqp.com/blog/2020-01-30-rabbitmq-erlang-upgrades.html, it appears that the upgrade process is to first upgrade to the latest version of erlang compatible with the current rabbitmq version, then upgrade to the latest version of rabbitmq compatible with that new erlang versions, then repeat the previous two steps until there are no more upgrades available. Each of those steps requires downtime.
It seems worth talking to CloudAMQP support to determine
- exactly what sequence of erlang and rabbitmq updates we would need to take in order to get pulse to the latest version of rabbitmq 3.7.x and an estimate of how long that would take
- What client changes may be required to go from 3.5 to 3.7
Depending on how complex the upgrade is and how risk-averse we are, it may be better to devise a plan to spin up and switch to a new 3.7 cluster rather than plan to upgrade the current 3.5 cluster.
Comment 7•4 years ago
|
||
As an aside, we may be able to improve performance on pulse today via enabling HiPE.
https://www.cloudamqp.com/blog/2014-03-31-rabbitmq-hipe.html
https://www.cloudamqp.com/blog/2018-11-26-is-hipe-production-ready.html
Comment 8•4 years ago
|
||
Comment 9•4 years ago
|
||
Comment 11•4 years ago
|
||
Emily, can you share notes from any conversations you've had with taskclsuter team and with cloudampq support on this topic with me?
Comment 12•4 years ago
|
||
Brian, I forwarded you the email thread "Re: Some questions about custom SSL certificate on orange-antelope/pulse.mozilla.org" where we discussed upgrading with support.
Notes from discussions with Dustin and Coop are in https://docs.google.com/document/d/18w8GdimPBnuPb-qzr0MYP3X_HpVbdQzoKJYCuXS106g/edit#heading=h.iueazmxrxbri
Comment 13•4 years ago
|
||
Based on that correspondence Emily forwarded me, Pulse is too far behing ot upgrade in place. CloudAMQP recommends we create a new cluster and follow https://www.cloudamqp.com/docs/cluster_migration.html#seamless-migration-with-rabbitmq-queue-federation to switch to it.
Updated•4 years ago
|
Assignee | ||
Comment 14•3 years ago
|
||
Benson, here's the bug tracking the upgrade work.
Assignee | ||
Comment 15•3 years ago
|
||
The upgrade is complete. I have shut down the old cluster, and next week I will permanently delete it.
Comment 16•3 years ago
|
||
🎉🥳🎉 Thank you Dustin for completing this work!
Assignee | ||
Comment 17•3 years ago
|
||
I expect I'll be getting cupcakes from CloudAMQP, too ;)
Assignee | ||
Comment 18•3 years ago
|
||
Old cluster is deleted. Welcome to the cheaper, more upgraded future of pulse!
Assignee | ||
Updated•3 years ago
|
Description
•