]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks/ceph_manager: avoid test_map_discontinuity stall with too few up osds
authorSage Weil <sage@redhat.com>
Wed, 6 Sep 2017 17:27:33 +0000 (13:27 -0400)
committerSage Weil <sage@redhat.com>
Tue, 20 Nov 2018 23:12:43 +0000 (17:12 -0600)
commit28aaca58e7bbebc9bdd8b5d5611304d6687542a3
tree511bb023eb9232cd1a51b8e490dd987571878c18
parent6ed0d5a2b77fe6148c19e63cb875d19b0ae049d4
qa/tasks/ceph_manager: avoid test_map_discontinuity stall with too few up osds

Some tests have m=2,k=2 and this will break them.  Sometimes even if we
have 5 up osds, we end up with 4 and CRUSH gets picky, so build in a
buffer and only do this if we have 6 up.

We don't have an easy way from here to see what the min up osds for healthy
is...  basically this map discontinuity test just sucks.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph_manager.py