]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
ceph_manager: reset osd weights to 1 when waiting for clean 250/head
authorSage Weil <sage@inktank.com>
Tue, 6 May 2014 00:05:10 +0000 (17:05 -0700)
committerSage Weil <sage@inktank.com>
Tue, 6 May 2014 00:05:10 +0000 (17:05 -0700)
commit33b4bfc764a2907a8af5268b3af199a3ca212e09
tree7049100af7186c142b4342b3cab72fbfa4ea11f7
parentc86df77aa68dc5331b98df3fa038faee77c578ad
ceph_manager: reset osd weights to 1 when waiting for clean

If we leave the weights adjusted, we can get PGs stuck in a remapped state
because we are probabilistically rejecting placement.  Avoid this by
setting on in osds to 1.0 before waiting for clean.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/ceph_manager.py