looking for the ``lumninous`` feature string in the mon map. For
example::
- # ceph osd dump -f json-pretty
+ # ceph mon feature ls
- should include::
+ should include `luminous` under persistent features::
- "features": {
- "persistent": [
- "kraken",
- "luminous"
- ],
- "optional": []
- },
+ on current monmap (epoch NNN)
+ persistent: [kraken,luminous]
+ required: [kraken,luminous]
#. Add or restart ``ceph-mgr`` daemons. If you are upgrading from
kraken, upgrade packages and restart ceph-mgr daemons with::
ceph mon_status
# test mon features
- ceph mon feature list
+ ceph mon feature ls
ceph mon feature set kraken --yes-i-really-mean-it
expect_false ceph mon feature set abcd
expect_false ceph mon feature set abcd --yes-i-really-mean-it
COMMAND("mon rm " \
"name=name,type=CephString", \
"remove monitor named <name>", "mon", "rw", "cli,rest")
-COMMAND("mon feature list " \
+COMMAND("mon feature ls " \
"name=with_value,type=CephChoices,strings=--with-value,req=false", \
"list available mon map features to be set/unset", \
"mon", "r", "cli,rest")
if (p != mon->monmap)
delete p;
- } else if (prefix == "mon feature list") {
+ } else if (prefix == "mon feature ls") {
bool list_with_value = false;
string with_value;
jqfilter='.monmap.features.optional | length == 0'
jq_success "$jqinput" "$jqfilter" || return 1
- # validate 'mon feature list'
+ # validate 'mon feature ls'
- jqinput="$(ceph mon feature list --format=json 2>/dev/null)"
+ jqinput="$(ceph mon feature ls --format=json 2>/dev/null)"
# 'kraken' and 'luminous' are supported
jqfilter='.all.supported[] | select(. == "kraken")'
jq_success "$jqinput" "$jqfilter" "kraken" || return 1