From 916a69c9fa1695a5544f0afdb6a404b7f4c2fde2 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Fri, 10 Mar 2017 23:05:24 +0100 Subject: [PATCH] Heat: add oslo_messaging_notifications config Heat can send RPC notifications to Ceilometer as define here: https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L139 oslo_messaging_notifications section MUST be managed in heat.conf file. Closes-Bug: #1674935 Change-Id: I314e34a7a7b6caab72b916331f5f20c29afde438 --- ansible/roles/heat/templates/heat.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2 index b9389e445a..439b074389 100644 --- a/ansible/roles/heat/templates/heat.conf.j2 +++ b/ansible/roles/heat/templates/heat.conf.j2 @@ -85,7 +85,12 @@ auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_publi {% endif %} [oslo_messaging_notifications] +{% if enable_ceilometer | bool %} +driver = messagingv2 +topics = 'notifications' +{% else %} driver = noop +{% endif %} [clients] endpoint_type = internalURL