]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 years agoceph.conf: remove other random bits
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.

14 years agoMerge branch 'localdir'
Tommi Virtanen [Wed, 13 Jul 2011 19:38:12 +0000 (12:38 -0700)]
Merge branch 'localdir'

Conflicts:
teuthology/task/ceph.py

14 years agoFeed locally-created binary tarball to remotes in parallel.
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.

14 years agoUse a nameless tempfile for local tarball, avoids cleanup.
Tommi Virtanen [Wed, 13 Jul 2011 19:18:55 +0000 (12:18 -0700)]
Use a nameless tempfile for local tarball, avoids cleanup.

14 years agoMore careful error checking, avoid need for shell quoting.
Tommi Virtanen [Wed, 13 Jul 2011 19:07:36 +0000 (12:07 -0700)]
More careful error checking, avoid need for shell quoting.

14 years agoClean up tarball tmpdir in all cases.
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 ...').

14 years agoUse tempfile instead of ad hoc temp dir creation.
Tommi Virtanen [Wed, 13 Jul 2011 17:58:01 +0000 (10:58 -0700)]
Use tempfile instead of ad hoc temp dir creation.

14 years agoRemove TODO note covered by teuthology-nuke.
Tommi Virtanen [Wed, 13 Jul 2011 17:44:33 +0000 (10:44 -0700)]
Remove TODO note covered by teuthology-nuke.

14 years agoAvoid identifier clash with builtin "dir".
Tommi Virtanen [Wed, 13 Jul 2011 17:17:04 +0000 (10:17 -0700)]
Avoid identifier clash with builtin "dir".

14 years agoceph.conf: clean out random debug level changes
Sage Weil [Tue, 12 Jul 2011 03:32:34 +0000 (20:32 -0700)]
ceph.conf: clean out random debug level changes

keep it simple!

14 years agoinclude sha1 in summary
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.

14 years agols: mention directories without summary.yaml
Sage Weil [Tue, 12 Jul 2011 03:31:37 +0000 (20:31 -0700)]
ls: mention directories without summary.yaml

14 years agoClean up from pyflakes.
Josh Durgin [Tue, 12 Jul 2011 01:04:09 +0000 (18:04 -0700)]
Clean up from pyflakes.

14 years agoWhitespace and style cleanup.
Josh Durgin [Tue, 12 Jul 2011 01:00:03 +0000 (18:00 -0700)]
Whitespace and style cleanup.

14 years agoRemove unused variable.
Josh Durgin [Tue, 12 Jul 2011 00:39:10 +0000 (17:39 -0700)]
Remove unused variable.

14 years agoSuccess of test may not have been set yet.
Josh Durgin [Tue, 12 Jul 2011 00:34:36 +0000 (17:34 -0700)]
Success of test may not have been set yet.

14 years agoadd locktest task
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>
14 years agotask ceph: distribute monmap to all nodes, not just mons.
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>
14 years agoAdd an option to keep machines locked if a test fails.
Josh Durgin [Mon, 11 Jul 2011 22:48:42 +0000 (15:48 -0700)]
Add an option to keep machines locked if a test fails.

14 years agolock: specify machines as input yaml targets: clause
Sage Weil [Mon, 11 Jul 2011 22:25:36 +0000 (15:25 -0700)]
lock: specify machines as input yaml targets: clause

14 years agoprint --lock-many result as yaml targets: stanza
Sage Weil [Mon, 11 Jul 2011 21:49:53 +0000 (14:49 -0700)]
print --lock-many result as yaml targets: stanza

14 years agoclean up locked machine list
Sage Weil [Mon, 11 Jul 2011 22:27:50 +0000 (15:27 -0700)]
clean up locked machine list

14 years agotell user which machines you locked
Sage Weil [Mon, 11 Jul 2011 21:39:21 +0000 (14:39 -0700)]
tell user which machines you locked

14 years agonuke: use default owner
Sage Weil [Mon, 11 Jul 2011 21:39:04 +0000 (14:39 -0700)]
nuke: use default owner

14 years agomake connect work if no roles are specified
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.

14 years agosuite: schedule jobs instead of executing each configuration serially.
Josh Durgin [Mon, 11 Jul 2011 19:52:07 +0000 (12:52 -0700)]
suite: schedule jobs instead of executing each configuration serially.

14 years agoAdd teuthology-schedule and teuthology-worker.
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.

14 years agoAdd httplib2 to setup.py.
Josh Durgin [Fri, 8 Jul 2011 00:06:18 +0000 (17:06 -0700)]
Add httplib2 to setup.py.

14 years agoteuthology-suite: pass --lock and --block to teuthology
Josh Durgin [Thu, 7 Jul 2011 23:19:26 +0000 (16:19 -0700)]
teuthology-suite: pass --lock and --block to teuthology

14 years agoAdd --block option to retry until machines are locked.
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.

14 years agoCheck more invalid argument combinations for teuthology-lock.
Josh Durgin [Thu, 7 Jul 2011 21:56:12 +0000 (14:56 -0700)]
Check more invalid argument combinations for teuthology-lock.

14 years agoRemove locking from TODO.
Josh Durgin [Thu, 7 Jul 2011 19:16:45 +0000 (12:16 -0700)]
Remove locking from TODO.

14 years agoUpdate readme for locking.
Josh Durgin [Thu, 7 Jul 2011 19:16:10 +0000 (12:16 -0700)]
Update readme for locking.

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 agoset flavor to 'local' if pushing from local src dir
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

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 agouse local source dir for teuthology run
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.

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.