qa/workunits: cephtool: add/remove comments

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
Joao Eduardo Luis 2014-06-25 01:17:58 +01:00
parent 3d14a96f4b
commit 780424df3a

View File

@ -224,9 +224,6 @@ function test_tiering()
function test_auth()
{
# Assumes there are at least 3 MDSes and two OSDs
#
ceph auth add client.xx mon allow osd "allow *"
ceph auth export client.xx >client.xx.keyring
ceph auth add client.xx -i client.xx.keyring
@ -381,6 +378,9 @@ function test_mon_mon()
function test_mon_osd()
{
#
# osd blacklist
#
bl=192.168.0.1:0/1000
ceph osd blacklist add $bl
ceph osd blacklist ls | grep $bl
@ -396,6 +396,9 @@ function test_mon_osd()
expect_false "ceph osd blacklist $bl/-1"
expect_false "ceph osd blacklist $bl/foo"
#
# osd crush
#
ceph osd crush tunables legacy
ceph osd crush show-tunables | grep argonaut
ceph osd crush tunables bobtail
@ -403,6 +406,9 @@ function test_mon_osd()
ceph osd crush tunables firefly
ceph osd crush show-tunables | grep firefly
#
# osd scrub
#
# how do I tell when these are done?
ceph osd scrub 0
ceph osd deep-scrub 0
@ -498,6 +504,9 @@ function test_mon_osd()
function test_mon_osd_pool()
{
#
# osd pool
#
ceph osd pool mksnap data datasnap
rados -p data lssnap | grep datasnap
ceph osd pool rmsnap data datasnap
@ -559,12 +568,16 @@ function test_mon_pg()
ceph report | grep osd_stats
ceph status
ceph -s
# ceph sync force
#
# tell osd version
#
ceph tell osd.0 version
expect_false ceph tell osd.9999 version
expect_false ceph tell osd.foo version
# back to pg stuff
ceph tell osd.0 dump_pg_recovery_stats | grep Started
ceph osd reweight 0 0.9