Fix setting of csets for OSDs
This commit is contained in:
parent
38a6437bbc
commit
574af89a18
|
@ -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