Project

General

Profile

Actions

Feature #21502

closed

Enable mgr modules to report their "runnability"

Added by John Spray over 6 years ago. Updated about 6 years ago.

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

0%

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

Description

If a module has a dependency which is missing, we should be able to learn that on a mgr (even in standby), so that it can include that in its beacon to mons, and the mons can say "no, you can't enable that module" if we already know the module can't work.

So maybe modules get a "is_loadable" method that does a try/except import of dependencies, and reports back.

This would depend on the change to load modules on standbys (https://github.com/ceph/ceph/pull/16651)

Actions

Also available in: Atom PDF