Update notification_driver for oslo.messaging

The 'neutron.openstack.common.notifier.rpc_notifier' notification
driver key was removed from neutron in Ocata; 'messaging' has been
provided directly from oslo.messaging since icehouse, so switch to
using the newer, correct value for configuration of notifications.

Change-Id: I67e66caefdabc88e7fa5762133b4313fd84c840b
Closes-Bug: 1681452
This commit is contained in:
James Page 2017-04-10 15:18:41 +01:00
parent 4c916a02ac
commit dd7332386a
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ core_plugin = {{ core_plugin }}
api_paste_config = /etc/neutron/api-paste.ini
auth_strategy = keystone
{% if notifications == 'True' -%}
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
{% endif -%}
default_notification_level = INFO
notification_topics = notifications

View File

@ -22,7 +22,7 @@ core_plugin = {{ core_plugin }}
api_paste_config = /etc/neutron/api-paste.ini
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
default_notification_level = INFO
notification_topics = notifications