Project

General

Profile

Actions

Bug #44739

closed

ceph.conf parameters set via "cephadm bootstrap -c" are not persisted in MON config store

Added by Nathan Cutler about 4 years ago. Updated almost 4 years ago.

Status:
Can't reproduce
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

Now, when I set e.g. "osd crush chooseleaf type = 0" via "cephadm bootstrap -c", the initial CRUSH map has failure domain "osd" as expected. So the bootstrap config I provide does seem to be in effect during the actual bootstrapping.

However, when I check the MON config store after bootstrapping finishes, the parameter is back at its default value:

# ceph config get mon.* osd_crush_chooseleaf_type
1

I seem to remember that, in the past, the settings were persisted - so this might be a regression?

Actions #1

Updated by Nathan Cutler about 4 years ago

  • Subject changed from ceph.conf parameters set via "cephadm bootstrap -c" do not make it into the MON config store to ceph.conf parameters set via "cephadm bootstrap -c" are not persisted in MON config store
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Sebastian Wagner about 4 years ago

  • Status changed from New to Need More Info

Interesting. the code there is rather old: https://github.com/ceph/ceph/blame/master/src/cephadm/cephadm#L2115-L2124

can you reproduce this behaviour with a different key?

Actions #4

Updated by Sebastian Wagner about 4 years ago

  • Priority changed from High to Normal
Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from Need More Info to Can't reproduce
Actions

Also available in: Atom PDF