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
This commit is contained in:
Bertrand Lallau
2015-08-19 15:48:22 +02:00
parent 71e5725a7f
commit 4bd3b20083
2 changed files with 5 additions and 3 deletions

View File

@@ -67,8 +67,9 @@ function octavia_configure {
iniset $OCTAVIA_CONF DEFAULT api_handler queue_producer iniset $OCTAVIA_CONF DEFAULT api_handler queue_producer
iniset $OCTAVIA_CONF oslo_messaging rabbit_port 5672 iniset $OCTAVIA_CONF oslo_messaging_rabbit rabbit_port 5672
iniset $OCTAVIA_CONF oslo_messaging rabbit_hosts localhost: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 rpc_thread_pool_size 2
iniset $OCTAVIA_CONF oslo_messaging topic octavia_prov iniset $OCTAVIA_CONF oslo_messaging topic octavia_prov

View File

@@ -119,7 +119,7 @@
# engine = serial # engine = serial
# max_workers = 5 # max_workers = 5
[oslo_messaging] [oslo_messaging_rabbit]
# Rabbit and HA configuration: # Rabbit and HA configuration:
# rabbit_userid = octavia # rabbit_userid = octavia
# rabbit_password = password # rabbit_password = password
@@ -129,6 +129,7 @@
# For example: rabbit_hosts = 192.168.50.8:5672, 192.168.50.9:5672 # For example: rabbit_hosts = 192.168.50.8:5672, 192.168.50.9:5672
# rabbit_hosts = localhost:5672 # rabbit_hosts = localhost:5672
[oslo_messaging]
# Queue Consumer Thread Pool Size # Queue Consumer Thread Pool Size
# rpc_thread_pool_size = 2 # rpc_thread_pool_size = 2