Fix setting of csets for OSDs
This commit is contained in:
parent
8f685116b7
commit
f51fc2ce64
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue