From aaee6cc869b78bdb98dce99a017cbabea7e53a12 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 5 May 2020 16:38:49 +0200 Subject: [PATCH] doc/cephadm: add section about setting config settings Fixes: https://tracker.ceph.com/issues/44284 Signed-off-by: Sebastian Wagner (cherry picked from commit 1256457a15eba7c6668f72a5f8743852e4f030ae) --- doc/cephadm/operations.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index 59e2f2965f327..7768b1ff4a6a3 100644 --- a/doc/cephadm/operations.rst +++ b/doc/cephadm/operations.rst @@ -254,3 +254,23 @@ You can remove a broken host from management with:: You can disable this health warning with:: ceph config set mgr mgr/cephadm/warn_on_failed_host_check false + +/etc/ceph/ceph.conf +=================== + +Cephadm uses a minimized ``ceph.conf`` that only contains +a minimal set of information to connect to the Ceph cluster. + +To update the configuration settings, use:: + + ceph config set ... + + +To set up an initial configuration before calling +`bootstrap`, create an initial ``ceph.conf`` file. For example:: + + cat < /etc/ceph/ceph.conf + [global] + osd crush chooseleaf type = 0 + EOF + cephadm bootstrap -c /root/ceph.conf ... -- 2.39.5