config: disable notifications by default

We are currently pushing out notifications even if Ceilometer is
not enabled resulting in huge queues.  Let's not do that.

Change-Id: Id4a70270d4032ff1c3f0089360e897e5c82c394b
This commit is contained in:
Mohammed Naser 2019-07-31 13:17:04 -04:00
parent 8f08a8c52b
commit 752f261ab6

View File

@ -227,7 +227,7 @@ rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }}
{% set _ = notification_topics.append(neutron_notifications_designate) %}
{% endif %}
topics = {{ notification_topics | join(',') }}
driver = messagingv2
driver = {{ (neutron_ceilometer_enabled | bool) | ternary('messagingv2', 'noop') }}
transport_url = {{ neutron_oslomsg_notify_transport }}://{% for host in neutron_oslomsg_notify_servers.split(',') %}{{ neutron_oslomsg_notify_userid }}:{{ neutron_oslomsg_notify_password }}@{{ host }}:{{ neutron_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ neutron_oslomsg_notify_vhost }}{% if neutron_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
# Concurrency (locking mechanisms)