Commit Graph

690 Commits

Author SHA1 Message Date
Sage Weil
cd09be6ac8 ceph: pass ceph.conf to osdmaptool
This ensure it sees the chooseleaf option and generates the proper
CRUSH rules.
2013-01-17 12:27:17 -08:00
Loic Dachary
72db1a59cd When running teuthology with targets provisionned on OpenStack and kvm, the disks will show under /dev/vda, /dev/vdb etc. Add them to the list of devices to inspect and use for tests.
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-01-16 20:48:15 -08:00
Josh Durgin
c8a9a9a888 Add cram task
This runs cram tests, which are an easy way to test output
stays consistent. We already use cram for basic cli tests with no cluster,
and now we can use it for whole system tests too.
2013-01-15 14:07:58 -08:00
Greg Farnum
71097b7b91 Revert "task/kclient: chmod root to 1777."
This reverts commit f17847e537. It had
a typo and we hopefully don't need it.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-01-14 16:14:08 -08:00
Sage Weil
92a9d9c229 ceph.conf: separate replicas across osds
ceph.git master now separates across crush hosts without this setting.
For teuthology clusters, we don't want that (unless the tests specifies
otherwise).
2013-01-13 22:52:00 -08:00
Sage Weil
9e4a3f0399 Merge remote-tracking branch 'gh/wip-3633' 2013-01-10 18:04:55 -08:00
Greg Farnum
f17847e537 task/kclient: chmod root to 1777.
Signed-off-by: Greg Farnum <greg@inktank.com>
2013-01-08 10:11:03 -08:00
Sam Lang
f8958463ae task/mpi: Allow working directory to be specified
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 10:07:42 -06:00
Sam Lang
1624812133 task: A task to setup mpi
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:34:03 -06:00
Sam Lang
e88c0fc81a task/ceph-fuse: chmod root to 1777
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:33:01 -06:00
Sam Lang
4ed20ae8fe task/pexec: Add barrier capability
This patch adds the ability to barrier between
parallel exec tasks so that all tasks will perform
the following step (after the barrier) at the same
time.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:32:08 -06:00
Sam Lang
3532008310 task/pexec: More fixes for all case, exec on hosts
We don't want to do an exec per role, but per-host.  We
were already doing an exec per host, but the names were confusing.
This fixes the names up and removes the role parameters.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:31:48 -06:00
Sam Lang
081a80f89c task/pexec: Fix when 'all' is used
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-01-08 09:29:34 -06:00
Joao Eduardo Luis
620dd5511b task: mon_clock_skew_check.py: Check for clock skews on the monitors
Will run for as long as teuthology runs. By default, fails if any clock
skews higher than 0.05 seconds are detected, but will only fail when the
teuthology run finishes and after reporting a list of all the detected
skews.

Accepted options:

 interval     amount of seconds to wait in-between checks. (default: 30.0)
 max-skew     maximum skew, in seconds, that is considered tolerable
              before issuing a warning. (default: 0.05)
 expect-skew  'true' or 'false', to indicate whether to expect a skew
              during the run or not. If 'true', the test will fail if no
              skew is found, and succeed if a skew is indeed found; if
              'false', it's the other way around. (default: false)
 never-fail   Don't fail the run if a skew is detected and we weren't
              expecting it, or if no skew is detected and we were
              expecting it. (default: False)

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
2013-01-04 18:16:58 +00:00
Joao Eduardo Luis
e88b909a1d task: ceph_manager: add 'get_mon_health' function
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
2013-01-04 17:03:55 +00:00
Joe Buck
5ce47c2a99 ssh_keys.py: pull the keys out of targets entry
rather than the hosts known hosts file.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
2013-01-03 15:04:55 -08:00
Sage Weil
9ca69e738a ceph: malloc check =3 means we hear on stderr too 2013-01-02 20:44:33 -08:00
Sage Weil
06310994df ceph: enable malloc debugging for ceph-osd 2013-01-02 12:31:54 -08:00
Joao Eduardo Luis
ed586c1bb0 task: ceph: don't wait for 'healthy' if 'wait-for-healthy' is false.
This new config option obviously defaults to 'true' in order to not only
maintain compatibility, but because it makes sense.

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
2012-12-31 16:11:50 +00:00
Sage Weil
bb4a2c558b rgw: enable logging in ceph.conf 2012-12-29 08:28:44 -08:00
Yehuda Sadeh
c02d34dce1 task/swift: change upstream repository url
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-12-21 10:20:02 -08:00
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