From e14b3fca3d627ff47844292c1b3ca73fa09596de Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Fri, 14 Jun 2024 16:40:37 +0000 Subject: [PATCH] mon: settle erasure-code-profile --yes-i-really-mean-it in asok's schema Fixes: https://tracker.ceph.com/issues/65183 Signed-off-by: Radoslaw Zarzynski (cherry picked from commit 0e70f679d0f32fafd7db39229325cf7db7f6eb05) --- src/mon/MonCommands.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 151ddb83d4f..de5ab7030e7 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -851,7 +851,8 @@ COMMAND("osd unpause", "unpause osd", "osd", "rw") COMMAND("osd erasure-code-profile set " "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " "name=profile,type=CephString,n=N,req=false " - "name=force,type=CephBool,req=false", + "name=force,type=CephBool,req=false " + "name=yes_i_really_mean_it,type=CephBool,req=false", "create erasure code profile with [ ...] pairs. Add a --force at the end to override an existing profile (VERY DANGEROUS)", "osd", "rw") COMMAND("osd erasure-code-profile get " -- 2.39.5