Fixes: https://tracker.ceph.com/issues/42455
Signed-off-by: Kefu Chai <kchai@redhat.com>
Conflicts: this change is not cherry-picked from master, because in
master, we had a massive refactor in asok. see
https://github.com/ceph/ceph/pull/30859. and #30859 is not backported
to nautilus.
COMMAND_WITH_FLAG("smart name=devid,type=CephString,req=false",
"Query health metrics for underlying device",
- "mon", "rw", FLAG(HIDDEN))
+ "mon", "r", FLAG(HIDDEN))