Project

General

Profile

Feature #22522

dashboard: configuration setting browser

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

Status:
Resolved
Priority:
Normal
Category:
General
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Reviewed:
Affected Versions:
Pull request ID:

Description

Ceph stores the configuration for all its daemons according to a schema defined within the C++ code in src/common/options.cc. This can currently be viewed on live systems by using a command like "ceph daemon mon.a config help".

That schema information is also available inside ceph-mgr, although it isn't currently exposed to the python modules. Modules can currently call MgrModule.get("config") to get the current values (the equivalent of "config show" command line), which is satisfied by the C++ code here: https://github.com/ceph/ceph/blob/master/src/mgr/ActivePyModules.cc#L190

If the C++ side is extended to enable python modules to retrieve the config schema, then the dashboard can then be extended with a page that shows all the possible configuration values and their documentation strings. The config option schema includes a "services" field that shows which options apply to which type of service, so the configuration page in the dashboard should be filterable by service.

This view will be a useful online documentation resource for engineers and administrators. It doesn't need to show any current values -- the values available in ceph-mgr are currently only for the mgr daemon itself (not the rest of the cluster), so it would be misleading to display them.

History

#1 Updated by John Spray about 6 years ago

  • Status changed from New to Resolved

#2 Updated by Ernesto Puerta over 5 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to luminous

#3 Updated by Ernesto Puerta over 5 years ago

  • Status changed from Pending Backport to In Progress
  • Assignee set to Ernesto Puerta

#4 Updated by Ernesto Puerta over 5 years ago

  • Status changed from In Progress to Resolved

Ernesto Puerta wrote:

Luminous PR: https://github.com/ceph/ceph/pull/23479

Merged (12.2.8)

#5 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General

Also available in: Atom PDF