Commit Graph

4792 Commits

Author SHA1 Message Date
Josh Durgin
4e399da700 Log connections to targets
This way you can tell which machines have problems in case of an
error.
2011-08-04 18:25:43 -07:00
Josh Durgin
ac0a469b78 teuthology-worker: log to a file with timestamps 2011-08-03 15:28:46 -07:00
Josh Durgin
5897d7b95d teuthology-nuke: run in parallel, and print each node being nuked 2011-08-03 14:52:55 -07:00
Josh Durgin
30a8dac323 Set success at the beginning of a run.
This way internal tasks like locking can tell whether the run
succeeded, and unlock nodes if it did.
2011-08-03 14:03:13 -07:00
Josh Durgin
e8676ce0eb teuthology-nuke: reset rsyslog config 2011-08-03 11:21:32 -07:00
Josh Durgin
d079d51037 teuthology-worker: keep machines locked on error
This prevents a failure to clean up in one case from affecting the
rest of the tests.
2011-08-02 17:59:08 -07:00
Josh Durgin
c7b62feac8 teuthology-lock: update usage 2011-08-02 16:15:57 -07:00
Josh Durgin
cd04423541 teuthology-lock: allow list of locks to be filtered by owner and status 2011-08-02 15:56:14 -07:00
Greg Farnum
6ac6f7ab38 teuthology: convert from bzip2 to gzip.
gzip is much, much faster on large log files. With a 7.7GB client log, gzip
took 2:45 to compress it to 624MB. bzip2 took 34:38 to compress it to
366MB. For our purposes the space savings are not worth the time loss.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-07-29 10:35:02 -07:00
Sage Weil
277c4ff7aa set max_mds based on non-standbys 2011-07-28 10:25:30 -07:00
Sage Weil
07745f8a51 no ++ in python 2011-07-27 11:45:20 -07:00
Sage Weil
c220a4f3fa roles/3-simple: include a standby mds 2011-07-27 11:45:13 -07:00
Sage Weil
573c9ff2b4 configure mds's with -s suffix as standby 2011-07-27 10:04:37 -07:00
Sage Weil
5015b90697 roles: use letters for mon, mds names 2011-07-26 22:07:02 -07:00
Sage Weil
5b0924494a tolerate named (not numbered) mons 2011-07-26 22:07:02 -07:00
Sage Weil
7c0f7c23c7 specify and clean up admin socket 2011-07-26 22:00:39 -07:00
Josh Durgin
4630a0a1c0 lock server: configure for apache with mod_wsgi 2011-07-19 18:37:05 -07:00
Josh Durgin
629187f302 Set content-type with PUT. 2011-07-19 18:34:42 -07:00
Josh Durgin
02d0efad97 schedule: make default owner different from that of a normal run
This way the machines locked by scheduled jobs aren't confused
with those locked by manual runs, so they're harder to accidentally
unlock.
2011-07-19 17:25:57 -07:00
Josh Durgin
99afde1417 Update example targets in readme. 2011-07-19 17:13:13 -07:00
Josh Durgin
731fe41022 Remove print that clutters the worker logs. 2011-07-19 17:13:13 -07:00
Josh Durgin
271e066d6c Connect without using any known_hosts files. 2011-07-19 17:13:13 -07:00
Josh Durgin
8d196b001c Make targets a dictionary mapping hosts to ssh host keys. 2011-07-19 17:13:13 -07:00
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