Sage Weil
a11b69fd4c
nuke: ignore ntpdate errors
...
We keep seeing a race between ntpd startup and our stop + ntpdate + start
sequence. Ignore errors here.
2012-04-23 09:21:02 -07:00
Sage Weil
6cf876733a
filestore_idempotent: url has changed
2012-04-21 13:36:27 -07:00
Sage Weil
c9d2185624
hammer.sh: -a to archive each run
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-20 11:32:30 -07:00
Sage Weil
e3af087712
rbd_fsx: show progress
...
The updated fsx takes this arg.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-04-19 13:32:01 -07:00
Sage Weil
6a58314d46
fix misc checks that wait for N osds to be up
...
These all cut&pasted broken code, blah!
2012-04-19 12:44:10 -07:00
Sage Weil
407b2e0bc7
whitelist xfs_fsr syslog noise
...
Ignore lines like
2012-04-17T13:44:11-07:00 plana59 fsr[5454]: DEBUG: fsize=450560 blsz_dio=450560 d_min=512 d_max=2147483136 pgsz=4096
2012-04-18 11:21:10 -07:00
Josh Durgin
e875b89f93
Add task for running fsx on an rbd image.
2012-04-17 08:59:51 -07:00
Sage Weil
19e673ccf9
filestore_idempotent: use new sequence-based tester
...
random seed, inject at 50-300.
2012-04-14 14:06:12 -07:00
Sage Weil
6ba4efcd3a
rbd.py: add xfstests functionality
...
Add tasks for running xfstests over a pair of rbd volumes. The main
one is called xfstests, and it sets up rbd volumes of specified size
and runs a set of likely-to-be-successful tests. The other one is
used by the first, and is called run_xfstests. This provides a
generic (device rather than rbd device oriented) interface to
xfstests, and should probably be made standalone and distinct from
rbd at some point.
Using multiple rbd devices required the rbd udev rule manipulation
to ignore errors, since it appears that each device caused the a
teardown attempt, which leads to failures the second time around.
There's probably a more robust solution, but this works for now.
Signed-off-by: Alex Elder <elder@dreamhost.com>
2012-04-13 22:28:05 -07:00
Josh Durgin
ddb98f7773
ceph_manager: don't try to start greenlet twice
...
spawn already scheduled it. Trying to start it again hits an assert.
2012-04-10 16:23:58 -07:00
Sage Weil
1ac5554d75
kernel: kludge around mysterious 0-byte .git/HEAD files
...
No idea where these are coming from, but they break nodes with behavior
like
ubuntu@plana08:~$ sudo install -d -m0755 /lib/firmware/updates && cd /lib/firmware/updates && sudo git init
Reinitialized existing Git repository in /lib/firmware/updates/.git/
ubuntu@plana08:/lib/firmware/updates$ sudo git --git-dir=/lib/firmware/updates/.git config --get remote.origin.url >/dev/null || sudo git --git-dir=/lib/firmware/updates/.git remote add origin git://ceph.newdream.net/git/linux-firmware.git
ubuntu@plana08:/lib/firmware/updates$ cd /lib/firmware/updates && sudo git pull origin master
fatal: Not a git repository (or any of the parent directories): .git
where the .git directory looks like
total 32
drwxr-xr-x 7 root root 4096 2012-04-10 12:52 .
drwxr-xr-x 3 root root 4096 2012-04-06 13:54 ..
drwxr-xr-x 2 root root 4096 2012-04-06 13:54 branches
-rwxr--r-- 1 root root 236 2012-04-10 11:33 config
-rw-r--r-- 1 root root 0 2012-04-10 12:52 config.lock
-rw-r--r-- 1 root root 0 2012-04-06 13:54 description
-rw-r--r-- 1 root root 0 2012-04-06 13:54 FETCH_HEAD
-rw-r--r-- 1 root root 0 2012-04-06 13:54 HEAD
drwxr-xr-x 2 root root 4096 2012-04-06 13:54 hooks
drwxr-xr-x 2 root root 4096 2012-04-06 13:54 info
drwxr-xr-x 4 root root 4096 2012-04-06 13:54 objects
drwxr-xr-x 4 root root 4096 2012-04-06 13:54 refs
Hopefully someone can figure out what is causing this and revert this
later.
2012-04-10 13:41:16 -07:00
Sage Weil
0d5918f8e4
kernel: reset to remote firmware branch; don't pull
...
Pull might merge if upstream rebases. Just make our branch match the
remote one.
2012-04-10 09:17:24 -07:00
Sage Weil
9b755fd665
kernel: change git incantation for firmware pull
...
The 'git pull <uri>' seemed to consistently fail on some nodes. Can't be
sure this was really the problem with them all down now, but this is more
common, and works.
2012-04-10 09:12:01 -07:00
Sage Weil
22b1f17f78
ls: another newline
2012-04-10 08:59:47 -07:00
Sage Weil
7757fbb9bd
ls: remote stray newline
2012-04-10 08:57:19 -07:00
Dan Mick
9906d5ed08
Change to local mirror of linux-firmware repo to try to stop failures
2012-04-09 16:58:59 -07:00
Mark Nelson
3d7f1db731
Kernel: Pull linux-firmware from git
...
Signed-off-by: Mark Nelson <nhm@clusterfaq.org>
2012-04-05 08:49:19 -07:00
Sage Weil
ba0fb3ed87
cleanup-and-unlock.sh: helper to nuke and then unlock a set of nodes
...
I usually do something like
teuthology-lock --list-targets --owner scheduled_sage@metropolis > /tmp/b
./cleanup-and-unlock.sh /tmp/b scheduled_sage@metropolis
It's a huge headache when some of the nodes are down, though. A better
thing would be if nuke had an --unlock option, and would continue with the
nodes that didn't error out.
But, this is still useful as is.
2012-04-04 13:56:10 -07:00
Sage Weil
3adf2bf975
schedule_suite.sh: helper to schedule a suite
...
There's a bunch of stuff hardcoded in here, similar to the nightly, but
it's a useful starting point.
2012-04-04 13:54:43 -07:00
Mark Nelson
1836d4672f
Added assertion to check that targets > roles
...
Signed-off-by: Mark Nelson <mark.nelson@dreamhost.com>
2012-04-03 15:56:51 -07:00
Sage Weil
952940272b
nuke: don't run umount when no xargs args
...
Gets rid of this noise:
INFO:teuthology.nuke:Unmount any osd data directories...
INFO:teuthology.orchestra.run.err:Usage: umount -h | -V
INFO:teuthology.orchestra.run.err: umount -a [-d] [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
INFO:teuthology.orchestra.run.err: umount [-d] [-f] [-r] [-n] [-v] special | node...
INFO:teuthology.orchestra.run.err:Usage: umount -h | -V
INFO:teuthology.orchestra.run.err: umount -a [-d] [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
INFO:teuthology.orchestra.run.err: umount [-d] [-f] [-r] [-n] [-v] special | node...
...
2012-04-03 15:56:36 -07:00
Sage Weil
9a69c3f319
ceph.conf: enable 'osd recover clone overlap'
...
to test the recovery cloning in qa. this was redone, but forgot to enable
it in qa.
2012-03-30 16:15:34 -07:00
Samuel Just
b4aa098f47
make Thrasher not inherit from Greenlet
2012-03-29 18:08:19 -07:00
Samuel Just
394d8b1ebd
Add test for object source marked down
2012-03-29 18:08:19 -07:00
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