From 0a50cb8889f245bc89b49fbb2dacb9c02ded5f88 Mon Sep 17 00:00:00 2001 From: "Michal (inc0) Jastrzebski" Date: Tue, 6 Sep 2016 15:52:24 +0000 Subject: 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 --- ansible/roles/ceph/templates/ceph.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ansible') 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. -- cgit v1.2.3