ceph/qa/suites/orch/cephadm/osds/2-ops/repave-all.yaml
Sage Weil 4abe4c6a78 qa/suites/orch/cephadm: add repave-all test case
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-05 19:25:16 -04:00

14 lines
326 B
YAML

tasks:
- cephadm.shell:
host.a:
- |
set -e
set -x
ceph orch ps
ceph orch device ls
ceph osd tree
for osd in `ceph osd ls` ; do
ceph orch osd rm $osd --force --zap --replace
done
while ceph orch osd rm ls | wc | grep ^1 ; do sleep 10 ; done