Trove: add oslo_messaging_notifications config

Trove can send RPC notifications to Ceilometer as define here:
https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L444

oslo_messaging_notifications section MUST be managed in conf files.

Change-Id: I063b9807686e9b4ca6f7e7bfa6a444191378e513
This commit is contained in:
Bertrand Lallau 2017-03-10 18:12:13 +01:00
parent c0df4ab8b6
commit 6a8b3ede43
2 changed files with 16 additions and 0 deletions

View File

@ -24,3 +24,11 @@ swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_api_por
[database] [database]
connection = mysql+pymysql://{{ trove_database_user }}:{{ trove_database_password }}@{{ trove_database_address }}/{{ trove_database_name }} connection = mysql+pymysql://{{ trove_database_user }}:{{ trove_database_password }}@{{ trove_database_address }}/{{ trove_database_name }}
max_retries = -1 max_retries = -1
[oslo_messaging_notifications]
{% if enable_ceilometer | bool %}
driver = messagingv2
topics = 'notifications'
{% else %}
driver = noop
{% endif %}

View File

@ -35,3 +35,11 @@ username = {{ trove_keystone_user }}
password = {{ trove_keystone_password }} password = {{ trove_keystone_password }}
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
auth_type = password auth_type = password
[oslo_messaging_notifications]
{% if enable_ceilometer | bool %}
driver = messagingv2
topics = 'notifications'
{% else %}
driver = noop
{% endif %}