aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorMichal (inc0) Jastrzebski <inc007@gmail.com>2016-09-06 15:52:24 +0000
committerMichal (inc0) Jastrzebski <inc007@gmail.com>2016-09-09 14:30:36 +0000
commit0a50cb8889f245bc89b49fbb2dacb9c02ded5f88 (patch)
treed68f0b8a642e4ef7a337287c70edabc2e2bf70f0 /ansible
parent682025c9e2fe834c697e96d219c54b70e641cbf8 (diff)
downloadkolla-0a50cb8889f245bc89b49fbb2dacb9c02ded5f88.tar.gz
kolla-0a50cb8889f245bc89b49fbb2dacb9c02ded5f88.zip
Change ceph version to Jewel
This patch changes version of ceph from hammer to jewel. Also removed versionlock as it seems we don't use it in ubuntu, and actually might be risky if we miss security patch on ceph. Change-Id: Ib8f88c2f914a4b635e59a509fa0194605eb73165 Implements: blueprint upgrade-ceph-to-jewel
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/ceph/templates/ceph.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/ceph/templates/ceph.conf.j2 b/ansible/roles/ceph/templates/ceph.conf.j2
index 70907affe..261c594cd 100644
--- a/ansible/roles/ceph/templates/ceph.conf.j2
+++ b/ansible/roles/ceph/templates/ceph.conf.j2
@@ -14,6 +14,12 @@ auth cluster required = cephx
auth service required = cephx
auth client required = cephx
+# NOTE(inc0): This line will mean that if ceph was upgraded, it will run as root
+# until contents of /var/lib/ceph are chowned to ceph user.
+# This change was introduced in Jewel version and we should include
+# chown operation in upgrade procedure. https://bugs.launchpad.net/kolla/+bug/1620702
+setuser match path = /var/lib/ceph/$type/$cluster-$id
+
[mon]
# NOTE(SamYaple): The monitor files have been known to grow very large. The
# only fix for that is to compact the files.