qa/tasks/ceph_manager: fix revive_osd path

This was broken since it was introduced in b02e2f6cf2
a year and a half ago...

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2020-01-20 11:23:13 -06:00
parent 0aee4e5f04
commit 3005d24001

View File

@ -848,7 +848,7 @@ class OSDThrasher(Thrasher):
else: # chose to revive OSDs, bring up a random fraction of the dead ones
self.log("chose to revive osds")
for i in range(1, int(rand_val * len(self.dead_osds))):
revive_osd()
self.revive_osd(i)
# let PGs repair themselves or our next knockout might kill one
self.ceph_manager.wait_for_clean(timeout=self.config.get('timeout'))