]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agoOnly ignore ENOENT errors in teuthology-ls.
Tommi Virtanen [Fri, 1 Jul 2011 16:32:30 +0000 (09:32 -0700)]
Only ignore ENOENT errors in teuthology-ls.

14 years agoWhitespace cleanup.
Tommi Virtanen [Fri, 1 Jul 2011 16:29:19 +0000 (09:29 -0700)]
Whitespace cleanup.

14 years agopyflakes cleanup.
Tommi Virtanen [Fri, 1 Jul 2011 16:28:56 +0000 (09:28 -0700)]
pyflakes cleanup.

14 years agoAdd final slash to path to enforce it being a dir.
Tommi Virtanen [Fri, 1 Jul 2011 16:22:25 +0000 (09:22 -0700)]
Add final slash to path to enforce it being a dir.

14 years agoMake kernel a separate entity outside of tasks.
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.

14 years agoDon't recreate ctx.cluster when reconnecting after installing kernels.
Josh Durgin [Thu, 30 Jun 2011 22:51:09 +0000 (15:51 -0700)]
Don't recreate ctx.cluster when reconnecting after installing kernels.

14 years agoSave kernel version in summary instead of a separate file.
Josh Durgin [Thu, 30 Jun 2011 22:48:43 +0000 (15:48 -0700)]
Save kernel version in summary instead of a separate file.

14 years agoKernel task does not need to be a context manager.
Josh Durgin [Thu, 30 Jun 2011 22:47:54 +0000 (15:47 -0700)]
Kernel task does not need to be a context manager.

14 years agoArchive dir removal has to be unconditional.
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.

14 years agoUse idiomatic python.
Tommi Virtanen [Thu, 30 Jun 2011 18:25:15 +0000 (11:25 -0700)]
Use idiomatic python.

14 years agoteuthology-ls: summarize results from an archive-dir
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

14 years agoworkunits: set LD_LIBRARY_PATH
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

14 years agoteuthology-nuke
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.

14 years agoinclude @hostname in owner
Sage Weil [Wed, 29 Jun 2011 17:40:14 +0000 (10:40 -0700)]
include @hostname in owner

14 years agosuite: set each run description to combination of facet names
Sage Weil [Tue, 28 Jun 2011 21:44:52 +0000 (14:44 -0700)]
suite: set each run description to combination of facet names

14 years agopass owner, optional description through to summary.yaml
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.

14 years agoworkunits: set CEPH_ARGS so 'ceph' etc can find config
Sage Weil [Wed, 29 Jun 2011 17:57:35 +0000 (10:57 -0700)]
workunits: set CEPH_ARGS so 'ceph' etc can find config

14 years agoworkunit: include ceph bin dir in path
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>
14 years agoAdd kernel task for controlling kernel version for different roles.
Josh Durgin [Mon, 20 Jun 2011 22:07:03 +0000 (15:07 -0700)]
Add kernel task for controlling kernel version for different roles.

14 years agoMove get_clients method into misc to avoid duplication.
Josh Durgin [Mon, 20 Jun 2011 19:12:11 +0000 (12:12 -0700)]
Move get_clients method into misc to avoid duplication.

14 years agotasks/clock: tolerate ntp daemon
Sage Weil [Wed, 22 Jun 2011 21:14:49 +0000 (14:14 -0700)]
tasks/clock: tolerate ntp daemon

14 years agoEnable core dumps when running the rbd cli tool.
Josh Durgin [Thu, 23 Jun 2011 00:40:58 +0000 (17:40 -0700)]
Enable core dumps when running the rbd cli tool.

14 years agoHandle rbd config with no properties.
Josh Durgin [Thu, 23 Jun 2011 00:34:08 +0000 (17:34 -0700)]
Handle rbd config with no properties.

14 years agoWait for rbd devices to be removed before removing the module.
Josh Durgin [Thu, 23 Jun 2011 00:32:10 +0000 (17:32 -0700)]
Wait for rbd devices to be removed before removing the module.

14 years agoAdd status logging into task rbd.
Tommi Virtanen [Wed, 22 Jun 2011 23:36:25 +0000 (16:36 -0700)]
Add status logging into task rbd.

14 years agoWait for block device to show up in task rbd.dev_create.
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.

14 years agoRemove rbd from TODO file.
Josh Durgin [Fri, 17 Jun 2011 19:10:40 +0000 (12:10 -0700)]
Remove rbd from TODO file.

14 years agoAdd combined rbd task that runs all the subparts.
Josh Durgin [Fri, 17 Jun 2011 00:47:53 +0000 (17:47 -0700)]
Add combined rbd task that runs all the subparts.

14 years agoAdd rbd.mount method.
Josh Durgin [Thu, 16 Jun 2011 23:41:29 +0000 (16:41 -0700)]
Add rbd.mount method.

14 years agoAdd rbd.mkfs method.
Josh Durgin [Sat, 11 Jun 2011 00:02:01 +0000 (17:02 -0700)]
Add rbd.mkfs method.

14 years agoAdd rbd -> /dev mapping method.
Josh Durgin [Thu, 9 Jun 2011 18:47:52 +0000 (11:47 -0700)]
Add rbd -> /dev mapping method.

14 years agoAdd rbd modprobe method.
Josh Durgin [Thu, 9 Jun 2011 18:46:59 +0000 (11:46 -0700)]
Add rbd modprobe method.

14 years agoAdd rbd task with create_image function.
Josh Durgin [Thu, 9 Jun 2011 18:46:04 +0000 (11:46 -0700)]
Add rbd task with create_image function.

14 years agoRemove unused import.
Tommi Virtanen [Tue, 21 Jun 2011 17:19:49 +0000 (10:19 -0700)]
Remove unused import.

14 years agoEnsure suite components are run in alphabetical order.
Tommi Virtanen [Tue, 21 Jun 2011 17:19:35 +0000 (10:19 -0700)]
Ensure suite components are run in alphabetical order.

14 years agoSave the flavor of a run in the summary file.
Josh Durgin [Mon, 20 Jun 2011 23:45:05 +0000 (16:45 -0700)]
Save the flavor of a run in the summary file.

14 years agoAdd teuthology-suite, to run multiple tests in a batch.
Tommi Virtanen [Tue, 21 Jun 2011 17:00:16 +0000 (10:00 -0700)]
Add teuthology-suite, to run multiple tests in a batch.

14 years agoArchive syslog messages while the test was in progress.
Tommi Virtanen [Mon, 20 Jun 2011 20:19:08 +0000 (13:19 -0700)]
Archive syslog messages while the test was in progress.

14 years agoFix bug that thought all >1 node clusters always had core dumps.
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.

14 years agoAutotests run no ceph software, so don't try to do code coverage there.
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.

14 years agoArchive cores dumped during test, record test as failed if any seen.
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.

14 years agoBetter examples for kclient task.
Tommi Virtanen [Thu, 16 Jun 2011 23:51:57 +0000 (16:51 -0700)]
Better examples for kclient task.

14 years agoRemove done and abandoned TODO entries.
Tommi Virtanen [Thu, 16 Jun 2011 23:11:19 +0000 (16:11 -0700)]
Remove done and abandoned TODO entries.

14 years agoMake cfuse and kclient default to all clients.
Tommi Virtanen [Thu, 16 Jun 2011 23:07:59 +0000 (16:07 -0700)]
Make cfuse and kclient default to all clients.

14 years agoArchive autotest result output.
Tommi Virtanen [Thu, 16 Jun 2011 22:38:38 +0000 (15:38 -0700)]
Archive autotest result output.

14 years agoSupport running multiple autotest tests.
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.

14 years agoshow role in log prefix when running workunits
Sage Weil [Thu, 16 Jun 2011 22:19:14 +0000 (15:19 -0700)]
show role in log prefix when running workunits

14 years agofix typo in workunits example
Sage Weil [Thu, 16 Jun 2011 21:39:14 +0000 (14:39 -0700)]
fix typo in workunits example

14 years agoadd clock task to sync clocks
Sage Weil [Thu, 16 Jun 2011 21:37:52 +0000 (14:37 -0700)]
add clock task to sync clocks

14 years agoMove non-ceph logic out of the ceph task: base dir, archive transfer.
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.

14 years agoMove non-ceph logic out of the ceph task: host in use check.
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.

14 years agoMove /tmp/cephtest/data creation to where it belongs, in ceph.cluster.
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.

14 years agoRefactor ceph log handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 20:13:32 +0000 (13:13 -0700)]
Refactor ceph log handling into a separate subtask.

14 years agoMove summary inside context.
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.

14 years agoRefactor ceph healthy waiting into a separate subtask.
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.

14 years agoRefactor ceph mds daemon handling into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 18:37:51 +0000 (11:37 -0700)]
Refactor ceph mds daemon handling into a separate subtask.

14 years agoRefactor ceph osd 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.

14 years agoRefactor ceph mon 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.

14 years agoRemove the "ceph mds set_max_mds" call, apparently it's not needed.
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.

14 years agoAdd debug logging to contextutil.nested.
Tommi Virtanen [Thu, 16 Jun 2011 17:37:11 +0000 (10:37 -0700)]
Add debug logging to contextutil.nested.

14 years agoRefactor ceph cluster setup into a separate subtask.
Tommi Virtanen [Thu, 16 Jun 2011 17:36:15 +0000 (10:36 -0700)]
Refactor ceph cluster setup into a separate subtask.

14 years agoStart splitting the ceph task into smaller units.
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.

14 years agoAllow running of any function in a task.
Josh Durgin [Thu, 9 Jun 2011 18:43:16 +0000 (11:43 -0700)]
Allow running of any function in a task.

14 years agoAdd task for mounting with the kernel client.
Josh Durgin [Thu, 16 Jun 2011 01:07:18 +0000 (18:07 -0700)]
Add task for mounting with the kernel client.

14 years agoAdd function to output a secret key to a file.
Josh Durgin [Thu, 16 Jun 2011 01:06:57 +0000 (18:06 -0700)]
Add function to output a secret key to a file.

14 years agoOutput a summary file when archiving a run.
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.

14 years agoRemove unused imports and variable.
Josh Durgin [Wed, 15 Jun 2011 22:22:12 +0000 (15:22 -0700)]
Remove unused imports and variable.

14 years agoTee teuthology log into the archive directory, if archiving.
Tommi Virtanen [Wed, 15 Jun 2011 19:32:22 +0000 (12:32 -0700)]
Tee teuthology log into the archive directory, if archiving.

14 years agoCreate the archive dir earlier, move out of ceph task.
Tommi Virtanen [Wed, 15 Jun 2011 19:10:27 +0000 (12:10 -0700)]
Create the archive dir earlier, move out of ceph task.

14 years agoAdd task for running ceph workunits, QA tests that expect cwd to be ceph mount.
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.

14 years agoClean up after an autotest run.
Tommi Virtanen [Wed, 15 Jun 2011 18:51:16 +0000 (11:51 -0700)]
Clean up after an autotest run.

14 years agoWrite config.yaml directly to file.
Tommi Virtanen [Wed, 15 Jun 2011 18:50:32 +0000 (11:50 -0700)]
Write config.yaml directly to file.

14 years agoMove imports to the top.
Tommi Virtanen [Wed, 15 Jun 2011 18:49:04 +0000 (11:49 -0700)]
Move imports to the top.

14 years agoArchive teuthology config.
Josh Durgin [Wed, 15 Jun 2011 00:52:43 +0000 (17:52 -0700)]
Archive teuthology config.

14 years agoadded thrashosds
Samuel Just [Mon, 13 Jun 2011 23:36:21 +0000 (16:36 -0700)]
added thrashosds

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoadding radosbench.py to tasks
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>
14 years agoadded testsnaps
Samuel Just [Fri, 10 Jun 2011 17:22:01 +0000 (10:22 -0700)]
added testsnaps

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
14 years agoWith coverage, use SIGTERM to make the daemons exit(0).
Josh Durgin [Fri, 10 Jun 2011 18:18:13 +0000 (11:18 -0700)]
With coverage, use SIGTERM to make the daemons exit(0).

14 years agoPut all coverage data in the archive dir.
Josh Durgin [Fri, 10 Jun 2011 18:17:11 +0000 (11:17 -0700)]
Put all coverage data in the archive dir.

14 years agoInitialize BASE before using it.
Josh Durgin [Fri, 10 Jun 2011 18:12:34 +0000 (11:12 -0700)]
Initialize BASE before using it.

14 years agoCan now run specific ceph version based on sha1.
Tommi Virtanen [Fri, 10 Jun 2011 00:05:55 +0000 (17:05 -0700)]
Can now run specific ceph version based on sha1.

14 years agoSimplify ceph sha1 saving. No need to round-trip, store N copies.
Tommi Virtanen [Thu, 9 Jun 2011 23:39:20 +0000 (16:39 -0700)]
Simplify ceph sha1 saving. No need to round-trip, store N copies.

14 years agoSave ceph sha1 in coverage dir.
Josh Durgin [Thu, 9 Jun 2011 21:02:44 +0000 (14:02 -0700)]
Save ceph sha1 in coverage dir.

This is needed to postprocess the coverage data.

14 years agoAdd TODO notes.
Tommi Virtanen [Thu, 9 Jun 2011 23:06:25 +0000 (16:06 -0700)]
Add TODO notes.

14 years agoShow status message before gcov-style shutdown of daemons.
Tommi Virtanen [Thu, 9 Jun 2011 23:05:49 +0000 (16:05 -0700)]
Show status message before gcov-style shutdown of daemons.

14 years agoCheck daemon exit codes, even when using gcov.
Tommi Virtanen [Thu, 9 Jun 2011 23:05:08 +0000 (16:05 -0700)]
Check daemon exit codes, even when using gcov.

14 years agoAdd coverage support.
Josh Durgin [Tue, 7 Jun 2011 18:45:29 +0000 (11:45 -0700)]
Add coverage support.

14 years agoSupport ceph tarball "favors", that is different gitbuilders.
Tommi Virtanen [Thu, 9 Jun 2011 22:43:43 +0000 (15:43 -0700)]
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.

14 years agoLet ceph task config specify branch or tag to run.
Tommi Virtanen [Thu, 9 Jun 2011 21:08:45 +0000 (14:08 -0700)]
Let ceph task config specify branch or tag to run.

14 years agoArchive everything written to the "archive" directory.
Tommi Virtanen [Thu, 9 Jun 2011 19:58:51 +0000 (12:58 -0700)]
Archive everything written to the "archive" directory.

This avoids listing "log", "profiling-logger", etc individually.
Adding new types of archived files should just be a matter of
adding a subdirectory under "archive".

14 years agoreadme: need libevent-dev
Sage Weil [Thu, 9 Jun 2011 18:18:56 +0000 (11:18 -0700)]
readme: need libevent-dev

Signed-off-by: Sage Weil <sage@newdream.net>
14 years agoClass loading no longer needs a temp dir.
Tommi Virtanen [Tue, 7 Jun 2011 21:51:56 +0000 (14:51 -0700)]
Class loading no longer needs a temp dir.

14 years agoCleanup is done, adjust TODO.
Tommi Virtanen [Tue, 7 Jun 2011 21:48:44 +0000 (14:48 -0700)]
Cleanup is done, adjust TODO.

14 years agoArchive logs if given --archive=PATH. Clean up after a test run.
Tommi Virtanen [Tue, 7 Jun 2011 21:47:30 +0000 (14:47 -0700)]
Archive logs if given --archive=PATH. Clean up after a test run.

14 years agoAdd missing trailing commas.
Tommi Virtanen [Tue, 7 Jun 2011 19:58:48 +0000 (12:58 -0700)]
Add missing trailing commas.

Lists of strings where last item has no comma are just
traps waiting to hurt you when you add a new item at
the end.

14 years agoRemove mountpoint after shutting down cfuse.
Tommi Virtanen [Mon, 6 Jun 2011 22:38:20 +0000 (15:38 -0700)]
Remove mountpoint after shutting down cfuse.

14 years agoAdd TODO note about results gathering.
Tommi Virtanen [Mon, 6 Jun 2011 21:32:35 +0000 (14:32 -0700)]
Add TODO note about results gathering.

14 years agoFirst draft of documentation.
Tommi Virtanen [Mon, 6 Jun 2011 21:22:49 +0000 (14:22 -0700)]
First draft of documentation.

14 years agoUse orchestra repo on ceph.newdream.net, now that it exists.
Tommi Virtanen [Mon, 6 Jun 2011 19:36:44 +0000 (12:36 -0700)]
Use orchestra repo on ceph.newdream.net, now that it exists.

14 years agoPrettify exception handling.
Tommi Virtanen [Fri, 3 Jun 2011 21:49:05 +0000 (14:49 -0700)]
Prettify exception handling.

Display exception type (e.g. "RuntimeError").

Don't re-display the traceback.