Commit Graph

924 Commits

Author SHA1 Message Date
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
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
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
Douglas Fuller
d1cb94f66d RBD: update expunge set for latest test, parameterize test script
Update expunge set for xfstests to known-good set for RHEL7 and Ubuntu 14.04.
Expunged tests without justifying comments are long-running and have not yet
been thoroughly investigated.

Add an environment variable (optionally passed from xfstests_url variable in
test YAML) to override the default xfstests repo.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-04-07 16:54:14 -07:00
Douglas Fuller
567a7eff10 RBD: build prerequisites for latest xfstests and update test configuration
To standardize results from xfstests, install specific versions of xfstests,
xfsprogs, and xfsdump in /tmp. Move test mountpoints to /tmp/cephtest to allow
access for fsgqa user expected by xfstests.

XXX: xfsdump required significant hacks to build and install on Ubuntu 14.04.
A developer removed the definitions of the min and max macros; this commit is
reverted by this script. The installation paths are difficult to override and
the installer breaks (trying to ln one of the binaries to itself) when an
alternate installation location is specified. This script ignores this error
(make -k install || true).

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-04-07 16:54:02 -07: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
Sage Weil
2a5ad8e3f7 Merge remote-tracking branch 'gh/hammer'
Conflicts:
	src/gmock
	src/msg/xio/XioPortal.h
2015-03-17 10:57:13 -07:00
Jianpeng Ma
5951946b75 qa/cephtool: add ceph for 'ceph osd map pool object namespce'.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-03-17 14:50:55 +08:00
Jianpeng Ma
5a8d4c5068 qa,cephtool: add test case for 'ceph osd tier add-cache'
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-03-10 20:15:49 -07:00
Kefu Chai
d2057bd6d9 Merge pull request #3887 from stiopaa1/feature10891
mon: add "osd pool get $pool all" command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-10 22:16:29 +08:00
Sage Weil
faa1f2741c Merge remote-tracking branch 'gh/hammer'
Conflicts:
	src/gmock
2015-03-10 06:24:59 -07:00
Michal Jarzabek
ea6192116c mon/OSDMonitor: refactor and new key "all" for osd pool get command
This will only output all the values applicable to a given type of pool.
So for example for a pool that is not a tier pool values like HIT_SET_TYPE,
HIT_SET_PERIOD, HIT_SET_COUNT etc. will be ignored.

Fixes: #10891
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-03-09 19:44:26 +00:00
Josh Durgin
918afc0a58 qa: make rbd-fuse exit cleanly with lttng
lttng requires daemons (things that call fork, clone, or daemon
without exec, like fuse) to use a LD_PRELOAD library. Without this,
the lttng atexit() handler crashes.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-03-06 18:57:32 -08:00
Gregory Farnum
060ff1536c Merge pull request #3877 from ceph/hammer-backports-hadoop
Hammer backports hadoop

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-06 09:29:22 -08:00
Jason Dillaman
3ca182a63d Merge pull request #3880 from jdurgin/wip-librbd-permissions-test
librbd: remove bad assert and fix permissions test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-03-05 16:13:39 -05:00
Loic Dachary
452c651151 Merge pull request #3822 from dachary/wip-10947-setcrushmap
mon: timeout if crushtool takes longer than mon_lease

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
2015-03-05 14:28:27 +01:00
Josh Durgin
fa13a5dc5b qa: fix up rbd permissions test
! doesn't do what we want in bash -e. Use a more explicit helper
instead, and specify expected error codes.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-03-04 18:38:29 -08:00
Noah Watkins
099264fb17 hadoop: workunits don't need java path
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit b3329a961b)

Conflicts:
	qa/workunits/hadoop/terasort.sh
2015-03-04 09:58:38 -08:00
Noah Watkins
2f2ace317c qa: update old replication tests
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 15da810086)
2015-03-04 09:58:37 -08:00
Kefu Chai
a3af64c257 ceph.in: print help on 'osd' or 'mon'
Fixes: #10888
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-03-04 17:39:02 +08:00
Loic Dachary
1e3f814869 mon: ignore crushtool validation if too long
The crushtool is aborted if it takes more than mon lease seconds. Since
the monitor blocks while running it, this is mandatory otherwise the
monitor will be considered down and new elections triggered.

http://tracker.ceph.com/issues/10947 Fixes: #10947

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-03 02:13:27 +01:00
Josh Durgin
0d468ae352 Merge pull request #3831 from dachary/wip-qemu-iotests
Maipo should also use the local qemu clone

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-02 15:34:39 -08:00
Jason Dillaman
6cff494e18 qa/workunits/rbd/copy.sh: remove all image locks
If the exclusive lock feature is enabled, all locks need
to be removed prior removing the image.

Fixes: #10990
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-02 16:24:17 -05:00
Sage Weil
b65f8fa422 Merge remote-tracking branch 'gh/hammer' 2015-03-02 09:11:11 -08:00
Yan, Zheng
4ececa3dc4 qa/workunits/fs/misc: fix filelock_interrupt.py
Handle the case that kernel does not support fcntl.F_OFD_SETLK.
Also fix the code that checks if fnctl fails with errno == EINTR.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-02 21:08:03 +08:00
Loic Dachary
a23b348979 Maipo should also use the local qemu clone
http://tracker.ceph.com/issues/10975 Fixes: #10975

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-02-28 01:20:05 +01:00