Andrew Schoen
22ef7fa8bd
added a test to make sure docopt was parsing things correctly for teuthology-coverage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-14 10:07:18 -06:00
Andrew Schoen
dfffadd42e
cleaning up usage for teuthology-coverage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-13 15:24:41 -06:00
Andrew Schoen
34d6489d4f
porting teuthology-coverage to docopt
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-13 14:33:51 -06:00
Sage Weil
12404f1484
ceph.conf: mon pg warn max object skew = 0 (disable warning)
...
Make the 'too few pgs' warnings go away from qa runs.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 08:23:58 -08:00
Zack Cerza
4090a30e90
Merge pull request #357 from andrewschoen/tox-integration-tests
...
Moves all integration tests to an integration folder and provides a new ...
2014-11-12 14:43:30 -07:00
Zack Cerza
927c33c3cd
Merge pull request #356 from ceph/wip-default-machine-type
...
Allow setting default machine_type per-lab
2014-11-12 14:30:55 -07:00
Andrew Schoen
a3f2f632bc
Moves all integration tests to an integration folder and provides a new tox env to run only those tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-12 15:23:17 -06:00
Zack Cerza
adc14690c3
Allow setting default machine_type per-lab
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-12 13:46:01 -07:00
Zack Cerza
2c95a3a2fa
Merge pull request #355 from ceph/wip-email
...
teuthology_results: add --dry-run
2014-11-12 13:20:46 -07:00
Zack Cerza
a0053946a4
If timeout is None or zero, don't log
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-12 11:00:40 -07:00
Zack Cerza
e2030dd973
Add dry-run option
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-12 11:00:40 -07:00
Zack Cerza
fb32105385
Use docopt instead of argparse
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-12 11:00:39 -07:00
Zack Cerza
70d2aab4fb
Use new config API
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2014-11-12 10:57:08 -07:00
Zack Cerza
8aa6bf0ca8
Merge pull request #354 from andrewschoen/tox-cov-report
...
Adds a coverage report when running the tox tests
2014-11-11 16:20:36 -07:00
Andrew Schoen
0deb2a9d4a
Adds a coverage report when running the tox tests
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-11 16:10:27 -06:00
Zack Cerza
c2d0e48012
Merge pull request #351 from ceph/wip-9925-wusui
...
Allow more strings in filters
2014-11-07 10:17:08 -07:00
Zack Cerza
449de49de9
Mention hostnames in ConnectionLostErrors
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-07 10:13:50 -07:00
Warren Usui
86ace44c10
More suite filter changes.
...
Comment change, and update help message to reflect the ability to
use a comma separated list as a filter.
2014-11-06 16:34:01 -08:00
Zack Cerza
137daaf1ae
Merge pull request #352 from ceph/wip-update-vm-hostkeys
...
Continue fix for 9871
2014-11-06 13:22:12 -07:00
Zack Cerza
739a881a3c
Merge pull request #353 from ceph/wip-9975
...
remove configuration files when nuking
2014-11-06 12:36:57 -07:00
Alfredo Deza
5d7e92096c
use ctx instead of remotes
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-11-06 12:53:18 -05:00
Zack Cerza
53723d43f1
Also look for /etc/teuthology.yaml
...
First we look for ~/.teuthology.yaml - if that is not found, we look for
a system-wide configuration in /etc/teuthology.yaml
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-05 14:43:35 -07:00
Zack Cerza
a1455f51b9
Fix duplicate test name
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-05 09:33:13 -07:00
Alfredo Deza
cac45a35aa
call the new helper in nuke_helper
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-11-05 09:43:12 -05:00
Alfredo Deza
837790f735
create a configuration removal function in nuke.py
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-11-05 09:37:59 -05:00
Zack Cerza
36027d1307
Don't explode if results_sending_email isn't set
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-04 17:53:07 -07:00
Zack Cerza
94e92a64a8
Suppress tracebacks when coverage isn't configured
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-04 16:39:30 -07:00
Zack Cerza
fe9f9d8688
Install virtualenv if it isn't present
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-04 10:24:55 -07:00
Zack Cerza
f57ff03503
Also install mysql on MacOS
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-04 10:23:36 -07:00
Zack Cerza
ac62ea8cbe
Fix typo
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-04 10:16:05 -07:00
Zack Cerza
c246fd56a6
Drop default watchdog_interval to 120s
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-03 16:41:49 -07:00
Zack Cerza
5e97574000
Explicitly pass json header
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-03 13:42:35 -07:00
Zack Cerza
c86f73edb9
Allow omitting 'tasks' stanza in job definitions
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-03 13:42:35 -07:00
Zack Cerza
a087c6c3b3
Abstract the lab domain (e.g. front.sepia.ceph.com)
...
This should make usage in other labs easier.
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-03 13:42:35 -07:00
Zack Cerza
3e5762c006
If lock_server is not set, check_lock() no-ops
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-11-03 13:42:34 -07:00
Sage Weil
5664326a5a
ceph.conf: set mon pg warn max per osd = 10000
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-31 16:50:35 -07:00
Dan Mick
416528ef86
Continue fix for 9871
...
The existing logic was too tortured, and the previous fix was bad.
Rewrite to extract "get_statuses()" to a worker, and make it
extremely clear which VM hostkeys are being updated and why.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-10-30 19:20:48 -07:00
Zack Cerza
e49762ae85
Add libmysqlclient-dev to ubuntu requirements
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-10-30 16:32:28 -06:00
Zack Cerza
e9e4fd9b3b
Revert "Remove MySQL requirements"
...
This reverts commit c690513670
.
2014-10-30 16:32:09 -06:00
Zack Cerza
c690513670
Remove MySQL requirements
...
These are only needed for teuthology-coverage, which requires a good
amount of extra setup (if it even works).
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-10-29 14:43:20 -06:00
Warren Usui
ddba3121cd
Allow more strings in filters
...
A comma separated list can now be used in filter and filter-out.
Fixes : #9925
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-10-28 19:57:51 -07:00
Dan Mick
f4291769b0
Fix for 9871 was wrong: original <= should always have been <
...
...but now it matters. lock_list returns exactly the length needed,
and so the 'failure' case is strict less-than.
Suggested-by: Sandon VanNess <svanness@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-10-28 16:46:33 -07:00
Zack Cerza
e13c152536
Merge pull request #348 from ceph/wip-9871
...
lock.py: update keys for any owned VMs, even if none mentioned on CLI
2014-10-28 13:26:14 -06:00
Dan Mick
fff9626f28
lock.py: update keys for any owned VMs, even if none mentioned on CLI
...
teuthology-lock to create new VMs followed by "--list-targets" was
returning the old hostkeys. The code rightly avoids fetching keys
for all hosts; this change makes it update keys owned by the
current querying user.
Fixes : #9871
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-10-28 10:00:15 -07:00
Zack Cerza
18c0a9ec74
Merge pull request #349 from ceph/wip-9914
...
internal.py: report more-accurate info about locked machines
2014-10-28 10:48:18 -06:00
Zack Cerza
99e4470ac3
Update to reflect bootstrap.sh's Fedora support
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-10-28 08:32:23 -06:00
Zack Cerza
0a140eb9c2
Merge pull request #350 from ceph/fedora
...
support Fedora when using bootstrap
2014-10-28 08:31:10 -06:00
Greg Farnum
eeadd4918f
support Fedora when using bootstrap
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-10-27 18:08:43 -07:00
Dan Mick
40ed986233
internal.py: report more-accurate info about locked machines
...
Don't hide the fact that there are reserved machines that may
cause a scheduled lock request to have to wait.
Fixes: 9914
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2014-10-27 15:26:36 -07:00
Zack Cerza
6b10e203b1
Add INSTALL.rst to sources
...
Signed-off-by: Zack Cerza <zack@cerza.org>
2014-10-24 16:02:08 -06:00