Commit Graph

177 Commits

Author SHA1 Message Date
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
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
David Zafman
b10558021f divergent_priors2: Do divergent priors and ceph-objectstore-tool export/import
Based on tasks/divergent_priors.py but also do simple export/remove/import on
same osd.
Add yaml file to run the divergent_priors2 task

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00
David Zafman
a6a4aaf3d3 divergent_priors: Fix divergent_priors task
Flake8 fixes
Use new set_recovery_delay admin socket command
Fix bad value set for filestore_blackhole
Make sure log trims and only require 100 objects
Use kick_recovery_wq to properly set osd_recovery_delay_start to 0
Write and remove divergent and verify removal was undone
Fix to make compatible with wip-10809-11135-10290
Make sure to set_recovery_delay in a non-racey way (while osd running but down)
Leave divergent "in" so its PGs aren't treated as strays
Add yaml file to run the divergent_priors task

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00
Samuel Just
cc107525bc squash: use sleep instead of utility.sleep 2015-05-04 14:27:40 -07:00
Samuel Just
015ed70f8a suites/rados: add test for 11429
This patch also adds some convenience facilities for making
some of the ceph_manager methods into tasks usable from a
yaml file.

Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-04 11:53:54 -07:00
Sage Weil
a14a951640 git.ceph.com
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-16 09:05:30 -07:00
Sage Weil
b6184a3924 Merge pull request #388 from athanatos/wip-wrongly
rados_python: whitelist wrongly marked me down
2015-03-31 10:06:41 -07:00
Sage Weil
5381115be3 Merge pull request #387 from athanatos/wip-scrub-repair-test
(scrub|rados)_test: tolerate best guess digest errors as well
2015-03-31 10:06:10 -07:00
Samuel Just
90393886fc rados_python: whitelist wrongly marked me down
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 13:47:05 -07:00
Samuel Just
9175f88943 (scrub|rados)_test: tolerate best guess digest errors as well
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 08:28:23 -07:00
Samuel Just
4d8bc2127f rados/thrash*: make scrubs happen a lot
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 08:21:11 -07:00
Samuel Just
e9d713b751 msgr: move async msgr tests to singleton-nomsgr
Introduced: e92d2e4ca0
Fixes: 10918
Signed-off-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-26 14:33:25 -08:00
Sage Weil
9c67bded62 Merge pull request #274 from ceph/wip-promote
rados/thrash: add readproxy facet
2015-02-23 21:02:07 -08:00
Sage Weil
508270be76 Merge pull request #313 from armaseg/master
teuthology: some suites still use http://ceph.newdream.net
2015-02-23 21:01:45 -08:00
Samuel Just
e454132413 Merge pull request #319 from athanatos/wip-min-size
Wip min size

Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-02 09:22:51 -08:00
Haomai Wang
70db664461 Merge pull request #304 from yuyuyu101/add-msgr-test
rados: include msgr tests
2015-02-02 18:26:49 +08:00
Samuel Just
7e8dccc9d4 rados/thrash: add short_pg_log variant to encourage backfill
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-01-30 12:27:01 -08:00
Samuel Just
ee3174db17 rados: add size/min_size combinations to rados/thrash
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-01-27 20:54:01 -08:00
Sage Weil
61cecdbcf2 Merge pull request #312 from ceph/wip-prio-hb-pkts
exercise osd heartbeat prioritization
2015-01-27 12:57:03 -08:00
Sage Weil
a76f5ce01b Merge pull request #296 from majianpeng/master
rados.py: Add write_fadvise_dontneed field
2015-01-27 12:56:31 -08:00
Sage Weil
4c22dac311 Merge pull request #302 from ceph/wip-crush-tunables
ceph: set crush tunables
2015-01-27 11:26:10 -08:00
Sage Weil
c4fea8c867 rados: exercise a few different crush tunable profiles
Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-27 11:25:12 -08:00
Sage Weil
3e540b2f1f rados/singleton: test interrupted pg removal
Inject osd failure during pg removal.  Verify the OSD successfully
recovers.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-23 15:43:01 -08:00
Armando Segnini
9ace238e87 teuthology: some suites still use http://ceph.newdream.net
This probably redirects to http://ceph.com but ceph.newdream.net still appears in some places

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

Signed-off-by: Armando Segnini  <armando.segnini@telecom-bretagne.eu>
2015-01-23 11:13:11 +01:00
Sage Weil
3c339d4a26 suites/rados: exercise heartbeat prioritization
Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-21 14:13:24 -08:00
Haomai Wang
e92d2e4ca0 rados: include msgr tests
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-01-21 01:05:39 +08:00
Jianpeng Ma
2e5dcf2a66 test: add write_fadvise_dontneed.yaml to test write_fadvise_dontneed.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-01-14 13:34:25 +08:00
Sage Weil
ecd9de4df6 rados/thrash: add readproxy facet
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-20 07:14:52 -08:00
Sage Weil
cec763bc71 rados/singleton: debug watch-notify test
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 15:33:57 -08:00
Sage Weil
95e6578518 rados/thrash: enable client debug for api tests
These will help catch watch/notify issues...

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-18 06:41:18 -08:00
David Zafman
c59af44460 Merge pull request #244 from dachary/wip-objectstore-tool
add erasure coded pool tests to objectstore tool

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 15:40:54 -08:00
Loic Dachary
f9367ae3c7 ceph_objectstore_tool: tests only needs 1 machine
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Sage Weil
219b72b6fd ms die on skipped message = false for all krbd, kclient tasks
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 21:12:48 -08:00
David Zafman
0bbe98367f Add scrub_test and repair_test to rados basic suite
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-11-06 22:23:34 -08:00
Loic Dachary
16e564ec8d erasure-code: isa plugin thrashods suite
Add the distros directory which enumerates the os_type and
os_version on which the suite is to run.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-04 00:44:39 +02:00
Loic Dachary
9d2cc2fd2c erasure-code: add thrash-erasure-code to suites/rados
Because it needs the thrasher to have min_in: 4 otherewise k=3,m=1 will
block.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-03 11:59:52 +02:00
Loic Dachary
55e5160d96 erasure-code: fix bugous ec-rados-default.yaml in some suites
The ec-rados-default.yaml was linked to suites as if it was a task
although it is a workload intended for parallel upgrade tests.

The ec-rados-plugin=jerasure-k=2-m=1.yaml task is defined and used
instead, where relevant.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-21 18:58:43 +02:00
Samuel Just
f6582f8961 tasks: add watch_notify_same_primary
Reproduces: #9220
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-09-09 15:31:13 -07:00
Samuel Just
79989de8b0 Merge pull request #112 from ceph/wip-8231-forreview
Wip 8231 forreview

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-09-02 13:43:38 -07:00
Loic Dachary
a624d44566 erasure-code: do not schedule isa workloads just yet
they should be selectively activated, depending the isa plugin availability

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-31 10:47:27 +02:00
David Zafman
9ade22dd34 ceph_objectstore_tool: Add task for testing of tool of the same name
Based on ceph/src/test/ceph_objectstore_tool.py but only does
replicated pool testing and doesn't test argument validation.

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-08-30 16:20:22 -07:00
Loic Dachary
378113cc89 erasure-code: do not schedule lrc workloads just yet
testing after renaming is in progress

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-30 18:31:50 +02:00
Loic Dachary
5d2a33d6da erasure-code: add various erasure-code workloads
The erasure-code directory is populated with files describing rados
workloads suitable to test the default erasure code plugins. They are
linked to the rados suite. The pre-existing rados workloads from the
rados suite are replaced with those. Two workloads only differed by the
fact that one of them had less operations than the other. The more
complete set of operations is kept and used for all workloads to
maximize coverage.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-30 11:17:56 +02:00
Loic Dachary
31df59f229 erasure-code: add jerasure k=3 m=1 workload
It validates that http://tracker.ceph.com/issues/9209 is fixed.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-25 19:07:39 +02:00
Sage Weil
4f9f023c74 rest-api tests: enable debugging
Hoping to catch #9058

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-14 17:41:05 -07:00