From 183dca0f9158e4fc798d159d8058f50aea272ee9 Mon Sep 17 00:00:00 2001 From: "Erlon R. Cruz" Date: Wed, 1 Feb 2017 08:34:28 -0200 Subject: [PATCH] Fix multibackend-matrix confs The command to edit tempest.conf should be run as the same user that owns that file. This is causing the scripts to run always with the same backends[1]. [1] http://bit.ly/2juDims Change-Id: Ie865042c052746b5001f6132c159bc32165021a3 --- tools/hooks/run_multi_backend_matrix.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/hooks/run_multi_backend_matrix.sh b/tools/hooks/run_multi_backend_matrix.sh index 166653a22af..ad5b904a6b9 100755 --- a/tools/hooks/run_multi_backend_matrix.sh +++ b/tools/hooks/run_multi_backend_matrix.sh @@ -33,10 +33,7 @@ function configure_tempest_backends { be1=$1 be2=$2 echo "Configuring tempest conf in ${TEMPEST_CONFIG}" - # TODO(erlon): Call iniset using sudo - #sudo -HE -u ${TEMPEST_USER} iniset $TEMPEST_CONFIG 'volume' \ - #'backend_names' ${be1},${be2} - iniset $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2} + iniset -sudo $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2} }