mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
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:
parent
0aee4e5f04
commit
3005d24001
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user