2018-12-07 19:16:31 +00:00
|
|
|
[global]
|
|
|
|
chdir = ""
|
|
|
|
pid file = /var/run/ceph/$cluster-$name.pid
|
|
|
|
auth supported = cephx
|
|
|
|
|
|
|
|
filestore xattr use omap = true
|
|
|
|
|
|
|
|
mon clock drift allowed = 1.000
|
|
|
|
|
|
|
|
osd crush chooseleaf type = 0
|
|
|
|
auth debug = true
|
|
|
|
|
|
|
|
ms die on old message = true
|
2019-03-15 11:27:17 +00:00
|
|
|
ms die on bug = true
|
2018-12-07 19:16:31 +00:00
|
|
|
|
|
|
|
mon max pg per osd = 10000 # >= luminous
|
|
|
|
mon pg warn max object skew = 0
|
|
|
|
|
2019-04-24 13:36:55 +00:00
|
|
|
# disable pg_autoscaler by default for new pools
|
|
|
|
osd_pool_default_pg_autoscale_mode = off
|
|
|
|
|
2018-12-07 19:16:31 +00:00
|
|
|
osd pool default size = 2
|
|
|
|
|
|
|
|
mon osd allow primary affinity = true
|
|
|
|
mon osd allow pg remap = true
|
|
|
|
mon warn on legacy crush tunables = false
|
|
|
|
mon warn on crush straw calc version zero = false
|
|
|
|
mon warn on no sortbitwise = false
|
|
|
|
mon warn on osd down out interval zero = false
|
2019-05-10 19:45:22 +00:00
|
|
|
mon warn on too few osds = false
|
2019-09-26 14:27:40 +00:00
|
|
|
mon_warn_on_pool_pg_num_not_power_of_two = false
|
2019-11-05 10:40:14 +00:00
|
|
|
mon_warn_on_pool_no_redundancy = false
|
2020-02-12 14:38:29 +00:00
|
|
|
mon_allow_pool_size_one = true
|
2018-12-07 19:16:31 +00:00
|
|
|
|
2021-07-07 14:32:11 +00:00
|
|
|
osd pool default erasure code profile = "plugin=jerasure technique=reed_sol_van k=2 m=1 crush-failure-domain=osd"
|
2018-12-07 19:16:31 +00:00
|
|
|
|
|
|
|
osd default data pool replay window = 5
|
|
|
|
|
|
|
|
mon allow pool delete = true
|
|
|
|
|
|
|
|
mon cluster log file level = debug
|
|
|
|
debug asserts on shutdown = true
|
2020-10-30 10:40:43 +00:00
|
|
|
mon health detail to clog = false
|
2018-12-07 19:16:31 +00:00
|
|
|
|
|
|
|
[osd]
|
|
|
|
osd journal size = 100
|
|
|
|
|
|
|
|
osd scrub load threshold = 5.0
|
|
|
|
osd scrub max interval = 600
|
|
|
|
|
|
|
|
osd recover clone overlap = true
|
|
|
|
osd recovery max chunk = 1048576
|
|
|
|
|
|
|
|
osd debug shutdown = true
|
|
|
|
osd debug op order = true
|
|
|
|
osd debug verify stray on activate = true
|
|
|
|
|
|
|
|
osd open classes on start = true
|
|
|
|
osd debug pg log writeout = true
|
|
|
|
|
|
|
|
osd deep scrub update digest min age = 30
|
|
|
|
|
|
|
|
osd map max advance = 10
|
|
|
|
|
|
|
|
journal zero on create = true
|
|
|
|
|
|
|
|
filestore ondisk finisher threads = 3
|
|
|
|
filestore apply finisher threads = 3
|
|
|
|
|
|
|
|
bdev debug aio = true
|
|
|
|
osd debug misdirected ops = true
|
|
|
|
|
|
|
|
[mgr]
|
|
|
|
debug ms = 1
|
|
|
|
debug mgr = 20
|
|
|
|
debug mon = 20
|
|
|
|
debug auth = 20
|
|
|
|
mon reweight min pgs per osd = 4
|
|
|
|
mon reweight min bytes per osd = 10
|
2019-07-25 22:12:51 +00:00
|
|
|
mgr/telemetry/nag = false
|
2018-12-07 19:16:31 +00:00
|
|
|
|
|
|
|
[mon]
|
|
|
|
debug ms = 1
|
|
|
|
debug mon = 20
|
|
|
|
debug paxos = 20
|
|
|
|
debug auth = 20
|
|
|
|
mon data avail warn = 5
|
2018-12-20 22:55:45 +00:00
|
|
|
mon mgr mkfs grace = 240
|
2018-12-07 19:16:31 +00:00
|
|
|
mon reweight min pgs per osd = 4
|
|
|
|
mon osd reporter subtree level = osd
|
|
|
|
mon osd prime pg temp = true
|
|
|
|
mon reweight min bytes per osd = 10
|
|
|
|
|
2021-04-05 18:08:30 +00:00
|
|
|
# rotate auth tickets quickly to exercise renewal paths
|
|
|
|
auth mon ticket ttl = 660 # 11m
|
|
|
|
auth service ticket ttl = 240 # 4m
|
|
|
|
|
2021-03-26 22:08:46 +00:00
|
|
|
# don't complain about insecure global_id in the test suite
|
|
|
|
mon_warn_on_insecure_global_id_reclaim = false
|
|
|
|
mon_warn_on_insecure_global_id_reclaim_allowed = false
|
|
|
|
|
2021-12-03 22:18:47 +00:00
|
|
|
# 1m isn't quite enough
|
|
|
|
mon_down_mkfs_grace = 2m
|
|
|
|
|
2021-11-12 13:44:27 +00:00
|
|
|
mon_warn_on_filestore_osds = false
|
|
|
|
|
2018-12-07 19:16:31 +00:00
|
|
|
[client]
|
|
|
|
rgw cache enabled = true
|
|
|
|
rgw enable ops log = true
|
|
|
|
rgw enable usage log = true
|
|
|
|
log file = /var/log/ceph/$cluster-$name.$pid.log
|
|
|
|
admin socket = /var/run/ceph/$cluster-$name.$pid.asok
|