Project

General

Profile

Actions

Bug #65228

open

class:device-class config database mask does not work for osd_compact_on_start

Added by Wes Dillingham about 1 month ago. Updated 13 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Igor Fedotov 19 days ago

  • Assignee set to Igor Fedotov
Actions #2

Updated by Igor Fedotov 18 days ago

  • Status changed from New to In Progress
Actions #3

Updated by Igor Fedotov 13 days ago

  • Pull request ID set to 56980
Actions #4

Updated by Igor Fedotov 13 days ago

  • Status changed from In Progress to Fix Under Review
Actions

Also available in: Atom PDF