Project

General

Profile

Bug #41992

mgr: module ls; displays detailed information of disabled modules

Added by Madhavi Kasturi 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The output of 'ceph mgr module ls', in 4.0 displays detailed information of the disabled modules. Unlike what we observed in 3. Is this change expected?

PFB, the output in 3.3 and 4.0

Output in 3.3

[root@magna027 ceph-ansible]# ceph mgr module ls
{
"enabled_modules": [
"prometheus",
"status"
],
"disabled_modules": [
"balancer",
"dashboard",
"influx",
"localpool",
"restful",
"selftest",
"zabbix"
]
}

Output in 4.0
snippet:

[root@magna070 ceph-ansible]# ceph mgr module ls
{
    "enabled_modules": [
        "dashboard",
        "prometheus",
        "restful" 
    ],
    "disabled_modules": [
        {
            "name": "ansible",
            "can_run": true,
            "error_string": "",
            "module_options": {
                "password": {
                    "name": "password",
                    "type": "str",
                    "level": "advanced",
                    "flags": 0,
                    "default_value": "",
                    "min": "",
                    "max": "",
                    "enum_allowed": [],
                    "desc": "",
                    "long_desc": "",
                    "tags": [],
                    "see_also": []
                },

4.0-ceph-mgr-module-ls (28.8 KB) Madhavi Kasturi, 09/23/2019 10:00 AM

History

#1 Updated by Sebastian Wagner 5 months ago

This change has nothing to do with ceph-ansible and the version of ceph-ansible. Was this added in a Ceph patch release?

#2 Updated by Sebastian Wagner 5 months ago

  • Description updated (diff)

#3 Updated by Boris Ranto 5 months ago

I believe Madhavi is talking about the difference in output between in luminous and nautilus (probably even mimic). It is weird that we now only show the detailed information for disabled modules, not enabled modules.

Also available in: Atom PDF