Project

General

Profile

Actions

Bug #65228

open
WD IF

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

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

Added by Wes Dillingham over 2 years ago. Updated over 2 years ago.

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

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

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.

IF Updated by Igor Fedotov over 2 years ago Actions #1

  • Assignee set to Igor Fedotov

IF Updated by Igor Fedotov over 2 years ago Actions #2

  • Status changed from New to In Progress

IF Updated by Igor Fedotov over 2 years ago Actions #3

  • Pull request ID set to 56980

IF Updated by Igor Fedotov over 2 years ago Actions #4

  • Status changed from In Progress to Fix Under Review
Actions

Also available in: PDF Atom