Move rabbit configurations to oslo_messaging_rabbit section

Configuration with oslo.messaging is listed in the DEFAULT section
in etc/barbican/barbican.conf.
According to this Change "I96a9682afe7eb0caf1fbf47bbb0291833aec245b"
of oslo.messaging, we now prefer to set them in "oslo_messaging_rabbit"
section.

Closes-Bug: #1590231
Change-Id: I2b952012b2192cfb95e28cf11f78cf56d6a414ca
This commit is contained in:
liujiong 2016-06-12 15:05:58 +08:00
parent 29e7356c9d
commit 45032b2b7d
1 changed files with 8 additions and 3 deletions

View File

@ -115,8 +115,10 @@ max_limit_paging = 100
# ================= Queue Options - oslo.messaging ==========================
[oslo_messaging_rabbit]
# Rabbit and HA configuration:
ampq_durable_queues = True
amqp_durable_queues = True
rabbit_userid=guest
rabbit_password=guest
rabbit_ha_queues = True
@ -131,12 +133,15 @@ rabbit_hosts=localhost:5672
# DO NOT USE THIS, due to '# FIXME(markmc): support multiple hosts' in oslo/messaging/_drivers/amqpdriver.py
# transport_url = rabbit://guest@localhost:5672/
[oslo_messaging_notifications]
# oslo notification driver for sending audit events via audit middleware.
# Meaningful only when middleware is enabled in barbican paste ini file.
# This is oslo config MultiStrOpt so can be defined multiple times in case
# there is need to route audit event to messaging as well as log.
# notification_driver = messagingv2
# notification_driver = log
# driver = messagingv2
# driver = log
# ======== OpenStack policy - oslo_policy ===============