From 9da87065f5b0f5bd0d024cc73d955950c254ec69 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 24 Sep 2015 13:29:00 -0400 Subject: [PATCH] Install RabbitMQ 3.5.4 on Ubuntu systems RabbitMQ 3.5.5 has a bug [1] that prevent puppetlabs-rabbitmq module to create permissions: Could not evaluate: cannot parse line from list_user_permissions:/usr/sbin/rabbitmqctl: 19: [: Linux: unexpected operator] This patch is a workaround to make sure we install the previous stable version of RabbitMQ (3.5.4). Since puppetlabs-rabbitmq module will only check if the package is 'installed', it won't try to update it. [1] https://github.com/rabbitmq/rabbitmq-server/issues/321 Change-Id: I8e0fa8e62e93b62317011fd7c8a2730cd293d4c7 --- install_modules.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install_modules.sh b/install_modules.sh index c2aace3e4..67c83d4a6 100755 --- a/install_modules.sh +++ b/install_modules.sh @@ -57,6 +57,11 @@ if type "apt-get" 2>/dev/null; then # apt-get update needs to be run to be able (later) to install # ubuntu-cloud-keyring package with puppet /usr/bin/apt-get update + + # install rabbitmq-server from ubuntu repository until + # rabbitmq repository contains the fix mentionned in: + # https://github.com/rabbitmq/rabbitmq-server/issues/321 + /usr/bin/apt-get install -y rabbitmq-server else # disable SElinux # something is python-cffi is preventing Nova & Keystone to