]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: prolong revive_osd() timeout to 6 min
authorKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:58:40 +0000 (10:58 +0800)
committerVasu Kulkarni <vasu@redhat.com>
Wed, 22 Nov 2017 20:19:06 +0000 (12:19 -0800)
bluestore_fsck_on_mount and bluestore_fsck_on_mount_deep are enabled by
default. and bluestore is used as the default store backend. it takes
longer to perform the deep fsck with verbose log. so prolong the
revive_osd()'s timeout from 150 sec to 360 sec.

Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 42be200c564184feff1056b7771ce3c1b2cc5527)

qa/tasks/ceph_manager.py

index 1f5f532de86b3be6c24659e6b6c6bae129296491..52e97cd9b689c3bf20036db7b67a5f7e8a501cee 100644 (file)
@@ -2370,7 +2370,7 @@ class CephManager:
         time.sleep(2)
         self.ctx.daemons.get_daemon('osd', osd, self.cluster).stop()
 
-    def revive_osd(self, osd, timeout=150, skip_admin_check=False):
+    def revive_osd(self, osd, timeout=360, skip_admin_check=False):
         """
         Revive osds by either power cycling (if indicated by the config)
         or by restarting.