Commit Graph

711 Commits

Author SHA1 Message Date
Josh Durgin
e5f33ca5b5 Add command to update ssh hostkeys. 2011-07-19 17:13:13 -07:00
Josh Durgin
81bebfca09 lock server: return host pubkeys with locked machine names 2011-07-19 17:13:13 -07:00
Josh Durgin
77174bdaca lock server: allow sshpubkey to be updated 2011-07-19 17:13:13 -07:00
Josh Durgin
160174cb8b Update lock db schema. 2011-07-19 17:13:13 -07:00
Josh Durgin
ac5c1c41dd Add an overrides section for the ceph task.
This lets you run a suite against a particular version of ceph, or
with special debug settings.
2011-07-15 17:15:12 -07:00
Tommi Virtanen
e056686f62 Unit test that connection.connect actually calls create_key. 2011-07-15 12:45:18 -07:00
Josh Durgin
7587f79c49 Optionally override system host keys. 2011-07-15 12:40:16 -07:00
Josh Durgin
9721e33457 Better interface for running functions in parallel. 2011-07-14 14:39:50 -07:00
Josh Durgin
9f06f5f41d Merge branch 'wip-parallel' 2011-07-14 11:15:55 -07:00
Sage Weil
0000b63765 ceph.conf: remove other random bits
obsolete sections, mds tuning.  stick with defaults.
2011-07-13 21:54:04 -07:00
Josh Durgin
176b304c3d fusermount runs on a single mount point. 2011-07-13 14:02:46 -07:00
Josh Durgin
b99e33f00c Download ceph binaries in parallel. 2011-07-13 14:02:46 -07:00
Josh Durgin
3e2c6c6cac Run workunits on different clients in parallel. 2011-07-13 14:02:46 -07:00
Josh Durgin
a282991bed Download and run autotests on multiple clients in parallel.
These clients must still be on different machines,
or they'll clobber each other's results.
2011-07-13 14:02:43 -07:00
Josh Durgin
4b245fce73 Add a utility for running functions in parallel. 2011-07-13 13:52:48 -07:00
Tommi Virtanen
c88ef9e7f7 Merge branch 'localdir'
Conflicts:
	teuthology/task/ceph.py
2011-07-13 12:38:12 -07:00
Tommi Virtanen
127ef6861c Feed locally-created binary tarball to remotes in parallel.
This should be faster as long as we have the bandwidth for it.
2011-07-13 12:34:39 -07:00
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
69a6b04b48 Remove TODO note covered by teuthology-nuke. 2011-07-13 10:44:33 -07:00
Tommi Virtanen
3547eba712 Avoid identifier clash with builtin "dir". 2011-07-13 10:17:04 -07:00
Sage Weil
49e0e3f5ad ceph.conf: clean out random debug level changes
keep it simple!
2011-07-11 20:32:44 -07:00
Sage Weil
8f3d56ade5 include sha1 in summary
Redundant (there's also a ceph-sha1 file), but convenient.
2011-07-11 20:32:44 -07:00
Sage Weil
479af4bb44 ls: mention directories without summary.yaml 2011-07-11 20:32:44 -07:00
Josh Durgin
1edd435e8c Clean up from pyflakes. 2011-07-11 18:07:40 -07:00
Josh Durgin
5fadb1c11c Whitespace and style cleanup. 2011-07-11 18:07:37 -07:00
Josh Durgin
c53615ce67 Remove unused variable. 2011-07-11 18:00:12 -07:00
Josh Durgin
e69cf0b1b7 Success of test may not have been set yet. 2011-07-11 18:00:12 -07:00
Greg Farnum
f92b3a1cca 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>
2011-07-11 16:45:02 -07:00
Greg Farnum
38ad4d1bf1 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>
2011-07-11 16:45:02 -07:00
Josh Durgin
28f19a4104 Add an option to keep machines locked if a test fails. 2011-07-11 16:23:05 -07:00
Sage Weil
c47dc179e7 lock: specify machines as input yaml targets: clause 2011-07-11 15:28:15 -07:00
Sage Weil
1767b21e79 print --lock-many result as yaml targets: stanza 2011-07-11 15:28:15 -07:00
Sage Weil
2f35eddb27 clean up locked machine list 2011-07-11 15:28:15 -07:00
Sage Weil
91c6f351a1 tell user which machines you locked 2011-07-11 14:39:21 -07:00
Sage Weil
6cf9633a6a nuke: use default owner 2011-07-11 14:39:04 -07:00
Sage Weil
a8d4901fe6 make connect work if no roles are specified
This is useful for -nuke.
2011-07-11 14:23:31 -07:00
Josh Durgin
d1eb9cef38 suite: schedule jobs instead of executing each configuration serially. 2011-07-11 13:49:32 -07:00
Josh Durgin
85c24bda7f Add teuthology-schedule and teuthology-worker.
schedule puts jobs in a beanstalk queue, worker takes them out and runs them.
2011-07-11 13:49:06 -07:00
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