]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr, qa: clarify module checks in DaemonServer 67850/head
authorLaura Flores <lflores@ibm.com>
Fri, 12 Sep 2025 20:14:30 +0000 (20:14 +0000)
committerLaura Flores <lflores@ibm.com>
Tue, 21 Apr 2026 15:56:37 +0000 (10:56 -0500)
commit1f93c9f22403eb4ffa72e10dde1587a5641fa12a
treeb8dc697bb3e7d38f8b7e4d6b3833084057ff441b
parente57bd6c2df3a65e813a524714ea16e6cd593d2e4
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>
(cherry picked from commit fdc072f15da7ec4c918a1ebff439f6ce4922f33f)
qa/workunits/mgr/test_mgr_module_loading_time.sh
src/mgr/DaemonServer.cc