Ansible scripts now default monitor.*3

In order to run StackTach.v2 and StackTach.v2 in parallel,
we need to have two queue from OpenStack (vs. having to change
--notification_topics to include a new queue).

This approach makes a new queue with the same routing_key off the
same exchange, resulting in mirrored queues which can be consumed
separately.

Exchange "nova" -> (routing key "monitor.info") -> Queue "monitor.info"
                -> (routing key "monitor.info") -> Queue "monitor.info3"

Change-Id: Icce87c7eb43025672759d442553feb325e186128
This commit is contained in:
Sandy Walsh 2015-02-04 15:10:09 -08:00
parent 4c2672e8c1
commit 72c8f298e4
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ default_level = {{ yagi_log_level }}
#config_file = /etc/stv3/logging.conf
[consumers]
queues = monitor.info,monitor.error
queues = monitor.info3,monitor.error3
[consumer:monitor.info]
[consumer:monitor.info3]
#apps = yagi.handler.shoebox_handler.ShoeboxHandler
apps = winchester.yagi_handler.WinchesterHandler
exchange = monitor
@ -34,7 +34,7 @@ routing_key = monitor.info
durable = True
max_messages = 100
[consumer:monitor.error]
[consumer:monitor.error3]
apps = winchester.yagi_handler.WinchesterHandler
exchange = monitor
exchange_type = topic