From 96515aefc9c5cae411aa91ce662ebb84afd81dda Mon Sep 17 00:00:00 2001 From: zhubingbing <1392607554@qq.com> Date: Mon, 17 Oct 2016 17:26:41 +0800 Subject: [PATCH] Fix senlin upgrade permission issue Change-Id: Ief97e09c671c592098ea411e3b2f85214385a3b5 Partial-Bug: #1631503 --- ansible/roles/senlin/templates/senlin-api.json.j2 | 7 +++++++ ansible/roles/senlin/templates/senlin-engine.json.j2 | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/ansible/roles/senlin/templates/senlin-api.json.j2 b/ansible/roles/senlin/templates/senlin-api.json.j2 index 7f77a9b917..0e287719b8 100644 --- a/ansible/roles/senlin/templates/senlin-api.json.j2 +++ b/ansible/roles/senlin/templates/senlin-api.json.j2 @@ -7,5 +7,12 @@ "owner": "senlin", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/senlin", + "owner": "senlin:senlin", + "recurse": true + } ] } diff --git a/ansible/roles/senlin/templates/senlin-engine.json.j2 b/ansible/roles/senlin/templates/senlin-engine.json.j2 index de63916f68..bc643475ed 100644 --- a/ansible/roles/senlin/templates/senlin-engine.json.j2 +++ b/ansible/roles/senlin/templates/senlin-engine.json.j2 @@ -7,5 +7,12 @@ "owner": "senlin", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/senlin", + "owner": "senlin:senlin", + "recurse": true + } ] }