]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Warren Usui [Wed, 3 Dec 2014 17:16:02 +0000 (09:16 -0800)]
Added calamari-server
Calamari-server has been added to the list of installed packages
to be removed. Also added salt-common and salt-minion to the list
of rpms to be removed.
Fixes #10034
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Sage Weil [Thu, 13 Nov 2014 16:23:58 +0000 (08:23 -0800)]
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>
Zack Cerza [Wed, 12 Nov 2014 21:43:30 +0000 (14:43 -0700)]
Merge pull request #357 from andrewschoen/tox-integration-tests
Moves all integration tests to an integration folder and provides a new ...
Zack Cerza [Wed, 12 Nov 2014 21:30:55 +0000 (14:30 -0700)]
Merge pull request #356 from ceph/wip-default-machine-type
Allow setting default machine_type per-lab
Andrew Schoen [Wed, 12 Nov 2014 21:21:27 +0000 (15:21 -0600)]
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>
Zack Cerza [Wed, 12 Nov 2014 20:46:01 +0000 (13:46 -0700)]
Allow setting default machine_type per-lab
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 12 Nov 2014 20:20:46 +0000 (13:20 -0700)]
Merge pull request #355 from ceph/wip-email
teuthology_results: add --dry-run
Zack Cerza [Tue, 11 Nov 2014 18:26:54 +0000 (11:26 -0700)]
If timeout is None or zero, don't log
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 11 Nov 2014 17:41:14 +0000 (10:41 -0700)]
Add dry-run option
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 11 Nov 2014 17:36:29 +0000 (10:36 -0700)]
Use docopt instead of argparse
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 11 Nov 2014 17:07:08 +0000 (10:07 -0700)]
Use new config API
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 11 Nov 2014 23:20:36 +0000 (16:20 -0700)]
Merge pull request #354 from andrewschoen/tox-cov-report
Adds a coverage report when running the tox tests
Andrew Schoen [Tue, 11 Nov 2014 22:10:27 +0000 (16:10 -0600)]
Adds a coverage report when running the tox tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Fri, 7 Nov 2014 17:17:08 +0000 (10:17 -0700)]
Merge pull request #351 from ceph/wip-9925-wusui
Allow more strings in filters
Zack Cerza [Fri, 7 Nov 2014 17:13:50 +0000 (10:13 -0700)]
Mention hostnames in ConnectionLostErrors
Signed-off-by: Zack Cerza <zack@cerza.org>
Warren Usui [Fri, 7 Nov 2014 00:31:04 +0000 (16:31 -0800)]
More suite filter changes.
Comment change, and update help message to reflect the ability to
use a comma separated list as a filter.
Zack Cerza [Thu, 6 Nov 2014 20:22:12 +0000 (13:22 -0700)]
Merge pull request #352 from ceph/wip-update-vm-hostkeys
Continue fix for 9871
Zack Cerza [Thu, 6 Nov 2014 19:36:57 +0000 (12:36 -0700)]
Merge pull request #353 from ceph/wip-9975
remove configuration files when nuking
Alfredo Deza [Thu, 6 Nov 2014 17:53:18 +0000 (12:53 -0500)]
use ctx instead of remotes
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Wed, 5 Nov 2014 21:43:35 +0000 (14:43 -0700)]
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>
Zack Cerza [Wed, 5 Nov 2014 16:33:13 +0000 (09:33 -0700)]
Fix duplicate test name
Signed-off-by: Zack Cerza <zack@cerza.org>
Alfredo Deza [Wed, 5 Nov 2014 14:43:12 +0000 (09:43 -0500)]
call the new helper in nuke_helper
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 5 Nov 2014 14:37:59 +0000 (09:37 -0500)]
create a configuration removal function in nuke.py
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Wed, 5 Nov 2014 00:53:07 +0000 (17:53 -0700)]
Don't explode if results_sending_email isn't set
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Tue, 4 Nov 2014 23:39:30 +0000 (16:39 -0700)]
Suppress tracebacks when coverage isn't configured
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Tue, 4 Nov 2014 17:24:55 +0000 (10:24 -0700)]
Install virtualenv if it isn't present
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Tue, 4 Nov 2014 17:23:36 +0000 (10:23 -0700)]
Also install mysql on MacOS
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Tue, 4 Nov 2014 17:16:05 +0000 (10:16 -0700)]
Fix typo
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Mon, 3 Nov 2014 23:41:49 +0000 (16:41 -0700)]
Drop default watchdog_interval to 120s
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Mon, 3 Nov 2014 17:05:06 +0000 (10:05 -0700)]
Explicitly pass json header
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Thu, 30 Oct 2014 19:01:38 +0000 (13:01 -0600)]
Allow omitting 'tasks' stanza in job definitions
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Thu, 30 Oct 2014 17:19:53 +0000 (11:19 -0600)]
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>
Zack Cerza [Wed, 29 Oct 2014 23:47:10 +0000 (17:47 -0600)]
If lock_server is not set, check_lock() no-ops
Signed-off-by: Zack Cerza <zack@cerza.org>
Sage Weil [Fri, 31 Oct 2014 23:50:35 +0000 (16:50 -0700)]
ceph.conf: set mon pg warn max per osd = 10000
Signed-off-by: Sage Weil <sage@redhat.com>
Dan Mick [Wed, 29 Oct 2014 23:30:47 +0000 (16:30 -0700)]
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>
Zack Cerza [Thu, 30 Oct 2014 22:32:28 +0000 (16:32 -0600)]
Add libmysqlclient-dev to ubuntu requirements
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 30 Oct 2014 22:32:09 +0000 (16:32 -0600)]
Revert "Remove MySQL requirements"
This reverts commit
c69051367069eab4dd608753e14ffc8cee75b50b .
Zack Cerza [Wed, 29 Oct 2014 20:43:20 +0000 (14:43 -0600)]
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>
Warren Usui [Wed, 29 Oct 2014 00:27:21 +0000 (17:27 -0700)]
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>
Dan Mick [Tue, 28 Oct 2014 23:46:33 +0000 (16:46 -0700)]
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>
Zack Cerza [Tue, 28 Oct 2014 19:26:14 +0000 (13:26 -0600)]
Merge pull request #348 from ceph/wip-9871
lock.py: update keys for any owned VMs, even if none mentioned on CLI
Dan Mick [Mon, 27 Oct 2014 22:06:01 +0000 (15:06 -0700)]
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>
Zack Cerza [Tue, 28 Oct 2014 16:48:18 +0000 (10:48 -0600)]
Merge pull request #349 from ceph/wip-9914
internal.py: report more-accurate info about locked machines
Zack Cerza [Tue, 28 Oct 2014 14:32:23 +0000 (08:32 -0600)]
Update to reflect bootstrap.sh's Fedora support
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Tue, 28 Oct 2014 14:31:10 +0000 (08:31 -0600)]
Merge pull request #350 from ceph/fedora
support Fedora when using bootstrap
Greg Farnum [Tue, 28 Oct 2014 01:08:43 +0000 (18:08 -0700)]
support Fedora when using bootstrap
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Dan Mick [Mon, 27 Oct 2014 22:26:36 +0000 (15:26 -0700)]
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>
Zack Cerza [Fri, 24 Oct 2014 21:57:07 +0000 (15:57 -0600)]
Add INSTALL.rst to sources
Signed-off-by: Zack Cerza <zack@cerza.org>
Zack Cerza [Thu, 23 Oct 2014 19:39:38 +0000 (13:39 -0600)]
Add 'prep' step that copies docs into docs/source/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 22 Oct 2014 15:23:20 +0000 (09:23 -0600)]
Abstract source path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 17 Oct 2014 20:18:30 +0000 (14:18 -0600)]
Remove reference to static path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 14 Oct 2014 21:08:09 +0000 (17:08 -0400)]
create a tox env for docs
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Tue, 14 Oct 2014 21:06:54 +0000 (17:06 -0400)]
ignore build/ output from docs
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Tue, 14 Oct 2014 21:05:49 +0000 (17:05 -0400)]
create the Makefile for sphinx docs generation
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Tue, 14 Oct 2014 21:05:26 +0000 (17:05 -0400)]
create the source dir for sphinx
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Thu, 23 Oct 2014 20:45:33 +0000 (14:45 -0600)]
Add a changelog
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 24 Oct 2014 19:09:00 +0000 (13:09 -0600)]
Remove old install instructions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 24 Oct 2014 19:06:19 +0000 (13:06 -0600)]
Add "Choosing machines for a job" section
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 24 Oct 2014 19:04:02 +0000 (13:04 -0600)]
Add "Provided utilities" section
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 3 Oct 2014 20:42:29 +0000 (14:42 -0600)]
Rewrite description and overview
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 2 Oct 2014 20:27:26 +0000 (14:27 -0600)]
Add separate install documentation
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 23 Oct 2014 21:06:43 +0000 (15:06 -0600)]
Require six >= 1.5.0
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 21 Oct 2014 15:45:34 +0000 (09:45 -0600)]
Merge pull request #344 from dachary/wip-9842-deep-merge
display informative error message if schedule fails to deep_merge
Loic Dachary [Tue, 21 Oct 2014 04:16:25 +0000 (21:16 -0700)]
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>
John Spray [Mon, 20 Oct 2014 18:45:14 +0000 (19:45 +0100)]
Merge pull request #342 from ceph/wip-5876
task/nfs: stop nfs server after test finishes
Reviewed-by: John Spray <john.spray@redhat.com>
Yan, Zheng [Wed, 15 Oct 2014 07:47:57 +0000 (15:47 +0800)]
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>
Zack Cerza [Mon, 20 Oct 2014 15:58:25 +0000 (09:58 -0600)]
Better error handling in list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 20 Oct 2014 14:33:42 +0000 (08:33 -0600)]
Fix linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 20 Oct 2014 14:31:24 +0000 (08:31 -0600)]
Merge pull request #343 from ceph/wip-dmick
Fixes for #9811 and #9812
Dan Mick [Sat, 18 Oct 2014 05:11:05 +0000 (22:11 -0700)]
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>
Dan Mick [Sat, 18 Oct 2014 05:06:51 +0000 (22:06 -0700)]
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>
Zack Cerza [Thu, 16 Oct 2014 19:57:29 +0000 (13:57 -0600)]
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>
Zack Cerza [Thu, 16 Oct 2014 18:54:07 +0000 (12:54 -0600)]
Use new functions provided by job_status
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 16 Oct 2014 18:46:21 +0000 (12:46 -0600)]
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>
Zack Cerza [Wed, 15 Oct 2014 18:57:04 +0000 (12:57 -0600)]
Remove setting of unused 's3_branch' value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 14 Oct 2014 15:38:41 +0000 (09:38 -0600)]
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>
Zack Cerza [Mon, 13 Oct 2014 22:17:43 +0000 (16:17 -0600)]
Properly quote args that are strings
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 13 Oct 2014 20:37:18 +0000 (14:37 -0600)]
On SSH connection loss, mark jobs as 'dead'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 7 Oct 2014 16:52:34 +0000 (10:52 -0600)]
Remove stray exit statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 7 Oct 2014 16:49:40 +0000 (10:49 -0600)]
Don't assume Ubuntu; also support MacOS X
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 7 Oct 2014 16:04:41 +0000 (10:04 -0600)]
Drop libmysqlclient-dev
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 6 Oct 2014 20:43:09 +0000 (14:43 -0600)]
Use os.path.expanduser() instead of /home
... for locating downburst executable
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 3 Oct 2014 21:12:29 +0000 (15:12 -0600)]
Minor fix for vps-only locks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 3 Oct 2014 18:15:16 +0000 (12:15 -0600)]
Merge pull request #339 from ceph/wip-9292-wusui
Cleaned up documentation.
Warren Usui [Fri, 3 Oct 2014 02:17:59 +0000 (19:17 -0700)]
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>
Zack Cerza [Wed, 1 Oct 2014 23:15:10 +0000 (17:15 -0600)]
Use arch in lock_machines()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 1 Oct 2014 23:14:59 +0000 (17:14 -0600)]
Query arch in lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 1 Oct 2014 22:55:55 +0000 (16:55 -0600)]
Use uname -m instead of uname -p
Debian hosts were reporting as 'unknown'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 1 Oct 2014 20:58:07 +0000 (14:58 -0600)]
All BaseExceptions should hit failure codepath
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 30 Sep 2014 19:36:36 +0000 (13:36 -0600)]
Move VersionNotFoundError to exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 30 Sep 2014 19:35:13 +0000 (13:35 -0600)]
Move ScheduleFailError to exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 30 Sep 2014 15:13:46 +0000 (09:13 -0600)]
Use os_type and os_version in lock_machines()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 29 Sep 2014 21:00:22 +0000 (15:00 -0600)]
Query os_type and os_version in lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 29 Sep 2014 21:00:06 +0000 (15:00 -0600)]
Remove default for --os-type
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 29 Sep 2014 13:54:34 +0000 (07:54 -0600)]
Add OS.__repr__() and OS.to_dict()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 29 Sep 2014 13:39:49 +0000 (07:39 -0600)]
Move OS class to its own files
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Greg Farnum [Mon, 29 Sep 2014 19:38:04 +0000 (12:38 -0700)]
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>
Zack Cerza [Fri, 26 Sep 2014 20:46:00 +0000 (14:46 -0600)]
Bump requests version to >= 2.3.0
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 25 Sep 2014 16:12:10 +0000 (10:12 -0600)]
Allow mixing of bare-metal machine_types
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 26 Sep 2014 17:12:59 +0000 (11:12 -0600)]
Merge pull request #335 from ceph/wip-kernel-downgrade
Fix RPM kernel downgrade.