Fix setting of csets for OSDs

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 8f685116b7
commit f51fc2ce64
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# ceph-osd@.service overrides for cpuset # ceph-osd@.service overrides for cpuset
# {{ ansible_managed }} # {{ ansible_managed }}
[Service] [Service]
# Empty the existing ExecStart value
ExecStart = 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 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