From a0d5ac7f535bcae5cdda412cdd84b5f6930f5ff9 Mon Sep 17 00:00:00 2001 From: zhubingbing <1392607554@qq.com> Date: Sat, 15 Oct 2016 17:34:19 +0800 Subject: [PATCH] Fix murano upgrade permission issue Change-Id: I5061c572226dbb762e21cad02dccc8722ef91dc8 Partial-Bug: #1631503 --- ansible/roles/murano/templates/murano-api.json.j2 | 7 +++++++ ansible/roles/murano/templates/murano-engine.json.j2 | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/ansible/roles/murano/templates/murano-api.json.j2 b/ansible/roles/murano/templates/murano-api.json.j2 index c67b1ef1f3..38a81f5448 100644 --- a/ansible/roles/murano/templates/murano-api.json.j2 +++ b/ansible/roles/murano/templates/murano-api.json.j2 @@ -7,5 +7,12 @@ "owner": "murano", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/murano", + "owner": "murano:murano", + "recurse": true + } ] } diff --git a/ansible/roles/murano/templates/murano-engine.json.j2 b/ansible/roles/murano/templates/murano-engine.json.j2 index a56bc16d42..2c25cd0f43 100644 --- a/ansible/roles/murano/templates/murano-engine.json.j2 +++ b/ansible/roles/murano/templates/murano-engine.json.j2 @@ -7,5 +7,12 @@ "owner": "murano", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/murano", + "owner": "murano:murano", + "recurse": true + } ] }