Project

General

Profile

Feature #44351

Feature #50320: mgr/dashboard: Lean Dashboard

mgr: expose Module COMMANDs and metadata in MgrMap::ModuleInfo.module_options

Added by Ernesto Puerta almost 3 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General - Back-end
Target version:
-
% Done:

0%

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

Description

By means of the metadata provided by each Mgr module's module_info, dashboard is able to automatically expose a UI for managing every Mgr-module. That means new or modified modules become displayed in the dashboard with no extra cost (see https://tracker.ceph.com/issues/37934).

However, there's a part still missing there: while every Mgr-module is made up of OPTIONS (already exposed in ModuleInfo -> std::map<std::string,ModuleOption> module_options), the COMMANDS handled by a module are not described in the MgrMap.

This is a request to extend (if not yet there) MgrMap to include those commands too (there's some code re-usable from get_command_descriptions).

For a use case for this request, refer to https://tracker.ceph.com/issues/36291 (exposing Balancer COMMANDS in dahsboard).


Related issues

Related to Dashboard - Feature #37934: mgr/dashboard: Configure all mgr modules in UI Resolved
Related to Dashboard - Feature #36291: mgr/dashboard: Add support for enabling and configuring the balancer In Progress
Related to Dashboard - Feature #24625: mgr/dashboard: Create dashboard configuration page New

History

#1 Updated by Ernesto Puerta almost 3 years ago

  • Related to Feature #37934: mgr/dashboard: Configure all mgr modules in UI added

#2 Updated by Ernesto Puerta almost 3 years ago

  • Related to Feature #36291: mgr/dashboard: Add support for enabling and configuring the balancer added

#3 Updated by Lenz Grimmer almost 3 years ago

  • Related to Feature #24625: mgr/dashboard: Create dashboard configuration page added

#4 Updated by Ernesto Puerta almost 2 years ago

  • Parent task set to #50320

#5 Updated by Ernesto Puerta 10 months ago

  • Category set to General - Back-end

Also available in: Atom PDF