From 3ecfd4e7d0b93695b60ba60f2f97085869ca0d75 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Thu, 30 Mar 2017 17:03:12 +0200 Subject: [PATCH] Magnum: add oslo_messaging_notifications config Magnum can send RPC notifications to Ceilometer as define here: https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline/data/event_definitions.yaml#L554 oslo_messaging_notifications section MUST be managed in magnum.conf file. Change-Id: I6cafa6666bcb1fc15bf08ef049f0044e788eb98b Closes-Bug: #1677655 --- ansible/roles/magnum/templates/magnum.conf.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/roles/magnum/templates/magnum.conf.j2 b/ansible/roles/magnum/templates/magnum.conf.j2 index 30be2d18eb..a2d9aed0b9 100644 --- a/ansible/roles/magnum/templates/magnum.conf.j2 +++ b/ansible/roles/magnum/templates/magnum.conf.j2 @@ -68,3 +68,11 @@ cert_manager_type = barbican {% else %} cert_manager_type = x509keypair {% endif %} + +[oslo_messaging_notifications] +{% if enable_ceilometer | bool %} +driver = messaging +topics = 'notifications' +{% else %} +driver = noop +{% endif %}