]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
misc.wait_until_osds_up: prolong the timeout from 5 min to 9 min 1123/head
authorKefu Chai <kchai@redhat.com>
Fri, 3 Nov 2017 13:27:59 +0000 (21:27 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Nov 2017 13:28:00 +0000 (21:28 +0800)
if an node hosts 6 OSDs, it would take longer to boot. this addresses
the failure of
/a/kchai-2017-11-03_05:56:44-rados-wip-jewel-backports-reloaded-distro-basic-mira/1806380.

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/misc.py

index 9bbf97eee884dfabf4b5f2ae80b9cccf56cf99d5..8fb11938f089fc5cfa4d86816f6e31e4749de3e1 100644 (file)
@@ -917,7 +917,7 @@ def wait_until_osds_up(ctx, cluster, remote, ceph_cluster='ceph'):
     """Wait until all Ceph OSDs are booted."""
     num_osds = num_instances_of_type(cluster, 'osd', ceph_cluster)
     testdir = get_testdir(ctx)
-    with safe_while(sleep=6, tries=50) as proceed:
+    with safe_while(sleep=6, tries=90) as proceed:
         while proceed():
             daemons = ctx.daemons.iter_daemons_of_role('osd', ceph_cluster)
             for daemon in daemons: