Commit Graph

22 Commits

Author SHA1 Message Date
Zack Cerza
fb96923304 Use consistent URI for lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
c406985268 Change default lock server to paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
f8658deb5b Use os.path.expanduser() instead of os.environ
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:20:29 -06:00
Zack Cerza
9547a7f398 Discourage modifying defaults in instances
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:41:16 -06:00
Zack Cerza
4a6352e372 Don't use double underscores
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:33:43 -06:00
Zack Cerza
49725e08e4 Add src_base_path to defaults.
Defaults to ~/src

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
c886a93688 Make teuthology.config *far* more robust
In addition to parsing its configuration from a yaml file, it can now be
created from a dict. It can also be dumped as a dict, or as a yaml
stream. It is also now split into multiple classes so that the same
implementation can be used for job configs, and not just as a proxy for
~/.teuthology.yaml.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
b7eecd446d Don't mess with ~/src/teuthology by default
Setting 'automated_scheduling: True' in ~/.teuthology.yaml enables it.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-03 10:18:01 -06:00
Zack Cerza
3428b090b4 Remove default results_server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:42:11 -06:00
Zack Cerza
15317083f9 Add default results_email
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-25 12:54:23 -06:00
Zack Cerza
a6aebe2bbc Set results_server by default
So that queued jobs get pushed to paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-22 08:49:26 -05:00
Zack Cerza
769ef8a960 Kill jobs that run for over 3 days (configurable)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-01-16 10:38:39 -06:00
Zack Cerza
5ea5018dbe Make -a optional
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-09 16:42:15 -06:00
Zack Cerza
856f83449c Implement a watchdog for queued jobs
This continually posts the run's status to the results server, if
configured, at an interval defaulting to 600 seconds.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-05 17:48:10 -06:00
Zack Cerza
757b298870 Don't use properties
They're quite inconvenient for this use-case.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-01 09:07:13 -05:00
Zack Cerza
3955666e8e Add config option 'verify_host_keys'
Defaults to True, meaning no change in behavior. If False, don't have
paramiko verify ssh host keys.
2013-09-24 15:04:39 -05:00
Zack Cerza
9de95d174f Add a basic test for teuthology.config 2013-09-20 15:11:13 -05:00
Zack Cerza
1600785d2d Add config.ceph_git_base_url 2013-09-20 14:38:01 -05:00
Zack Cerza
7153c2be45 Add doc noting Inktank's lockserver URL
Since I just removed it from lockstatus.py.
2013-09-20 14:01:07 -05:00
Zack Cerza
38a47ecef0 Don't return inside __init__ 2013-08-28 11:36:36 -05:00
Zack Cerza
fedc91c07f Add a catch-all __getattr__(); add comments 2013-08-26 16:17:31 -05:00
Zack Cerza
d8d2ef931c Add teuthology.config, the start of a better system 2013-08-23 11:39:02 -05:00