Commit Graph

321 Commits

Author SHA1 Message Date
Sage Weil
2a44c3d20d drop broken name length config args
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-05 09:07:36 -04:00
Samuel Just
18f2aa09ff Revert "Rados: Tracker-13531-resolve stuck peering" 2016-05-02 20:39:39 -07:00
shylesh kumar
e3bb551067 Rados: wip-13531:Resolve stuck peering
Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
2016-05-02 12:41:14 -04:00
Sage Weil
b91e478601 suites/rados/thrash-erasure-code: test mon_osd_pool_ec_fast_read = true
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-28 16:58:24 -04:00
Sage Weil
f21651662e rados/monthrash: debug client on librados api tests
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-24 16:39:04 -04:00
Sage Weil
b095cc6c54 rados/objectstore: add ceph_test_keyvaluedb test
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-22 14:08:10 -04:00
Sage Weil
e265bee1c9 rados: specify short names for misc jobs
These need to specify short names bc they don't have all osds on
a dedicated block device.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-15 08:59:01 -04:00
Sage Weil
32719a60f7 rados: specify xfs
If no fs is specified, the OSD is created on /, and the scratch
devices aren't used at all.  That means ext4, and the long file
name lameness.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-14 14:31:44 -04:00
Sage Weil
2b7dd172c2 rados/basic: test over xfs (not just btrfs)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-13 13:14:04 -04:00
Sage Weil
897e52ee82 Merge pull request #944 from athanatos/wip-lfn-upgrade
LFN upgrade tests and a few other misc fixes
2016-04-11 14:01:21 -04:00
Josh Durgin
6903f1cd31 admin malloc interface testsReviewed-by: Josh Durgin <jdurgin@redhat.com>
admin malloc interface tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-04-07 15:38:22 -07:00
Samuel Just
7e53203e80 rados/singleton-nomsgr: add lfn upgrade tests
Upgrade from hammer/infernalis to x and verify lfn objects are valid
across upgrade.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Samuel Just
da9c65b1af rados_api_tests: reduce the osd_max_object_name_len value
This test can be run against ext4, which maxes out under
1k.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-04-07 15:35:30 -07:00
Sage Weil
5500a69443 Merge pull request #932 from athanatos/wip-journal-defaults
morepggrow: enable filestore and journal soft backoffs
2016-04-04 13:28:51 -04:00
Sage Weil
8e11f0d827 suites: radosbench 180 -> 150s
I hit an ENOSPC after 150s on bluestore.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-31 12:27:11 -04:00
Loic Dachary
a7194e5685 openstack: thrash_cache_writeback_proxy_none.yaml need bigger disks
http://tracker.ceph.com/issues/15324 Fixes: #15324

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-30 18:05:08 +02:00
Sage Weil
935a7eb229 rados/singleton-nomsgr/all/full-tiering: s/readforwad/readproxy/
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-30 08:23:31 -04:00
Sage Weil
d823ff6864 rados/singleton: thrash proxy (not forward) cache mode
See #12814

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-30 08:23:31 -04:00
Loic Dachary
d9a8f49fc5 openstack: define the resources required to run a rados suite
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-30 01:45:14 +02:00
Gregory Farnum
2f5c76cf56 Merge pull request #898 from ceph/wip-15206
test_msgr: improve debug ms level
2016-03-28 09:24:42 -07:00
Sage Weil
2b3ec8de8d suites: run rados bench for max 180 seconds
If we want a longer runtime than that, run it several times in
sequence.

This limits the amount of disk space we'll consume.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-26 09:18:41 -04:00
Haomai Wang
322b79fd26 test_msgr: improve debug ms level 2016-03-20 11:54:49 +08:00
Samuel Just
eff7adaf78 morepggrow: enable filestore and journal soft backoffs
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-03-18 14:57:59 -07:00
Sage Weil
e0a1c38ed0 suites/rados/thrash: vary min_{read,write}_recency_for_promote
Hopefully this will shake out #15171

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-17 09:03:23 -04:00
Sage Weil
c619feb7ad rados/singleton-nomsgr: run singleton upgrade tests on ubuntu
Fixes: #15139
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-16 13:16:51 -04:00
Sage Weil
764946bb0f Merge pull request #880 from ceph/wip-rados-vs-mds
suites: remove unused mdss from RADOS tests
2016-03-16 08:57:06 -04:00
John Spray
a3d78d0516 suites: fix assumed filesystem pool name
Tests shouldn't really assume the names of
cephfs pools, but because it's hardcoded in
the yaml here I'll just update it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-15 16:55:10 +00:00
John Spray
77e35c01fd suites: remove unused mdss from RADOS tests
These daemons were apparently unused in tests that
created an MDS daemon but never use a fuse task
to access it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-15 13:14:05 +00:00
Sage Weil
3625b8c438 rados/singleton-nomsgr/all/11429: no mds
The newer cephfs logic wants to use the 'status' command on the
daemon, but that doesn't exist on firefly.  Luckly we don't need
it for this test.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-10 12:06:21 -05:00
Samuel Just
88e86d77a2 rados: Enable odsync write for pggrow thrasher
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-03-10 07:45:30 -08:00
Sage Weil
7784ffe61e rados/thrash/workloads/radosbench: shorten 300s->200s
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 11:14:55 -05: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
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
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
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
7e0fb5dd61 rados/singleton: use xfs instead
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-19 12:28:36 -08:00
Samuel Just
a13d9e89a8 rados/upgrade: add '%' to combine rados.yaml with other yamls
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-10 10:29:40 -08:00
Samuel Just
ebea8ade8e rados/: remove unnecessary rados.yaml entries
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-10 10:29:20 -08:00
Sage Weil
552e3e4a02 suites/rados: test random queue options
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-29 13:22:10 -05:00
Samuel Just
17a70326d7 admin-socket: add set_heap_property tests
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-01-29 08:52:49 -08:00
Samuel Just
114d720a85 Revert "basic/msgr: remove async and random for now"
This reverts commit 0324772e23.
2016-01-28 16:59:26 -08:00
Samuel Just
783f33f06c admin-socket.yaml: add get_heap_property tests
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-01-20 14:55:29 -08:00
Sage Weil
e22a8c6cd6 rados/objecststore/fusestore.yaml: run ceph-objectstore-tool fuse test
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-14 08:27:33 -05:00
David Zafman
7d2bbc900d Merge pull request #775 from ceph/wip-stat-error
repair_test: Add whitelist item for new stat error message
2016-01-04 15:25:27 -08:00
Sage Weil
04e41a608b rados: 5m radosbench (not 10m)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-01 09:35:31 -05:00
Sage Weil
6110421bce rados: run radosbench for 10m (not 15m)
Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-30 09:43:59 -05:00
Sage Weil
07232b1e2b rados/singleton/all/pg-removal-interruption: ensure osd.0 is marked down
We were waiting for teh dameon to fail, not for the mons to notice,
which meant that after we restart the daemon the next tell could
try to talk to the old osd.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-24 09:57:52 -05:00
Sage Weil
e2f9cedd64 rados: run radosbench for 15m instead of 30m
The smithi disks fill after about 20m.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-23 17:00:05 -05:00
Sage Weil
2b4e9497b2 suites/rados/singleton/all/radostool: whitelist quota error
The test sets and hits a quota; whitelist the message

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-22 16:49:57 -05:00
David Zafman
a204f6f932 repair_test: Add whitelist item for new stat error message
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-12-15 17:43:48 -08:00
Loic Dachary
a6de4a0181 openstack: rados/.../morepggrow.yaml may need more disk
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-27 15:11:05 +01:00
Sage Weil
30b64fd739 rados/thrash/workloads/admin-socket: 60s -> 180s
Provide more time for the asok workload to run.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-25 20:08:02 -05:00
Loic Dachary
5c8f349919 Merge pull request #718 from ceph/wip-fast-read
rados: add test for ec fast_read

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-24 00:38:22 +01:00
Loic Dachary
8f2af5949c openstack: convert to array hints
So that it is more flexible.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-21 11:08:37 +01:00
Samuel Just
5f90c35f70 rados: add test for ec fast_read
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-11-19 14:44:45 -08:00
Sage Weil
3d5bfdce94 Merge remote-tracking branch 'gh/infernalis' 2015-11-09 15:50:47 -05:00
Samuel Just
f9e22c5e04 Merge pull request #639 from ceph/wip-12748-infernalis
rados/singleton-nomsgr/all: add export-after-evict.yaml

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-03 07:19:23 -08:00
Samuel Just
0324772e23 basic/msgr: remove async and random for now
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-11-02 13:25:36 -08:00
Loic Dachary
b4a4136a56 openstack: rados/thrash: allocate three disks, always
The thrasher needs disk attached to run against xfs, ext4 or btrfs. And
some jobs use more disks and do not fit in 40GB.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-23 18:08:44 +02:00
Kefu Chai
12d7576ead Merge pull request #622 from dachary/wip-13451-openstack-rados-objectstore
rados/objectstore/alloc-hint: need three attached disks

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-21 15:28:07 +08:00
Kefu Chai
a3442cf078 rados/singleton-nomsgr/all: add export-after-evict.yaml
add a test for http://tracker.ceph.com/issues/12748

Fixes: #12748
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-10-15 22:54:59 +08:00
Loic Dachary
eac791c664 rados/singleton-nomsgr/all/msgr: needs 15GB RAM
If given only 8GB RAM,  ceph_test_msgr may abort with buffer::bad_alloc.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-13 10:50:31 +02:00
Loic Dachary
1a63fd73de rados/objectstore/alloc-hint: need three attached disks
So they can be mkfs xfs.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-10-13 10:45:34 +02:00
Sage Weil
7bb1ceb3f0 log-whitelist 'reached quota' for librados test.sh
A new test verifies that we are stopped by the pool quota (and get
the right error messages or block).  See ceph.git
32962740ce.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-02 08:33:46 -04:00
Sage Weil
de3c9d59df rados/singleton-nomsgr/all/full-tiering: time out rados -p
We will hit a quota and block (not error out).

See #13283
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-01 15:37:22 -04:00
Sage Weil
5a450f8eeb rados/singleton-nomsgr/all/11429: blackhole osd.0 to close race
Blackhole filestore ops so that we ensure it doesn't complete
the pg deletions before the restart function does a clean shutdown
etc.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-30 14:42:05 -04:00
Samuel Just
4e9f1df514 rados: add test for 13234.yaml
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-09-29 21:19:10 -07:00
Sage Weil
8cf3d15de7 rados/singleton-nomsgr/all/11429: grep osd.0 only
Restart can be slow enough that osd.1 and 2 finish deleting the
pgs.  Verifying one osd sees the instance is sufficient.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-28 13:10:45 -04:00
Sage Weil
8941a8b871 rados/singleton-nomsgr/all/11439: fix greps
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-26 21:11:31 -04:00
Sage Weil
ea5cea8e60 rados/singleton-nomsgr/all/11429: more reliably create orphan pgs
Make sure osds have the latest map with a pg ls

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-24 23:11:41 -04:00
Sage Weil
cff9bddba4 rados/singleton-nomsgr/all/full-tiering: test full cache tier
Verify fix for #13098

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-24 22:55:56 -04:00
Loic Dachary
65565de50d erasure-code: isolate isa plugin arch constraint
Link the distro directory to the directory containing all supported
distros. Add the x86_64 arch contraint required by the isa plugin to an
isolated file that is combined with all jobs.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-09-18 16:19:29 +02:00
Sage Weil
f0c925e30a suites/rados/singleton-nomsgr/all/11429.yaml: double-hop and fix
- simplify this.. lots of extra cruft we don't need
- restart twice at hammer to ensure that we can still load pgs
  post-upgrade
- do the same for the final version.

Fixes: #11429 (again, for ~infernalis)
Fixes: #13060
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-12 09:22:30 -04:00
Zack Cerza
e9847570de Merge pull request #561 from ceph/wip-sudo
sudo ceph
2015-09-11 10:20:50 -06:00
Sage Weil
5eb0e4dd2f suites: sudo ceph
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 12:15:01 -04:00
Sage Weil
822fa666dd rados/singleton-nomsgr/all/valgrind-leaks: verify leak checking works
Fixes: #10328
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 11:53:37 -04:00
Sage Weil
3084453b04 rados: 'failed to encode ...' warnings are normal on upgrades
Fixes: #12973
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-09 22:04:13 -04:00
Sage Weil
edf36f971d Merge pull request #542 from ceph/wip-12551-cephfs-truncate-sec
Adds test for ceph/pull/5442

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-09 16:22:38 -04:00
Ivo Jimenez
d83a95ea3e suites/rados/singleton-nomsgr/all/cache-fs-trunc.yaml
Verify the cache tier doesn't clobber truncate_{seq,size}
2015-09-09 16:21:39 -04:00
Loic Dachary
6eb73595cd Merge pull request #541 from XinzeChi/wip-rebug
fix rebug rados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-07 09:56:51 +02:00
David Zafman
8331556b9b Merge pull request #503 from guangyy/wip-12316-n
erasure coding: LRC thrasher & fast read thrasher

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-09-01 12:27:12 -07:00
Sage Weil
5df0cebc67 suites/rados/singleton-nomsgr/all/11429: upgrade to hammer first 2015-09-01 14:55:48 -04:00
Kefu Chai
cfce56fafe rados/basic/msgr: enable all experimental features if random/async
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-28 15:11:10 -07:00
David Zafman
d155519bfa Revert "rados/basic/msgr: enable all experimental features if random/async"
This reverts commit 40db8376ab.

Getting errors trying to schedule with this commit.
2015-08-28 14:50:19 -07:00
Kefu Chai
40db8376ab rados/basic/msgr: enable all experimental features if random/async
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-29 00:23:00 +08:00
Samuel Just
16a6b5df6b Merge pull request #534 from ceph/wip-12625-master
Added singleton hammer-x test to address #525
 
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-08-27 11:32:22 -07:00
Sage Weil
671a9dfa17 rados: test both simple, async, and a mix
- in general, test simple vs async vs random
- not for msgr-less workloads
- not for thrash-erasure-*.. the regular thrash
should cover it.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-27 10:38:54 -04:00
Xinze Chi
2280ca527f fix rebug rados
Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
2015-08-26 17:56:40 +08:00
Sage Weil
ccc47d32c8 suites/rados/thrash: randomize hobject sort order
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-25 21:33:57 -04:00
Yuri Weinstein
8f66ecb3e2 Added singleton hammer-x test to address #12625
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-08-17 10:05:37 -07:00
Samuel Just
8bfb1c91fb Revert "Added singleton hammer-x test to address #12625" 2015-08-17 09:56:09 -07:00
Yuri Weinstein
317559df65 Added singleton hammer-x test to address #12625
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-08-07 17:13:22 -07:00
Samuel Just
978828537e Merge pull request #445 from dachary/wip-11666-erasure-code-lrc
erasure-code: lrc plugin workload

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-08-07 07:59:05 -07:00
Guang G Yang
e8d4cf1146 erasure-code: add thrash test for the fast read feature on EC pool
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-07-23 17:07:38 +00:00
kawaguchi-s
83d920abc2 erasure code: added shec's initial ceph-qa-suite
Fixes: #10886(http://tracker.ceph.com/issues/10886)

Signed-off-by: Shotaro Kawaguchi <kawaguchi.s@jp.fujitsu.com>
2015-07-01 15:58:22 +09:00
Loic Dachary
82dc23a683 erasure-code: lrc plugin workload
Add a workload that uses the lrc erasure code plugin. Instead of adding
it to suites/rados/thrash-erasure-code/workloads, a new suite is created
at suites/rados/thrash-erasure-code-big because it needs more OSDs than
other erasure code plugins. The alternative would be to increase the
number of OSDs for all erasure code plugins, but that would needlessly
increase the resources requirements.

 * cluster/12-osds.yaml creates a 12 OSDs, 3 MONs cluster

 * thrash-erasure-code-big/thrashers/*.yaml are the same as
   thrash-erasure-code/thrashers/*.yaml except they require that at
   least 8 OSDs are in at all times (instead of 4) because lrc PGs with
   k=4, m=2, l=3 are undersized if they do not have 8 OSDs. It is
   possible that crush fails to map 8 OSDs when only 8 OSDs are
   available, but that must not disturb the workload because min_size is
   4.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-06-11 10:48:45 +02:00
Samuel Just
91b300d12c rados/thrash: add test for radosgw with snaps
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-28 15:36:39 -07:00
David Zafman
38160ecfaa reg11184: Add regression test for 11184
Create divergent priors and a split and then move a pg using
ceph-objectstore-tool export/import
Add yaml file to run the reg11184 task

Fixes: #11343

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00