Commit Graph

208 Commits

Author SHA1 Message Date
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
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
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