]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: prolong revive_osd() timeout to 6 min 18362/head
authorKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:58:40 +0000 (10:58 +0800)
committerKarol Mroz <kmroz@suse.de>
Tue, 17 Oct 2017 19:01:40 +0000 (12:01 -0700)
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 bdc0fdf405e8ff73bad231ed3b9f142833095604..4898658f8fadf68b2b3c9f334aaec22b5f3d47ad 100644 (file)
@@ -2369,7 +2369,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.