From 574af89a18c4403b934c4f9b4bfffac66b5bb62c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 5 Nov 2022 19:11:36 -0400 Subject: [PATCH] Fix setting of csets for OSDs --- roles/pvc/templates/ceph/ceph-osd-cpuset.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/pvc/templates/ceph/ceph-osd-cpuset.conf.j2 b/roles/pvc/templates/ceph/ceph-osd-cpuset.conf.j2 index 13deae2..8e1b7da 100644 --- a/roles/pvc/templates/ceph/ceph-osd-cpuset.conf.j2 +++ b/roles/pvc/templates/ceph/ceph-osd-cpuset.conf.j2 @@ -1,5 +1,9 @@ # ceph-osd@.service overrides for cpuset # {{ ansible_managed }} [Service] +# Empty the existing ExecStart value ExecStart = +# Set ExecStart to launch ceph-osd via cset proc inside the osd CSET ExecStart = /usr/bin/cset proc --set=osd --exec /usr/bin/ceph-osd -- -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph +# Disable control group protection, as cset uses control groups +ProtectControlGroups = false