Commit Graph

5023 Commits

Author SHA1 Message Date
John Spray
356579be97 tasks/cephfs: update TestDamage
...to account for the behavioural changes with
the addition of DamageTable.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
aa193b31be tasks: move wait_for_health up into CephFSTestCase
...so that TestDamage can use it too.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
67b711dee5 tasks/cephfs: optionally stat() in background
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
7a97fcbe42 tasks/cephfs: avoid sleep in test_client_cache_size
Instead of waiting 30s and then checking, use
wait_until_true to complete as soon as the
condition is met.  Test runs faster this way.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
41747d6f3f tasks/cephfs: remove extraneous ;s in test_client_limits
These are harmless but they stand out in some editors.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
Yan, Zheng
21348aba27 tasks/cephfs: add test case for scrub repair
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-03 21:56:47 +00:00
Sage Weil
7a87625abb Merge remote-tracking branch 'gh/wip-file-layout' 2016-03-03 08:23:55 -05:00
Sage Weil
38904e92e4 Merge remote-tracking branch 'gh/jewel' 2016-03-03 08:23:49 -05:00
Yuri Weinstein
c5bd48585d Merge pull request #852 from ceph/wip-ceph-ansible
ceph-ansible: Add openstack hints for volumes
2016-03-02 17:06:52 -08:00
Zack Cerza
b3bcf9d188 ceph-ansible: Add openstack hints for volumes
3x20GB per instance

Signed-off-by: Zack Cerza <zack@redhat.com>
2016-03-02 16:34:24 -07:00
Yuri Weinstein
b3d5c39cc0 Merge pull request #851 from ceph/wip-ceph-ansible
ceph-ansible: Install ceph-test
2016-03-02 08:16:57 -08:00
Yuri Weinstein
b916953885 Merge pull request #848 from ceph/wip-ceph-ansible
ceph-ansible suite improvements
2016-03-01 13:58:44 -08:00
Zack Cerza
8387114759 Install ceph-test
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-03-01 14:58:34 -07:00
Zack Cerza
4a450ca811 Disable rbd_cli_tests for now
They don't seem to ever fail.

Signed-off-by: Zack Cerza <zack@redhat.com>
2016-03-01 12:49:34 -07:00
Zack Cerza
6df45fd5e5 Add ceph-deploy_hello_world.sh
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-03-01 12:47:53 -07:00
Samuel Just
97d806907e Merge pull request #843 from ceph/wip-list-inconsistent-obj
tasks/scrub_test: match the NOSNAP with "head"

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-03-01 08:47:22 -08:00
Sage Weil
14211ba2af suites/fs/verify: debug mon too
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 09:27:59 -05:00
Sage Weil
bb2f575598 tasks/cephfs/filesystem: ceph_file_layout -> file_layout_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 09:27:59 -05:00
Jason Dillaman
e5ac9d08e4 Merge pull request #844 from ceph/wip-rbd-cli-features
rbd/cli: add older default features

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-03-01 08:09:01 -05:00
Loic Dachary
d6ae11d104 Merge pull request #846 from dachary/wip-14931-cram
cram: pin to version 0.6 because 0.7 handles \r differently

Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 14:50:41 +07:00
Loic Dachary
70fb7493f1 cram: pin to version 0.6 because 0.7 handles \r differently
http://tracker.ceph.com/issues/14931 Fixes: #14931

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-01 14:17:16 +07:00
Kefu Chai
3a6bf7d258 tasks/scrub_test: match the NOSNAP with "head"
* rados cli prints "head" at seeing CEPH_NOSNAP, so update the test
  accordingly
* print inconsistent objs before testing them

Fixes: #14924
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-01 14:09:28 +08:00
Josh Durgin
b82fe3d6f2 rbd/cli: add older default features
Explicitly set features and default format so they don't become out of
date. Remove none.yaml, since default.yaml is an explicit version of
it now.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 21:55:43 -08:00
Josh Durgin
1594ec0938 Merge pull request #842 from ceph/wip-rbd-features
rbd: updated tests to use new rbd default feature set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 18:26:14 -08:00
Josh Durgin
febc307dd3 Merge pull request #841 from ceph/wip-krbd-default-features
krbd: override rbd defaults features to 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 18:20:30 -08:00
Josh Durgin
03e6627de7 Merge pull request #821 from ceph/wip-fsx-journal
rbd: add fsx journal replay test case

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 18:18:22 -08:00
Zack Cerza
6305415c70 Make the keyring world-readable
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-02-29 17:20:20 -07:00
Zack Cerza
86e67cd0b9 Rename mon.0 to mon.a
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-02-29 17:20:20 -07:00
Zack Cerza
7dd350e7ee Run 'ceph health' after deployment
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-02-29 17:20:19 -07:00
Samuel Just
e70a633b4f Merge pull request #832 from athanatos/wip-lost
Wip lost

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-29 15:53:12 -08:00
Yuri Weinstein
ecae0549c8 Merge pull request #839 from ceph/wip-ceph-ansible
Add ceph-ansible suite
2016-02-29 13:17:12 -08:00
Jason Dillaman
d1c211dd4b rbd: updated tests to use new rbd default feature set
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 09:16:27 -05:00
Jason Dillaman
f9a6902256 krbd: override rbd defaults features to 1
Jewel will update the default feature set to features
unsupported by krbd.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 08:42:22 -05:00
Zack Cerza
4a8448a536 Add ceph-ansible suite
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-02-26 13:45:46 -07:00
Zack Cerza
0441f100a0 Merge pull request #837 from ceph/wip-valgrind
suites: debuginfo: true for valgrind
2016-02-26 08:38:49 -07:00
Sage Weil
0436306cbe Merge pull request #833 from ceph/wip-async
Revert "basic/msgr: remove async and random for now"
2016-02-26 10:01:53 -05:00
Sage Weil
f274737dfa suites: debuginfo: true for valgrind
This lets us get line numbers in the valgrind xml output.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-26 09:46:27 -05:00
Kefu Chai
2efd4c63fd Merge pull request #795 from ceph/wip-list-inconsistent-obj
task/scrub_test: tests for list inconsistent obj APIs

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-02-25 12:51:17 +08:00
Yuri Weinstein
52704d3b71 Reduced runtime for radosbench to 600
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit a72bba2910)
2016-02-24 13:37:03 -08:00
Yuri Weinstein
31a8d16872 Merge pull request #835 from ceph/wip-14810-master-2
Reduced runtime for radosbench to 600
2016-02-24 13:31:20 -08:00
Yuri Weinstein
a72bba2910 Reduced runtime for radosbench to 600
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-02-24 13:28:51 -08:00
Kefu Chai
9a3252c17e tasks/scrub_test: add test for get-inconsistent-* commands
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-22 18:35:50 +08:00
Kefu Chai
bdf998c816 tasks/scrub_test: restore the changes to omap after the test
because the repair for digest mismatch will rewrite the omap digest
in the corresponding OI attribute with the one calculated from the
omap read from disk. this is fine. but the succeeding test can not
use the same way used before to mess up the victim object in hope
to get an inconsistent object, as we have accepted it as an authroized
copy and populate the change to its replicas. to address this
problem, the crime scene of the `test_repair_bad_omap()` is cleaned
up before calling `repair()`. it helps with isolating the different
tests, so new tests should not worry about what the current omap
should look like.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-22 15:57:40 +08:00
Samuel Just
af3af30418 divergent_priors: add sleep after reviving divergent
Basically same thing as
c0b0ec2831
client is getting ENXIO when trying to do osd tell because
the osd isn't quite up yet.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Samuel Just
ef75c8971e rados: add lost-unfound upgrade tests
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Samuel Just
b2a08efe87 tasks/*unfound*.py: run rados bench in parallel
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Samuel Just
8cf25611fb ceph_manager: use time before mon command for timeout
Slow mon commands can cause a false failure.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Samuel Just
7e0fb5dd61 rados/singleton: use xfs instead
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Gregory Farnum
2530d62258 Merge pull request #823 from ceph/wip-dir-rstats
add test for norstats functionality
2016-02-18 12:48:14 -08:00
Gregory Farnum
73e02e8e87 Merge pull request #776 from ceph/wip-sharded-scan
tasks/cephfs: test sharded cephfs-data-scan
2016-02-18 06:46:13 -08:00