From dc8f9a1d90357484073a16a2a5122345752279c8 Mon Sep 17 00:00:00 2001 From: Redouane Kachach Date: Fri, 20 Jan 2023 11:37:52 +0100 Subject: [PATCH] doc/cephadm: Adding doc for daemon_cache_timeout config option Fixes: https://tracker.ceph.com/issues/58517 Signed-off-by: Redouane Kachach --- doc/cephadm/services/index.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/cephadm/services/index.rst b/doc/cephadm/services/index.rst index 23440907cc06..4ab8cfe5aaa8 100644 --- a/doc/cephadm/services/index.rst +++ b/doc/cephadm/services/index.rst @@ -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 -- 2.47.3