qa/suites/orch/cephadm: add repave-all test case

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2021-11-05 15:00:10 -04:00
parent 8c1e9c05f7
commit 4abe4c6a78

View File

@ -0,0 +1,13 @@
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