Fix notification configuration

The 'notification_driver' parameter was set to
oslo.messaging.notifier.Notifier which isn't supported anymore for
Liberty and Mitaka. Also the configuration files for these 2 releases
didn't honor the server.notification flag.

Change-Id: I77ae4ea18c87cf93a8d5fee4c492a345833fa004
This commit is contained in:
Simon Pasquier 2016-12-01 13:32:02 +01:00
parent 2edc4233b1
commit 1eb7c8d09c
2 changed files with 6 additions and 2 deletions

View File

@ -172,7 +172,9 @@ stack_user_domain_name = heat_user_domain
# Driver or drivers to handle sending notifications. (multi valued)
#notification_driver =
notification_driver = oslo.messaging.notifier.Notifier
{%- if server.notification %}
notification_driver = messagingv2
{% endif %}
# AMQP topic used for OpenStack notifications. (list value)
# Deprecated group/name - [rpc_notifier2]/topics

View File

@ -172,7 +172,9 @@ stack_user_domain_name = heat_user_domain
# Driver or drivers to handle sending notifications. (multi valued)
#notification_driver =
notification_driver = oslo.messaging.notifier.Notifier
{%- if server.notification %}
notification_driver = messagingv2
{%- endif %}
# AMQP topic used for OpenStack notifications. (list value)
# Deprecated group/name - [rpc_notifier2]/topics