]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/cephadm: Adding doc for daemon_cache_timeout config option
authorRedouane Kachach <rkachach@redhat.com>
Fri, 20 Jan 2023 10:37:52 +0000 (11:37 +0100)
committerRedouane Kachach <rkachach@redhat.com>
Tue, 24 Jan 2023 13:40:31 +0000 (14:40 +0100)
Fixes: https://tracker.ceph.com/issues/58517
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
doc/cephadm/services/index.rst

index 23440907cc06454f89954d92c38d1a81c0ea8d9c..4ab8cfe5aaa8281130fd5e45abbb721519bd44a8 100644 (file)
@@ -81,6 +81,15 @@ system name:
 
     ceph orch ps --daemon_type osd --daemon_id 0
 
+.. note::
+   The output of the command ``ceph orch ps`` may not reflect the current status of the daemons. By default,
+   the status is updated every 10 minutes. This interval can be shortened by modifying the ``mgr/cephadm/daemon_cache_timeout``
+   configuration variable (in seconds) e.g: ``ceph config set mgr mgr/cephadm/daemon_cache_timeout 60`` would reduce the refresh
+   interval to one minute. The information is updated every ``daemon_cache_timeout`` seconds unless the ``--refresh`` option
+   is used. This option would trigger a request to refresh the information, which may take some time depending on the size of
+   the cluster. In general ``REFRESHED`` value indicates how recent the information displayed by ``ceph orch ps`` and similar
+   commands is.
+
 .. _orchestrator-cli-service-spec:
 
 Service Specification