Tommi Virtanen
aee944229e
Use a nameless tempfile for local tarball, avoids cleanup.
2011-07-13 12:18:55 -07:00
Tommi Virtanen
f52df63bce
More careful error checking, avoid need for shell quoting.
2011-07-13 12:07:36 -07:00
Tommi Virtanen
e7618a6750
Clean up tarball tmpdir in all cases.
...
Prefer shutil.rmtree over os.system('rm -rf ...').
2011-07-13 11:32:28 -07:00
Tommi Virtanen
c701fe500c
Use tempfile instead of ad hoc temp dir creation.
2011-07-13 10:58:01 -07:00
Tommi Virtanen
3547eba712
Avoid identifier clash with builtin "dir".
2011-07-13 10:17:04 -07:00
Sage Weil
d04256aa96
set flavor to 'local' if pushing from local src dir
...
always record in summary
2011-07-05 15:14:42 -07:00
Sage Weil
53fc6920b1
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.
2011-07-01 09:09:39 -07:00
Josh Durgin
effee7ffc6
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.
2011-06-30 16:05:53 -07:00
Josh Durgin
4b1d536ab9
Don't recreate ctx.cluster when reconnecting after installing kernels.
2011-06-30 15:51:09 -07:00
Josh Durgin
6f86de4423
Save kernel version in summary instead of a separate file.
2011-06-30 15:48:43 -07:00
Josh Durgin
7b1b332264
Kernel task does not need to be a context manager.
2011-06-30 15:47:54 -07:00
Tommi Virtanen
e16556e377
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.
2011-06-30 11:26:20 -07:00
Sage Weil
437631695d
workunits: set LD_LIBRARY_PATH
...
Needed by rbd workunit to find librbd.so
2011-06-29 12:55:21 -07:00
Sage Weil
770edc3a0b
suite: set each run description to combination of facet names
2011-06-29 12:09:38 -07:00
Sage Weil
bc91e1b580
workunits: set CEPH_ARGS so 'ceph' etc can find config
2011-06-29 10:57:35 -07:00
Sage Weil
a9a2733621
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>
2011-06-29 10:41:03 -07:00
Josh Durgin
79956538a4
Add kernel task for controlling kernel version for different roles.
2011-06-28 14:51:11 -07:00
Josh Durgin
0904ce550d
Move get_clients method into misc to avoid duplication.
2011-06-28 14:51:11 -07:00
Sage Weil
256e6a2bbc
tasks/clock: tolerate ntp daemon
2011-06-28 14:18:08 -07:00
Josh Durgin
e2e96b31ef
Enable core dumps when running the rbd cli tool.
2011-06-22 17:40:58 -07:00
Josh Durgin
9eea6b9325
Handle rbd config with no properties.
2011-06-22 17:34:08 -07:00
Josh Durgin
122ed28638
Wait for rbd devices to be removed before removing the module.
2011-06-22 17:32:10 -07:00
Tommi Virtanen
efeac9f328
Add status logging into task rbd.
2011-06-22 16:36:25 -07:00
Tommi Virtanen
fb016548ad
Wait for block device to show up in task rbd.dev_create.
2011-06-22 16:36:12 -07:00
Josh Durgin
c0482793cb
Add combined rbd task that runs all the subparts.
2011-06-22 16:03:57 -07:00
Josh Durgin
789de09f8b
Add rbd.mount method.
2011-06-22 16:03:57 -07:00
Josh Durgin
deb2fe5c81
Add rbd.mkfs method.
2011-06-22 16:03:57 -07:00
Josh Durgin
2d64461959
Add rbd -> /dev mapping method.
2011-06-22 16:03:57 -07:00
Josh Durgin
dfc3a85154
Add rbd modprobe method.
2011-06-22 16:03:57 -07:00
Josh Durgin
bd46d753e3
Add rbd task with create_image function.
2011-06-22 16:03:56 -07:00
Josh Durgin
05e2ba9b15
Save the flavor of a run in the summary file.
2011-06-21 11:02:43 -07:00
Tommi Virtanen
e481db1337
Archive syslog messages while the test was in progress.
2011-06-20 14:31:41 -07:00
Tommi Virtanen
bc8cc868f9
Fix bug that thought all >1 node clusters always had core dumps.
...
Accidentally shared the stdout between all the runs.
2011-06-20 14:31:41 -07:00
Tommi Virtanen
6a32f723a3
Autotests run no ceph software, so don't try to do code coverage there.
2011-06-17 16:01:26 -07:00
Tommi Virtanen
57c542b9e8
Archive cores dumped during test, record test as failed if any seen.
2011-06-17 16:00:39 -07:00
Tommi Virtanen
2738ce011e
Better examples for kclient task.
2011-06-16 16:51:57 -07:00
Tommi Virtanen
4f46e4b7f6
Make cfuse and kclient default to all clients.
2011-06-16 16:09:50 -07:00
Tommi Virtanen
b49c7390cc
Archive autotest result output.
2011-06-16 16:09:49 -07:00
Tommi Virtanen
5b237fc50e
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.
2011-06-16 16:09:49 -07:00
Sage Weil
cebf88d92a
show role in log prefix when running workunits
2011-06-16 15:19:55 -07:00
Sage Weil
55cfd9298e
fix typo in workunits example
2011-06-16 15:19:55 -07:00
Sage Weil
7fe89b795f
add clock task to sync clocks
2011-06-16 15:19:55 -07:00
Tommi Virtanen
78a3c23418
Move non-ceph logic out of the ceph task: base dir, archive transfer.
2011-06-16 14:36:22 -07:00
Tommi Virtanen
301ab56748
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.
2011-06-16 14:36:21 -07:00
Tommi Virtanen
629ad4477d
Move /tmp/cephtest/data creation to where it belongs, in ceph.cluster.
2011-06-16 14:36:21 -07:00
Tommi Virtanen
594a3d3f04
Refactor ceph log handling into a separate subtask.
2011-06-16 14:36:21 -07:00
Tommi Virtanen
445186b0a5
Refactor ceph healthy waiting into a separate subtask.
...
Note, not a context manager, just a task. There's no cleanup.
2011-06-16 14:36:21 -07:00
Tommi Virtanen
259eb35068
Refactor ceph mds daemon handling into a separate subtask.
2011-06-16 14:36:21 -07:00
Tommi Virtanen
2da2d258e9
Refactor ceph osd daemon handling into a separate subtask.
2011-06-16 11:34:42 -07:00
Tommi Virtanen
3fc00e3764
Refactor ceph mon daemon handling into a separate subtask.
2011-06-16 11:34:42 -07:00