]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agoRead lock server from ~/teuthology.yaml.
Josh Durgin [Thu, 7 Jul 2011 18:43:35 +0000 (11:43 -0700)]
Read lock server from ~/teuthology.yaml.

14 years agoVerify that machines are locked before nuking them.
Josh Durgin [Wed, 6 Jul 2011 22:55:17 +0000 (15:55 -0700)]
Verify that machines are locked before nuking them.

14 years agoCheck that all machines are locked, and add an option to lock machines instead of...
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.

14 years agoAdd command line tool for locking machines.
Josh Durgin [Sat, 2 Jul 2011 01:18:03 +0000 (18:18 -0700)]
Add command line tool for locking machines.

14 years agoMove username to a utility method.
Josh Durgin [Sat, 2 Jul 2011 01:15:52 +0000 (18:15 -0700)]
Move username to a utility method.

14 years agoAdd simple lock server HTTP interface.
Josh Durgin [Wed, 6 Jul 2011 00:16:08 +0000 (17:16 -0700)]
Add simple lock server HTTP interface.

14 years agotask ceph: set_max_mds so multiple MDS nodes are used
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>
14 years agoworkunits task: clean up properly if there's an error.
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>
14 years agoSkip s3-tests marked fails_on_rgw, they will fail anyway.
Tommi Virtanen [Wed, 6 Jul 2011 21:17:24 +0000 (14:17 -0700)]
Skip s3-tests marked fails_on_rgw, they will fail anyway.

14 years agoThe shell exits after the command, hence there is no need for pushd/popd.
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.

14 years agoDon't set unix env vars in fastcgi env.
Josh Durgin [Wed, 6 Jul 2011 18:40:25 +0000 (11:40 -0700)]
Don't set unix env vars in fastcgi env.

14 years agoadjust ceph.conf from yaml input
Sage Weil [Tue, 5 Jul 2011 23:45:32 +0000 (16:45 -0700)]
adjust ceph.conf from yaml input

14 years agonuke: sudo for the final rm -rf
Sage Weil [Thu, 30 Jun 2011 22:54:12 +0000 (15:54 -0700)]
nuke: sudo for the final rm -rf

14 years agoRemove quotes from apache conf.
Josh Durgin [Tue, 5 Jul 2011 23:48:00 +0000 (16:48 -0700)]
Remove quotes from apache conf.

14 years agoLet apache kill rgw.
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.

14 years agoSet LD_LIBRARY_PATH for rgw.
Josh Durgin [Tue, 5 Jul 2011 23:32:41 +0000 (16:32 -0700)]
Set LD_LIBRARY_PATH for rgw.

14 years agoRetry connecting based on more error codes.
Josh Durgin [Tue, 5 Jul 2011 20:48:19 +0000 (13:48 -0700)]
Retry connecting based on more error codes.

14 years agonuke: do not escape fusermount .../mnt.*
Sage Weil [Fri, 1 Jul 2011 06:13:35 +0000 (23:13 -0700)]
nuke: do not escape fusermount .../mnt.*

14 years agoAdd s3tests task.
Josh Durgin [Sat, 25 Jun 2011 00:09:47 +0000 (17:09 -0700)]
Add s3tests task.

14 years agoAdd rgw task with hardcoded apache config.
Josh Durgin [Wed, 22 Jun 2011 23:36:58 +0000 (16:36 -0700)]
Add rgw task with hardcoded apache config.

14 years agoMore idiomatic Python.
Tommi Virtanen [Fri, 1 Jul 2011 16:34:08 +0000 (09:34 -0700)]
More idiomatic Python.

14 years agosummary is used outside the try: except:, move it outside it.
Tommi Virtanen [Fri, 1 Jul 2011 16:33:06 +0000 (09:33 -0700)]
summary is used outside the try: except:, move it outside it.

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).