]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr_module: get_foreign_ceph_option(entity, name)
authorSage Weil <sage@newdream.net>
Tue, 16 Feb 2021 23:03:38 +0000 (18:03 -0500)
committerSage Weil <sage@newdream.net>
Sun, 21 Feb 2021 13:52:42 +0000 (07:52 -0600)
commit184f6518ea0b4a820c87b8991c19c78dc0f82d1b
tree158f1aa2a7377a5b620226d9c4cb3e291e89dcfc
parent8860189675c44068128ca01c05cee4925c1f608b
mgr_module: get_foreign_ceph_option(entity, name)

Fetch a config value that applies to an arbitrary daemon in the cluster.

Initial implementaiton is not very efficient, but it is better than a
round-trip query to the monitor.

Note: this currently excludes mgr/ options (which should hopefully not be
of interest on other daemons!).

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 02c44b1734d0c162acd77fb7989422591fbb3c8f)
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/BaseMgrModule.cc
src/pybind/mgr/ceph_module.pyi
src/pybind/mgr/mgr_module.py