From: xie xingguo Date: Tue, 25 Jul 2017 12:34:15 +0000 (+0800) Subject: mon/OSDMonitor: be more helpful for new weight-set CLI users X-Git-Tag: v12.1.2~68^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1fb05559e859bec2538776c29271bb036af8065f;p=ceph.git mon/OSDMonitor: be more helpful for new weight-set CLI users Signed-off-by: xie xingguo --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 7eb5c05b14ad..b58e0aec06b5 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -7688,7 +7688,9 @@ bool OSDMonitor::prepare_command_impl(MonOpRequestRef op, osdmap.require_min_compat_client < CEPH_RELEASE_LUMINOUS) { ss << "require_min_compat_client " << ceph_release_name(osdmap.require_min_compat_client) - << " < luminous, which is required for per-pool weight-sets"; + << " < luminous, which is required for per-pool weight-sets. " + << "Try 'ceph osd set-require-min-compat-client luminous' " + << "before using the new interface"; err = -EPERM; goto reply; }