aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-17 07:57:54 +0000
committerGerrit Code Review <review@openstack.org>2016-10-17 07:57:54 +0000
commitc6a0bb951ec93d1065cd78fff93be1b179d686d6 (patch)
treebb6cc694947ddb81140cb5915ed3c52fcb81a225
parente29a09df239e36991f5210da3934ee291a47a4ec (diff)
parent2b7abb600a571b7c8db84417d58937176548fc9d (diff)
downloadkolla-c6a0bb951ec93d1065cd78fff93be1b179d686d6.tar.gz
kolla-c6a0bb951ec93d1065cd78fff93be1b179d686d6.zip
Merge "Fix watcher upgrade permission issue"
-rw-r--r--ansible/roles/watcher/templates/watcher-api.json.j27
-rw-r--r--ansible/roles/watcher/templates/watcher-applier.json.j27
-rw-r--r--ansible/roles/watcher/templates/watcher-engine.json.j27
3 files changed, 21 insertions, 0 deletions
diff --git a/ansible/roles/watcher/templates/watcher-api.json.j2 b/ansible/roles/watcher/templates/watcher-api.json.j2
index 6834e719d..422313e77 100644
--- a/ansible/roles/watcher/templates/watcher-api.json.j2
+++ b/ansible/roles/watcher/templates/watcher-api.json.j2
@@ -7,5 +7,12 @@
"owner": "watcher",
"perm": "0644"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/watcher",
+ "owner": "watcher:watcher",
+ "recurse": true
+ }
]
}
diff --git a/ansible/roles/watcher/templates/watcher-applier.json.j2 b/ansible/roles/watcher/templates/watcher-applier.json.j2
index f53d8ba81..2fae81a0e 100644
--- a/ansible/roles/watcher/templates/watcher-applier.json.j2
+++ b/ansible/roles/watcher/templates/watcher-applier.json.j2
@@ -7,5 +7,12 @@
"owner": "watcher",
"perm": "0644"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/watcher",
+ "owner": "watcher:watcher",
+ "recurse": true
+ }
]
}
diff --git a/ansible/roles/watcher/templates/watcher-engine.json.j2 b/ansible/roles/watcher/templates/watcher-engine.json.j2
index ee8a2aec1..acf60e930 100644
--- a/ansible/roles/watcher/templates/watcher-engine.json.j2
+++ b/ansible/roles/watcher/templates/watcher-engine.json.j2
@@ -7,5 +7,12 @@
"owner": "watcher",
"perm": "0644"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/watcher",
+ "owner": "watcher:watcher",
+ "recurse": true
+ }
]
}