From: Sage Weil Date: Tue, 5 Oct 2021 16:37:58 +0000 (-0500) Subject: qa/tasks/cephadm: if no osd roles, --all-available-devices X-Git-Tag: v16.2.8~296^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=997bcbb552eecca9f79697715ce38c3bb6e31269;p=ceph.git qa/tasks/cephadm: if no osd roles, --all-available-devices Signed-off-by: Sage Weil (cherry picked from commit d3c9486ed9406d09904dd542eae05680d5f09498) --- diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 57ede18136cf..d3561338c869 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -756,6 +756,11 @@ def ceph_osds(ctx, config): ) cur += 1 + if cur == 0: + _shell(ctx, cluster_name, remote, [ + 'ceph', 'orch', 'apply', 'osd', '--all-available-devices', + ]) + yield finally: pass