Commit Graph

4147 Commits

Author SHA1 Message Date
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
Greg Farnum
8d2715eb45 mds_scrub_checks: only direct ops at the active MDS
Change the config option from mds_id to mds_rank to reflect the
fact that it's the rank we want to make use of (and will continue
to want when we're doing stuff like force exporting from one rank
to another).

Fixes: #10361

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-27 11:17:04 -08:00
Josh Durgin
333b4445df Merge remote-tracking branch 'origin/next' 2015-01-27 09:37:19 -08:00
Josh Durgin
69575263a3 Merge pull request #315 from ceph/wip-10577
Added "branch: dumpling" to fix #10577

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-01-26 16:09:33 -08:00
Yuri Weinstein
d261e324a8 Added "branch: dumpling" to fix #10577
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-01-26 16:00:46 -08:00
Sage Weil
9e9d7c91eb ceph: set crush tunables
Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-26 13:42:56 -08:00
Zack Cerza
695f6c22f0 Merge pull request #314 from ceph/wip-wait-for-failure
ceph: test pg removal interruption; add ceph daemon failur einjection support
2015-01-26 12:26:14 -07:00
Josh Durgin
f2224b9af5 suites/rbd: add copy-on-read tests
Add as a facet of librbd tests, since they all use cloning, and to a
couple tests with thrashing.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-01-23 22:42:18 -08:00
Josh Durgin
87478973f4 suites/rbd: split qemu and librbd tests
qemu tests take a long time. We'll want to test more combinations of
options with librbd directly.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-01-23 22:42:18 -08:00
Josh Durgin
f6145a388c suites/rbd: Add rbd api tests with exclusive locking features
Keep testing the old, non-default features in a renamed yaml file.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-01-23 22:42:18 -08:00
Gregory Farnum
7e5619dc2c Merge pull request #303 from ceph/wip-10388
tasks/mds_flush: use new stray/purge perfcounters

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-01-23 17:10:06 -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
Greg Farnum
41a99f58cc mds_flush: fix the flush test output expectations
Fixes: #10620

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-23 15:24:02 -08:00
Sage Weil
cb74060cd4 ceph: no need to stop() before restart()
restart() will stop if the daemon is running.  This will get rid of the
spurious error

2015-01-23 15:19:36,828.828 ERROR:tasks.ceph.osd.0:tried to stop a non-running daemon

when the daemon isn't already running.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-23 15:21:31 -08:00
Sage Weil
83dd3d58a1 ceph: add wait_for_failure command
Expect and then ignore a daemon failure.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-01-23 15:20:50 -08:00
Greg Farnum
c234887f7b samba: run only on ubuntu until #10627 is resolved
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 1dcff968a4)
2015-01-23 14:50:27 -08:00
Greg Farnum
1dcff968a4 samba: run only on ubuntu until #10627 is resolved
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-23 14:49:53 -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
Samuel Just
ddfbe40f19 Merge pull request #277 from ceph/wip-9780-9781
ceph-objectstore-tool import/export and related fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-01-21 16:51:28 -08: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
David Zafman
e5876126a9 Formatting changes 2015-01-21 09:08:44 -08:00
David Zafman
14e27650a6 Fix wrapped line 2015-01-21 09:08:44 -08:00
David Zafman
bff2358373 Fix objectstore name changed to keyvaluestore
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
David Zafman
b239dadc02 ceph_manager: Fix Thrasher kill_osd() to ignore pool going away
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
David Zafman
4eda2967a4 ceph_manager: Thrasher fixes to run() calls to set check_status = False
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
David Zafman
e0b0d41e4c ceph_manager: Re-enable Thrasher ceph-objectstore-tool testing
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
David Zafman
4a195c78c1 ceph_manager: In Thrasher randomly remove past intervals
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
David Zafman
f9e088fcbc ceph_manager: In Thrasher disable ceph_objectstore_tool tests if old release missing command
Require ceph-objectstore-tool to be available on all OSD nodes
Log a message when tool is not available

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-01-21 09:08:44 -08:00
Gregory Farnum
4761c2c094 Merge pull request #308 from ceph/wip-10579
suites/fs: isolate quota task

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-01-21 07:08:45 -08:00
John Spray
82159315b6 suites/fs: isolate quota task
Quota script is moved out of fs/misc so that kclient
doesn't try to run it.  Update cfuse suite to find
the new location, and only enable quota for this
one script rather than enabling across
all misc tests.

Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-21 14:39:47 +00:00
Haomai Wang
e92d2e4ca0 rados: include msgr tests
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-01-21 01:05:39 +08:00
John Spray
a6b8e823f4 tasks/mds_flush: use new stray/purge perfcounters
Where previously we only tracked RADOS-level delete
ops during deletion, now also verify that they
correspond to the right number of MDS-level purge
operations.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-19 22:00:53 +00:00
John Spray
1b2ec97256 Merge pull request #285 from ceph/wip-9883
tasks/mds_journal_repair: create new test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-01-19 21:20:11 +00:00
John Spray
2c1cef6b5d tasks/mds_journal_repair: add test_table_tool
Explicit test of the tool's various modes, to
complement the places it's used in other tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-19 19:36:34 +00:00
John Spray
bf13a4e062 tasks/mds_journal_repair: create new test
This tests the new #9883 repair functionality
where we selectively scrape dentries out of
the journal while the MDS is offline.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-19 19:36:34 +00:00
Alfredo Deza
a6bca74722 Merge pull request #298 from ceph/wip-bi-sharding-3
Wip bi sharding 3
2015-01-19 12:17:27 -05:00
Yuri Weinstein
11a8881cd1 Merge pull request #300 from ceph/restore_giant-x_on_master
Restored giant-x suite on master
2015-01-16 14:45:13 -08:00
Yuri Weinstein
19ca3538b4 Merge pull request #301 from ceph/restore_giant-x_on_next
Restore giant x on next
2015-01-16 14:45:00 -08:00
Yuri Weinstein
927a9905b8 Restored giant-x on next
Signed-off-by: Yuri Weinstein <yuriw@magna002.ceph.redhat.com>
2015-01-16 14:48:53 -05:00
Yuri Weinstein
21a4afc24b Restored giant-x suite on master
Signed-off-by: Yuri Weinstein <yuriw@magna002.ceph.redhat.com>
2015-01-16 14:46:16 -05:00
Andrew Schoen
b1d9f602c4 Merge pull request #288 from dmick/master
Tweaks to calamari-setup
2015-01-15 16:01:30 -06:00
Yehuda Sadeh
3d420ff1dd radosgw_admin: don't use boto for testing 301 responses
boto follows up on the redirects. Switched to using httplib2 for sending
this request.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-01-14 15:10:23 -08:00
Yehuda Sadeh
adc9bdae34 rgw: set default region and zone to all clients
Otherwise it's going to use zone 'default' for client.0, not as expected. Also
add region configuration to task.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-01-14 14:38:55 -08:00
Loic Dachary
74bef7f488 Merge pull request #291 from dachary/wip-10018-scrub
add erasure code repair / scrub tests (take 2)

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-01-14 09:29:19 +01: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
Jianpeng Ma
717dffe7c2 rados.py: Add write_fadvise_dontneed field
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-01-14 11:36:25 +08:00
Loic Dachary
e580eca3e3 repair_test: hinfo_key error injection
Add a function dedicated to erasure coded pools tests, similar to
repair_test_1. Add a corrupter that removes the hinfo_key from the object.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-01-13 12:31:15 -08:00
Loic Dachary
ae68658339 ceph_manager: add ceph-objectstore-tool wrapper
Add the CephManager.objectstore_tool method to encapsulate a call to
ceph-objectstore-tool. The wrapper can convert an object name into the
PG id and figure out the primary OSD. The designated OSD is stopped
before running the command and restarted afterwards.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-01-13 12:31:15 -08:00