Vasu Kulkarni
f9e5b68b23
qa: unbreak concurrent.sh workunit
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-05-19 15:55:05 -04:00
Loic Dachary
e4ca4685e0
tests: reduce make check verbosity
...
Move check-local scripts
src/test/run-cli-tests
encode-decode-non-regression.sh
test/encoding/readable.sh
to check_SCRIPTS. Their output is captured in .log file when running
with a recent automake. This reduces the output of make check by an
order of magnitude.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-18 00:41:16 +02:00
Sage Weil
ccd54c6574
Merge pull request #4662 from dachary/wip-11359-tier-tests
...
tests: more robust tiering agent tests
Reviewed-by: Sage Weil <sage@redhat.com>
2015-05-15 13:36:31 -07:00
Loic Dachary
ea2736380a
Merge pull request #4654 from dachary/wip-erasure-code-bench
...
erasure-code: bench.sh compares isa & jerasure, vandermonde & cauchy
Reviewed-by: Andreas Peters <Andreas.Joachim.Peters@cern.ch>
2015-05-15 18:59:22 +02:00
Loic Dachary
d82681e6c7
Merge pull request #4668 from ceph/wip-rados-binary-omapsetval
...
rados cli: setomapval can now read from stdin
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-05-13 22:34:22 +02:00
Jason Dillaman
6306beda38
qa/workunits/rados/test_rados_tool: added test for omapsetval via stdin
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-13 10:39:33 -04:00
Josh Durgin
b16a6ea788
Merge pull request #4644 from ceph/wip-11405
...
librbd: new QA client upgrade tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-13 06:53:07 -07:00
Loic Dachary
f88275dd04
tests: tiering health report reworked
...
Instead of
* setting limit
* populate the cache
* check the health warnings
do the following
* populate the cache
* set limits below the content of the cache
* check the health warnings
The problem with the former approach is that the limits stored by the
OSD internally do not exactly match the one set by the user: they are
converted in ratios and there may be rounding errors.
Also replace the busy loop waiting for pg stats to flush with
ceph tell osd.* flush_pg_stats || true
for simplicity.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-13 10:39:37 +02:00
Loic Dachary
5f252d6135
tests: no agent when testing tiering agent border case
...
On a machine slow enough, the tiering agent can be activated while
testing border cases where the cache is almost full. Prevent that
by deactivating the tiering agent.
http://tracker.ceph.com/issues/11359 Fixes : #11359
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-13 09:28:06 +02:00
Loic Dachary
b2c40d5e76
tests: uncomment tiering agent tests
...
http://tracker.ceph.com/issues/11359 Refs: #11359
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-13 09:25:57 +02:00
Loic Dachary
28f0230c12
erasure-code: bench.sh compares isa & jerasure, vandermonde & cauchy
...
ISA and Jerasure can be compared for the default stripe width (4KB) and
the two most commonly used Reed Solomon matrices. Comparing the
bandwidth for large chunks (1MB) is not relevant because it is not
commonly used.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-12 14:58:23 +02:00
Samuel Just
05db2b0a25
Merge pull request #4452 from tchaikov/wip-interactive-ceph-cli
...
Wip interactive ceph cli
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-05-11 10:29:40 -07:00
Kefu Chai
87f37b6b1a
Merge pull request #4227 from tchaikov/node-ls
...
mon,osd,mds: add "{mon,mds} metadata" and "node ls" commands
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-05-11 22:01:21 +08:00
Kefu Chai
1218d4d823
Merge pull request #4624 from rajukv/wip-xio-rajukv
...
xio: Update XIO client connection IP and nonce
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-05-11 15:12:34 +08:00
Raju Kurunkad
6158f18fb4
Update XIO client connection IP and nonce
...
Obtain the local IP of the client and save the nonce provided when the messenger was created. This is required for RBD lock/unlock
Fix script error in RBD concurrent test
Reset did_bind during messenger shutdown
Signed-off-by: Raju Kurunkad <raju.kurunkad@sandisk.com>
2015-05-11 10:43:20 +05:30
Yuri Weinstein
13abae1863
Added a "ceph hello world" for a simple check for ceph-deploy qa suite
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-05-07 17:12:35 -07:00
Kefu Chai
410175be89
Merge pull request #3743 from trociny/wip-osd_create
...
mon: osd create: add optional 'id' parameter
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-05-08 00:13:37 +08:00
Kefu Chai
71bf5f1eb3
mon: add 'node ls {all,mds,mon,osd}' asok
...
Fixes : #10904
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-05-07 07:29:39 -07:00
Kefu Chai
79439d43a8
mds,mon: add 'mds metadata' command
...
Related: #10904
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-05-07 07:29:39 -07:00
Kefu Chai
1b0386b2e1
mon: add "mon_metadata <id>" command
...
Related: #10904
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-05-07 07:29:39 -07:00
Jason Dillaman
124b1d3d2d
qa/workunits/rbd: add notify_master/slave bootstrap scripts
...
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-05 13:21:09 -04:00
Jason Dillaman
9039955f42
qa/workunits/rbd: add new test_librbd_api workunit
...
This only tests the public librbd API for use during upgrade tests.
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-05 13:21:09 -04:00
Josh Durgin
0358840a59
Merge pull request #4461 from ceph/wip-11372
...
librbd: add valgrind memory checks for unit tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-04-30 09:21:48 -07:00
Jason Dillaman
30b762bc13
qa/workunits/rbd: add support for running API tests under valgrind
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-30 10:56:54 -04:00
Sage Weil
04b00029e1
qa/workunits/post-file: pick a dir that's readable by world
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-28 17:40:29 -07:00
Kefu Chai
da9d2b4077
ceph.in: improve the interactive mode
...
* if ceph is not reading from a tty, expect EOF instead of "quit"
as the end of input.
* do not panic at seeing the EOF
* update the test case test_mon_injectargs_SI(). since we disables
"ceph injectargs <args,...>" in a458bd83
, in which the arguments
of "injectargs" are supposed to be consumed by "tell" instead.
so "ceph injectargs ..." is taken as an incomplete command, and
this command will bring ceph cli into the interactive mode,
redirecting its stdin to /dev/null helps ceph cli quit the loop,
but in a way of throwing EOFError exception. this change handles
the EOF, so the "ceph injectargs ..." does not throws anymore.
but the side effect is that the test fails since it expects a
non-zero return code. so replace it with an equivalent "tell"
command which also fails but due to the non-SI postfix.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-24 15:25:30 +08:00
Kefu Chai
bc7d8c99d2
ceph.in: parse quote correctly in interactive mode
...
Fixes : #11279
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-24 15:25:30 +08:00
Sage Weil
66e90d00dc
Merge pull request #4165 from liewegas/wip-post-file
...
qa/workunits/post-file.sh: s/base-files/aclocal/
2015-04-23 15:39:11 -07:00
Gregory Farnum
392e824736
Merge pull request #4282 from ceph/wip-3645
...
mds: rename snapshot support
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com
2015-04-20 11:10:21 -07:00
Kefu Chai
9403df27f6
Merge pull request #3847 from trociny/wip-test_with_crushtool.master
...
mon: ceph osd setcrushmap: test_with_crushtool improvements
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-20 16:04:25 +08:00
Loic Dachary
643a4e93dd
Merge pull request #4378 from dachary/wip-11359-tier-tests-disable
...
tests: comment out unstable tiering tests
2015-04-16 18:50:23 +02:00
Loic Dachary
0a442eeb14
tests: comment out unstable tiering tests
...
So that make check does not randomly fails.
http://tracker.ceph.com/issues/11359 Refs: #11359
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-16 18:02:23 +02:00
Sage Weil
34c467ba06
use git://git.ceph.com
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-16 08:29:41 -07:00
Mykola Golub
0d1e770391
mon: osd create: add optional 'id' parameter
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-12 14:25:45 +03:00
Yan, Zheng
488727757f
qa/workunits/snaps: add snapshot rename test
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-10 09:48:46 +08:00
Jason Dillaman
9914a73c83
qa/workunits/rbd/copy.sh: removed deprecated --new-format option
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-09 16:06:59 -04:00
Sage Weil
52235e3256
qa/workunits/post-file.sh: use /etc/default
...
base-files doesn't existing on rhel. /etc/default is everywhere and it's
small.
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-09 09:58:39 -07:00
Kefu Chai
de0528dca6
Merge pull request #4210 from trociny/fix-11261
...
ceph_argparse: return false instead exiting when argument is missed
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-08 15:19:29 +08:00
Sage Weil
a074a1478d
Merge pull request #3560 from XinzeChi/wip-pmon-all
...
ceph.in: add ceph ping mon.* for ping all monitor
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-04-06 15:47:09 -07:00
Mykola Golub
46103b2c3b
ceph_argparse: don't die when called by injectargs
...
Fixes : #11261
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-04 10:55:04 +03:00
Noah Watkins
aed3434dc7
java: libcephfs_jni.so is in /usr/lib64 on rhel
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-03-27 19:34:12 -07:00
Mykola Golub
9d1391e7fe
tests: extend mon_crushmap_validation test
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-03-27 15:44:35 +02:00
Mykola Golub
21699fcf70
mon: osd setcrushmap: use own timeout implementation
...
instead of relying on external util.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-03-27 10:08:22 +02:00
Sage Weil
cc3527a51e
Merge pull request #3870 from majianpeng/cache-tier
...
Cache tier bug fixs
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-25 10:27:56 -07:00
Xinze Chi
2165d053a3
test: add test case for ping_monitor
...
Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
2015-03-24 12:51:15 +08:00
Loic Dachary
61e4932867
Merge pull request #3841 from ceph/wip-10217
...
qa/workunits/fs/misc: fix filelock_interrupt.py
Reviewed-by: John Spray <john.spray@redhat.com>
2015-03-22 09:08:21 +01:00
Sage Weil
714fac3df0
Merge pull request #4010 from majianpeng/osdmap-nspace
...
mon:make 'ceph osd map' accept namespace.
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-21 14:39:35 -07:00
Jianpeng Ma
537e88ec7d
qa/cephtool: Using add-cache rather than add to test ceph health.
...
Don't forget set cachemode.
By the way, For test max_target_bytes, don't reply on /etc/passwd
because different host have different size of /etc/passwd.
Avoid met this bug, i create a tmp file.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-03-20 09:55:39 +08:00
Sage Weil
d26a9dce5e
Merge remote-tracking branch 'gh/hammer'
...
Conflicts:
PendingReleaseNotes
src/Makefile.am
src/gmock
src/test/Makefile.am
2015-03-19 12:41:04 -07:00
Sage Weil
78790b304b
Merge pull request #3898 from jdurgin/wip-rbd-merge-diff
...
qa: make rbd-fuse exit cleanly with lttng
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-18 13:18:18 -07:00