]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/balancer: add sanity check against empty adjusted_map 20359/head
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>
Thu, 15 Mar 2018 07:20:29 +0000 (15:20 +0800)
commita6955769ba65b7d565e1236ff8a94ca756177b3f
treed7fde6503fe4f80b3e52dfb1b51821503ccf40dc
parentc4336b51b05a968736824d7d0976eb438e21c6ac
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>
(cherry picked from commit 10a752671af71c7b6db168d75b0b416de85992d3)
src/pybind/mgr/balancer/module.py