]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/balancer: be more specific on execute() error
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 1 Feb 2018 02:39:51 +0000 (10:39 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 8 Feb 2018 05:42:00 +0000 (13:42 +0800)
commitbd689991d53f2c6eee7405ac48e533b9d064c3a1
tree80caf2c7834c0464321d8137b17df28606fa0d3a
parent14289361bf9412dc4196696a874946014f0ed0e7
pybind/mgr/balancer: be more specific on execute() error

i.e.:

Was:
~# ceph balancer execute upmap

Now:
~# ceph balancer execute upmap
Error EPERM: min_compat_client jewel < luminous, which is required for pg-upmap.
Try 'ceph osd set-require-min-compat-client luminous' before using the new interface

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 585ba6f9418c714a4a602b4b2d03d82b7c26e123)
src/pybind/mgr/balancer/module.py