mirror of
https://github.com/ceph/ceph
synced 2025-02-15 06:48:22 +00:00
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>
8 lines
197 B
YAML
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
|