From: Sebastian Wagner Date: Tue, 5 May 2020 14:38:49 +0000 (+0200) Subject: doc/cephadm: add section about setting config settings X-Git-Tag: wip-pdonnell-testing-20200918.022351~1332^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1256457a15eba7c6668f72a5f8743852e4f030ae;p=ceph-ci.git doc/cephadm: add section about setting config settings Fixes: https://tracker.ceph.com/issues/44284 Signed-off-by: Sebastian Wagner --- diff --git a/doc/cephadm/operations.rst b/doc/cephadm/operations.rst index 59e2f2965f3..7768b1ff4a6 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 ...