]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr, qa: clarify module checks in DaemonServer
authorLaura Flores <lflores@ibm.com>
Fri, 12 Sep 2025 20:14:30 +0000 (20:14 +0000)
committerLaura Flores <lflores@ibm.com>
Wed, 11 Mar 2026 18:23:07 +0000 (13:23 -0500)
commitfdc072f15da7ec4c918a1ebff439f6ce4922f33f
tree85f6b0c54d2e34e7694a599eb5e086c850885de3
parent68221661b00f8a6bef0fbd7b5401aa49eb5118d0
mgr, qa: clarify module checks in DaemonServer

The current check groups modules not being
enabled with failing to initialize. In this commit,
we reorder the checks:

1: Screen for a module being enabled. If it's not,
   issue an EOPNOTSUPP with instructions on how
   to enable it.

2. Screen for if a module is active. If a module
   is enabled, then the cluster expects it to
   be active to support commands. If the module
   took too long to initialize though, we will
   catch this and issue an ETIMEDOUT error with
   a link for troubleshooting.

Now, these two separate issues are not grouped
together, and they are checked in the right order.

Fixes: https://tracker.ceph.com/issues/71631
Signed-off-by: Laura Flores <lflores@ibm.com>
qa/workunits/mgr/test_mgr_module_loading_time.sh
src/mgr/DaemonServer.cc