From 5990218dde749214289e4acd36a5abdbfea7977a Mon Sep 17 00:00:00 2001 From: Javier Pena Date: Thu, 16 Jun 2016 13:38:40 +0200 Subject: [PATCH] Create Gnocchi legacy resources By default, resources from /etc/ceilometer/gnocchi_resources.yaml do not get created in Gnocchi since version 2.1. This causes ceilometer dispatcher to fail while dispatching meters there. Change-Id: I16bc39326a2dd0859c0e4a0d064ff248489889d1 Closes-bug: #1592449 (cherry picked from commit c842a6bcd72cf632c5ce675adfb8f6b6c9b06011) --- packstack/puppet/templates/gnocchi.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packstack/puppet/templates/gnocchi.pp b/packstack/puppet/templates/gnocchi.pp index a492e184a..a58defde9 100644 --- a/packstack/puppet/templates/gnocchi.pp +++ b/packstack/puppet/templates/gnocchi.pp @@ -32,7 +32,9 @@ gnocchi_config { 'keystone_authtoken/auth_version': value => hiera('CONFIG_KEYSTONE_API_VERSION'); } -class { '::gnocchi::db::sync': } +class { '::gnocchi::db::sync': + extra_opts => '--create-legacy-resource-types', +} class { '::gnocchi::storage': } class { '::gnocchi::storage::file': }