From: Sage Weil Date: Tue, 23 Jul 2013 23:55:43 +0000 (-0700) Subject: ceph: wait-for-osds-up option for restart X-Git-Tag: 1.1.0~2050 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=75136a83227a7672e72a0ba20d278ec813d59416;p=teuthology.git ceph: wait-for-osds-up option for restart Signed-off-by: Sage Weil --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 77251f492b..1f53030d29 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -1006,6 +1006,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