From a354f03409091f2c1dfbd3f8b6e05eb2cbee2843 Mon Sep 17 00:00:00 2001 From: Narasimha SV Date: Mon, 14 Nov 2016 04:41:03 -0500 Subject: [PATCH] update dispatcher configurations for database backend Ceilometer dispatcher configurations are there to have gnocchi as backend but when we use mongodb or mysql dispatcher configurations are missing. Closes-Bug: #1640166 (cherry picked from commit d99659050763c71e63ed8b57cbf16d4ce85980fa) Change-Id: I9cdfc6e2208978e72b76bff7f6a1cba80386ffa8 --- ansible/roles/ceilometer/templates/ceilometer.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/ceilometer/templates/ceilometer.conf.j2 b/ansible/roles/ceilometer/templates/ceilometer.conf.j2 index 1be311b04e..927154bca5 100644 --- a/ansible/roles/ceilometer/templates/ceilometer.conf.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer.conf.j2 @@ -15,6 +15,8 @@ event_dispatchers = panko {% if ceilometer_database_type == 'gnocchi' %} meter_dispatchers = gnocchi +{% else %} +meter_dispatchers = database {% endif %} [api]