mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
qa/workunits/cephtest/test.sh: put 'osd ls' before any 'osd create' tests
A monc/mon connection fault or the dup command test flag may mean an extra osd id is created that we isn't actually up; reorder so that doesn't screw up 'osd ls'. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
ad9a1044db
commit
56c5b83589
@ -165,6 +165,10 @@ ceph osd getmaxosd | grep 'max_osd = 10'
|
||||
ceph osd setmaxosd $save
|
||||
ceph osd getmaxosd | grep "max_osd = $save"
|
||||
|
||||
for id in `ceph osd ls` ; do
|
||||
ceph tell osd.$id version
|
||||
done
|
||||
|
||||
id=`ceph osd create`
|
||||
ceph osd lost $id --yes-i-really-mean-it
|
||||
ceph osd rm $id
|
||||
@ -189,11 +193,6 @@ ceph osd pool delete data3 data3 --yes-i-really-really-mean-it
|
||||
|
||||
ceph osd stat | grep up,
|
||||
|
||||
for id in `ceph osd ls` ; do
|
||||
ceph tell osd.$id version
|
||||
done
|
||||
|
||||
|
||||
ceph pg debug unfound_objects_exist
|
||||
ceph pg debug degraded_pgs_exist
|
||||
ceph pg deep-scrub 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user