]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: add status command
authorPatrick Donnelly <pdonnell@ibm.com>
Mon, 24 Mar 2025 15:50:50 +0000 (11:50 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 24 Mar 2025 18:14:55 +0000 (14:14 -0400)
commit4a7976a57c1ff823753c1c25274b6482f0a8c8ea
treed5da5a5c8a0ffc4ebdf25a63f98c9fa16a934146
parent6b42c074179a275b2688be499c9648d59ef4c77b
mgr: add status command

The Rook operator relies on a `status` (asok) command to the mgr to verify it
is operational. However, this command was actually served by the CephFS
`Client` library that the ceph-mgr daemon statically linked in and used for
sending MDS commands. That statically linked client was removed via 048fc68c
(case insensitive directory tree feature).

So, add a legitimate ceph-mgr status command which simply outputs an empty
dictionary and returns success (0). TBD on adding useful information.

Fixes: 048fc68c517f50b9978457f478ca4638f01caa09
Fixes: https://tracker.ceph.com/issues/70571
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/mgr/MgrStandby.cc
src/mgr/MgrStandby.h