Commit Graph

2320 Commits

Author SHA1 Message Date
Josh Durgin
4218d7063b Add httplib2 to setup.py. 2011-07-07 17:06:18 -07:00
Josh Durgin
a260da1277 teuthology-suite: pass --lock and --block to teuthology 2011-07-07 16:19:26 -07:00
Josh Durgin
fd30ed76bf Add --block option to retry until machines are locked.
If there are not enough machines up, fail immediately.
2011-07-07 16:15:18 -07:00
Josh Durgin
f14b4e19ce Check more invalid argument combinations for teuthology-lock. 2011-07-07 14:56:12 -07:00
Josh Durgin
e3275155f3 Remove locking from TODO. 2011-07-07 12:35:11 -07:00
Josh Durgin
f6efcd398d Update readme for locking. 2011-07-07 12:35:11 -07:00
Josh Durgin
a55d2eb53a Read lock server from ~/teuthology.yaml. 2011-07-07 12:35:11 -07:00
Josh Durgin
9158c83167 Verify that machines are locked before nuking them. 2011-07-07 12:35:11 -07:00
Josh Durgin
9bfca87980 Check that all machines are locked, and add an option to lock machines instead of providing targets. 2011-07-07 12:35:11 -07:00
Josh Durgin
4d62dd3bcc Add command line tool for locking machines. 2011-07-07 12:35:08 -07:00
Josh Durgin
09bee43593 Move username to a utility method. 2011-07-07 12:32:58 -07:00
Josh Durgin
dbf5e54307 Add simple lock server HTTP interface. 2011-07-07 12:32:51 -07:00
Greg Farnum
4fcecf0184 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>
2011-07-06 16:45:57 -07:00
Greg Farnum
850f337fc9 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>
2011-07-06 16:45:57 -07:00
Tommi Virtanen
9655042d4b Skip s3-tests marked fails_on_rgw, they will fail anyway. 2011-07-06 14:17:24 -07:00
Tommi Virtanen
3665f7530a The shell exits after the command, hence there is no need for pushd/popd. 2011-07-06 14:15:51 -07:00
Josh Durgin
7ea8ecdc6b Don't set unix env vars in fastcgi env. 2011-07-06 11:40:25 -07:00
Sage Weil
7e603ceb61 adjust ceph.conf from yaml input 2011-07-05 16:47:00 -07:00
Sage Weil
f164dd7933 nuke: sudo for the final rm -rf 2011-07-05 16:47:00 -07:00
Josh Durgin
f80a2f69c6 Remove quotes from apache conf. 2011-07-05 16:48:00 -07:00
Josh Durgin
a3b42e6556 Let apache kill rgw.
It seems to be getting killed correctly now.
2011-07-05 16:38:21 -07:00
Josh Durgin
ba6545f8b7 Set LD_LIBRARY_PATH for rgw. 2011-07-05 16:32:41 -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
Josh Durgin
003492a2d5 Retry connecting based on more error codes. 2011-07-05 13:48:26 -07:00
Sage Weil
2b168b033d nuke: do not escape fusermount .../mnt.* 2011-07-05 09:01:01 -07:00
Josh Durgin
ae87abf333 Add s3tests task. 2011-07-01 16:18:59 -07:00
Josh Durgin
03a08eb392 Add rgw task with hardcoded apache config. 2011-07-01 16:18:59 -07:00
Tommi Virtanen
6e73607147 More idiomatic Python. 2011-07-01 09:34:08 -07:00
Tommi Virtanen
ce041a525c summary is used outside the try: except:, move it outside it. 2011-07-01 09:33:06 -07:00
Tommi Virtanen
c1cd141b29 Only ignore ENOENT errors in teuthology-ls. 2011-07-01 09:32:30 -07:00
Tommi Virtanen
fdbf591cba Whitespace cleanup. 2011-07-01 09:29:19 -07:00
Tommi Virtanen
e697e4b8ee pyflakes cleanup. 2011-07-01 09:28:56 -07:00
Tommi Virtanen
2137da2cf3 Add final slash to path to enforce it being a dir. 2011-07-01 09:22:25 -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
Tommi Virtanen
cb4ffc3157 Use idiomatic python. 2011-06-30 11:25:15 -07:00
Sage Weil
7d57b355d8 teuthology-ls: summarize results from an archive-dir
ugly but basically works
2011-06-29 12:55:25 -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
b95e61ae29 teuthology-nuke
Take in a full config (or just targets: portion) and do a destructive
cleanup.

Still need to clean up kernel mounts.
2011-06-29 12:23:44 -07:00
Sage Weil
2125e8dc1e include @hostname in owner 2011-06-29 12:09:38 -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
052f43c958 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.
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