Project

General

Profile

Feature #47982

[mgr] Allow disabling mgr modules from always_on_modules

Added by Prashant D about 3 years ago. Updated about 3 years ago.

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

0%

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

Description

$ ./bin/ceph versions
  • DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
    2020-10-26T01:12:22.463-0400 7fb3cda7c700 -1 WARNING: all dangerous and experimental features are enabled.
    2020-10-26T01:12:22.488-0400 7fb3cda7c700 -1 WARNING: all dangerous and experimental features are enabled. {
    "mon": {
    "ceph version 13.0.0-38815-g79e5cf2d0e (79e5cf2d0e17bb3d79e2967c46aba5ea01606f2c) pacific (dev)": 1
    },
    "mgr": {
    "ceph version 13.0.0-38815-g79e5cf2d0e (79e5cf2d0e17bb3d79e2967c46aba5ea01606f2c) pacific (dev)": 1
    },
    "osd": {
    "ceph version 13.0.0-38815-g79e5cf2d0e (79e5cf2d0e17bb3d79e2967c46aba5ea01606f2c) pacific (dev)": 3
    },
    "mds": {
    "ceph version 13.0.0-38815-g79e5cf2d0e (79e5cf2d0e17bb3d79e2967c46aba5ea01606f2c) pacific (dev)": 3
    },
    "overall": {
    "ceph version 13.0.0-38815-g79e5cf2d0e (79e5cf2d0e17bb3d79e2967c46aba5ea01606f2c) pacific (dev)": 8
    }
    }
$ ./bin/ceph mgr module ls|jq '.always_on_modules,.enabled_modules'
  • DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
    2020-10-26T01:12:51.835-0400 7f6063e53700 -1 WARNING: all dangerous and experimental features are enabled.
    2020-10-26T01:12:51.874-0400 7f6063e53700 -1 WARNING: all dangerous and experimental features are enabled.
    [
    "balancer",
    "crash",
    "devicehealth",
    "orchestrator",
    "pg_autoscaler",
    "progress",
    "rbd_support",
    "status",
    "telemetry",
    "volumes"
    ]
    [
    "iostat",
    "restful"
    ]
$ ./bin/ceph mgr module disable balancer
  • DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
    2020-10-26T01:13:24.508-0400 7f603ae65700 -1 WARNING: all dangerous and experimental features are enabled.
    2020-10-26T01:13:24.554-0400 7f603ae65700 -1 WARNING: all dangerous and experimental features are enabled.
    Error EINVAL: module 'balancer' cannot be disabled (always-on)

History

#1 Updated by Prashant D about 3 years ago

  • Tracker changed from Bug to Feature

Also available in: Atom PDF