Commit Graph

3772 Commits

Author SHA1 Message Date
Loic Dachary
d0caf5cdff ceph_objectstore_tool: add pgnum option
Instead of hardcoding 12 use a configuration option that defaults to
12. It is handy during development to lower the number to 4 and speed up
the test cycle.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
c9e6edebd9 ceph_objectstore_tool: encapsulate into a function
Move code out of the task into function. Also remove the "REP" specifics
from helper functions that could also be used for erasure coded pools.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
d591226373 ceph_objectstore_tool: add hinfo_key tests for erasure coded objects
When an hinfo_key attribute is found, assume an erasure coded object and
verify set-attr/get-attr works as expected by removing its content and
restoring it.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
9ef8887a3b ceph_objectstore_tool: keep all json object representation
For erasure coded pools to be tested, the json object representation
must be preserved for all PG because they are all different. The
internal representation is changed from

   db[name]["pgid"] = pg
   db[name]["json"] = objjson

to a per pg map:

   db[name].setdefault("pg2json", {})[pg] = objjson

and the rest of the code is modified to adapt accordingly.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01: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
Loic Dachary
b925be13bc ceph_manager: add pool type constants
The osd dump command displays pool types using numerics instead of
symbolic names. Create constants in the CephManager class to use instead
of numbers.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
fd1ec39d38 ceph_manager: fix typo in get_pgid docstring
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
2abb9f9087 ceph_manager: factorize with get_pool_dump
Replace code that duplicates get_osd_dump_json with a call to the
function.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:25 +01:00
Loic Dachary
6dac43fa46 ceph_manager: factorize with get_osd_dump_json
Replace code that duplicates get_osd_dump_json with a call to the
function.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-20 22:38:17 +01:00
Loic Dachary
5fc42b98ab ceph_manager: add get_pool_dump to return the json pool dump
Get the part of ceph osd dump specific to the pool given in argument.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-19 23:19:13 +01:00
Loic Dachary
f353c150a8 ceph_manager: add get_osd_dump_json to get the full output
Converts ceph osd dump_json into a python object.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-19 23:19:13 +01:00
Sage Weil
c58af9f26b fs/basic/tasks/cfuse_workunit_misc: timeout at 6h
The multiple_rsync can take a while.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 06:58:22 -08:00
Sage Weil
0a88b34ba3 fs/multiclient: force mpi tests onto trusty
This will ensure we have a matching version of MPI.

Signed-off-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2014-11-12 11:06:25 -08:00
Loic Dachary
e2d6ce7e9d Merge pull request #234 from ceph/wip-dzaddscrub
Add scrub_test and repair_test to rados basic suite

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-11 03:42:33 +01:00
Sage Weil
f790691921 smoke/basic/tasks/libcephfs_interface_tests.yaml: debug client
Hopefully we can catch #9864

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-10 08:27:22 -08:00
Sage Weil
36055e143c Merge remote-tracking branch 'gh/next' 2014-11-09 20:48:45 -08:00
Sage Weil
5f19ef7116 tasks/radosbench: no log to stderr
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-09 20:48:35 -08:00
Gregory Farnum
e8cd3f10d6 Merge pull request #221 from ceph/wip-forward-scrub
Wip forward scrub

Reviewed-by: John Spray <john.spray@redhat.com>
2014-11-07 16:16:38 -08:00
Greg Farnum
6c26c073de mds_scrub_checks: Run scrub and flush commands against the MDS.
We mostly do a variety of successful ones, but we also corrupt the store
using the rados tool and make sure we get the expected error codes. Includes
a yaml fragment so the task gets run as part of the fs/basic suite.

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-11-07 13:06:13 -08:00
John Spray
de71edaaf7 Merge pull request #228 from ceph/wip-9995
tasks/cephfs/mount: use seperate for testing flock and posix lock

Reviewed-by: John Spray <john.spray@redhat.com>
2014-11-07 10:34:21 +00:00
David Zafman
74e776139b repair_test: Wait for OSDs to come up before proceeding with test
Signed-off-by: David Zafman <dzafman@redhat.com>
2014-11-06 22:23:34 -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
Yan, Zheng
edb780a3c5 tasks/cephfs/mount: use seperate for testing flock and posix lock
Old version libfuse treats both flock and posix lock requests as posix
lock request. This is a workaround for the bug.

Fixes: #9995
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-11-07 09:07:27 +08:00
Sage Weil
8a18d8baaf Merge remote-tracking branch 'gh/giant' into m
Conflicts:
	tasks/ceph_manager.py
2014-10-29 14:31:26 -07:00
Sage Weil
1c329a4d82 upgrade/dumpling-firefly-x: sync iwth giant 2014-10-29 14:30:43 -07:00
Sage Weil
4c90d9dbb7 upgrade/firefly-x: sync with giant 2014-10-29 14:30:33 -07:00
Zack Cerza
22ec49c22d Merge pull request #223 from ceph/wip-9672
Added timeout: 6h to one more workunit
2014-10-29 10:04:02 -06:00
Yuri Weinstein
71d92c6d79 Added timeout: 6h to one more workunit
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-10-29 08:56:31 -07:00
Sage Weil
790d3df3db Merge pull request #211 from ceph/wip-apache-worker
apache: switch to use the apache worker mpm

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-23 17:12:01 -07:00
Yehuda Sadeh
dd6194f637 Merge branch 'wip-apache-worker' 2014-10-23 16:05:44 -07:00
Yehuda Sadeh
c3b53c3265 apache: switch to use the apache worker mpm
Fixes: #9169

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-23 16:05:03 -07:00
Yehuda Sadeh
35c9cae84c apache: change template to load mpm worker module
in apache 2.4

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-23 16:04:58 -07:00
David Zafman
4ddadf0698 Thrasher: Disable ceph_objectstore_tool tests if old release missing command
Leaving disabled until merge of import/export fixes

Fixes: #9805

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-22 23:30:29 -07:00
Yehuda Sadeh
3db4d6f93b apache: change template to load mpm worker module
in apache 2.4

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-22 15:12:56 -07:00
Yehuda Sadeh
f660adab58 apache: switch to use the apache worker mpm
Fixes: #9169

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-22 15:12:56 -07:00
David Zafman
523cb63b5f ceph_manager: ceph_objectstore_tool testing off by default
Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-22 10:32:46 -07:00
Zack Cerza
1b8d31986a Smarter s3tests branch selection
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-22 09:12:43 -06:00
Loic Dachary
0d1f88593d Merge pull request #165 from dachary/wip-erasure-code-isa
erasure-code: isa plugin thrashods suite

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-21 14:01:01 -07:00
Sage Weil
ecfcb2e04c Merge pull request #189 from ceph/wip-apache-max-requests
apache: set MaxRequestsPerChild to 0
2014-10-21 10:57:29 -07:00
Sage Weil
148c944047 Merge pull request #199 from ceph/wip-rgw-ec-slow-backend
rgw: mark ec related rgw suites as slow backend
2014-10-21 10:57:17 -07:00
Yuri Weinstein
dc72410ee0 Merge pull request #201 from dachary/wip-9841-no-lrc
erasure-code: enclose no-lrc in a task
2014-10-21 08:04:46 -07:00
Loic Dachary
98ef86a202 erasure-code: enclose no-lrc in a task
http://tracker.ceph.com/issues/9841 Fixes: #9841

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-20 21:13:08 -07:00
Yehuda Sadeh
85221bc325 rgw: mark ec related rgw suites as slow backend
We want to avoid tests that time out due to a too slow backend.

Reviwed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-20 14:50:48 -07:00
Yehuda Sadeh
263805d9a8 rgw: mark ec related rgw suites as slow backend
We want to avoid tests that time out due to a too slow backend.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-20 13:52:38 -07:00
tamil
54eb13f3e6 s/thrashosds/workload for now in dumpling-firefly-x/stress-split suite
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-10-17 19:21:43 -07:00
tamil
949cfc6107 replace thrashosd with a workload.
avoid running 2 thrashosds in the same job.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-10-17 14:48:45 -07:00
tamil
542f3e409a s/branch:dumpling/
no need for a dumpling workload here.
2014-10-17 09:28:54 -07:00
tamil
ab6c7373ce do not upgrade client when workload is in progress
do not run 2 rgw tasks in a row from the same client

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-10-17 08:13:00 -07:00
tmuthamizhan
7719e3d685 Merge pull request #216 from ceph/wip-cleanup-giant
Cleaned up confusing upgrade-sequence numbering
2014-10-24 09:45:54 -07:00
Yuri Weinstein
676053c408 Cleaned up confusing upgrade-sequence numbering
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-10-24 09:20:13 -07:00