]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/balancer: blame if upmap won't actually work 26497/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 14 Jan 2019 06:39:18 +0000 (14:39 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 19 Feb 2019 07:59:53 +0000 (14:59 +0700)
commitea240cd27de434b3b54d94ee3206fee1decb614b
treeab8e74dccca5b216462db09f6932c9518656e08c
parent9162f18d60aaf58b36c3971808b9e943b4e94758
mgr/balancer: blame if upmap won't actually work

With automatic balancing on, and if mode is set to upmap,
balancer will fail silently if min_compat_client is lower than
luminous.
You can't figure out that unless you take a closer look at the
mgr log, which is super annoying..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit c7356c66b0b0bb1a8a6197f84b26e6db0d192f60)

Conflicts:
- path: src/pybind/mgr/balancer/module.py
  comment: 'set_module_option()' -> 'set_config()' for mgr config-key
qa/suites/rados/thrash/d-balancer/upmap.yaml
src/pybind/mgr/balancer/module.py