]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 12 Jul 2011 03:37:48 +0000 (20:37 -0700)]
ceph.conf: remove other random bits
obsolete sections, mds tuning. stick with defaults.
Tommi Virtanen [Wed, 13 Jul 2011 19:38:12 +0000 (12:38 -0700)]
Merge branch 'localdir'
Conflicts:
teuthology/task/ceph.py
Tommi Virtanen [Wed, 13 Jul 2011 19:34:39 +0000 (12:34 -0700)]
Feed locally-created binary tarball to remotes in parallel.
This should be faster as long as we have the bandwidth for it.
Tommi Virtanen [Wed, 13 Jul 2011 19:18:55 +0000 (12:18 -0700)]
Use a nameless tempfile for local tarball, avoids cleanup.
Tommi Virtanen [Wed, 13 Jul 2011 19:07:36 +0000 (12:07 -0700)]
More careful error checking, avoid need for shell quoting.
Tommi Virtanen [Wed, 13 Jul 2011 18:32:28 +0000 (11:32 -0700)]
Clean up tarball tmpdir in all cases.
Prefer shutil.rmtree over os.system('rm -rf ...').
Tommi Virtanen [Wed, 13 Jul 2011 17:58:01 +0000 (10:58 -0700)]
Use tempfile instead of ad hoc temp dir creation.
Tommi Virtanen [Wed, 13 Jul 2011 17:44:33 +0000 (10:44 -0700)]
Remove TODO note covered by teuthology-nuke.
Tommi Virtanen [Wed, 13 Jul 2011 17:17:04 +0000 (10:17 -0700)]
Avoid identifier clash with builtin "dir".
Sage Weil [Tue, 12 Jul 2011 03:32:34 +0000 (20:32 -0700)]
ceph.conf: clean out random debug level changes
keep it simple!
Sage Weil [Tue, 12 Jul 2011 03:32:07 +0000 (20:32 -0700)]
include sha1 in summary
Redundant (there's also a ceph-sha1 file), but convenient.
Sage Weil [Tue, 12 Jul 2011 03:31:37 +0000 (20:31 -0700)]
ls: mention directories without summary.yaml
Josh Durgin [Tue, 12 Jul 2011 01:04:09 +0000 (18:04 -0700)]
Clean up from pyflakes.
Josh Durgin [Tue, 12 Jul 2011 01:00:03 +0000 (18:00 -0700)]
Whitespace and style cleanup.
Josh Durgin [Tue, 12 Jul 2011 00:39:10 +0000 (17:39 -0700)]
Remove unused variable.
Josh Durgin [Tue, 12 Jul 2011 00:34:36 +0000 (17:34 -0700)]
Success of test may not have been set yet.
Greg Farnum [Mon, 11 Jul 2011 23:40:29 +0000 (16:40 -0700)]
add locktest task
This will retrieve xfstests' locktest and run it on two clients.
I still need to tweak this so the logging output we get is more useful, and
so that we test extra features like wait locks, but it does execute.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Thu, 7 Jul 2011 22:40:37 +0000 (15:40 -0700)]
task ceph: distribute monmap to all nodes, not just mons.
And clean up the monmap, too!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Josh Durgin [Mon, 11 Jul 2011 22:48:42 +0000 (15:48 -0700)]
Add an option to keep machines locked if a test fails.
Sage Weil [Mon, 11 Jul 2011 22:25:36 +0000 (15:25 -0700)]
lock: specify machines as input yaml targets: clause
Sage Weil [Mon, 11 Jul 2011 21:49:53 +0000 (14:49 -0700)]
print --lock-many result as yaml targets: stanza
Sage Weil [Mon, 11 Jul 2011 22:27:50 +0000 (15:27 -0700)]
clean up locked machine list
Sage Weil [Mon, 11 Jul 2011 21:39:21 +0000 (14:39 -0700)]
tell user which machines you locked
Sage Weil [Mon, 11 Jul 2011 21:39:04 +0000 (14:39 -0700)]
nuke: use default owner
Sage Weil [Mon, 11 Jul 2011 21:23:31 +0000 (14:23 -0700)]
make connect work if no roles are specified
This is useful for -nuke.
Josh Durgin [Mon, 11 Jul 2011 19:52:07 +0000 (12:52 -0700)]
suite: schedule jobs instead of executing each configuration serially.
Josh Durgin [Fri, 8 Jul 2011 18:37:20 +0000 (11:37 -0700)]
Add teuthology-schedule and teuthology-worker.
schedule puts jobs in a beanstalk queue, worker takes them out and runs them.
Josh Durgin [Fri, 8 Jul 2011 00:06:18 +0000 (17:06 -0700)]
Add httplib2 to setup.py.
Josh Durgin [Thu, 7 Jul 2011 23:19:26 +0000 (16:19 -0700)]
teuthology-suite: pass --lock and --block to teuthology
Josh Durgin [Thu, 7 Jul 2011 23:15:18 +0000 (16:15 -0700)]
Add --block option to retry until machines are locked.
If there are not enough machines up, fail immediately.
Josh Durgin [Thu, 7 Jul 2011 21:56:12 +0000 (14:56 -0700)]
Check more invalid argument combinations for teuthology-lock.
Josh Durgin [Thu, 7 Jul 2011 19:16:45 +0000 (12:16 -0700)]
Remove locking from TODO.
Josh Durgin [Thu, 7 Jul 2011 19:16:10 +0000 (12:16 -0700)]
Update readme for locking.
Josh Durgin [Thu, 7 Jul 2011 18:43:35 +0000 (11:43 -0700)]
Read lock server from ~/teuthology.yaml.
Josh Durgin [Wed, 6 Jul 2011 22:55:17 +0000 (15:55 -0700)]
Verify that machines are locked before nuking them.
Josh Durgin [Wed, 6 Jul 2011 21:22:43 +0000 (14:22 -0700)]
Check that all machines are locked, and add an option to lock machines instead of providing targets.
Josh Durgin [Sat, 2 Jul 2011 01:18:03 +0000 (18:18 -0700)]
Add command line tool for locking machines.
Josh Durgin [Sat, 2 Jul 2011 01:15:52 +0000 (18:15 -0700)]
Move username to a utility method.
Josh Durgin [Wed, 6 Jul 2011 00:16:08 +0000 (17:16 -0700)]
Add simple lock server HTTP interface.
Greg Farnum [Wed, 6 Jul 2011 23:44:46 +0000 (16:44 -0700)]
task ceph: set_max_mds so multiple MDS nodes are used
The current check will be insufficient when we handle standby-replays,
standbys, etc, but it's a lot better than the current situation where
it starts up all the daemons but only one is active!
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Greg Farnum [Wed, 6 Jul 2011 22:28:52 +0000 (15:28 -0700)]
workunits task: clean up properly if there's an error.
Previously it would fail out and leave the workunits directory, causing
final cleanup to fail.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Tommi Virtanen [Wed, 6 Jul 2011 21:17:24 +0000 (14:17 -0700)]
Skip s3-tests marked fails_on_rgw, they will fail anyway.
Tommi Virtanen [Tue, 5 Jul 2011 16:27:28 +0000 (09:27 -0700)]
The shell exits after the command, hence there is no need for pushd/popd.
Josh Durgin [Wed, 6 Jul 2011 18:40:25 +0000 (11:40 -0700)]
Don't set unix env vars in fastcgi env.
Sage Weil [Tue, 5 Jul 2011 23:45:32 +0000 (16:45 -0700)]
adjust ceph.conf from yaml input
Sage Weil [Thu, 30 Jun 2011 22:54:12 +0000 (15:54 -0700)]
nuke: sudo for the final rm -rf
Josh Durgin [Tue, 5 Jul 2011 23:48:00 +0000 (16:48 -0700)]
Remove quotes from apache conf.
Josh Durgin [Tue, 5 Jul 2011 23:38:21 +0000 (16:38 -0700)]
Let apache kill rgw.
It seems to be getting killed correctly now.
Josh Durgin [Tue, 5 Jul 2011 23:32:41 +0000 (16:32 -0700)]
Set LD_LIBRARY_PATH for rgw.
Sage Weil [Tue, 5 Jul 2011 22:14:42 +0000 (15:14 -0700)]
set flavor to 'local' if pushing from local src dir
always record in summary
Josh Durgin [Tue, 5 Jul 2011 20:48:19 +0000 (13:48 -0700)]
Retry connecting based on more error codes.
Sage Weil [Fri, 1 Jul 2011 06:13:35 +0000 (23:13 -0700)]
nuke: do not escape fusermount .../mnt.*
Josh Durgin [Sat, 25 Jun 2011 00:09:47 +0000 (17:09 -0700)]
Add s3tests task.
Josh Durgin [Wed, 22 Jun 2011 23:36:58 +0000 (16:36 -0700)]
Add rgw task with hardcoded apache config.
Tommi Virtanen [Fri, 1 Jul 2011 16:34:08 +0000 (09:34 -0700)]
More idiomatic Python.
Tommi Virtanen [Fri, 1 Jul 2011 16:33:06 +0000 (09:33 -0700)]
summary is used outside the try: except:, move it outside it.
Tommi Virtanen [Fri, 1 Jul 2011 16:32:30 +0000 (09:32 -0700)]
Only ignore ENOENT errors in teuthology-ls.
Tommi Virtanen [Fri, 1 Jul 2011 16:29:19 +0000 (09:29 -0700)]
Whitespace cleanup.
Tommi Virtanen [Fri, 1 Jul 2011 16:28:56 +0000 (09:28 -0700)]
pyflakes cleanup.
Tommi Virtanen [Fri, 1 Jul 2011 16:22:25 +0000 (09:22 -0700)]
Add final slash to path to enforce it being a dir.
Sage Weil [Thu, 30 Jun 2011 21:49:42 +0000 (14:49 -0700)]
use local source dir for teuthology run
- ceph:
path: /home/sage/ceph
...
This will 'make install' to a temp dir, tar it up, and ship that to the
target nodes. A usr/local -> . symlink will be added if /usr/local isn't
there, to accommodate trees that /usr based autotools paths.
Josh Durgin [Thu, 30 Jun 2011 22:53:42 +0000 (15:53 -0700)]
Make kernel a separate entity outside of tasks.
It is run before anything other than checking for conflicts.
This way it can't step on the connections used by other tasks,
or clobber test files in /tmp when rebooting.
Josh Durgin [Thu, 30 Jun 2011 22:51:09 +0000 (15:51 -0700)]
Don't recreate ctx.cluster when reconnecting after installing kernels.
Josh Durgin [Thu, 30 Jun 2011 22:48:43 +0000 (15:48 -0700)]
Save kernel version in summary instead of a separate file.
Josh Durgin [Thu, 30 Jun 2011 22:47:54 +0000 (15:47 -0700)]
Kernel task does not need to be a context manager.
Tommi Virtanen [Thu, 30 Jun 2011 18:26:20 +0000 (11:26 -0700)]
Archive dir removal has to be unconditional.
Even when ctx.archive is False, ceph logging
need the destination directory exist, so
/tmp/cephtest/archive has to be created (and
thus removed) unconditionally.
Tommi Virtanen [Thu, 30 Jun 2011 18:25:15 +0000 (11:25 -0700)]
Use idiomatic python.
Sage Weil [Wed, 29 Jun 2011 19:54:53 +0000 (12:54 -0700)]
teuthology-ls: summarize results from an archive-dir
ugly but basically works
Sage Weil [Wed, 29 Jun 2011 19:55:21 +0000 (12:55 -0700)]
workunits: set LD_LIBRARY_PATH
Needed by rbd workunit to find librbd.so
Sage Weil [Wed, 29 Jun 2011 19:23:44 +0000 (12:23 -0700)]
teuthology-nuke
Take in a full config (or just targets: portion) and do a destructive
cleanup.
Still need to clean up kernel mounts.
Sage Weil [Wed, 29 Jun 2011 17:40:14 +0000 (10:40 -0700)]
include @hostname in owner
Sage Weil [Tue, 28 Jun 2011 21:44:52 +0000 (14:44 -0700)]
suite: set each run description to combination of facet names
Sage Weil [Tue, 28 Jun 2011 21:15:19 +0000 (14:15 -0700)]
pass owner, optional description through to summary.yaml
Owner can be overridden explicitly, otherwise it's the running unix user.
The description is optional and passed straight through.
Sage Weil [Wed, 29 Jun 2011 17:57:35 +0000 (10:57 -0700)]
workunits: set CEPH_ARGS so 'ceph' etc can find config
Sage Weil [Wed, 29 Jun 2011 17:04:37 +0000 (10:04 -0700)]
workunit: include ceph bin dir in path
Some workunits need these binaries (e.g. kclient/file_layout.sh needs
cephfs).
Signed-off-by: Sage Weil <sage@newdream.net>
Josh Durgin [Mon, 20 Jun 2011 22:07:03 +0000 (15:07 -0700)]
Add kernel task for controlling kernel version for different roles.
Josh Durgin [Mon, 20 Jun 2011 19:12:11 +0000 (12:12 -0700)]
Move get_clients method into misc to avoid duplication.
Sage Weil [Wed, 22 Jun 2011 21:14:49 +0000 (14:14 -0700)]
tasks/clock: tolerate ntp daemon
Josh Durgin [Thu, 23 Jun 2011 00:40:58 +0000 (17:40 -0700)]
Enable core dumps when running the rbd cli tool.
Josh Durgin [Thu, 23 Jun 2011 00:34:08 +0000 (17:34 -0700)]
Handle rbd config with no properties.
Josh Durgin [Thu, 23 Jun 2011 00:32:10 +0000 (17:32 -0700)]
Wait for rbd devices to be removed before removing the module.
Tommi Virtanen [Wed, 22 Jun 2011 23:36:25 +0000 (16:36 -0700)]
Add status logging into task rbd.
Tommi Virtanen [Wed, 22 Jun 2011 23:36:12 +0000 (16:36 -0700)]
Wait for block device to show up in task rbd.dev_create.
Josh Durgin [Fri, 17 Jun 2011 19:10:40 +0000 (12:10 -0700)]
Remove rbd from TODO file.
Josh Durgin [Fri, 17 Jun 2011 00:47:53 +0000 (17:47 -0700)]
Add combined rbd task that runs all the subparts.
Josh Durgin [Thu, 16 Jun 2011 23:41:29 +0000 (16:41 -0700)]
Add rbd.mount method.
Josh Durgin [Sat, 11 Jun 2011 00:02:01 +0000 (17:02 -0700)]
Add rbd.mkfs method.
Josh Durgin [Thu, 9 Jun 2011 18:47:52 +0000 (11:47 -0700)]
Add rbd -> /dev mapping method.
Josh Durgin [Thu, 9 Jun 2011 18:46:59 +0000 (11:46 -0700)]
Add rbd modprobe method.
Josh Durgin [Thu, 9 Jun 2011 18:46:04 +0000 (11:46 -0700)]
Add rbd task with create_image function.
Tommi Virtanen [Tue, 21 Jun 2011 17:19:49 +0000 (10:19 -0700)]
Remove unused import.
Tommi Virtanen [Tue, 21 Jun 2011 17:19:35 +0000 (10:19 -0700)]
Ensure suite components are run in alphabetical order.
Josh Durgin [Mon, 20 Jun 2011 23:45:05 +0000 (16:45 -0700)]
Save the flavor of a run in the summary file.
Tommi Virtanen [Tue, 21 Jun 2011 17:00:16 +0000 (10:00 -0700)]
Add teuthology-suite, to run multiple tests in a batch.
Tommi Virtanen [Mon, 20 Jun 2011 20:19:08 +0000 (13:19 -0700)]
Archive syslog messages while the test was in progress.
Tommi Virtanen [Mon, 20 Jun 2011 20:18:01 +0000 (13:18 -0700)]
Fix bug that thought all >1 node clusters always had core dumps.
Accidentally shared the stdout between all the runs.
Tommi Virtanen [Fri, 17 Jun 2011 23:01:26 +0000 (16:01 -0700)]
Autotests run no ceph software, so don't try to do code coverage there.
Tommi Virtanen [Fri, 17 Jun 2011 23:00:39 +0000 (16:00 -0700)]
Archive cores dumped during test, record test as failed if any seen.
Tommi Virtanen [Thu, 16 Jun 2011 23:51:57 +0000 (16:51 -0700)]
Better examples for kclient task.
Tommi Virtanen [Thu, 16 Jun 2011 23:11:19 +0000 (16:11 -0700)]
Remove done and abandoned TODO entries.