From: Sage Weil Date: Tue, 23 Jul 2013 23:55:43 +0000 (-0700) Subject: ceph: wait-for-osds-up option for restart X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c8081215ca8fda58006d2695069aff64408a3115;p=teuthology.git ceph: wait-for-osds-up option for restart Signed-off-by: Sage Weil (cherry picked from commit 75136a83227a7672e72a0ba20d278ec813d59416) --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index db48b16e4..81ff448d4 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -968,6 +968,8 @@ def restart(ctx, config): daemon.restart() if config.get('wait-for-healthy', True): healthy(ctx=ctx, config=None) + if config.get('wait-for-osds-up', False): + wait_for_osds_up(ctx=ctx, config=None) yield @contextlib.contextmanager