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.

Closes-Bug: 1681452

Change-Id: I837a4857f4da2eb2d8c38f13d6b79b6fb4854128
This commit is contained in:
James Page 2017-04-10 15:05:21 +01:00
parent 4a99be6bf6
commit 65e1ba667a
6 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ bind_host = {{ bind_host }}
auth_strategy = keystone
{% if notifications == 'True' -%}
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
{% endif -%}
api_workers = {{ workers }}
rpc_workers = {{ workers }}

View File

@ -11,7 +11,7 @@ state_path = /var/lib/neutron
lock_path = $state_path/lock
bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
api_workers = {{ workers }}
rpc_workers = {{ workers }}

View File

@ -11,7 +11,7 @@ use_syslog = {{ use_syslog }}
state_path = /var/lib/neutron
bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
api_workers = {{ workers }}
rpc_workers = {{ workers }}

View File

@ -11,7 +11,7 @@ use_syslog = {{ use_syslog }}
state_path = /var/lib/neutron
bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
notification_topics = notifications,notifications_designate
api_workers = {{ workers }}
rpc_workers = {{ workers }}

View File

@ -11,7 +11,7 @@ use_syslog = {{ use_syslog }}
state_path = /var/lib/neutron
bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
notification_topics = notifications,notifications_designate
api_workers = {{ workers }}
rpc_workers = {{ workers }}

View File

@ -11,7 +11,7 @@ use_syslog = {{ use_syslog }}
state_path = /var/lib/neutron
bind_host = {{ bind_host }}
auth_strategy = keystone
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notification_driver = messaging
notification_topics = notifications,notifications_designate
api_workers = {{ workers }}
rpc_workers = {{ workers }}