ceph/qa/workunits
Willem Jan Withagen 4f49402589 qa/workunits/cephtool/test.sh: ceph osd stat out has changed, fix tests for that
The output of ceph osd stat has changed,
It printed:

cluster b370a29d-9287-4ca3-ab57-3d824f65e339
 health HEALTH_OK
 monmap e1: 1 mons at {ceph1=10.0.0.8:6789/0}, election epoch 2, quorum 0 ceph1
 osdmap e63: 2 osds: 2 up, 2 in
  pgmap v41338: 952 pgs, 20 pools, 17130 MB data, 2199 objects
        115 GB used, 167 GB / 297 GB avail
             952 active+clean

but now the osdmap line has gone and thus this no longer works:
qa/workunits/cephtool/test.sh:1944:
old_pgs=$(ceph osd pool get $TEST_POOL_GETSET pg_num | sed -e 's/pg_num: //')
new_pgs=$(($old_pgs+$(ceph osd stat | grep osdmap | awk '{print $3}')*32))

4: qa/workunits/cephtool/test.sh: line 1945: 10+*32: syntax errotoken is "*32")

 - And parse the output in json , with jq, for better reliability

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-19 16:34:12 +02:00
..
caps
ceph-disk Merge pull request #15432 from dachary/wip-osd-new 2017-07-18 13:12:51 -05:00
ceph-tests create rbd pool since its not created by default anymore 2017-07-07 09:23:43 -07:00
cephtool qa/workunits/cephtool/test.sh: ceph osd stat out has changed, fix tests for that 2017-07-19 16:34:12 +02:00
cls objclass-sdk: create SDK for Ceph object classes 2017-04-27 13:05:53 -07:00
direct_io
erasure-code erasure-code: Remove SIMD flavors for jerasure and shec 2016-09-29 10:34:33 -07:00
fs qa/workunits: include extension for nose tests 2016-12-19 14:08:11 -05:00
hadoop
libcephfs test: break out librados-using cephfs test 2016-07-27 12:18:50 +01:00
libcephfs-java
mon Merge pull request #16014 from xiexingguo/wip-autoclass 2017-07-13 10:50:45 -05:00
objectstore qa/workunits/objectstore/test_fuse.sh: enable experimental features 2017-02-17 11:23:41 +08:00
osdc test: split objectcacher test into 'stress' and 'correctness' 2016-06-23 14:24:06 -07:00
rados qa/workunits/rados/test_health_warnings: test down msgs vs crush classes 2017-07-13 12:15:26 -04:00
rbd erasure-code: ruleset-* -> crush-* 2017-07-06 15:01:03 -04:00
rename
rest qa/suites/rados/rest/mgr-restful: simplify 2017-07-16 21:28:03 -04:00
restart qa/workunits: Python 3 compat fixes for restart/test-backtraces.py 2016-08-19 11:22:27 +05:30
rgw qa: run-s3tests: use python2 for s3tests & set PATH correctly 2017-05-19 17:39:50 +02:00
suites qa: reset journal before cephfs_journal_tool_smoke.sh exits 2017-06-29 17:44:19 +08:00
ceph-helpers-root.sh tests: ceph-disk workunit increase verbosity 2015-12-21 11:31:25 +01:00
ceph-helpers.sh Merge pull request #15432 from dachary/wip-osd-new 2017-07-18 13:12:51 -05:00
false.sh
kernel_untar_build.sh
Makefile
post-file.sh
true.sh