]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Add warning on manual CRUSH rule removal 53420/head
authorAlvin Owyong <70066269+alvinowyong@users.noreply.github.com>
Mon, 11 Sep 2023 09:15:15 +0000 (17:15 +0800)
committerZac Dover <zac.dover@proton.me>
Tue, 12 Sep 2023 10:33:10 +0000 (20:33 +1000)
Add warning for "osd erasure-code-profile rm" section under rados/operations.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
(cherry picked from commit f944fa8ddb022656dac3f1faebe81a7de37380f6)

doc/rados/operations/erasure-code-profile.rst

index 45b071f8ad7f520d86adc6cc5083991f42ba69e8..947b34c1f0064c99267204e4a51d25d70587fa90 100644 (file)
@@ -110,6 +110,8 @@ To remove an erasure code profile::
 
 If the profile is referenced by a pool, the deletion will fail.
 
+.. warning:: Removing an erasure code profile using ``osd erasure-code-profile rm`` does not automatically delete the associated CRUSH rule associated with the erasure code profile. It is recommended to manually remove the associated CRUSH rule using ``ceph osd crush rule remove {rule-name}`` to avoid unexpected behavior.
+
 osd erasure-code-profile get
 ============================