From 0f30134ebd9d2d218a70d64529c48e6209b0d5c6 Mon Sep 17 00:00:00 2001
From: Christian Berendt <berendt@betacloud-solutions.de>
Date: Wed, 14 Sep 2016 10:34:54 +0200
Subject: [PATCH] Set owner of rally.conf to rally

This will solve the following issue when running the rally bootstrap
container:

oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some
config files: /etc/rally/rally.conf

TrivialFix

Change-Id: I90c840850ea0579e375a7c75f3192fe0387f4270
---
 ansible/roles/rally/templates/rally.json.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/rally/templates/rally.json.j2 b/ansible/roles/rally/templates/rally.json.j2
index c7c2d0217c..3c656054d7 100644
--- a/ansible/roles/rally/templates/rally.json.j2
+++ b/ansible/roles/rally/templates/rally.json.j2
@@ -4,7 +4,7 @@
         {
             "source": "{{ container_config_directory }}/rally.conf",
             "dest": "/etc/rally/rally.conf",
-            "owner": "root",
+            "owner": "rally",
             "perm": "0600"
         }
     ]