]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/cephadm: add section about setting config settings
authorSebastian Wagner <sebastian.wagner@suse.com>
Tue, 5 May 2020 14:38:49 +0000 (16:38 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 6 May 2020 16:06:27 +0000 (18:06 +0200)
Fixes: https://tracker.ceph.com/issues/44284
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
doc/cephadm/operations.rst

index 59e2f2965f327248f84cab81c9ab849ecea199a0..7768b1ff4a6a3ab9c612982e0a3a64916f934242 100644 (file)
@@ -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 <<EOF > /etc/ceph/ceph.conf
+  [global]
+  osd crush chooseleaf type = 0
+  EOF
+  cephadm bootstrap -c /root/ceph.conf ...