Commit Graph

3600 Commits

Author SHA1 Message Date
John Spray
8f49a7d86a tasks: wait for active after mds restart
May have been causing spurious failures on
trying to read session state after MDS restart (
session list isn't populated until recovery is
complete)

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-25 11:28:53 +01:00
Yuri Weinstein
9adf7ec0ab Merge pull request #147 from dachary/wip-ec-feature-plugin-v2-giant
erasure-code: assert that firefly-x/stress-split cannot load lrc
2014-09-24 16:47:07 -07:00
Loic Dachary
67ca844104 erasure-code: assert that firefly-x/stress-split cannot load lrc
Because it would crash existing plugins.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit d6f02d6048)
2014-09-25 01:30:24 +02:00
tamil
f466267949 added workload tag
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-09-23 10:31:51 -07:00
Gregory Farnum
e1af168baa Merge pull request #142 from ceph/wip-9284
Tests for #9284, FUSE client capability handling

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-23 22:30:59 -07:00
Sage Weil
ec4291f84b Merge pull request #146 from dachary/wip-9298-rgw-ec-starvation-giant
rgw: increase the number of OSDs for erasure coded pools
2014-09-23 16:30:28 -07:00
Loic Dachary
e36c888c4d rgw: increase the number of OSDs for erasure coded pools
So that there never is less than 4 osd which is the minimum when trying
erasure coded workloads that only work with 4 osd.

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

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-24 00:47:32 +02:00
John Spray
9b1c3fe252 suites: enable mds_client_limits test
Requires same cluster etc as 'recovery', though
we could now do with better name than that.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:16:14 +01:00
John Spray
d9ec7f2f7a tasks: wait for mds active before mounting clients
To make the logs clearer when trying to work out
if/when something went wrong, rather than always
having client logs start with some failures.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:16:14 +01:00
John Spray
3e07bd1aaa tasks: rename FuseMount.get_client_id to get_global_id
'client_id' was ambiguous because in other places it
meant the '0' in client.0, whereas here it means
the runtime-generated global ID of the client.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:16:13 +01:00
John Spray
7274289542 tasks: add mds_client_limits
New CephFS tests for the behaviour of the system while
enforcing its resource limits.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:15:41 +01:00
John Spray
d777d7123b tasks: generalise CephFSTestCase
Some of this stuff could be even more general for embedding
unittest-style suites, but for the moment let's keep the cephfs
stuff in a walled garden.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:13:53 +01:00
John Spray
6f36269d24 tasks: generalize config writing for Filesystem
Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-19 14:13:51 +01:00
Yuri Weinstein
1af3281b03 Update giant.yaml
fixed typos(cherry picked from commit 1f950d2bf4)
2014-09-18 15:41:36 -07:00
Yuri Weinstein
a06d674771 Update giant.yaml(cherry picked from commit 90b6eec23f) 2014-09-18 15:41:36 -07:00
Yuri Weinstein
5fc0414499 Update giant.yaml
Added comments(cherry picked from commit 3dd1314c6fa70fefc4ea8c65c33bac1ad3ba267a)
2014-09-18 15:41:36 -07:00
Warren Usui
84a63faa4d Create dumpling-giant-x stress-split upgrade suite
Fixes: 9357
Signed-off-by: Warren Usui <warren.usui@inktank.com>
(cherry picked from commit c729372aaae82b8fb0a31a42f24d96924078282f)
2014-09-18 15:41:35 -07:00
Yuri Weinstein
403a859506 Update giant.yaml(cherry picked from commit 35b3f4617c) 2014-09-18 15:41:35 -07:00
Josh Durgin
1140e18d7e dumpling-giant-x: use giant version of workunits
The firefly version of test_librbd_python at least does
not work on giant.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit 8755466c4b)
2014-09-18 15:41:35 -07:00
Gregory Farnum
278f4dc77a Merge pull request #143 from ceph/wip-migration-test
tasks: more substantial IO for journal migration

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-09-18 15:03:35 -07:00
Greg Farnum
d1f9f102d2 suites: turn on debugging for smoke cfuse pjd test
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-09-17 15:05:26 -07:00
John Spray
7d086403d4 tasks: escaping '*' when deleting files
Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-17 13:37:08 +01:00
John Spray
366ee00554 tasks: more substantial IO for journal migration
...so that there will at least be multiple segments
in the log during the rewrite.

Also make the test stricter by checking that
cephfs-journal-tool can happily read the resulting
journal.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-16 15:14:54 +01:00
John Spray
09beb4c7c6 Merge pull request #141 from ceph/wip-9423
Fix #9423 - race in mds_client_recovery
2014-09-15 18:13:14 +01:00
John Spray
b1365a8098 Merge pull request #140 from ceph/wip-9177
suites/fs: update to latest mdtest
2014-09-15 17:21:22 +01:00
John Spray
bda325b33b suites/fs: update to latest mdtest
They appear to have (accidentally?) fixed whatever
was crashing.

Fixes: #9177

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-15 16:03:48 +01:00
John Spray
1d9101cf31 tasks: fix race in test_stale_caps
Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-15 14:32:20 +01:00
John Spray
4daf2ddc39 tasks: typo in mds_client_recovery
Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-15 13:44:27 +01:00
John Spray
bc257677de tasks: handle failure cleanly in test_stale_caps
Previously would fail because the cap waiter
completed too soon, without noticing that the
reason it completed quickly was because it failed.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-15 13:44:27 +01:00
Warren Usui
06fca35e2e Merge pull request #119 from ceph/wip_9352
Wip 9352
2014-09-04 21:23:41 -07:00
Zack Cerza
5864369aab Merge pull request #118 from dachary/wip-more-osds
add osds to firefly-x upgrade suite
2014-09-04 16:21:14 -06:00
Yuri Weinstein
80242da4a8 Updated README
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-09-04 14:32:01 -07:00
Yuri Weinstein
8c43f47515 First draft for a new suite dumpling-giant-x
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-09-04 14:24:06 -07:00
tamil
c0650cf943 added a test to use single disk for both data and journal.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-09-02 23:48:34 -07:00
tamil
1749ba912a added dmcrypt and separate_journal_disk options
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-09-02 23:42:34 -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
John Spray
bbf569de74 tasks: fix mount race in mds_client_recovery
Signed-off-by: John Spray <john.spray@redhat.com>
2014-09-01 16:38:25 +01:00
Loic Dachary
8a2a19e97e Merge pull request #117 from dachary/wip-erasure-code-workloads
erasure-code: do not schedule isa workloads just yet
2014-08-31 14:48:05 +02:00
Loic Dachary
1052f5cc1c add osds to firefly-x upgrade suite
so that the lrc plugin has enough to work with

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-31 13:30:24 +02: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
05eee9fa79 ceph_manager: Add test code to use export/import to move a pg
Check for more than 1 osd down and randomize on chance_move_pg (100%)
For now only export from older down osd to newly down osd to avoid missing map

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-08-30 16:20:22 -07:00
David Zafman
0cdf6e813d ceph_manager: Implement export/import when thrasher kills an osd
Use list-pgs to avoid races by seeing actual pgs present

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-08-30 16:20:22 -07: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
Yuri Weinstein
9825d85965 Merge pull request #115 from dachary/wip-erasure-code-workloads
erasure-code: do not schedule lrc workloads just yet
2014-08-30 09:45:16 -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
Yuri Weinstein
4167ed2a05 Merge pull request #114 from dachary/wip-erasure-code-workloads
DNM: erasure-code: add various erasure-code workloads
2014-08-30 09:06:36 -07:00
Loic Dachary
a019c84f47 erasure-code: add to suites/upgrade/*-x final workloads
And replace the ec-readwrite.yaml custom workloads with links to the
workloads found in the erasure-code directory.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-30 11:18:00 +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
Warren Usui
7dcacc9bd5 Merge pull request #113 from ceph/ceph-deploy-dmcrypt
Added dmcrypt option and ability to choose same or different disk for ce...
2014-08-28 20:09:38 -07:00
tamil
f158594618 added config_options to enable adding ceph config file entries to ceph-deploy task
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-28 18:48:40 -07:00