From 9fda3ca971ecd31c7ef6b07416b518cfe3d5dda6 Mon Sep 17 00:00:00 2001 From: EmilienM Date: Tue, 26 Mar 2013 14:43:12 +0100 Subject: [PATCH] Add RabbitMQ and QPID HA support flags to quantum.conf Since Quantum supports HA queues with RabbitMQ (https://review.openstack.org/#/c/13760/), quantum.conf should provide new flags for explain how to configure multiple RabbitMQ servers and enable HA. New flags : rabbit_hosts=$rabbit_host:$rabbit_port rabbit_ha_queues=false qpid_hosts = localhost:5672 Fix Bug #1160369 Cherry-picked from https://review.openstack.org/#/c/25389/ Change-Id: I35903b1b7b66fde8d70ac7e8076e0def2a1f2d04 --- etc/quantum.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/quantum.conf b/etc/quantum.conf index a94ba6ba90..455d41e1d5 100644 --- a/etc/quantum.conf +++ b/etc/quantum.conf @@ -124,6 +124,9 @@ control_exchange = quantum # rabbit_password = guest # Port where RabbitMQ server is running/listening # rabbit_port = 5672 +# RabbitMQ single or HA cluster (host:port pairs i.e: host1:5672, host2:5672) +# rabbit_hosts is defaulted to '$rabbit_host:$rabbit_port' +# rabbit_hosts = localhost:5672 # User ID used for RabbitMQ connections # rabbit_userid = guest # Location of a virtual RabbitMQ installation. @@ -133,6 +136,9 @@ control_exchange = quantum # rabbit_max_retries = 0 # RabbitMQ connection retry interval # rabbit_retry_interval = 1 +# Use HA queues in RabbitMQ (x-ha-policy: all).You need to +# wipe RabbitMQ database when changing this option. (boolean value) +# rabbit_ha_queues = false # QPID # rpc_backend=quantum.openstack.common.rpc.impl_qpid @@ -140,6 +146,9 @@ control_exchange = quantum # qpid_hostname = localhost # Qpid broker port # qpid_port = 5672 +# Qpid single or HA cluster (host:port pairs i.e: host1:5672, host2:5672) +# qpid_hosts is defaulted to '$qpid_hostname:$qpid_port' +# qpid_hosts = localhost:5672 # Username for qpid connection # qpid_username = '' # Password for qpid connection