diff options
author | Adam King <47704447+adk3798@users.noreply.github.com> | 2024-10-30 20:29:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 20:29:20 +0100 |
commit | 9190d057fc8f4067e7ec782d77df0528dc9bdc41 (patch) | |
tree | 9b63fe71b6a360106a891177dde869755a8c6755 /doc | |
parent | Merge pull request #59957 from adk3798/cephadm-bootstrap-global-public-network (diff) | |
parent | doc/cephadm: document new flags on maintenance exit command (diff) | |
download | ceph-9190d057fc8f4067e7ec782d77df0528dc9bdc41.tar.xz ceph-9190d057fc8f4067e7ec782d77df0528dc9bdc41.zip |
Merge pull request #60096 from adk3798/maintenance-mode-dead-host
mgr/cephadm: offline host handling for maintenance exit command
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cephadm/host-management.rst | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index 7b8ca2cd5ba..197647b608e 100644 --- a/doc/cephadm/host-management.rst +++ b/doc/cephadm/host-management.rst @@ -233,11 +233,16 @@ Place a host in and out of maintenance mode (stops all Ceph daemons on host): .. prompt:: bash # ceph orch host maintenance enter <hostname> [--force] [--yes-i-really-mean-it] - ceph orch host maintenance exit <hostname> - -The ``--force`` flag allows the user to bypass warnings (but not alerts). The ``--yes-i-really-mean-it`` -flag bypasses all safety checks and will attempt to force the host into maintenance mode no -matter what. + ceph orch host maintenance exit <hostname> [--force] [--offline] + +The ``--force`` flag on the ``enter`` command allows the user to bypass warnings (but not alerts). +The ``--yes-i-really-mean-it`` flag bypasses all safety checks and will attempt to force the +host into maintenance mode no matter what. The ``--force`` and ``--offline`` flags to the ``exit`` command +can be used to to have cephadm mark a host that is in maintenance mode and offline as no longer +in maintenance mode. Note in this case if the host comes online, the Ceph daemons +on the host will remain in the stopped state. The ``--force`` and ``--offline`` flags to the ``exit`` +command are intended to be run for hosts in maintenance mode that are permanently offline +before removing the host entirely from cephadm management using the ``ceph orch host rm`` command. .. warning:: Using the --yes-i-really-mean-it flag to force the host to enter maintenance mode can potentially cause loss of data availability, the mon quorum to break down due |