2019-11-12 22:13:22 +00:00
|
|
|
[global]
|
2019-11-12 23:59:11 +00:00
|
|
|
# make logging friendly to teuthology
|
|
|
|
log_to_file = true
|
|
|
|
log_to_stderr = false
|
2021-05-21 13:51:47 +00:00
|
|
|
log to journald = false
|
2023-11-02 23:47:48 +00:00
|
|
|
mon cluster log to file = true
|
2019-11-13 14:34:30 +00:00
|
|
|
mon cluster log file level = debug
|
2019-11-12 23:59:11 +00:00
|
|
|
|
2019-11-12 22:13:22 +00:00
|
|
|
mon clock drift allowed = 1.000
|
|
|
|
|
|
|
|
# replicate across OSDs, not hosts
|
|
|
|
osd crush chooseleaf type = 0
|
2019-11-13 14:34:30 +00:00
|
|
|
#osd pool default size = 2
|
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"
|
2019-11-12 22:13:22 +00:00
|
|
|
|
|
|
|
# enable some debugging
|
|
|
|
auth debug = true
|
|
|
|
ms die on old message = true
|
|
|
|
ms die on bug = true
|
|
|
|
debug asserts on shutdown = true
|
|
|
|
|
|
|
|
# adjust warnings
|
|
|
|
mon max pg per osd = 10000 # >= luminous
|
|
|
|
mon pg warn max object skew = 0
|
|
|
|
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
|
|
|
|
mon warn on too few osds = false
|
|
|
|
mon_warn_on_pool_pg_num_not_power_of_two = false
|
|
|
|
|
|
|
|
# disable pg_autoscaler by default for new pools
|
|
|
|
osd_pool_default_pg_autoscale_mode = off
|
|
|
|
|
2019-11-13 14:34:30 +00:00
|
|
|
# tests delete pools
|
2019-11-12 22:13:22 +00:00
|
|
|
mon allow pool delete = true
|
|
|
|
|
|
|
|
[osd]
|
|
|
|
osd scrub load threshold = 5.0
|
|
|
|
osd scrub max interval = 600
|
2023-05-11 17:20:15 +00:00
|
|
|
osd mclock profile = high_recovery_ops
|
2019-11-12 22:13:22 +00:00
|
|
|
|
|
|
|
osd recover clone overlap = true
|
|
|
|
osd recovery max chunk = 1048576
|
|
|
|
|
|
|
|
osd deep scrub update digest min age = 30
|
|
|
|
|
|
|
|
osd map max advance = 10
|
|
|
|
|
2021-05-04 21:23:35 +00:00
|
|
|
osd memory target autotune = true
|
|
|
|
|
2019-11-12 22:13:22 +00:00
|
|
|
# debugging
|
|
|
|
osd debug shutdown = true
|
|
|
|
osd debug op order = true
|
|
|
|
osd debug verify stray on activate = true
|
|
|
|
osd debug pg log writeout = true
|
2019-11-13 14:34:30 +00:00
|
|
|
osd debug verify cached snaps = true
|
|
|
|
osd debug verify missing on start = true
|
2019-11-12 22:13:22 +00:00
|
|
|
osd debug misdirected ops = true
|
2019-11-13 14:34:30 +00:00
|
|
|
osd op queue = debug_random
|
|
|
|
osd op queue cut off = debug_random
|
|
|
|
osd shutdown pgref assert = true
|
|
|
|
bdev debug aio = true
|
|
|
|
osd sloppy crc = true
|
2019-11-12 22:13:22 +00:00
|
|
|
|
|
|
|
[mgr]
|
|
|
|
mon reweight min pgs per osd = 4
|
|
|
|
mon reweight min bytes per osd = 10
|
|
|
|
mgr/telemetry/nag = false
|
|
|
|
|
|
|
|
[mon]
|
|
|
|
mon data avail warn = 5
|
|
|
|
mon mgr mkfs grace = 240
|
|
|
|
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 global id reclaim
|
|
|
|
mon_warn_on_insecure_global_id_reclaim = false
|
|
|
|
mon_warn_on_insecure_global_id_reclaim_allowed = false
|
|
|
|
|
2019-11-12 22:13:22 +00:00
|
|
|
[client.rgw]
|
|
|
|
rgw cache enabled = true
|
|
|
|
rgw enable ops log = true
|
|
|
|
rgw enable usage log = true
|