From b00ce4c19a3f25eaa37e15e36b7409ef5596c480 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 26 Mar 2024 10:10:03 +0900 Subject: [PATCH] tempest: Set new metric_backends option Change-Id: Id7960cd67eec3d18d5899205733486b99769b3cc --- manifests/tempest.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/tempest.pp b/manifests/tempest.pp index 89fb9d9b8..59b653a67 100644 --- a/manifests/tempest.pp +++ b/manifests/tempest.pp @@ -276,6 +276,11 @@ class openstack_integration::tempest ( default => "${::openstack_integration::config::base_url}/horizon" } + $metric_backends = $gnocchi ? { + true => ['gnocchi'], + default => [], + } + class { 'tempest': debug => true, use_stderr => false, @@ -358,6 +363,7 @@ class openstack_integration::tempest ( share_enable_protocols => [downcase($share_protocol)], share_capability_storage_protocol => $share_protocol, designate_nameservers => "${::openstack_integration::config::ip_for_url}:5322", + metric_backends => $metric_backends, } if $magnum {