diff options
| author | zhubingbing <1392607554@qq.com> | 2016-10-15 17:34:19 +0800 |
|---|---|---|
| committer | Mauricio Lima <mauriciolimab@gmail.com> | 2016-10-17 15:48:18 -0300 |
| commit | a0d5ac7f535bcae5cdda412cdd84b5f6930f5ff9 (patch) | |
| tree | 27db3a1797bb4fe68492e0688e19de39502b05cd | |
| parent | dbf05f076fb2394439afcee95de3922a83f92219 (diff) | |
| download | kolla-a0d5ac7f535bcae5cdda412cdd84b5f6930f5ff9.tar.gz kolla-a0d5ac7f535bcae5cdda412cdd84b5f6930f5ff9.zip | |
Fix murano upgrade permission issue
Change-Id: I5061c572226dbb762e21cad02dccc8722ef91dc8
Partial-Bug: #1631503
| -rw-r--r-- | ansible/roles/murano/templates/murano-api.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/murano/templates/murano-engine.json.j2 | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/murano/templates/murano-api.json.j2 b/ansible/roles/murano/templates/murano-api.json.j2 index c67b1ef1f..38a81f544 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 a56bc16d4..2c25cd0f4 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 + } ] } |
