Bug #41040
openget_daemon_status() is not returning a status
0%
Description
The get_daemon_status() is returning an empty dict in a vstart cluster when provided with ("osd", "0").
Documentation for get_daemon_status is here: https://docs.ceph.com/docs/master/mgr/modules/
Steps to reproduce using a vstart cluster:
1. clone ceph
2. cd ceph
3. mkdir src/pybind/mgr/minimal ; cd src/pybind/mgr/minimal
4. touch init.py module.py
5. copy the init.py and module.py attached to this tracker issue
6. build vstart and start a ceph vstart cluster with a mgr on:
MON=3 OSD=3 RGW=1 MGR=1 MDS=0 ../src/vstart.sh -n -d
7. cd ceph/build
8. bin/ceph -c ceph.conf mgr module enable minimal
9. Open out/mgr.x.log
At the last step you can search for "Daemon status is" and find an empty dict.
This issue applies to all daemons as inputs to get_daemon_status, not just ("osd","0").
Files