ceph/qa/suites/rados/thrash/d-balancer/upmap.yaml
xie xingguo c7356c66b0 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>
2019-01-16 09:19:54 +08:00

8 lines
197 B
YAML

tasks:
- exec:
mon.a:
- while ! ceph balancer status ; do sleep 1 ; done
- ceph osd set-require-min-compat-client luminous
- ceph balancer mode upmap
- ceph balancer on