From eff5c76d885c8ebb3199db362730a7b02796c367 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 28 Sep 2021 14:15:13 +0200 Subject: [PATCH] doc/cephadm/operations: extend CEPHADM_STRAY_DAEMON Signed-off-by: Sebastian Wagner --- doc/cephadm/operations.rst | 58 +++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index 45ae1575b7540..5ccbc8c4bc12a 100644 --- a/doc/cephadm/operations.rst +++ b/doc/cephadm/operations.rst @@ -178,30 +178,30 @@ running, but are not registered as hosts managed by *cephadm*. This means that those services cannot currently be managed by cephadm (e.g., restarted, upgraded, included in `ceph orch ps`). -You can manage the host(s) by running the following command: +* You can manage the host(s) by running the following command: -.. prompt:: bash # + .. prompt:: bash # - ceph orch host add ** + ceph orch host add ** -.. note:: + .. note:: - You might need to configure SSH access to the remote host - before this will work. + You might need to configure SSH access to the remote host + before this will work. -Alternatively, you can manually connect to the host and ensure that -services on that host are removed or migrated to a host that is -managed by *cephadm*. +* See :ref:`cephadm-fqdn` for more information about host names and + domain names. -This warning can be disabled entirely by running the following -command: +* Alternatively, you can manually connect to the host and ensure that + services on that host are removed or migrated to a host that is + managed by *cephadm*. -.. prompt:: bash # +* This warning can be disabled entirely by running the following + command: - ceph config set mgr mgr/cephadm/warn_on_stray_hosts false + .. prompt:: bash # -See :ref:`cephadm-fqdn` for more information about host names and -domain names. + ceph config set mgr mgr/cephadm/warn_on_stray_hosts false CEPHADM_STRAY_DAEMON ~~~~~~~~~~~~~~~~~~~~ @@ -212,16 +212,30 @@ tool, or because they were started manually. Those services cannot currently be managed by cephadm (e.g., restarted, upgraded, or included in `ceph orch ps`). -If the daemon is a stateful one (monitor or OSD), it should be adopted -by cephadm; see :ref:`cephadm-adoption`. For stateless daemons, it is -usually easiest to provision a new daemon with the ``ceph orch apply`` -command and then stop the unmanaged daemon. +* If the daemon is a stateful one (monitor or OSD), it should be adopted + by cephadm; see :ref:`cephadm-adoption`. For stateless daemons, it is + usually easiest to provision a new daemon with the ``ceph orch apply`` + command and then stop the unmanaged daemon. -This warning can be disabled entirely by running the following command: +* If the stray daemon(s) are running on hosts not managed by cephadm, you can manage the host(s) by running the following command: -.. prompt:: bash # + .. prompt:: bash # + + ceph orch host add ** + + .. note:: + + You might need to configure SSH access to the remote host + before this will work. + +* See :ref:`cephadm-fqdn` for more information about host names and + domain names. + +* This warning can be disabled entirely by running the following command: + + .. prompt:: bash # - ceph config set mgr mgr/cephadm/warn_on_stray_daemons false + ceph config set mgr mgr/cephadm/warn_on_stray_daemons false CEPHADM_HOST_CHECK_FAILED ~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.39.5