]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoFix wrapped line
David Zafman [Wed, 14 Jan 2015 22:38:53 +0000 (14:38 -0800)]
Fix wrapped line

10 years agoFix objectstore name changed to keyvaluestore
David Zafman [Thu, 8 Jan 2015 20:02:53 +0000 (12:02 -0800)]
Fix objectstore name changed to keyvaluestore

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Fix Thrasher kill_osd() to ignore pool going away
David Zafman [Mon, 15 Dec 2014 18:06:02 +0000 (10:06 -0800)]
ceph_manager: Fix Thrasher kill_osd() to ignore pool going away

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Thrasher fixes to run() calls to set check_status = False
David Zafman [Mon, 12 Jan 2015 23:29:31 +0000 (15:29 -0800)]
ceph_manager: Thrasher fixes to run() calls to set check_status = False

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Re-enable Thrasher ceph-objectstore-tool testing
David Zafman [Fri, 24 Oct 2014 03:28:28 +0000 (20:28 -0700)]
ceph_manager: Re-enable Thrasher ceph-objectstore-tool testing

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: In Thrasher randomly remove past intervals
David Zafman [Mon, 20 Oct 2014 22:03:54 +0000 (15:03 -0700)]
ceph_manager: In Thrasher randomly remove past intervals

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: In Thrasher disable ceph_objectstore_tool tests if old release missing...
David Zafman [Thu, 23 Oct 2014 17:45:09 +0000 (10:45 -0700)]
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>
10 years agoMerge pull request #308 from ceph/wip-10579
Gregory Farnum [Wed, 21 Jan 2015 15:08:45 +0000 (07:08 -0800)]
Merge pull request #308 from ceph/wip-10579

suites/fs: isolate quota task

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agosuites/fs: isolate quota task
John Spray [Wed, 21 Jan 2015 14:39:47 +0000 (14:39 +0000)]
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>
10 years agoMerge pull request #285 from ceph/wip-9883
John Spray [Mon, 19 Jan 2015 21:20:11 +0000 (21:20 +0000)]
Merge pull request #285 from ceph/wip-9883

tasks/mds_journal_repair: create new test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agotasks/mds_journal_repair: add test_table_tool
John Spray [Wed, 14 Jan 2015 13:09:51 +0000 (13:09 +0000)]
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>
10 years agotasks/mds_journal_repair: create new test
John Spray [Fri, 19 Dec 2014 13:49:07 +0000 (13:49 +0000)]
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>
10 years agoMerge pull request #300 from ceph/restore_giant-x_on_master
Yuri Weinstein [Fri, 16 Jan 2015 22:45:13 +0000 (14:45 -0800)]
Merge pull request #300 from ceph/restore_giant-x_on_master

Restored giant-x suite on master

10 years agoRestored giant-x suite on master
Yuri Weinstein [Fri, 16 Jan 2015 19:46:16 +0000 (14:46 -0500)]
Restored giant-x suite on master

Signed-off-by: Yuri Weinstein <yuriw@magna002.ceph.redhat.com>
10 years agoMerge pull request #288 from dmick/master
Andrew Schoen [Thu, 15 Jan 2015 22:01:30 +0000 (16:01 -0600)]
Merge pull request #288 from dmick/master

Tweaks to calamari-setup

10 years agoMerge pull request #291 from dachary/wip-10018-scrub
Loic Dachary [Wed, 14 Jan 2015 08:29:19 +0000 (09:29 +0100)]
Merge pull request #291 from dachary/wip-10018-scrub

add erasure code repair / scrub tests (take 2)

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agorepair_test: hinfo_key error injection
Loic Dachary [Fri, 21 Nov 2014 15:43:29 +0000 (16:43 +0100)]
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>
10 years agoceph_manager: add ceph-objectstore-tool wrapper
Loic Dachary [Fri, 21 Nov 2014 15:38:54 +0000 (16:38 +0100)]
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>
10 years agoceph_manager: add object helpers
Loic Dachary [Fri, 21 Nov 2014 15:36:59 +0000 (16:36 +0100)]
ceph_manager: add object helpers

Add CephManager.methods to get information regarding the pools and PGs
used to store a given object.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agorepair_test: rework indentation to make it pep8 clean
Loic Dachary [Fri, 21 Nov 2014 14:52:25 +0000 (15:52 +0100)]
repair_test: rework indentation to make it pep8 clean

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agorepair_test: rework to remove levels of indirection
Loic Dachary [Fri, 21 Nov 2014 15:13:26 +0000 (16:13 +0100)]
repair_test: rework to remove levels of indirection

The commit is large but does not introduce any semantic change and
consists primarily in code moving around, re-indented and removed.

Replace functions generating functions by functions and sequentially
iterating over a list of functions with a sequential call to the
functions.

Replace the setup/teardown with an equivalent using a with
statement and the ceph_manager.pool method.

Replace inline code with a call to ceph_manager.wait_for_all_up

It makes it easier to modify the tests, for instance to create erasure
coded pools and tests specific to them.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: rework indentation to make it pep8 clean
Loic Dachary [Fri, 21 Nov 2014 14:58:27 +0000 (15:58 +0100)]
ceph_manager: rework indentation to make it pep8 clean

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: fix docstring typo
Loic Dachary [Thu, 20 Nov 2014 12:55:18 +0000 (13:55 +0100)]
ceph_manager: fix docstring typo

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: define pool context
Loic Dachary [Thu, 20 Nov 2014 12:54:11 +0000 (13:54 +0100)]
ceph_manager: define pool context

To create a pool before running a code bloc and remove it after.

   with manager.pool("mypool"):
        mytest..

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #290 from ceph/revert-250-wip-10018-scrub
David Zafman [Tue, 13 Jan 2015 19:14:14 +0000 (11:14 -0800)]
Merge pull request #290 from ceph/revert-250-wip-10018-scrub

Revert "add erasure code repair / scrub tests"

10 years agoRevert "add erasure code repair / scrub tests"
David Zafman [Tue, 13 Jan 2015 19:12:25 +0000 (11:12 -0800)]
Revert "add erasure code repair / scrub tests"

10 years agoMerge pull request #286 from ceph/wip-10261-wusui
Warren Usui [Tue, 13 Jan 2015 18:57:31 +0000 (10:57 -0800)]
Merge pull request #286 from ceph/wip-10261-wusui

Calamari_setup now allows > 1 mon.

10 years agoMerge pull request #250 from dachary/wip-10018-scrub
Loic Dachary [Tue, 13 Jan 2015 18:44:22 +0000 (19:44 +0100)]
Merge pull request #250 from dachary/wip-10018-scrub

add erasure code repair / scrub tests

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agorepair_test: hinfo_key error injection
Loic Dachary [Fri, 21 Nov 2014 15:43:29 +0000 (16:43 +0100)]
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>
10 years agoceph_manager: add ceph-objectstore-tool wrapper
Loic Dachary [Fri, 21 Nov 2014 15:38:54 +0000 (16:38 +0100)]
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>
10 years agoceph_manager: add object helpers
Loic Dachary [Fri, 21 Nov 2014 15:36:59 +0000 (16:36 +0100)]
ceph_manager: add object helpers

Add CephManager.methods to get information regarding the pools and PGs
used to store a given object.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agorepair_test: rework indentation to make it pep8 clean
Loic Dachary [Fri, 21 Nov 2014 14:52:25 +0000 (15:52 +0100)]
repair_test: rework indentation to make it pep8 clean

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agorepair_test: rework to remove levels of indirection
Loic Dachary [Fri, 21 Nov 2014 15:13:26 +0000 (16:13 +0100)]
repair_test: rework to remove levels of indirection

The commit is large but does not introduce any semantic change and
consists primarily in code moving around, re-indented and removed.

Replace functions generating functions by functions and sequentially
iterating over a list of functions with a sequential call to the
functions.

Replace the setup/teardown with an equivalent using a with
statement and the ceph_manager.pool method.

Replace inline code with a call to ceph_manager.wait_for_all_up

It makes it easier to modify the tests, for instance to create erasure
coded pools and tests specific to them.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: rework indentation to make it pep8 clean
Loic Dachary [Fri, 21 Nov 2014 14:58:27 +0000 (15:58 +0100)]
ceph_manager: rework indentation to make it pep8 clean

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: fix docstring typo
Loic Dachary [Thu, 20 Nov 2014 12:55:18 +0000 (13:55 +0100)]
ceph_manager: fix docstring typo

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_manager: define pool context
Loic Dachary [Thu, 20 Nov 2014 12:54:11 +0000 (13:54 +0100)]
ceph_manager: define pool context

To create a pool before running a code bloc and remove it after.

   with manager.pool("mypool"):
        mytest..

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoFix objectstore name changed to keyvaluestore
David Zafman [Thu, 8 Jan 2015 20:02:53 +0000 (12:02 -0800)]
Fix objectstore name changed to keyvaluestore

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Fix Thrasher kill_osd() to ignore pool going away
David Zafman [Mon, 15 Dec 2014 18:06:02 +0000 (10:06 -0800)]
ceph_manager: Fix Thrasher kill_osd() to ignore pool going away

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Thrasher fixes to run() calls to set check_status = False
David Zafman [Fri, 24 Oct 2014 04:49:03 +0000 (21:49 -0700)]
ceph_manager: Thrasher fixes to run() calls to set check_status = False

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: Re-enable Thrasher ceph-objectstore-tool testing
David Zafman [Fri, 24 Oct 2014 03:28:28 +0000 (20:28 -0700)]
ceph_manager: Re-enable Thrasher ceph-objectstore-tool testing

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: In Thrasher randomly remove past intervals
David Zafman [Mon, 20 Oct 2014 22:03:54 +0000 (15:03 -0700)]
ceph_manager: In Thrasher randomly remove past intervals

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoceph_manager: In Thrasher disable ceph_objectstore_tool tests if old release missing...
David Zafman [Thu, 23 Oct 2014 17:45:09 +0000 (10:45 -0700)]
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>
10 years agotasks/calamari_setup: build ice-tools virtualenv if building iceball
Dan Mick [Tue, 13 Jan 2015 03:42:19 +0000 (19:42 -0800)]
tasks/calamari_setup: build ice-tools virtualenv if building iceball

ice-tools needs a virtualenv populated to properly run to build
an iceball; add the commands to do that.  Also remove the built
iceball when the task exits.

Fixes: #10523
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agotasks/calamari_setup: remove HTTP-downloaded iceball, if any
Dan Mick [Tue, 13 Jan 2015 00:36:53 +0000 (16:36 -0800)]
tasks/calamari_setup: remove HTTP-downloaded iceball, if any

Fixes: #10522
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agotasks/calamari_setup: use ice_version to completely specify iceball
Dan Mick [Tue, 13 Jan 2015 00:36:14 +0000 (16:36 -0800)]
tasks/calamari_setup: use ice_version to completely specify iceball

Previously, the task would search for the lexicographically-greatest
filename matching ICE-*.tar.gz; now it builds a specific name
ICE-{ice_version}-{ice_distro}.tar.gz

Fixes: #10521
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agofs: enable client quota on cfuse_workunit_misc
Greg Farnum [Mon, 12 Jan 2015 19:22:06 +0000 (11:22 -0800)]
fs: enable client quota on cfuse_workunit_misc

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoCalamari_setup now allows > 1 mon.
Warren Usui [Sat, 10 Jan 2015 00:10:11 +0000 (16:10 -0800)]
Calamari_setup now allows > 1 mon.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Fixes: #10261
10 years agoMerge pull request #279 from ceph/wip-cephfs-cleanup
John Spray [Fri, 9 Jan 2015 14:42:42 +0000 (14:42 +0000)]
Merge pull request #279 from ceph/wip-cephfs-cleanup

Assorted cleanup in the CephFS tests

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agotasks/mds_auto_repair: remove unneeded log settings
John Spray [Thu, 18 Dec 2014 19:39:44 +0000 (19:39 +0000)]
tasks/mds_auto_repair: remove unneeded log settings

The small segments and small segment limit
were used when doing a hacky flush by doing
IO and waiting: now that we have the explicit
'flush journal' asok in use, we can just use
a normal journal configuration.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: remove `config` from Filesystem cons
John Spray [Tue, 23 Dec 2014 16:11:12 +0000 (16:11 +0000)]
tasks/cephfs: remove `config` from Filesystem cons

This was only used in get_first_mon, which doesn't actually
need the parameter itself.  Makes it easier to casually
use Filesystem from any place with a ctx to hand.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: umount unused clients before running
John Spray [Fri, 19 Dec 2014 14:03:41 +0000 (14:03 +0000)]
tasks/cephfs: umount unused clients before running

When unused clients were mounted during an fs new,
they would end up in a state where they stalled
on subsequent attempts to umount them (ceph-fuse
stalls on exit if it can't terminate its mds_session)

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: move ROOT_INO into filesystem module
John Spray [Fri, 19 Dec 2014 13:44:20 +0000 (13:44 +0000)]
tasks/cephfs: move ROOT_INO into filesystem module

...so that other tests can get at it.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: be more precise in set_clients_block
John Spray [Thu, 18 Dec 2014 19:38:53 +0000 (19:38 +0000)]
tasks/cephfs: be more precise in set_clients_block

Instead of blocking the whole port range (which
might make OSDs running on that node collateral
damage), read the MDS's port out of the MDS map
and just block that.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: use set_conf() from test case class
John Spray [Thu, 18 Dec 2014 18:24:37 +0000 (18:24 +0000)]
tasks/cephfs: use set_conf() from test case class

...because this is the one that will store up
changes to roll back during teardown.

Doing this makes it easy to run lots of test cases
togeher in a single teuthology run, raher than
setting up/tearing down the ceph cluster for each
on.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: move common setUp/tearDown to parent
John Spray [Thu, 18 Dec 2014 13:03:40 +0000 (13:03 +0000)]
tasks/cephfs: move common setUp/tearDown to parent

Now that we have more of these cases, there was lots
of duplication in setup and teardown.  For some tests
the "reset everything" setup/teardown is overkill,
but it's harmless.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: move wait_until helpers to testcase
John Spray [Thu, 18 Dec 2014 12:50:16 +0000 (12:50 +0000)]
tasks/cephfs: move wait_until helpers to testcase

...so that other test cases can use them

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph: update mds auth caps to 'allow *'
John Spray [Thu, 18 Dec 2014 18:29:53 +0000 (18:29 +0000)]
tasks/ceph: update mds auth caps to 'allow *'

Since the new 'tell' for the MDS was introduced,
caps have to have the '*' to permit running remote
administrative commands.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #283 from ceph/issue-10275
Zack Cerza [Thu, 8 Jan 2015 20:32:27 +0000 (13:32 -0700)]
Merge pull request #283 from ceph/issue-10275

Use qemu-kvm in the qemu task for rpm based systems.

10 years agoUse qemu-kvm in the qemu task for rpm based systems.
Andrew Schoen [Mon, 22 Dec 2014 16:51:25 +0000 (10:51 -0600)]
Use qemu-kvm in the qemu task for rpm based systems.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #280 from ceph/wip-10387-cleanup
Gregory Farnum [Thu, 8 Jan 2015 04:05:07 +0000 (20:05 -0800)]
Merge pull request #280 from ceph/wip-10387-cleanup

tasks/mds_flush: remove #10387 workaround

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #282 from ceph/wip-10469
Zack Cerza [Wed, 7 Jan 2015 17:10:28 +0000 (10:10 -0700)]
Merge pull request #282 from ceph/wip-10469

Inherit teuthology's log level

10 years agoInherit teuthology's log level
Zack Cerza [Wed, 7 Jan 2015 16:53:38 +0000 (09:53 -0700)]
Inherit teuthology's log level

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agotasks/mds_flush: remove #10387 workaround
John Spray [Wed, 7 Jan 2015 13:08:30 +0000 (13:08 +0000)]
tasks/mds_flush: remove #10387 workaround

Now that #10387 is fixed in master, we can tighten
up this test to ensure that the expected deletions
are happening.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #278 from ceph/wip-rm-tiobench
Sage Weil [Tue, 6 Jan 2015 16:25:47 +0000 (08:25 -0800)]
Merge pull request #278 from ceph/wip-rm-tiobench

#10152: drop tiobench tests

10 years agodrop tiobench tests
Ken Dreyer [Tue, 6 Jan 2015 15:59:14 +0000 (08:59 -0700)]
drop tiobench tests

The tiobench software has been abandoned upstream for years. Fedora and
Debian are no longer shipping the tiobench package, so we've had to
carry the package ourselves in the Ceph project, and we're trying to
slim down our dependencies where it makes sense to do so.

Nuke the tiobench tests.

http://tracker.ceph.com/issues/10152 Refs: #10152

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoRevert "Move output in task/s3readwrite"
Sage Weil [Mon, 29 Dec 2014 20:39:26 +0000 (12:39 -0800)]
Revert "Move output in task/s3readwrite"

This reverts commit 26a33c3a5aa2aedb52eb5ce140c76503f099b253.

This is tryign to create the archive dir on the remote host:

2014-12-29T12:15:30.213 INFO:teuthology.orchestra.run.plana31:Running: 'mkdir -p /var/lib/teuthworker/archive/sage-2014-12-29_11:40:52-rgw-next---basic-multi/683052'
2014-12-29T12:15:30.231 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/contextutil.py", line 28, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/var/lib/teuthworker/src/ceph-qa-suite_next/tasks/s3readwrite.py", line 241, in run_tests
    ctx.cluster.only(client).run(args=['mkdir', '-p', archive_dir])
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/cluster.py", line 64, in run
    return [remote.run(**kwargs) for remote in remotes]
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 128, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 368, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 106, in wait
    exitstatus=status, node=self.hostname)
CommandFailedError: Command failed on plana31 with status 1: 'mkdir -p /var/lib/teuthworker/archive/sage-2014-12-29_11:40:52-rgw-next---basic-multi/683052'

...but it should only be on the local host.

10 years agoRevert "tasks/ceph_manager: dump raw cluster command at debug level"
Sage Weil [Tue, 23 Dec 2014 20:57:18 +0000 (12:57 -0800)]
Revert "tasks/ceph_manager: dump raw cluster command at debug level"

This reverts commit b0ebeba79cf349b9c5a6e387f8246d7b6d0ef576.

10 years agoMerge pull request #275 from ceph/wip-10404
Zack Cerza [Tue, 23 Dec 2014 18:37:19 +0000 (11:37 -0700)]
Merge pull request #275 from ceph/wip-10404

tasks/ceph_manager: debug raw command output

10 years agotasks/ceph_manager: dump raw cluster command at debug level
Sage Weil [Tue, 23 Dec 2014 18:28:22 +0000 (10:28 -0800)]
tasks/ceph_manager: dump raw cluster command at debug level

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #227 from ceph/wip-9881
Gregory Farnum [Mon, 22 Dec 2014 15:13:55 +0000 (07:13 -0800)]
Merge pull request #227 from ceph/wip-9881

#9881 MDS flush journal test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agosuites/fs: hook in mds_flush
John Spray [Mon, 22 Dec 2014 09:43:37 +0000 (09:43 +0000)]
suites/fs: hook in mds_flush

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: create mds_flush task
John Spray [Mon, 3 Nov 2014 15:38:57 +0000 (15:38 +0000)]
tasks: create mds_flush task

This tests:
 * The new 'flush journal' asok command
 * That the resulting on disk structures are as expected
 * That cephfs-journal-tool is happy with the result

Fixes: #9881
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #270 from ceph/wip-cot-rename
David Zafman [Fri, 19 Dec 2014 00:39:21 +0000 (16:39 -0800)]
Merge pull request #270 from ceph/wip-cot-rename

ceph_objectstore_tool: Changes for rename of binary ceph-objectstore-too...

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #271 from dachary/wip-cot-rename
David Zafman [Fri, 19 Dec 2014 00:08:16 +0000 (16:08 -0800)]
Merge pull request #271 from dachary/wip-cot-rename

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #263 from ceph/wip-calamari-nosetests
Dan Mick [Thu, 18 Dec 2014 23:48:55 +0000 (15:48 -0800)]
Merge pull request #263 from ceph/wip-calamari-nosetests

Add calamari-nosetests task and calamari suite (and remove obsolete calamari task)

10 years agoAdd calamari suite definitions.
Dan Mick [Wed, 22 Oct 2014 00:27:32 +0000 (17:27 -0700)]
Add calamari suite definitions.

Notes:
- very simple cluster configuration
- selects vps in the actual suite config files
- wheezy is currently disabled

Signed-off-by: Dan Mick <dan.mick@inktank.com>
10 years agoAdd calamari_nosetests task.
Dan Mick [Thu, 20 Nov 2014 05:54:44 +0000 (21:54 -0800)]
Add calamari_nosetests task.

Includes all accumulated review commentary and final 'yum clean all' fix.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoRemove obsolete tasks/calamari
Dan Mick [Wed, 26 Nov 2014 06:19:19 +0000 (22:19 -0800)]
Remove obsolete tasks/calamari

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoceph_objectstore_tool: fix pep8 errors
Loic Dachary [Thu, 18 Dec 2014 22:50:12 +0000 (23:50 +0100)]
ceph_objectstore_tool: fix pep8 errors

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoceph_objectstore_tool: --op list now prints [pg,object]
Loic Dachary [Thu, 18 Dec 2014 22:12:48 +0000 (23:12 +0100)]
ceph_objectstore_tool: --op list now prints [pg,object]

The format of the output of --op list was changed to include the PG to
which the object belong. It simplifies the loop in
ceph_objectstore_tool.py.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agorados/singleton: debug watch-notify test
Sage Weil [Thu, 18 Dec 2014 23:33:57 +0000 (15:33 -0800)]
rados/singleton: debug watch-notify test

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #225 from ceph/wip-7317
Gregory Farnum [Thu, 18 Dec 2014 19:30:07 +0000 (11:30 -0800)]
Merge pull request #225 from ceph/wip-7317

#7317 Tests for ENOSPC and OSD epoch barrier handling

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #269 from ceph/wip-librados-debug
Sage Weil [Thu, 18 Dec 2014 15:05:50 +0000 (07:05 -0800)]
Merge pull request #269 from ceph/wip-librados-debug

rados/thrash: enable client debug for api tests

10 years agorados/thrash: enable client debug for api tests
Sage Weil [Thu, 18 Dec 2014 14:41:18 +0000 (06:41 -0800)]
rados/thrash: enable client debug for api tests

These will help catch watch/notify issues...

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agosuites/fs: hook in mds_full task
John Spray [Fri, 10 Oct 2014 13:29:41 +0000 (14:29 +0100)]
suites/fs: hook in mds_full task

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: add mds_full task
John Spray [Thu, 2 Oct 2014 12:01:56 +0000 (13:01 +0100)]
tasks: add mds_full task

This is for exercising the CephFS behaviour
when the cluster becomes full.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: let get_config use non-mon services
John Spray [Mon, 15 Dec 2014 11:12:34 +0000 (11:12 +0000)]
tasks/cephfs: let get_config use non-mon services

Previously was always using the default values of things
so querying mon instead of the appropriate service
worked fine.  However, for things we might want to
update on a per-test basis we need to go ask the
correct service what the setting really is.

Needed for osd_mon_report_interval_max in the ENOSPC
testing.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: enable osd epoch get from mounts
John Spray [Tue, 28 Oct 2014 17:12:02 +0000 (17:12 +0000)]
tasks/cephfs: enable osd epoch get from mounts

Using new hooks for #7317

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/mds_client_limits: fix initial rm -rf
John Spray [Mon, 15 Dec 2014 19:48:23 +0000 (19:48 +0000)]
tasks/mds_client_limits: fix initial rm -rf

This was previously a no-op because it was trying
to delete "*" instead of *

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/kclient: add 'debug' option
John Spray [Tue, 28 Oct 2014 17:06:56 +0000 (17:06 +0000)]
tasks/kclient: add 'debug' option

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: enable kclient for mds_* tasks
John Spray [Mon, 15 Sep 2014 22:41:34 +0000 (23:41 +0100)]
tasks/cephfs: enable kclient for mds_* tasks

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #268 from ceph/wip-kcephfs-inline
John Spray [Thu, 18 Dec 2014 11:28:39 +0000 (11:28 +0000)]
Merge pull request #268 from ceph/wip-kcephfs-inline

kcephfs: test inline data

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoceph_objectstore_tool: Changes for rename of binary ceph-objectstore-tool
David Zafman [Wed, 17 Dec 2014 01:04:09 +0000 (17:04 -0800)]
ceph_objectstore_tool: Changes for rename of binary ceph-objectstore-tool

Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agokcephfs: test inline data
Sage Weil [Wed, 17 Dec 2014 23:20:20 +0000 (15:20 -0800)]
kcephfs: test inline data

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #257 from ceph/wip-fs-creation
John Spray [Wed, 17 Dec 2014 11:37:09 +0000 (11:37 +0000)]
Merge pull request #257 from ceph/wip-fs-creation

Fix PG counts and refactor FS creation during setup

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #266 from ceph/wip-9892-2
Alfredo Deza [Tue, 16 Dec 2014 21:20:48 +0000 (16:20 -0500)]
Merge pull request #266 from ceph/wip-9892-2

radosgw-admin: wait before trimming usage

10 years agoradosgw-admin: wait before trimming usage
Yehuda Sadeh [Mon, 27 Oct 2014 16:49:51 +0000 (09:49 -0700)]
radosgw-admin: wait before trimming usage

Fixes: #9892
Need to wait through the usage interval before trimming usage, otherwise we might not
remove all pending usage info.

Backport: dumpling, firefly, giant

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit dd09ecbfab8a659f3faaf879a52849caab5e8e8e)

10 years agoMerge pull request #265 from ceph/wip-test-huge-tickets
Sage Weil [Sun, 14 Dec 2014 17:44:26 +0000 (09:44 -0800)]
Merge pull request #265 from ceph/wip-test-huge-tickets

krbd: add huge_tickets workunit

10 years agokrbd: add huge_tickets workunit
Ilya Dryomov [Sat, 13 Dec 2014 10:26:38 +0000 (13:26 +0300)]
krbd: add huge_tickets workunit

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agoMerge pull request #260 from ceph/wip-mds-readonly
Gregory Farnum [Thu, 11 Dec 2014 04:39:52 +0000 (20:39 -0800)]
Merge pull request #260 from ceph/wip-mds-readonly

tasks: add test case for readonly MDS

Reviewed-by: Greg Farnum <gfarnum@redhat.com>