From 780424df3a107c7da57fc28d64f9e7a4bb47f8e8 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Wed, 25 Jun 2014 01:17:58 +0100 Subject: [PATCH] qa/workunits: cephtool: add/remove comments Signed-off-by: Joao Eduardo Luis --- qa/workunits/cephtool/test.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 5dc46b531fc..af31b6f1757 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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