mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
cephtool: add qa workunit
A few basic sanity checks, including a tell on a down osd. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
b2eb8bd2ed
commit
2e49d5c4b7
24
qa/workunits/cephtool/test.sh
Executable file
24
qa/workunits/cephtool/test.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
set -e
|
||||
|
||||
ceph status
|
||||
ceph -s
|
||||
ceph quorum_status
|
||||
|
||||
ceph osd dump
|
||||
ceph osd tree
|
||||
ceph pg dump
|
||||
ceph mon dump
|
||||
ceph mds dump
|
||||
|
||||
ceph tell osd.0 version
|
||||
ceph tell osd.9999 version && exit 1
|
||||
ceph tell osd.foo version && exit 1
|
||||
|
||||
for id in `ceph osd ls` ; do
|
||||
ceph tell osd.$id version
|
||||
done
|
||||
|
||||
echo OK
|
||||
|
Loading…
Reference in New Issue
Block a user