]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
divergent_priors: add sleep after reviving divergent
authorSamuel Just <sjust@redhat.com>
Fri, 19 Feb 2016 20:26:27 +0000 (12:26 -0800)
committerNathan Cutler <ncutler@suse.com>
Sun, 24 Jul 2016 19:57:22 +0000 (21:57 +0200)
Basically same thing as
c0b0ec2831f410d89b695a1d08122334d8ee907a
client is getting ENXIO when trying to do osd tell because
the osd isn't quite up yet.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit af3af30418902fb0ff436d7207582bae0226a05a)

tasks/divergent_priors.py

index 602eb518d6d9b8b071a3d8405b834295f8044274..d81ea47273478f7ac2006c537a1b1733ffa98d83 100644 (file)
@@ -143,6 +143,8 @@ def task(ctx, config):
     log.info("reviving divergent %d", divergent)
     ctx.manager.revive_osd(divergent)
 
+    time.sleep(20)
+
     log.info('allowing recovery')
     # Set osd_recovery_delay_start back to 0 and kick the queue
     for i in osds: