]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: prolong revive_osd() timeout to 6 min 17902/head
authorKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:58:40 +0000 (10:58 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Sep 2017 02:58:41 +0000 (10:58 +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>
qa/tasks/ceph_manager.py

index 7d734a5d73ddc8627762e4806b72393dfe36266b..2deadfbd0cd83332449f1bd88be87ecbc1912b26 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.