diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-17 10:27:02 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-17 10:27:02 +0000 |
| commit | b395237f5c7a8b21c36005c0bfb7382c86bfbd94 (patch) | |
| tree | dac610ff0519075e66b7790610ef5fca9ed6fe1b | |
| parent | 5de08657540ca8e0be4dabfce922118c2b080a88 (diff) | |
| parent | 709cbd345e59308f048e034a51b4b20f12715b61 (diff) | |
| download | kolla-b395237f5c7a8b21c36005c0bfb7382c86bfbd94.tar.gz kolla-b395237f5c7a8b21c36005c0bfb7382c86bfbd94.zip | |
Merge "Fix manila upgrade permission issue"
| -rw-r--r-- | ansible/roles/manila/templates/manila-api.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/manila/templates/manila-scheduler.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/manila/templates/manila-share.json.j2 | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/ansible/roles/manila/templates/manila-api.json.j2 b/ansible/roles/manila/templates/manila-api.json.j2 index 07e86dd75..2d6196459 100644 --- a/ansible/roles/manila/templates/manila-api.json.j2 +++ b/ansible/roles/manila/templates/manila-api.json.j2 @@ -7,5 +7,12 @@ "owner": "manila", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/manila", + "owner": "manila:manila", + "recurse": true + } ] } diff --git a/ansible/roles/manila/templates/manila-scheduler.json.j2 b/ansible/roles/manila/templates/manila-scheduler.json.j2 index b2c19b27b..e59e85b5b 100644 --- a/ansible/roles/manila/templates/manila-scheduler.json.j2 +++ b/ansible/roles/manila/templates/manila-scheduler.json.j2 @@ -7,5 +7,12 @@ "owner": "manila", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/manila", + "owner": "manila:manila", + "recurse": true + } ] } diff --git a/ansible/roles/manila/templates/manila-share.json.j2 b/ansible/roles/manila/templates/manila-share.json.j2 index f3c28532a..310815655 100644 --- a/ansible/roles/manila/templates/manila-share.json.j2 +++ b/ansible/roles/manila/templates/manila-share.json.j2 @@ -7,5 +7,12 @@ "owner": "manila", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/manila", + "owner": "manila:manila", + "recurse": true + } ] } |
