From d832139a0920dc12beaa350d2d057d963eacec60 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Wed, 29 Nov 2017 16:16:07 +0800 Subject: [PATCH] Use openstack_service_workers variable for gnocchi metricd workers Change-Id: Ibfa777065291c2e9c2ae00db5288afc8db91e055 Closes-Bug: #1735095 --- ansible/roles/gnocchi/templates/gnocchi.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/gnocchi/templates/gnocchi.conf.j2 b/ansible/roles/gnocchi/templates/gnocchi.conf.j2 index 800be7d019..1f7d6b6e2f 100644 --- a/ansible/roles/gnocchi/templates/gnocchi.conf.j2 +++ b/ansible/roles/gnocchi/templates/gnocchi.conf.j2 @@ -29,6 +29,8 @@ archive_policy_name = low flush_delay=10 +[metricd] +workers = {{ openstack_service_workers }} [indexer] url = mysql+pymysql://{{ gnocchi_database_user }}:{{ gnocchi_database_password }}@{{ gnocchi_database_address }}/{{ gnocchi_database_name }}