Commit Graph

669 Commits

Author SHA1 Message Date
Samuel Just
f2dbe5edd7 CephManager: add ability to test split
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-12-11 15:11:06 -08:00
Joe Buck
b916f67982 pexec.py: Parse out role ID from the back.
Also, do not assume that the command needs to run from a specific directory.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2012-12-11 14:07:28 -08:00
Joe Buck
0890d48a67 Adding a Hadoop task.
This task configures and starts a Hadoop cluster.
It does not run any jobs, that must be done after
this task runs.
Can run on either Ceph or HDFS.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2012-12-11 14:07:28 -08:00
Joe Buck
0cd84b3aed New ssh task that adds keys for node -> node ssh.
This generates a new keypair, pushes it to all nodes
in the context and adds all hosts to all other hosts
.ssh/authorized_keys file.
Cleans up all keys and authorized_keys entries
afterwards.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
2012-12-11 14:07:28 -08:00
Samuel Just
a5b9939e17 ceph.conf: default to smaller recovery chunk
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-12-10 14:37:01 -08:00
Josh Durgin
90d815621a qemu: set qemu cache mode based on rbd cache setting
If we don't do this, qemu assumes no caching is used and doesn't send flushes.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-12-05 16:17:41 -08:00
Joao Eduardo Luis
213787fb41 Merge branch 'wip-mon-thrasher' 2012-11-29 00:53:59 +00:00
Joao Eduardo Luis
f525359208 task: mon_thrash: thrash monitors while running other tests
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
2012-11-29 00:12:34 +00:00
Sage Weil
d07d7289a4 run: save original config, too 2012-11-25 08:37:06 -08:00
Sage Weil
b2f80359c2 s3tests: fix typo 2012-11-22 13:59:58 -08:00
Sage Weil
ddcf2089bd workunit: fix indentation 2012-11-21 08:29:47 -08:00
Josh Durgin
ca086261a0 xfstests: run in parallel on multiple machines
xfstests itself still seems to have some global dependencies that
make it hard to run more than one instance per node, so keep
the one client per node restriction.

Name the image after the client using it, and only run the
nested context managers once, so this task can work with
more than one client.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-20 15:48:21 -08:00
Yehuda Sadeh
1c50db6a46 rgw-logsocket: a task to verify opslog socket works
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-20 13:57:24 -08:00
Sam Lang
df3b1b89b1 task/pexec: Output stderr to teuthology log
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-20 09:53:52 -06:00
Sam Lang
d516307d88 task/ceph-fuse: Add log messages for abort
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-19 10:33:18 -06:00
Sage Weil
7a602fa12e workunit: fix default subdir
Make subdir argument optional.
2012-11-18 09:24:10 -08:00
Sage Weil
fa63dd4213 valgrind: enumerate warnings in log; check leaks from client, mon only 2012-11-17 21:01:52 -08:00
Mike Ryan
2ab8b38857 task: benchmark recovery
Measures latency before and during recovery using smalliobench.

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-11-16 16:55:30 -08:00
Sander Pool
69e613f053 Starting to auto-document this code. 2012-11-14 17:24:50 -08:00
Sam Lang
652c429408 workunit: Fix indentation
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-14 16:49:24 -06:00
Sam Lang
05065dff10 task/ceph-fuse: If umount fails, abort and cleanup
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-14 14:51:03 -06:00
Sam Lang
cfa2883d47 pexec: Logging each command isn't useful
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-14 10:45:10 -06:00
Sam Lang
25964046d2 Add task pexec to run bash commands in parallel
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-14 10:12:36 -06:00
Sam Lang
25d4f56067 misc: Show url on get failure
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-12 13:16:49 -06:00
Sage Weil
a46dd6b605 ceph-fuse: apply overrides[ceph-fuse] to config 2012-11-11 07:13:09 -08:00
Sage Weil
f9b4efeab1 valgrind.supp: deliverate onexit leak 2012-11-11 07:13:09 -08:00
Sage Weil
02d62d731d valgrind.supp: ceph-fuse leak from libfuse
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-11 07:13:09 -08:00
Samuel Just
f309c33d2d Clean up string interpolation operator spacing ceph_manager.py
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-11-09 10:52:16 -08:00
Samuel Just
f82d4a7b86 Add divergent_priors test
Tests scenario where merge_old_entry encounters a divergent
entry where the prior_version is prior to log_tail.  This
is a problem since it will go into the missing set, but won't
be re-added to the missing set during read_log() if the node
restarts prior to recovering the object.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-11-09 10:52:15 -08:00
Sam Lang
96458387c7 workunit: Move cleanup to separate run
Removing the scratchdir in the remote run command
at the end of the script invocation will do the remove
once the first script finishes.  With possibly a shared
scratch dir across workunit clients, we want to wait to
remove the scratch dir once all the workunit scripts have
completed.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Sam Lang
f0080b021e workunit: Allow scratch dir to already exist
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Sam Lang
ea02fb74b9 workunit: Add option to use specified subdir
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Samuel Just
bd83ed70dc ceph_manager: add test_min_size action
Thrasher can now with configurable frequency test min_size by
taking down all but one osd, waiting, killing that osd and bringing
back the others, and verifying that the cluster goes clean.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-11-07 12:56:31 -08:00
Josh Durgin
6c9d45e399 schedule: fix var name 2012-11-02 11:33:46 -07:00
Josh Durgin
5f4414e072 schedule: add option to display jobs in the queue
beanstalkd doesn't let you list jobs in the queue, but you can
inpsect specific job ids.
2012-11-02 11:08:59 -07:00
Alex Elder
f88a2f73d8 rbd task: support xfstests repeat count
This adds the ability to use the new repeat count argument to the
run_xfstests.sh script.  By default, the test suite will be run
once, but if a count is specified the script will execute the suite
that many times, but will only perform the setup (building the
tests, etc.) once.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-11-01 13:49:58 -05:00
Joe Buck
53ff33a7f0 Use the configured username for _make_scratch_dir 2012-10-25 17:42:32 -07:00
David Zafman
e10b99a301 Add exit to kcon_most script
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-25 10:08:05 -07:00
Josh Durgin
afcf2ea81c coverage: note db table structure 2012-10-24 16:11:12 -07:00
Sage Weil
b4bf14edd5 add exec task 2012-10-22 16:51:54 -07:00
David Zafman
ce7d997362 New nfs task that performs NFS client mount of export (see knfsd)
Fixes: 3245
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
cac4a6acbc New knfsd task that does an nfs server export
Ability to specify options
    By default only export to current hosts

Fixes: 3245
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
939c3aee7f New kcon_most task that enables most ceph kernel logging
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
558590c1f9 Fix ceph-fuse example
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
tamil
d94821244c Printing the number of tests passed when 'all' tests are successful
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-05 17:33:57 -07:00
Yehuda Sadeh
7c9dc932e1 radosgw-admin: usage should time out after 20 minutes
Not 45 seconds.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-10-01 17:17:14 -07:00
Sage Weil
7a593a08ab console: add console task
Log the sol console of every target to a file in the archive dir.
2012-09-30 21:08:41 -07:00
Sage Weil
b22e3ea526 internal: stop warning about lockdep circular dependency
This is coming from xfs, currently.  Bah.
2012-09-30 21:07:58 -07:00
Sage Weil
ee3407fa04 include newpool in osd cap for client.0
This is needed by the kclient_workunit_kclient task.
2012-09-29 08:55:58 -07:00
Josh Durgin
13c91dba67 misc: use new syntax for osd caps
pool=pool1,pool2 is not valid for the new grammar
2012-09-28 10:07:45 -07:00