Commit Graph

114 Commits

Author SHA1 Message Date
Sage Weil
f8282df84d rados/singleton/all/thrash_cache_writeback_forward_none: thrash cache pool drain
Enable/disable cache pool against a running workload.

Backport: firefly
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-30 13:34:21 -07:00
Samuel Just
77670aeadf thrashers/mapgap.yaml: ignore osd_map_cache_size warning
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-06-24 10:19:48 -07:00
Samuel Just
09d02abe45 Revert "rados: Fix cache_flush, cache_try_flush, cache_evict and add hit_set_list"
cache_evict is kinda broken at the moment due to snapdir nonsense.  I'm reverting this
test for now until it's fixed so it doesn't obscure the test results.

Bug: 8629
This reverts commit 3dae48c7cd.
2014-06-19 14:25:30 -07:00
David Zafman
3dae48c7cd rados: Fix cache_flush, cache_try_flush, cache_evict and add hit_set_list
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-06-05 18:24:59 -07:00
Sage Weil
c427af0701 osd_heartbeat_grace from 20 -> 40 when running valgrind
This will mask occasional 'wrongly marked me down' errors when valgrind
is running (it makes things generally slow).

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 10:11:05 -07:00
Sage Weil
a4f00abaa6 rados/singleton-nomsgr/all/objectstore: skip ceph cluster setup
Not necessary; we just need it installed.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-20 22:09:48 -07:00
Sage Weil
5be30f0d9b rados/singleton-nomsgr/all/objectstore: clean up
ceph_test_objectstore scribbles in $CWD.  Keep it inside $TESTDIR and
clean up when we are done.

Fixes: #8395
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-20 22:09:48 -07:00
David Zafman
99e67abc94 rados/thrash: Add pool_snaps variants
Fixes: #8284

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-05 11:18:14 -07:00
Samuel Just
d2d7b941dd cache-snaps.yaml: set target_max_objects to test snap flush/evict
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-05-02 17:04:09 -07:00
David Zafman
18334ea3d3 rados/thrash: Fix workload of cache-agent-big
Create a log of objects and operate on some of them
(Initial object creation counts against total operations specified)
Add limit to 20 minutes

Fixes: 8263

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-01 14:39:18 -07:00
David Zafman
b080355902 Fix syntax of erasure coded pool creation
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-01 10:52:57 -07:00
Samuel Just
3a2c8886c3 rados: add ec and rep lost_unfound_delete tests
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-04-22 17:42:17 -07:00
Sage Weil
387110b119 rados/singleton/all/cephtool: whitelist scrub vs split vs agent issue
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-22 12:44:48 -07:00
Sage Weil
c623b3dd97 rados/thrash: whitelist 'must scrub before tier agent can activate'
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-18 06:59:27 -07:00
Josh Durgin
7afc277736 rados: include objectstore tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-04-17 18:58:33 -07:00
Sage Weil
b97c3803c5 rados/thrash: rejection backfill reservations sometimes while thrashing 2014-04-03 18:11:01 -07:00
Sage Weil
946a9685f1 rados/singleton-nomsgr: add multi-backfill reservation rejection test
This triggers #7922.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-03 18:08:19 -07:00
Sage Weil
cb699f6a1a rados/monthrash: shorten mon pings so that freezing triggers reconnects
This exercises (tho it doesn't necessarily verify) the mon ping reconnect
code when the thrasher freezes the mons.

See #7888.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-28 16:17:00 -07:00
Samuel Just
68343ee193 rados/thrash/workloads: make cache-agent-big use an ec base pool
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-27 11:51:44 -07:00
Sage Weil
a42e197f5d rados/monthrash: add pool create/delete tests
This is sufficient to trigger #7736 when combined with mon thrashing and
mon msg delay injection.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-17 16:16:50 -07:00
Ilya Dryomov
0815e4fa70 rados/singleton-nomsgr: add allocation hint test
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-07 18:32:12 +02:00
Samuel Just
c6a22b33e3 rados/thrash/workloads: enable copy_from for the ec workloads
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-23 14:56:10 -08:00
Samuel Just
b9e1341f10 rados/thrash: add ec-radosbench workload
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:49:12 -08:00
Samuel Just
386650d983 rados/thrash: add ec workloads
Adds ec workloads for snaps, small objects, read-write.

copy-from is not yet enabled.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:45:39 -08:00
Sage Weil
5f8eedf01d rados/thrash: test rados against cache pool with agents
Run rados model against a pool with target_max_objects set so that the
tiering agent is working against us.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-17 16:41:25 -08:00
Sage Weil
453d72b294 don't use notcmalloc flavor for valgrind
We now have the suppressions to avoid this.  Yay!

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-11 09:44:17 -08:00
Sage Weil
47dcdb324e rados/thrash: add cache + snaps workload
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-23 07:08:10 -08:00
Josh Durgin
04fe727130 rados: add rados tool test
For now this just tests listomapvals, but it may be expanded in the
future.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-31 11:44:46 -08:00
Sage Weil
a47d16ec8c rados/trash: add cache workload
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-22 09:46:03 -08:00
Sage Weil
018164ad04 rados/thrash: add small objects ceph_test_rados workload
With small objects we can generate many more ops more quickly and stress
the cluster a bit differently.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-19 21:47:19 -08:00
David Zafman
20b7998222 Increase timeout by 50% in thrashers/mapgap.yaml
Seen in /a/teuthology-2013-12-17_23:00:03-rados-next-distro-basic-plana/7188

Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-12-18 16:59:05 -08:00
tamil
7b392a815a white listed "wrongly marked me down" to avoid false alarm in the nightlies
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-12-02 12:52:08 -08:00
Sage Weil
39c4674b27 test copy_from when running ceph_test_rados
Skip most of the upgrade suites, except the test that ends up on next.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-15 12:20:39 -07:00
Sage Weil
3615c149c2 make xfs.yaml a symlink 2013-10-02 13:30:13 -07:00
Sage Weil
886c4fdd45 make ext4.yaml a symlink 2013-10-02 13:30:13 -07:00
Sage Weil
92cc980be4 make btrfs.yaml a symlink 2013-10-02 13:30:13 -07:00
Sage Weil
30c56cc1cb mark all existing collections with %
This is ignored by old teuthology, but used by newer code to tell us when
to generate a product of all directory items.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-28 11:24:29 -07:00
Sage Weil
f2a688dcc2 rados/verify: crank up debugging on system tests
Looking for #5925

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-27 07:33:50 -07:00
Sage Weil
794d22443c rados/singleton: add 'wrong cluster addr' whitelist
Missed this the first time around.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-20 13:09:53 -07:00
Sage Weil
a8965a6a5d rados/monthash: fix 5925 yaml
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-14 21:37:16 -07:00
David Zafman
0e9a937936 monthrash workloads: Add task to reproduce 5925 with extra logging
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-08-13 17:15:16 -07:00
Sage Weil
2b6ac0faac rados/.../cephtool: let us run test_daemon.sh too
This needs the mon to be mon.a; rename it.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-30 23:10:41 -07:00
Sage Weil
4c15d73f19 rados: add rest-api test
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-26 18:23:25 -07:00
Sage Weil
5849853c5f rados/thrash: add in ext4 2013-07-26 16:27:11 -07:00
Samuel Just
99ae947109 rados: add thrasher which causes map gaps
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-07-26 10:48:55 -07:00
Sage Weil
a0edf7aaa5 rados: trim more aggressively 2013-07-23 10:46:32 -07:00
Sage Weil
f528108d14 rados: keep fewer osdmaps around
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-23 09:24:35 -07:00
David Zafman
748d0c80b1 Add more stressful thrashing by doing more pg splitting
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-07-22 10:20:25 -07:00
Sage Weil
9b3f59dfef rados: add in the mon/caps.sh tests 2013-07-22 09:29:43 -07:00
Sage Weil
e8c58d3ee9 rados: use 'ms inject intenral delays' during thrashing
This tries to help hit unusual races in the messenger.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-16 21:03:17 -07:00