Commit Graph

547 Commits

Author SHA1 Message Date
Samuel Just
749826c29b allow use of a separate journal block device 2012-03-27 17:18:44 -07:00
Josh Durgin
e30b7710f5 rbd: fix typo in default config
pyflakes would have caught this if 'all' weren't a built-in function
2012-03-26 11:57:07 -07:00
Sage Weil
397e7f2f7b add osd_recovery task to test divergent osd logs 2012-03-24 21:09:19 -07:00
Sage Weil
1c1192a9fb backfill: use 'rbd' pool instead of 'data'
(data has a replay interval, which makes writes take longer to resume
after repeering)
2012-03-24 21:09:19 -07:00
Sage Weil
ca9a5a4ac4 rename backfill -> osd_backfill 2012-03-24 16:05:11 -07:00
Sage Weil
22e808746f put filestore xattr option in [global]
...for test_filestore_idempotent's benefit
2012-03-24 15:36:08 -07:00
Josh Durgin
6f0f250b26 suite: add missing print statement 2012-03-21 12:00:55 -07:00
Josh Durgin
8a9a567067 suite: fix print statement when summary doesn't exist 2012-03-21 11:58:17 -07:00
Samuel Just
91c08f6eee Add watch op to rados.py
Signed-off-by: Samuel Just <sam.just@dreamhost.com>
2012-03-20 19:00:12 -07:00
Josh Durgin
815fc3e2f6 suite: failed runs might not have durations
This was one cause of emails not being sent - stale /tmp/cephtest dirs
fail without recording a duration.
2012-03-20 07:50:08 -07:00
Josh Durgin
a65d4136e5 suite, coverage: use absolute dirs for isdir checks
This fixes the results to wait for all jobs to complete again.
2012-03-19 14:16:14 -07:00
Josh Durgin
bdb72c282f filestore_idempotent: get coverage and coredumps 2012-03-19 11:57:02 -07:00
Josh Durgin
6c8db1a807 suite: more results logging 2012-03-19 11:31:33 -07:00
Sage Weil
7173a8afb6 ceph.conf: no comment 2012-03-18 11:56:18 -07:00
Sage Weil
7de798f6fa ceph.conf: set 'filestore xattr use omap = true' 2012-03-18 11:06:05 -07:00
Sage Weil
7d2e1056fd fix teuthology-ls isdir check 2012-03-18 10:50:17 -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
Josh Durgin
07b97fe77f suite: log results and coverage generation
Need to figure out where and when results emails are failing.
2012-03-16 11:44:13 -07:00
Josh Durgin
8fbd087d6b results: make sure email is sent before anything else fails 2012-03-15 17:34:19 -07:00
Mark Nelson
e14d428c98 Merge branch 'master' of github.com:ceph/teuthology 2012-03-14 15:32:23 -05: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
Mark Nelson
3833ada8b9 Made the example better with multiple roles. 2012-03-12 15:13:36 -05:00
Mark Nelson
0a61ffad4c Added some example yaml files and an example parallel execution task. 2012-03-12 14:33:10 -05:00
Sage Weil
008cf7fd95 autotest: pull from github.com/ceph/autotest 2012-03-10 19:15:21 -08:00
Sage Weil
2124129e70 workunit: include python2.7 path too 2012-03-10 15:34:19 -08:00
Samuel Just
ddc1ab0c03 rados.py: include setattr and rmattr
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-03-08 16:14:44 -08:00
Mark Nelson
31762c0003 lock: Improved logging when there aren't enough nodes available to lock-many. 2012-03-07 12:55:54 -08:00
Mark Nelson
05a07dda7d lock: Added a --locked flag to teuthology-lock.
Can be used to restrict searches based on lock status, e.g.
'teuthology-lock --list -a --locked false --status up' shows available nodes.
2012-03-07 12:55:33 -08:00
Sage Weil
2a18c3e1d0 nuke: unmount osd data directories
This helps us avoid reboot to clean up osd data directories that are left
mounted.
2012-03-06 09:34:38 -08:00
Josh Durgin
1493674735 Use non-zero exit status if any tests failed
Fixes: #1989
2012-03-05 13:34:33 -08:00
Sage Weil
dc1abab211 github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 10:55:56 -08:00
Josh Durgin
a80246c17f dump_stuck: note required ceph configuration 2012-02-29 15:47:17 -08:00
Josh Durgin
85cc96c11a dump_stuck: verify that 'ceph health' mentions the right number of inactive/unclean/stale pgs 2012-02-28 13:55:46 -08:00
Sage Weil
999e21928c peer: ignore +scrubbing portion of pg state
It can cause the mon state and osd states to not match.
2012-02-28 09:50:29 -08:00
Sage Weil
84cd4ed6c3 peer: wait for peering to complete, or block
We need to wait for peering to either complete, or block because it is
waiting for another PG.  _Then_ look at all the PG states and compare the
mon values with what we get from qeurying the OSDs directly.
2012-02-25 21:05:00 -08:00
Josh Durgin
b8739585a0 peer: remove unused variable 2012-02-24 15:01:34 -08:00
Josh Durgin
62bda12711 misc: always return a usable result from get_valgrind_args 2012-02-24 14:56:43 -08:00
Josh Durgin
e4801819f2 rgw: simplify valgrind args 2012-02-24 14:56:42 -08:00
Sage Weil
edbb41e1f8 add peer task
Force a pg to get stuck in 'down' state, verify we can query the peering
state, then start the OSD so it can recover.
2012-02-24 15:05:17 -08:00
Sage Weil
7ac04a422a lost_unfound: list missing/unfound for each pg and verify the unfound counts
This also tests the pg list_missing functionality.
2012-02-24 12:42:39 -08:00
Sage Weil
c43e87d118 ceph_manager: list_pg_missing
List missing objects for the given pgid.
2012-02-24 12:42:39 -08:00
Josh Durgin
c93a08eda0 Whitespace and unnecessary formatting fixes 2012-02-24 12:05:35 -08:00
Josh Durgin
3bfb8d696e ceph, ceph-fuse: simplify valgrind argument additions 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
90fdc84086 ceph: always create valgrind logs dir
Other tasks use it too.  It's more annoying to conditionally create it.
2012-02-24 12:05:35 -08:00
Sage Weil
7af6e46c94 ceph: always try to process valgrind logs
Check for errors in valgrind logs even if there is no valgrind option
the ceph task config stanza.  Other tasks can run via valgrind (ceph-fuse,
rgw).  If the logs aren't there, this is harmless.
2012-02-24 12:05:35 -08:00
Sage Weil
e2ea73d1a5 rgw: add valgrind support
tasks:
- ceph:
- rgw:
   client.a:
     valgrind: [--tool=memcheck]
2012-02-24 12:05:35 -08:00
Sage Weil
7bf64b73ee rgw: accept dict
e.g.,

tasks:
...
- rgw:
    client.0:
    client.1:
2012-02-24 12:05:35 -08:00
Sage Weil
d40a9b275f lost_unfound: new mark_unfound_lost syntax 2012-02-23 20:09:09 -08:00