]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/balancer: add sanity check against empty adjusted_map
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 12 Mar 2018 00:57:18 +0000 (08:57 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 12 Mar 2018 00:57:18 +0000 (08:57 +0800)
commit10a752671af71c7b6db168d75b0b416de85992d3
tree49b130844498e4402fe2624977e9421714afd37b
parentc05e199fc59e26e61515b18ff4c81232a49e4562
pybind/mgr/balancer: add sanity check against empty adjusted_map

E.g., because all OSDs are marked as **out**.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/pybind/mgr/balancer/module.py