diff options
| author | zhubingbing <1392607554@qq.com> | 2016-10-17 18:06:49 +0800 |
|---|---|---|
| committer | zhubingbing <1392607554@qq.com> | 2016-10-18 09:16:00 +0800 |
| commit | e95722522a66161d9bb2e6fe4bc4050c962bfcbd (patch) | |
| tree | 67c078659b3f380ce4f2b3e5db09c666f12b42e7 | |
| parent | 97686e9fab5d441a2a2508f9b6b34b44e853c73a (diff) | |
| download | kolla-e95722522a66161d9bb2e6fe4bc4050c962bfcbd.tar.gz kolla-e95722522a66161d9bb2e6fe4bc4050c962bfcbd.zip | |
Fix influxdb upgrade permission issue
Change-Id: I0936a26bd51114e372a89daa463a16e5aac3c477
Partial-Bug: #1631503
| -rw-r--r-- | ansible/roles/influxdb/templates/influxdb.json.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/influxdb/templates/influxdb.json.j2 b/ansible/roles/influxdb/templates/influxdb.json.j2 index 2c4c6b3b0..3ffa2fe3a 100644 --- a/ansible/roles/influxdb/templates/influxdb.json.j2 +++ b/ansible/roles/influxdb/templates/influxdb.json.j2 @@ -7,5 +7,17 @@ "owner": "influxdb", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/lib/influxdb", + "owner": "influxdb:influxdb", + "recurse": true + }, + { + "path": "/var/log/kolla/influxdb", + "owner": "influxdb:influxdb", + "recurse": true + } ] } |
