]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/mgr/crash: document missing commands, options
authorSage Weil <sage@redhat.com>
Wed, 24 Jul 2019 17:57:18 +0000 (12:57 -0500)
committerSage Weil <sage@redhat.com>
Wed, 24 Jul 2019 17:57:18 +0000 (12:57 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
doc/mgr/crash.rst

index 8cfd130f2aa1e59e65763957be633b79da8d316c..76e0ce94a80fe89a9d0e8be3105ac140cb41b290 100644 (file)
@@ -63,4 +63,21 @@ Show all details of a saved crash.
 
 Remove saved crashes older than 'keep' days.  <keep> must be an integer.
 
+::
+
+   ceph crash archive <crashid>
+
+Archive a crash report so that it is no longer considered for the ``RECENT_CRASH`` health check and does not appear in the ``crash ls-new`` output (it will still appear in the ``crash ls`` output).
+
+::
+
+   ceph crash archive-all
+
+Archive all new crash reports.
+
+
+Options
+-------
 
+* ``mgr/crash/warn_recent_interval`` [default: 2 weeks] controls what constitutes "recent" for the purposes of raising the ``RECENT_CRASH`` health warning.
+* ``mgr/crash/retain_interval`` [default: 1 year] controls how long crash reports are retained by the cluster before they are automatically purged.