]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Sandon Van Ness [Thu, 4 Dec 2014 23:23:35 +0000 (15:23 -0800)]
Various bug-fixes with kernel installs.
Fixed a typo causing grub list to not incrament and other issues
with finding a reliable uname string via inspecting RPM directly.
Signed-off-by: Sandon Van Ness <sandon@redhat.com>
Zack Cerza [Thu, 4 Dec 2014 22:56:29 +0000 (15:56 -0700)]
Merge pull request #378 from ceph/wip-opsys
Add OS.codename
Zack Cerza [Thu, 4 Dec 2014 22:31:08 +0000 (15:31 -0700)]
Merge pull request #379 from andrewschoen/worker-tests
increases test coverage on teuthology.worker
Andrew Schoen [Thu, 4 Dec 2014 21:30:25 +0000 (15:30 -0600)]
adds 50% test coverage to teuthology.worker without any changes to teuthology.worker itself
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Thu, 4 Dec 2014 20:55:42 +0000 (13:55 -0700)]
Add OS.codename
The codename can be reliably set by parsing
platform.linux_distribution() or lsb_release -a. We now default to
trying the former first.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 4 Dec 2014 20:03:24 +0000 (13:03 -0700)]
Merge pull request #375 from ceph/wip-dmick
A bunch of little fixes found during addition of calamari_nosetest task
Zack Cerza [Thu, 4 Dec 2014 20:02:46 +0000 (13:02 -0700)]
Merge pull request #376 from ceph/wip-sha-compare-fix
kernel: fix commit hash matching in need_to_install()
Zack Cerza [Thu, 4 Dec 2014 20:01:53 +0000 (13:01 -0700)]
Merge pull request #377 from ceph/wip-kill-fixes
Two minor teuthology-kill fixes
Ilya Dryomov [Wed, 3 Dec 2014 10:47:09 +0000 (13:47 +0300)]
No need to invoke teuthology-nuke if there is nothing to nuke
Slipped in with
26803da18d1b ("Rewrite portions of teuthology.kill").
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Ilya Dryomov [Wed, 3 Dec 2014 10:10:17 +0000 (13:10 +0300)]
Don't fetch owner info from job_info when --owner given
Commit
293c2bd49c0d ("Be more informative if owner info is missing")
introduced --owner but it is still pulled from job_info no matter what.
Fix it.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Ilya Dryomov [Thu, 4 Dec 2014 06:49:56 +0000 (09:49 +0300)]
kernel: fix commit hash matching in need_to_install()
We don't need to install a new kernel if the "want" (version) commit
hash and the "have" (cur_sha1) commit hash match but the former is
shorter than the latter.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Dan Mick [Wed, 3 Dec 2014 03:38:53 +0000 (19:38 -0800)]
misc.append_lines_to_file: respect sudo
Fixes: #10239
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 3 Dec 2014 03:21:16 +0000 (19:21 -0800)]
misc.create_file: if sudo, must sudo for chmod as well.
Fixes: #10238
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 3 Dec 2014 03:07:01 +0000 (19:07 -0800)]
misc.get_system_type(): fix distro=False version=True, add comments
Fixes: #10237
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 3 Dec 2014 03:06:33 +0000 (19:06 -0800)]
orchestra/run.py: document use of Raw()
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 3 Dec 2014 23:41:13 +0000 (15:41 -0800)]
packaging.py: Use misc.get_system_type()
Dump _get_relmap() and _RELEASE_MAP in favor of common code.
Also remove the repo management stuff; it was only used by the
now-obsolete calamari task.
Fixes: #10236
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 3 Dec 2014 23:39:42 +0000 (15:39 -0800)]
Remove obsolete calamari task
Fixes: #10235
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Thu, 20 Nov 2014 02:08:12 +0000 (18:08 -0800)]
packaging.py: import misc as misc, not teuthology
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Wed, 3 Dec 2014 20:47:30 +0000 (13:47 -0700)]
Merge pull request #374 from andrewschoen/orchestra-test
test improvements
Andrew Schoen [Wed, 3 Dec 2014 20:26:34 +0000 (14:26 -0600)]
moved all the cluster.write_file tests into their own class; rewrote the existing test to have one assertion per test case
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Wed, 3 Dec 2014 20:19:35 +0000 (13:19 -0700)]
Merge pull request #373 from andrewschoen/orchestra-test
added a test for teuthology.orchestra.cluster.write_file
Zack Cerza [Wed, 3 Dec 2014 20:12:14 +0000 (13:12 -0700)]
Refuse to schedule against missing suite branches
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Wed, 3 Dec 2014 19:16:23 +0000 (13:16 -0600)]
removed fudge and unneeded asserts
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 3 Dec 2014 19:06:30 +0000 (13:06 -0600)]
added a test for teuthology.orchestra.cluster.write_file
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 3 Dec 2014 18:20:56 +0000 (12:20 -0600)]
Merge pull request #372 from ceph/wip-10034-wusui
Added calamari-server
Zack Cerza [Wed, 3 Dec 2014 17:37:13 +0000 (10:37 -0700)]
Merge pull request #366 from dachary/wip-10170-write-file
fix Cluster::write_file extra argument & support owner
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>
Zack Cerza [Tue, 2 Dec 2014 22:12:19 +0000 (15:12 -0700)]
Merge pull request #371 from ceph/docs
Add autogenerated API docs to Sphinx output
Zack Cerza [Tue, 2 Dec 2014 21:57:44 +0000 (14:57 -0700)]
Add autogenerated API docs to Sphinx output
Also drop -W for now. We'll have to focus on PEP-257 stuff later.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 2 Dec 2014 21:07:45 +0000 (14:07 -0700)]
Merge pull request #369 from ceph/docs
Add lab setup docs
Zack Cerza [Tue, 2 Dec 2014 16:03:53 +0000 (09:03 -0700)]
Reorganize documentation and Sphinx files
This should allow a more consistent experience between reading
Sphinx-generated HTML docs and just using GitHub's renderer.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 1 Dec 2014 21:15:02 +0000 (14:15 -0700)]
Add docs to tox envlist
So PRs don't break documentation
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 1 Dec 2014 21:11:46 +0000 (14:11 -0700)]
Remove fancy source file handling
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 1 Dec 2014 21:01:25 +0000 (14:01 -0700)]
Add stub source files linking to canonical documents
Now we can drop the Makefile magic.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 25 Nov 2014 22:32:57 +0000 (15:32 -0700)]
Merge pull request #360 from andrewschoen/docopt-ls
port teuthology-ls to use docopt instead of argparse
Andrew Schoen [Tue, 25 Nov 2014 22:22:20 +0000 (16:22 -0600)]
adding tests for teuthology.ls, coverage now at 88%
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Tue, 25 Nov 2014 22:09:56 +0000 (15:09 -0700)]
Add LAB_SETUP.rst to Sphinx build
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 25 Nov 2014 21:44:30 +0000 (14:44 -0700)]
Add reference configs
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 25 Nov 2014 21:44:07 +0000 (14:44 -0700)]
Add lab setup doc
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Mon, 17 Nov 2014 22:46:16 +0000 (16:46 -0600)]
port teuthology-ls to use docopt instead of argparse
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Mon, 24 Nov 2014 20:51:43 +0000 (13:51 -0700)]
Check individual jobs for packages
Previously we were just checking one time per run to see if packages had
been built. Now, let's check each job since os_type values can differ.
Fail if any are missing. Results are cached to avoid hugging the
archive to death.
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Mon, 24 Nov 2014 20:51:07 +0000 (12:51 -0800)]
Revert "ceph.conf: filestore fiemap = true"
This reverts commit
0f97481ce44e0487ac6cffa051a05590f907a081 .
Until we fix #10166
Sage Weil [Mon, 24 Nov 2014 18:23:59 +0000 (10:23 -0800)]
Merge pull request #367 from ceph/wip-rgw-swift
swift: set full access to subusers creation
Yehuda Sadeh [Mon, 24 Nov 2014 17:59:30 +0000 (09:59 -0800)]
swift: set full access to subusers creation
Default subuser permissions are 'none'.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Loic Dachary [Sat, 22 Nov 2014 13:51:56 +0000 (14:51 +0100)]
cluster: add owner argument to write_file
The misc.sudo_write_file now supports the optional owner argument, add
support for it.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Sat, 22 Nov 2014 13:48:28 +0000 (14:48 +0100)]
cluster: remove extra write_file argument
http://tracker.ceph.com/issues/10170 Fixes: #10170
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Warren Usui [Fri, 21 Nov 2014 00:59:00 +0000 (16:59 -0800)]
Merge pull request #365 from ceph/wip-kill-pid-check
Verify running pid before passing it to be killed.
Sandon Van Ness [Fri, 21 Nov 2014 00:52:05 +0000 (16:52 -0800)]
Verify running pid before passing it to be killed.
So we don't kill other processes that have taken jobs pid since
job has been no longer running.
Signed-off-by: Sandon Van Ness <sandon@redhat.com>
Sage Weil [Fri, 21 Nov 2014 00:20:20 +0000 (16:20 -0800)]
ceph.conf: filestore fiemap = true
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 20 Nov 2014 22:28:05 +0000 (15:28 -0700)]
Merge pull request #364 from ceph/wip-scheduling
Fix / work around gitbuilder problems
Zack Cerza [Fri, 14 Nov 2014 20:32:25 +0000 (13:32 -0700)]
Choose SHA1 sums more intelligently
By checking the actual gitbuilder archive that we care about, if
--distro is passed. If it is not, tweak the default to 'rhel' instead of
'ubuntu' since that seems to produce better results. To be clear, this
is a workaround I'm putting in place since our gitbuilders never seem to
be in sync.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 19 Nov 2014 20:48:19 +0000 (13:48 -0700)]
More useful logging when unlocking single nodes
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 14 Nov 2014 21:51:19 +0000 (14:51 -0700)]
Mention test name when failing to schedule
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 14 Nov 2014 21:37:40 +0000 (14:37 -0700)]
Add a default results_sending_email
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 19 Nov 2014 17:53:57 +0000 (10:53 -0700)]
Merge pull request #363 from ceph/wip-10089
drop default os_type of 'ubuntu' in teuthology-suite
Zack Cerza [Tue, 18 Nov 2014 23:19:11 +0000 (16:19 -0700)]
Drop null values in placeholders
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 18 Nov 2014 23:45:46 +0000 (16:45 -0700)]
Merge pull request #358 from andrewschoen/docopt-porting
porting teuthology-coverage to docopt
Andrew Schoen [Mon, 17 Nov 2014 17:33:52 +0000 (11:33 -0600)]
added a simple test for teuthology.coverage.main
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 17 Nov 2014 17:33:52 +0000 (11:33 -0600)]
added a simple test for teuthology.coverage.main
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 17 Nov 2014 16:14:36 +0000 (10:14 -0600)]
refactored teuthology.coverage to use an dict from docopt instead of a namespace from argparse
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Fri, 14 Nov 2014 20:31:17 +0000 (13:31 -0700)]
Drop ubuntu as default distro for scheduled runs
Signed-off-by: Zack Cerza <zack@cerza.org>
Andrew Schoen [Fri, 14 Nov 2014 16:07:18 +0000 (10:07 -0600)]
added a test to make sure docopt was parsing things correctly for teuthology-coverage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 13 Nov 2014 21:24:41 +0000 (15:24 -0600)]
cleaning up usage for teuthology-coverage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 13 Nov 2014 20:33:32 +0000 (14:33 -0600)]
porting teuthology-coverage to docopt
Signed-off-by: Andrew Schoen <aschoen@redhat.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 .