]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: document requiring service ids for advanced OSD specs 54812/head
authorAdam King <adking@redhat.com>
Wed, 6 Dec 2023 17:05:38 +0000 (12:05 -0500)
committerAdam King <adking@redhat.com>
Wed, 6 Dec 2023 17:05:38 +0000 (12:05 -0500)
Signed-off-by: Adam King <adking@redhat.com>
doc/cephadm/services/osd.rst

index 96d05d5dc0bd3e9f3fa341ede81544341f5c1580..d9c30249b41e00a44f9e1e9c21f9a45f6dec8674 100644 (file)
@@ -454,6 +454,15 @@ configurations, without knowing the specifics of device names and paths.
 Service specifications make it possible to define a yaml or json file that can
 be used to reduce the amount of manual work involved in creating OSDs.
 
+.. note::
+    It is recommended that advanced OSD specs include the ``service_id`` field
+    set. The plain ``osd`` service with no service id is where OSDs created
+    using ``ceph orch daemon add`` or ``ceph orch apply osd --all-available-devices``
+    are placed. Not including a ``service_id`` in your OSD spec would mix
+    the OSDs from your spec with those OSDs and potentially overwrite services
+    specs created by cephadm to track them. Newer versions of cephadm will even
+    block creation of advanced OSD specs without the service_id present
+
 For example, instead of running the following command:
 
 .. prompt:: bash [monitor.1]#