]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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.
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.
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.
Tommi Virtanen [Thu, 16 Jun 2011 23:07:59 +0000 (16:07 -0700)]
Make cfuse and kclient default to all clients.
Tommi Virtanen [Thu, 16 Jun 2011 22:38:38 +0000 (15:38 -0700)]
Archive autotest result output.
Tommi Virtanen [Thu, 16 Jun 2011 22:38:25 +0000 (15:38 -0700)]
Support running multiple autotest tests.
Docs had this from the start, it was just buggy. Still
doesn't support using the "autotest" task more than once,
no easy way to differentiate the results in that case.
Sage Weil [Thu, 16 Jun 2011 22:19:14 +0000 (15:19 -0700)]
show role in log prefix when running workunits
Sage Weil [Thu, 16 Jun 2011 21:39:14 +0000 (14:39 -0700)]
fix typo in workunits example
Sage Weil [Thu, 16 Jun 2011 21:37:52 +0000 (14:37 -0700)]
add clock task to sync clocks
Tommi Virtanen [Thu, 16 Jun 2011 21:34:19 +0000 (14:34 -0700)]
Move non-ceph logic out of the ceph task: base dir, archive transfer.
Tommi Virtanen [Thu, 16 Jun 2011 21:17:14 +0000 (14:17 -0700)]
Move non-ceph logic out of the ceph task: host in use check.
To avoid every config always listing basic tasks, we silently
add internal.* tasks in front of the task list.
Tommi Virtanen [Thu, 16 Jun 2011 21:05:13 +0000 (14:05 -0700)]
Move /tmp/cephtest/data creation to where it belongs, in ceph.cluster.
Tommi Virtanen [Thu, 16 Jun 2011 20:13:32 +0000 (13:13 -0700)]
Refactor ceph log handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 20:01:09 +0000 (13:01 -0700)]
Move summary inside context.
This will hopefully make run_tasks usable by tasks.
The ceph task can't use it yet, because it has its
yield inside the with nested statement.
Tommi Virtanen [Thu, 16 Jun 2011 19:18:58 +0000 (12:18 -0700)]
Refactor ceph healthy waiting into a separate subtask.
Note, not a context manager, just a task. There's no cleanup.
Tommi Virtanen [Thu, 16 Jun 2011 18:37:51 +0000 (11:37 -0700)]
Refactor ceph mds daemon handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 18:33:43 +0000 (11:33 -0700)]
Refactor ceph osd daemon handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 18:30:33 +0000 (11:30 -0700)]
Refactor ceph mon daemon handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 18:04:59 +0000 (11:04 -0700)]
Remove the "ceph mds set_max_mds" call, apparently it's not needed.
We can always re-add it if and when it's useful.
Tommi Virtanen [Thu, 16 Jun 2011 17:37:11 +0000 (10:37 -0700)]
Add debug logging to contextutil.nested.
Tommi Virtanen [Thu, 16 Jun 2011 17:36:15 +0000 (10:36 -0700)]
Refactor ceph cluster setup into a separate subtask.
Tommi Virtanen [Wed, 15 Jun 2011 21:57:02 +0000 (14:57 -0700)]
Start splitting the ceph task into smaller units.
This lets them nicely have independent error handling;
an example case where that is desirable is that the
old code failed to archive the logs if one of the daemons
exited with an error.
This also means a config file might specify just some
of the smaller tasks, e.g. for a test that explicitly
wants to create operational error situations.
The diff looks big because of an indentation change,
use "git diff -b" for a smaller diff.
Josh Durgin [Thu, 9 Jun 2011 18:43:16 +0000 (11:43 -0700)]
Allow running of any function in a task.
Josh Durgin [Thu, 16 Jun 2011 01:07:18 +0000 (18:07 -0700)]
Add task for mounting with the kernel client.
Josh Durgin [Thu, 16 Jun 2011 01:06:57 +0000 (18:06 -0700)]
Add function to output a secret key to a file.
Josh Durgin [Wed, 15 Jun 2011 22:52:30 +0000 (15:52 -0700)]
Output a summary file when archiving a run.
For now, just record whether the test succeeded.
Josh Durgin [Wed, 15 Jun 2011 22:22:12 +0000 (15:22 -0700)]
Remove unused imports and variable.
Tommi Virtanen [Wed, 15 Jun 2011 19:32:22 +0000 (12:32 -0700)]
Tee teuthology log into the archive directory, if archiving.
Tommi Virtanen [Wed, 15 Jun 2011 19:10:27 +0000 (12:10 -0700)]
Create the archive dir earlier, move out of ceph task.
Tommi Virtanen [Wed, 15 Jun 2011 18:59:57 +0000 (11:59 -0700)]
Add task for running ceph workunits, QA tests that expect cwd to be ceph mount.
Tommi Virtanen [Wed, 15 Jun 2011 18:51:16 +0000 (11:51 -0700)]
Clean up after an autotest run.
Tommi Virtanen [Wed, 15 Jun 2011 18:50:32 +0000 (11:50 -0700)]
Write config.yaml directly to file.
Tommi Virtanen [Wed, 15 Jun 2011 18:49:04 +0000 (11:49 -0700)]
Move imports to the top.
Josh Durgin [Wed, 15 Jun 2011 00:52:43 +0000 (17:52 -0700)]
Archive teuthology config.
Samuel Just [Mon, 13 Jun 2011 23:36:21 +0000 (16:36 -0700)]
added thrashosds
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Mon, 13 Jun 2011 17:29:22 +0000 (10:29 -0700)]
adding radosbench.py to tasks
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Samuel Just [Fri, 10 Jun 2011 17:22:01 +0000 (10:22 -0700)]
added testsnaps
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Josh Durgin [Fri, 10 Jun 2011 18:18:13 +0000 (11:18 -0700)]
With coverage, use SIGTERM to make the daemons exit(0).