Bug #65228
openclass:device-class config database mask does not work for osd_compact_on_start
0%
Description
I have a cluster which needs osd_compact_on_start = true
In this cluster this only applicable to ssd OSDs (where rgw index pool lives).
My desire is to set that config override using the device-class mask described here: https://docs.ceph.com/en/quincy/rados/configuration/ceph-conf/#sections-and-masks
"ceph config set class:ssd osd_compact_on_start true"
However, such a parameter does not result in the OSDs compacting on start. If I ask the OSD for its config item after it boots though via "ceph daemon osd.84 config get osd_compact_start" it returns "true"
If I set it individually via the config DB:
"ceph config set osd.84 osd_compact_on_start true"
The osd will compact on start correctly.
This leads me to believe it is an ordering issue on the OSD boot sequence where the device class is unset at the time the OSD is querying the mon for its config.