Enable notifications
Currently the notifications are not sent by the service. Add configuration parameter enable-telemetry-notifications to toggle notifications. Set notification driver to messagingv2 when the parameter is set to True. Change-Id: I8299a2263b1e139d8cc6ae902ce5b45ec934836d
This commit is contained in:
@@ -246,3 +246,7 @@ options:
|
||||
type: string
|
||||
default:
|
||||
description: RabbitMQ virtual host to request access on rabbitmq-server.
|
||||
enable-telemetry-notifications:
|
||||
type: boolean
|
||||
default: False
|
||||
description: Enable notifications to send to telemetry.
|
||||
|
@@ -24,6 +24,8 @@ connection = {{ database.connection }}
|
||||
{% endif -%}
|
||||
connection_recycle_time = 200
|
||||
|
||||
{% include "parts/section-oslo-notifications" %}
|
||||
|
||||
[{{ cinder_ceph.backend_name }}]
|
||||
volume_driver = cinder.volume.drivers.rbd.RBDDriver
|
||||
rbd_exclusive_cinder_pool = True
|
||||
|
@@ -0,0 +1,4 @@
|
||||
{% if options.enable_telemetry_notifications -%}
|
||||
[oslo_messaging_notifications]
|
||||
driver = messagingv2
|
||||
{%- endif %}
|
Reference in New Issue
Block a user