Project

General

Profile

Actions

Bug #41992

open

mgr: module ls; displays detailed information of disabled modules

Added by Madhavi Kasturi over 4 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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": []
                },


Files

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

Updated by Sebastian Wagner over 4 years ago

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

Actions #2

Updated by Sebastian Wagner over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Boris Ranto over 4 years 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.

Actions

Also available in: Atom PDF