Commit Graph

2883 Commits

Author SHA1 Message Date
Zack Cerza
6b10e203b1 Add INSTALL.rst to sources
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-10-24 16:02:08 -06:00
Zack Cerza
53069a5f7f Add 'prep' step that copies docs into docs/source/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
89acc6e855 Abstract source path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
0b1c75c396 Remove reference to static path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
12982830d1 create a tox env for docs
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
5b5adae496 ignore build/ output from docs
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
4610ba431c create the Makefile for sphinx docs generation
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00
Alfredo Deza
dc04d4c946 create the source dir for sphinx
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
3f389ec752 Add a changelog
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:02:08 -06:00
Zack Cerza
22728270c4 Remove old install instructions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:01:17 -06:00
Zack Cerza
3316851798 Add "Choosing machines for a job" section
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:01:17 -06:00
Zack Cerza
0f9026dfd8 Add "Provided utilities" section
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:01:17 -06:00
Zack Cerza
8d2a5be8e0 Rewrite description and overview
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:01:17 -06:00
Zack Cerza
a6ce62bad1 Add separate install documentation
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:01:17 -06:00
Zack Cerza
5ed5a8721b Require six >= 1.5.0
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-24 16:00:34 -06:00
Zack Cerza
126b40732a Merge pull request #344 from dachary/wip-9842-deep-merge
display informative error message if schedule fails to deep_merge
2014-10-21 09:45:34 -06:00
Loic Dachary
d0c2b712f9 display informative error message if schedule fails to deep_merge
Display the two yaml structures that fail to merge in case of an
exception. That's a useful hint to find out what's wrong.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-21 08:34:01 -07:00
John Spray
4f2957c42d Merge pull request #342 from ceph/wip-5876
task/nfs: stop nfs server after test finishes

Reviewed-by: John Spray <john.spray@redhat.com>
2014-10-20 19:45:14 +01:00
Yan, Zheng
049c6a99d9 task/nfs: stop nfs server after test finishes more thoroughly
In addition to "exportfs -au", we take a sledgehammer to it
by shutting down all the worker threads and flushing out
the client export table.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Greg Farnum <Greg@inktank.com>
2014-10-20 10:55:25 -07:00
Zack Cerza
51ba2ff551 Better error handling in list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-20 09:58:25 -06:00
Zack Cerza
9796986236 Fix linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-20 08:33:42 -06:00
Zack Cerza
909f2f2c09 Merge pull request #343 from ceph/wip-dmick
Fixes for #9811 and #9812
2014-10-20 08:31:24 -06:00
Dan Mick
a8e00f2096 task.ssh_keys(): manage authorized_keys, not keys2
See the issue for a description, but authorized_keys2 is dead
on RHEL7 and dying elsewhere.

Fixes: #9812
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-10-17 23:27:30 -07:00
Dan Mick
d3ed4f0756 lock.lock_many(): use passed os_{type,version}, not ctx
Affects teuthology --lock with os_{type,version} in the yaml.

Fixes: #9811
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-10-17 22:06:51 -07:00
Zack Cerza
80e0a969ee Instead of setting status='pass', set success=True
Keeping this old behavior will mean that any tasks that are not updated
to use set_status() and still simply set success=False will still be
able to properly report their failures.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-16 13:57:29 -06:00
Zack Cerza
04f8fd85bb Use new functions provided by job_status
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-16 13:51:44 -06:00
Zack Cerza
a75a8ea57f Add new job_status module
Provides methods for getting and setting job status. This is necessary
because we used to just use a boolean called 'success'. In order to stop
reporting infrastructure errors as failures, we need more than just a
boolean.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-16 13:51:44 -06:00
Zack Cerza
db9c92965d Remove setting of unused 's3_branch' value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-15 12:57:04 -06:00
Zack Cerza
6a5ba7fe6c Stop obsuring stderr when installing with yum
Over time, the code that actually used the buffer we stored stderr in
was removed, leaving us holding error messages and never displaying
them.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-14 09:47:56 -06:00
Zack Cerza
58c22bbb00 Properly quote args that are strings
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-13 16:39:13 -06:00
Zack Cerza
83fce375f1 On SSH connection loss, mark jobs as 'dead'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-13 16:39:13 -06:00
Zack Cerza
4d388a40e5 Remove stray exit statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-07 10:52:34 -06:00
Zack Cerza
88a3c36b8e Don't assume Ubuntu; also support MacOS X
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-07 10:49:40 -06:00
Zack Cerza
61177f9241 Drop libmysqlclient-dev
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-07 10:04:41 -06:00
Zack Cerza
78166c01a4 Use os.path.expanduser() instead of /home
... for locating downburst executable

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-06 14:43:09 -06:00
Zack Cerza
734580d546 Minor fix for vps-only locks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-03 15:13:02 -06:00
Zack Cerza
e9b57e1f97 Merge pull request #339 from ceph/wip-9292-wusui
Cleaned up documentation.
2014-10-03 12:15:16 -06:00
Warren Usui
9a93bfc2ba Cleaned up documentation.
Removed some Inktank references, mentioned the split of tasks (between
teuthology/task and chef-qa-suite/tasks), fixed some wording, removed
chef reference that no longer applies.

Did not update the teuthology-suite section at the end of this file
because further documentation changes are coming.

Fixes: #9292
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-10-02 19:17:59 -07:00
Zack Cerza
2810096cc9 Use arch in lock_machines()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-01 17:15:10 -06:00
Zack Cerza
621a766371 Query arch in lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-01 17:14:59 -06:00
Zack Cerza
addb3ef73d Use uname -m instead of uname -p
Debian hosts were reporting as 'unknown'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-01 16:55:55 -06:00
Zack Cerza
cd2860e16c All BaseExceptions should hit failure codepath
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-01 14:58:07 -06:00
Zack Cerza
6608323766 Move VersionNotFoundError to exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 13:36:36 -06:00
Zack Cerza
05a7944cf2 Move ScheduleFailError to exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 13:35:13 -06:00
Zack Cerza
0ef1e12960 Use os_type and os_version in lock_machines()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 10:41:29 -06:00
Zack Cerza
86e934ef25 Query os_type and os_version in lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 10:41:29 -06:00
Zack Cerza
2e9b92a619 Remove default for --os-type
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 10:41:29 -06:00
Zack Cerza
a962779b15 Add OS.__repr__() and OS.to_dict()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 10:41:29 -06:00
Zack Cerza
a5917b4be9 Move OS class to its own files
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-09-30 10:41:29 -06:00
Greg Farnum
56223ce98b tasks/nfs: sync before unmounting or unexporting nfs clients/servers
We have some hope that this will resolve #8576 in the Ceph tracker.

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-09-29 13:15:01 -07:00