Sage Weil
0af2a1c1cc
qa/workunits/rest/test.py: fix pg stat test
...
Back in e27b0d9e42
we changed pg stat to
not dump everything when a formatter is used.
Fixes : #10326
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 15:49:58 -08:00
Sage Weil
5045c5cb4c
qa/workunits/rest/test.py: use rbd instead of data pool for size tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 22:07:56 -07:00
Sage Weil
3279f3e737
qa/workunits/rest/test.py: do snap test on our data2/3 pool
...
This way it works when a 'data' pool doesn't already exist.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 22:07:56 -07:00
Sage Weil
6d7a229c14
qa/workunits/rest/test.py: fix rd_kb -> rd_bytes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 22:07:56 -07:00
Sage Weil
14614e013f
qa/workunits/rest/test.py: fix 'df' test to use total_used_bytes
...
This changed back in ee2dbdb0f5
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 13:06:02 -07:00
Sage Weil
bb3e1c92b6
qa/workunits/rest/test.py: make osd create test idempotent
...
Avoid possibility that we create multiple OSDs do to retries by passing in
the optional uuid arg. (A stray osd id will make the osd tell tests a
few lines down fail.)
Fixes : #8728
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-02 10:39:17 -07:00
Sage Weil
b436930779
qa/workunits/rest/test.py: do not test 'osd thrash'
...
This wreaks havoc on our QA because it marks osds up and down and then
immediately after that we try to scrub and some osds are still down.
Adjust the CLI test to wait for all OSDs to come back up after thrashing.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-06 13:46:10 -08:00
Sage Weil
75c55258f1
qa/workunits/rest: use larger max_file_size
...
64k is the min.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-08 08:22:29 -08:00
Sage Weil
8e30db8f2a
rest: add a few rest api tests
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-03 17:50:32 -08:00
tamil
47bc71a7b4
fixed the syntax for test maxmds=2
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-01-17 15:56:36 -08:00
tamil
a13ebd370a
fix for the test maxmds=2
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-01-17 15:41:48 -08:00
Sage Weil
2b36761b81
mon: favor 'mds set max_mds' over 'mds set_max_mds'
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-15 19:02:23 -08:00
Sage Weil
12f4631586
qa/workunits/rest/test.py: rbd pool ruleset is now 0
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-28 10:36:27 -08:00
Sage Weil
1f291f5c89
qa/workunits/rest/test.py: fix mds {add,remove}_data_pool test
...
Arg name changed from poolid to pool in e2602c54
.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-17 14:38:37 -07:00
Dan Mick
6dd4ff8371
cephtool/test.sh, rest/test.py: add tell command tests
...
Also add HTTP method to test.py output
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-08-05 11:21:19 -07:00
Dan Mick
c9e8ff2bf1
rest/test.py: retry mds setmap in case epoch has changed
...
Loop 10 times retrying mds dump/getmap/setmap.
Fixes : #5815
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-31 18:11:47 -07:00
Dan Mick
dc1d95d713
rest/test.py: expect_nofail() to allow examination of reason
...
Also remove unused MyException
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-31 18:11:47 -07:00
Dan Mick
47d0937ccb
rest/test.py: earlier versions of requests.py don't quote ' ' in params
...
requests 0.12.1 handles queryparams in the URL with embedded
spaces; requests 0.8.2 does not. Avoid the issue by quoting the
URL into expect().
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-25 21:41:32 -07:00
Dan Mick
fe2019cc97
rest/test.py: cope with older requests.py versions
...
Older requests.py didn't have r.json (or r.json()); avoid by
decoding the json myself
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-24 16:09:13 -07:00
Dan Mick
1579c344fe
rest/test.py: osd lspools should be a 'GET'
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-24 11:56:20 -07:00
Dan Mick
e4d0eeefa2
mon: "mds stat" must open/close section around dump_info
...
dump_info() got a new field outside the mdsmap section; it's ok for
the overall "report", but not for "mds stat". Add an enclosing section
in "mds stat". Fix test to expect new level.
Fixes : #5718
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-07-23 14:03:52 -07:00
Sage Weil
3f31540448
qa/workunits/rest/test: cluster_down/up are now idempotent
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-22 21:04:01 -07:00
Dan Mick
6cafb0e3e0
ceph-rest-api tests
...
Patterned after cephtool/test.sh, with some deeper validation of
output format and contents (because structured output is easier
to validate).
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-10 20:58:51 -07:00