From 4bd3b20083b1c340d9b7d679c0c1efdc69e16e70 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Wed, 19 Aug 2015 15:48:22 +0200 Subject: [PATCH] Correct rabbit messaging config set in devstack Config section [oslo_messaging] used to set rabbit config is wrong and not used anymore. New section [oslo_messaging_rabbit] must be used. Change-Id: Id06bcdfbfecda202bff13915c4f020bc00e19c3c --- devstack/plugin.sh | 5 +++-- etc/octavia.conf | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bdc6bc8d81..4671e42a1c 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -67,8 +67,9 @@ function octavia_configure { iniset $OCTAVIA_CONF DEFAULT api_handler queue_producer - iniset $OCTAVIA_CONF oslo_messaging rabbit_port 5672 - iniset $OCTAVIA_CONF oslo_messaging rabbit_hosts localhost:5672 + iniset $OCTAVIA_CONF oslo_messaging_rabbit rabbit_port 5672 + iniset $OCTAVIA_CONF oslo_messaging_rabbit rabbit_hosts localhost:5672 + iniset $OCTAVIA_CONF oslo_messaging rpc_thread_pool_size 2 iniset $OCTAVIA_CONF oslo_messaging topic octavia_prov diff --git a/etc/octavia.conf b/etc/octavia.conf index dbdc61b014..984954c1b8 100644 --- a/etc/octavia.conf +++ b/etc/octavia.conf @@ -119,7 +119,7 @@ # engine = serial # max_workers = 5 -[oslo_messaging] +[oslo_messaging_rabbit] # Rabbit and HA configuration: # rabbit_userid = octavia # rabbit_password = password @@ -129,6 +129,7 @@ # For example: rabbit_hosts = 192.168.50.8:5672, 192.168.50.9:5672 # rabbit_hosts = localhost:5672 +[oslo_messaging] # Queue Consumer Thread Pool Size # rpc_thread_pool_size = 2