Project

General

Profile

Feature #37934

Updated by Volker Theile about 5 years ago

Add the ability to configure all existing mgr modules via UI. It is possible to get all module config options, e.g. via 'ceph mgr dump'. The output contains module ls'. Currently this is only possible for disabled modules, but could be enhanced by this feature. To do not break existing things enhancing the 'ls' commands should be the last option. Instead the Python MgrModule class could be enhanced to get a list of available existing modules and their config options.

<code>
"available_modules": [
"dashboard",
"localpool",
"prometheus",
"restful",
"status",
"zabbix"
]
</code>

and

<code>
"name": "telemetry",
"can_run": true,
"error_string": "",
"module_options": {
"contact": {
"name": "contact",
"type": "str",
"level": "advanced",
"flags": 0,
"default_value": "None",
"min": "",
"max": "",
"enum_allowed": [],
"desc": "",
"long_desc": "",
"tags": [],
"see_also": []
},
</code>

a method to get the module options per module. With this information it is easily possible to implement everything a generic to configure every available Ceph Mgr module. configuration form in the UI.

Back