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
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
b4bf14edd5
add exec task
2012-10-22 16:51:54 -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
Josh Durgin
57bb434def
Fix errors found by pyflakes
...
A bunch of unused imports and variables.
2012-09-21 16:46:24 -07:00
Sage Weil
12dc0ad101
ceph: archive mon data to a .tgz
...
Saves bandwidth, time, and space.
2012-07-17 10:00:59 -07:00
Sage Weil
cff2cfa217
internal: move pulling archive w/ tar to helper
2012-07-11 14:10:00 -07:00
Sage Weil
132dc0066d
nuke: be more careful about kill; simplify
...
If the archive dir is specified, make sure we are killing the right
process.
Also drop the kill_process helper; it's simple enough to open-code.
2012-07-04 14:47:33 -07:00
Sage Weil
45fcca1fea
valgrind: add strptime suppressions
...
Precise's strptime triggers valgrind false positives.
Use ship_utilities to push the valgrind.supp file over, which is a bit
slippy.
2012-07-04 14:29:55 -07:00
tamil
f3c2451797
nuke - optionally kill the process hung
...
Added a function kill_process to kill the process hung in the nightly runs.
It takes in pid as an optional argument.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-03 12:23:36 -07:00
Sage Weil
94f0ba1efe
run valgrind with cwd set to /tmp/cephtest/archive/coredump
...
This lets us capture the vgcore.* files, which always go to valgrind's
cwd.
Fixes : #1953
2012-03-18 10:48:51 -07:00
Sage Weil
5c9acbd897
gitbuilder: put flavor last
...
in case we refine the field later
2012-03-13 10:09:18 -07:00
Sage Weil
1a01ccaafb
Pull from new gitbuilder.ceph.com locations.
...
Simplifies the flavor stuff into a tuple of
<package,type,flavor,dist,arch>
where package is ceph, kenrel, etc.
type is tarball, deb
flavor is basic, gcov, notcmalloc
arch is x86_64, i686 (uname -m)
dist is oneiric, etc. (lsb_release -s -c)
2012-03-13 10:02:26 -07:00
Josh Durgin
62bda12711
misc: always return a usable result from get_valgrind_args
2012-02-24 14:56:43 -08:00
Josh Durgin
c93a08eda0
Whitespace and unnecessary formatting fixes
2012-02-24 12:05:35 -08:00
Sage Weil
9ec047226f
refactor all valgrind users to use a get_valgrind_args() helper
...
This avoids much annoying, duplicated code.
2012-02-24 12:05:35 -08:00
Sage Weil
46b612efa4
misc: make get_scratch_devices look for (almost) any disk that's not mounted
2012-02-13 15:28:24 -08:00
Sage Weil
50463ffddd
verify all osds start before checking health
...
Just checking health isn't good enough, since it races with OSD startup:
we can have a healthy cluster with 0 (or something else < total) OSDs.
2012-01-11 12:54:08 -08:00
Sage Weil
da9210779e
ceph: don't skip monitor ports
...
We can use the same port multiple times if they are on a different hosts.
2012-01-06 13:36:54 -08:00
Josh Durgin
2f71f03fdd
misc: simplify reconnect logic
...
Ignore all errors until the timeout expires so we don't have to worry
about whitelisting them.
2011-12-30 14:37:37 -08:00
Josh Durgin
a763297685
misc: move deep_merge out of the MergeConfig class - it's generic
2011-11-17 13:06:36 -08:00
Sage Weil
77c977c1cf
misc: allow >1 monitor per role in get_mon_names()
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-10 14:13:24 -08:00
Sage Weil
6618a0275c
mon_recovery: add task to test monitor cluster failure recovery
...
Some simple tests to start with. We still need some sort of mon cluster
thrashing.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-08 22:17:00 -08:00
Josh Durgin
0b451f9475
Keep each ssh connection alive.
...
With long-running jobs like thrashing, ssh connections were timing
out.
2011-11-03 13:08:49 -07:00
Josh Durgin
c56ab97442
reconnect: ignore SSHExceptions before the timeout expires
...
Fixes : #1587
2011-10-06 17:18:35 -07:00
Samuel Just
28d60172f6
ceph.py: add btrfs option
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-10-03 14:26:04 -07:00
Sage Weil
a92fef77dc
rename c* -> ceph-*
...
Leave cfuse task name unchanged for now...
2011-09-23 08:57:18 -07:00
Tommi Virtanen
a2372fce12
Move orchestra to teuthology.orchestra so there's just one top-level package.
2011-09-13 14:53:02 -07:00
Josh Durgin
091b0ae3de
autotest: allow tests to be run on all clients
2011-09-07 17:50:12 -07:00
Sage Weil
c502418fca
thrashosds: make it work when first mon isn't mon.0
2011-09-01 12:56:29 -07:00
Greg Farnum
0139323e51
Merge branch 'wip-nuke'
...
Conflicts:
teuthology/task/kernel.py
2011-08-10 16:16:25 -07:00
Greg Farnum
b5859f877a
Move reconnect function from kernel task to misc.py
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-10 14:37:24 -07:00
Sage Weil
b5ba155c17
Revert "fix get_clients"
...
This reverts commit 83b6678e79
. The bug I was
hitting was actually fxied by 06e3e69c29
.
2011-08-09 13:23:58 -07:00
Sage Weil
01fac3e2c6
new gitbuilder ref/branch naming
...
no origin_ prefix
2011-08-05 14:35:44 -07:00
Sage Weil
83b6678e79
fix get_clients
...
Only return the clients that are listed (not _all_ clients). There might
be a combination of cfuse and kclient (or other) clients here!
2011-08-05 14:35:44 -07:00
Sage Weil
07745f8a51
no ++ in python
2011-07-27 11:45:20 -07:00
Sage Weil
573c9ff2b4
configure mds's with -s suffix as standby
2011-07-27 10:04:37 -07:00
Sage Weil
5b0924494a
tolerate named (not numbered) mons
2011-07-26 22:07:02 -07:00
Josh Durgin
a55d2eb53a
Read lock server from ~/teuthology.yaml.
2011-07-07 12:35:11 -07:00
Josh Durgin
09bee43593
Move username to a utility method.
2011-07-07 12:32:58 -07:00
Josh Durgin
0904ce550d
Move get_clients method into misc to avoid duplication.
2011-06-28 14:51:11 -07:00
Tommi Virtanen
e481db1337
Archive syslog messages while the test was in progress.
2011-06-20 14:31:41 -07:00
Tommi Virtanen
57c542b9e8
Archive cores dumped during test, record test as failed if any seen.
2011-06-17 16:00:39 -07:00
Tommi Virtanen
4f46e4b7f6
Make cfuse and kclient default to all clients.
2011-06-16 16:09:50 -07:00
Josh Durgin
9d70d04893
Add function to output a secret key to a file.
2011-06-15 18:06:57 -07:00
Josh Durgin
e52bb0cf07
Put all coverage data in the archive dir.
2011-06-10 11:17:11 -07:00
Josh Durgin
41e19f5ecb
Initialize BASE before using it.
2011-06-10 11:12:49 -07:00
Tommi Virtanen
798f3cc68c
Can now run specific ceph version based on sha1.
2011-06-09 17:17:47 -07:00
Josh Durgin
2533edde83
Save ceph sha1 in coverage dir.
...
This is needed to postprocess the coverage data.
2011-06-09 17:17:47 -07:00
Josh Durgin
43f37b8da2
Add coverage support.
2011-06-09 17:17:47 -07:00
Tommi Virtanen
f162f07edb
Support ceph tarball "favors", that is different gitbuilders.
...
Use that for picking the gcov gitbuilder, when told to record code
coverage. Actual coverage support comes in the next commit.
Assuming all the world is a VA.. I mean amd64, for now.
2011-06-09 17:16:06 -07:00
Tommi Virtanen
f3757f76d8
Let ceph task config specify branch or tag to run.
2011-06-09 17:12:54 -07:00
Tommi Virtanen
57f979f177
Refactor for modularity.
...
New style: run "./virtualenv/bin/teuthology -v interactive.yaml".
2011-06-03 14:47:44 -07:00
Tommi Virtanen
95163e9470
Fetch ceph binary tarball independently on every node.
...
Avoids shuffling the bytes through the controlling node.
Use sha1 file to make sure everyone gets the same version.
2011-06-02 09:09:08 -07:00
Tommi Virtanen
de0f0c72fc
Refactor to use Cluster and Remote, to evaluate the new APIs.
2011-06-01 16:04:52 -07:00
Tommi Virtanen
7d4bb1202b
Initial import.
...
Currently hardcoded to run dbench, not modular, and the remote
execution API is clumsy.
2011-05-31 13:51:48 -07:00