openvstorage / framework

The Framework is a set of components and tools which brings the user an interface (GUI / API) to setup, extend and manage an Open vStorage platform.
Other
27 stars 23 forks source link

Update RabbitMQ #1497

Open wimpers opened 7 years ago

wimpers commented 7 years ago

Note: release 3.5.8 marks the final patch in the 3.5.x series. RabbitMQ 3.5.x is no longer maintained. Upgrade, and refer to the current version of RabbitMQ instead.

Since the 3.5.x release is no longer maintained it might be advised to

wimpers commented 7 years ago

If there is a reason to go for something else, please link the relevant tickets in GH

khenderick commented 7 years ago

Ubuntu 16.04 only ships 3.5.7-1. Do you want us to manually maintain a set of packages fetched from other sources?

wimpers commented 7 years ago

@saelbrec points out that setting up 3 RabbitMQs isn't ideal. (I believe @kinvaris did some research about that)

The BAM isn't favor of maintaining our own set of packages or changing to something else .

Maybe we should start listing the issues OPS/ framework has with the current version of RabbitMQ. ( @khenderick @jeroenmaelbrancke @jtorreke @matthiasdeblock )

khenderick commented 7 years ago

There is #860 which was moved to internal openvstorage/org_quality#33 There was also this pre GitHub era ticket OVS-4469

kinvaris commented 7 years ago

@wimpers a few months ago we did some testing with a 3 node master setup. Here we saw that when shutting down 1 node the whole rabbitMQ cluster went down. Then I did some research about this and some forums pointed out you should at least have 4 nodes.

But a week ago we did some testing with 3 master nodes and the rabbitMQ cluster kept on going.

Although observing these results, I think it is recommended to have at least 4 nodes.

sjovdnbos commented 5 years ago

Tested version: rabbitmq-server: 3.7.14-1

depends on: 20.x

Tested on 3N develop cluster.

Update:

ovs stop framework all

sudo apt-key adv --keyserver "hkps.pool.sks-keyservers.net" --recv-keys "0x6B73A36E6026DFCA"
wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://dl.bintray.com/rabbitmq/debian xenial erlang-20.x" > /etc/apt/sources.list.d/bintray.erlang.list
echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" > /etc/apt/sources.list.d/bintray.rabbitmq.list # fix rabbitmq version instead of main here
apt-get update
sudo apt-get install erlang-nox
sudo apt-get install rabbitmq-server

ovs start framework all

So i updated all nodes at once. Rolling upgrade was not tested, as discussed with @jtorreke

Results

This works fine, fusemountpoint communication is still intact.