Project

General

Profile

Actions

Bug #21598

closed

Users can do "config-key set" while mgr runs, but it doesn't see settings

Added by John Spray over 6 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
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

This is kind of confusing for users and for module developers.

Originally the config-key stuff was meant to just be a backend, and the user interface was meant to be for the plugins to just expose their own CLIs for setting options safely (including validation etc). We've sort of diverged from that now -- we will soon (hopefully) be moving to a central KV store for all config keys, so for the moment we should either just document this or find some intermediate solution (like maybe adding a mgr command that sets config options in a way that does update the cached copies in the mgr).

Workaround is something like

ceph config-key set mgr/my_module/my_setting value
ceph mgr restart

Different Workaround:

https://github.com/ceph/ceph/blob/ea5c668fea05e3139684f4c19f4b8a3098ab5855/src/pybind/mgr/cephadm/module.py#L1174-L1190


Related issues 1 (1 open0 closed)

Related to mgr - Bug #36288: ceph manager not picking up config settingsNew10/02/2018

Actions
Actions

Also available in: Atom PDF