From: Mykola Golub Date: Wed, 21 Jan 2026 14:44:02 +0000 (+0200) Subject: mon: allow getpoolstats for mgr modules X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a4b7a658c1cf7d50a2228a3a556d1ac74751bd1e;p=ceph.git mon: allow getpoolstats for mgr modules Fixes: https://tracker.ceph.com/issues/74490 Signed-off-by: Mykola Golub --- diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index 60f006703d43..2ddf186dc9a5 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -227,6 +227,8 @@ void MonCapGrant::expand_profile(const EntityName& name) const // allow the Telemetry module to gather heap and mempool metrics profile_grants.push_back(MonCapGrant("heap")); profile_grants.push_back(MonCapGrant("dump_mempools")); + // alow getpoolstats for mgr modules + profile_grants.push_back(MonCapGrant("pg", MON_CAP_R)); } if (profile == "osd" || profile == "mds" || profile == "mon" || profile == "mgr") {