Project

General

Profile

Actions

Bug #62588

open

ceph config set allows WHO to be osd.*, which is misleading

Added by Dan van der Ster 9 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
low-hanging-fruit
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We came across a customer cluster who uses `ceph config set osd.* ...` thinking it would apply to all OSDs.
In fact this applies to zero osds, because there is no OSD named literally `osd.*`
Config set should better filter for WHO daemons that can exist, e.g. osd.<int>, mds.<string>

# ceph config set osd.* osd_max_backfills 3
# ceph config dump
WHO        MASK  LEVEL     OPTION                                 VALUE       RO
...
# ceph config dump
WHO        MASK  LEVEL     OPTION                                 VALUE       RO
...
  osd            advanced  osd_max_backfills                      10
  osd            advanced  osd_recovery_sleep_hdd                 0.000000
    osd.*        advanced  osd_max_backfills                      3
  mds            basic     mds_cache_memory_limit                 2147483648

Files

Actions

Also available in: Atom PDF