]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: note new mgr module error codes
authorJohn Spray <john.spray@redhat.com>
Tue, 28 Nov 2017 18:05:57 +0000 (13:05 -0500)
committerJohn Spray <john.spray@redhat.com>
Wed, 24 Jan 2018 18:08:21 +0000 (13:08 -0500)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/rados/operations/health-checks.rst

index 99621323d3a6a7074449bfa270fd19fd61b7e831..c43e1e57a1ff056cacc2318d2e7c3e82537cc79c 100644 (file)
@@ -21,6 +21,38 @@ that are defined by ceph-mgr python modules.
 Definitions
 ===========
 
+Manager
+-------
+
+MGR_MODULE_DEPENDENCY
+_____________________
+
+An enabled manager module is failing its dependency check.  This health check
+should come with an explanatory message from the module about the problem.
+
+For example, a module might report that a required package is not installed:
+install the required package and restart your manager daemons.
+
+This health check is only applied to enabled modules.  If a module is
+not enabled, you can see whether it is reporting dependency issues in
+the output of `ceph module ls`.
+
+
+MGR_MODULE_ERROR
+________________
+
+A manager module has experienced an unexpected error.  Typically,
+this means an unhandled exception was raised from the module's `serve`
+function.  The human readable description of the error may be obscurely
+worded if the exception did not provide a useful description of itself.
+
+This health check may indicate a bug: please open a Ceph bug report if you
+think you have encountered a bug.
+
+If you believe the error is transient, you may restart your manager
+daemon(s), or use `ceph mgr fail` on the active daemon to prompt
+a failover to another daemon.
+
 
 OSDs
 ----