]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/ceph.py
update sources to v12.2.3
[ceph.git] / ceph / qa / tasks / ceph.py
index 72f265375e1c65157fae44a6e8286fdad691ae20..87cbbc1ff561748a842da97ed38814b6b65d0e76 100644 (file)
@@ -1256,12 +1256,13 @@ def healthy(ctx, config):
         log.info('ignoring flush pg stats error, probably testing upgrade: %s', e)
     manager.wait_for_clean()
 
-    log.info('Waiting until ceph cluster %s is healthy...', cluster_name)
-    teuthology.wait_until_healthy(
-        ctx,
-        remote=mon0_remote,
-        ceph_cluster=cluster_name,
-    )
+    if config.get('wait-for-healthy', True):
+        log.info('Waiting until ceph cluster %s is healthy...', cluster_name)
+        teuthology.wait_until_healthy(
+            ctx,
+            remote=mon0_remote,
+            ceph_cluster=cluster_name,
+        )
 
     if ctx.cluster.only(teuthology.is_type('mds', cluster_name)).remotes:
         # Some MDSs exist, wait for them to be healthy