Project

General

Profile

Actions

Bug #39306

closed

ceph config: impossible to set osd_scrub_chunk_max

Added by Марк Коренберг about 5 years ago. Updated about 5 years ago.

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

0%

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

Description

$ ceph config set osd osd_scrub_chunk_max = 10
10 not valid:  10 not one of 'true', 'false'
Invalid command: unused arguments: [u'10']
config set <who> <name> <value> {--force} :  Set a configuration option for one or more entities
Error EINVAL: invalid command

osd_scrub_chunk_min works OK

Actions #1

Updated by Brad Hubbard about 5 years ago

  • Project changed from Ceph to RADOS
  • Category set to Administration/Usability
Actions #2

Updated by Brad Hubbard about 5 years ago

  • Status changed from New to Need More Info
$ ceph config set osd osd_scrub_chunk_max 10
$ ceph daemon osd.0 config diff|grep -A4 osd_scrub_chunk_max
        "osd_scrub_chunk_max": {
            "default": 25,
            "mon": 10,
            "final": 10
        },
Actions #3

Updated by Марк Коренберг about 5 years ago

Yes! I have discovered TWO problems:

1. Problem with min: ceph config set osd osd_scrub_chunk_min = 1 WORKS (!) but sets value to "=" (yes, commandline is wrong, but ceph must check value to be numeric at least)
2. Problem with max: Error message is wrong about True/False.

Actions #4

Updated by Brad Hubbard about 5 years ago

  • Status changed from Need More Info to Rejected

OK, can you open two new trackers then please. One for each specific problem?

Actions

Also available in: Atom PDF