From f944fa8ddb022656dac3f1faebe81a7de37380f6 Mon Sep 17 00:00:00 2001 From: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com> Date: Mon, 11 Sep 2023 17:15:15 +0800 Subject: [PATCH] doc: Add warning on manual CRUSH rule removal Add warning for "osd erasure-code-profile rm" section under rados/operations. Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com> --- doc/rados/operations/erasure-code-profile.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/rados/operations/erasure-code-profile.rst b/doc/rados/operations/erasure-code-profile.rst index 45b071f8ad7..947b34c1f00 100644 --- a/doc/rados/operations/erasure-code-profile.rst +++ b/doc/rados/operations/erasure-code-profile.rst @@ -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 ============================