This had existed in a disabled state (by having an empty
string for the cli/rest field in the command definition)
for a long time. Now that that field is gone, we don't
have a concept of "disabled" commands any more, so
let's just clean up this loose end.
Signed-off-by: John Spray <john.spray@redhat.com>
"name=sure,type=CephChoices,strings=--yes-i-really-mean-it,req=false", \
"set the minimum allowed OSD release to participate in the cluster",
"osd", "rw")
-COMMAND("osd cluster_snap", "take cluster snapshot (disabled)", \
- "osd", "r")
COMMAND("osd down " \
"type=CephString,name=ids,n=N", \
"set osd(s) <id> [<id>...] down, " \
}
pending_inc.new_require_osd_release = rel;
goto update;
- } else if (prefix == "osd cluster_snap") {
- // ** DISABLE THIS FOR NOW **
- ss << "cluster snapshot currently disabled (broken implementation)";
- // ** DISABLE THIS FOR NOW **
-
} else if (prefix == "osd down" ||
prefix == "osd out" ||
prefix == "osd in" ||
assert_equal({}, validate_command(sigdict, ['osd', action,
'pause', 'toomany']))
- def test_cluster_snap(self):
- assert_equal({}, validate_command(sigdict, ['osd', 'cluster_snap']))
-
def test_down(self):
self.check_1_or_more_string_args('osd', 'down')