Skip to content

Commit 565bb14

Browse files
committed
doc/cephadm: document new flags on maintenance exit command
Signed-off-by: Adam King <[email protected]>
1 parent ee9b7c0 commit 565bb14

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/cephadm/host-management.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,16 @@ Place a host in and out of maintenance mode (stops all Ceph daemons on host):
233233
.. prompt:: bash #
234234

235235
ceph orch host maintenance enter <hostname> [--force] [--yes-i-really-mean-it]
236-
ceph orch host maintenance exit <hostname>
237-
238-
The ``--force`` flag allows the user to bypass warnings (but not alerts). The ``--yes-i-really-mean-it``
239-
flag bypasses all safety checks and will attempt to force the host into maintenance mode no
240-
matter what.
236+
ceph orch host maintenance exit <hostname> [--force] [--offline]
237+
238+
The ``--force`` flag on the ``enter`` command allows the user to bypass warnings (but not alerts).
239+
The ``--yes-i-really-mean-it`` flag bypasses all safety checks and will attempt to force the
240+
host into maintenance mode no matter what. The ``--force`` and ``--offline`` flags to the ``exit`` command
241+
can be used to to have cephadm mark a host that is in maintenance mode and offline as no longer
242+
in maintenance mode. Note in this case if the host comes online, the Ceph daemons
243+
on the host will remain in the stopped state. The ``--force`` and ``--offline`` flags to the ``exit``
244+
command are intended to be run for hosts in maintenance mode that are permanently offline
245+
before removing the host entirely from cephadm management using the ``ceph orch host rm`` command.
241246

242247
.. warning:: Using the --yes-i-really-mean-it flag to force the host to enter maintenance
243248
mode can potentially cause loss of data availability, the mon quorum to break down due

0 commit comments

Comments
 (0)