ceph/src/cephadm/vstart-cleanup.sh
Sage Weil 762f0bbb70 cephadm/vstart-smoke.sh: a smoke test to run against vstart
This provides decent coverage of cephadm in practice, and can run against
a vstart cluster without having to go build containers.

vstart-cleanup.sh will clean up an aborted test reasonably well without
requiring sudo.

Caveats:
- there is no coverage for osds at this point.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-04 14:25:31 -06:00

7 lines
146 B
Bash
Executable File

#!/bin/sh -ex
bin/ceph mon rm `hostname`
for f in `bin/ceph orch ls | grep -v NAME | awk '{print $1}'` ; do
bin/ceph orch rm $f --force
done