]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
10 years agoteuthology/suite: log correct per-job description 388/head
Dan Mick [Tue, 9 Dec 2014 23:43:34 +0000 (15:43 -0800)]
teuthology/suite: log correct per-job description

Add 'description' to the items tracked in 'jobs_to_schedule'.
Make it a dict for somewhat clearer item extraction in the actual
scheduling loop.

Also fix an unrelated pep8 formatting error.

Fixes: #10283
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoRe-store improvised owner value
Zack Cerza [Tue, 9 Dec 2014 01:18:45 +0000 (18:18 -0700)]
Re-store improvised owner value

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCorrectly handle explicit None values
Zack Cerza [Tue, 9 Dec 2014 01:18:00 +0000 (18:18 -0700)]
Correctly handle explicit None values

With test.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #322 from ceph/wip-fix-update-hang
Zack Cerza [Mon, 8 Dec 2014 23:37:56 +0000 (16:37 -0700)]
Merge pull request #322 from ceph/wip-fix-update-hang

Fix update hang.

10 years agoMerge pull request #382 from andrewschoen/doc-tweaks
Zack Cerza [Mon, 8 Dec 2014 21:14:22 +0000 (14:14 -0700)]
Merge pull request #382 from andrewschoen/doc-tweaks

Doc tweaks

10 years agoadded autogenerated rst files from sphinx-apidoc in .gitignore 382/head
Andrew Schoen [Mon, 8 Dec 2014 19:09:22 +0000 (13:09 -0600)]
added autogenerated rst files from sphinx-apidoc in .gitignore

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoadd a reference so we can link installation and setup from readme
Andrew Schoen [Mon, 8 Dec 2014 18:49:48 +0000 (12:49 -0600)]
add a reference so we can link installation and setup from readme

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #370 from andrewschoen/docopt-run
Zack Cerza [Mon, 8 Dec 2014 18:40:07 +0000 (11:40 -0700)]
Merge pull request #370 from andrewschoen/docopt-run

refactor of teuthology.run

10 years agofixing some docs 370/head
Andrew Schoen [Mon, 8 Dec 2014 16:59:12 +0000 (10:59 -0600)]
fixing some docs

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoReplaced the TeuthologyConfig instance in FakeNamespace with a dict, all the tasks...
Andrew Schoen [Wed, 3 Dec 2014 18:35:32 +0000 (12:35 -0600)]
Replaced the TeuthologyConfig instance in FakeNamespace with a dict, all the tasks expect that to be a dict

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoFixed a bug where I wasn't setting machine_type correctly. Also, made
Andrew Schoen [Tue, 2 Dec 2014 22:57:03 +0000 (16:57 -0600)]
Fixed a bug where I wasn't setting machine_type correctly.  Also, made
local variables for each of the keys in args to help readability.

Wrote tests for teuthology.run.main. Coverage increased to 94%

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agomodified __getattr__ for FakeNamespace so that it raises AttributeError on a missing...
Andrew Schoen [Tue, 2 Dec 2014 21:27:09 +0000 (15:27 -0600)]
modified __getattr__ for FakeNamespace so that it raises AttributeError on a missing attr.  This allows a FakeNamespace instance to work correctly with getattr(). Also removed .get() from YamlConfig as we decided it was unnecessary

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agosimple documentation update
Andrew Schoen [Tue, 2 Dec 2014 16:40:25 +0000 (10:40 -0600)]
simple documentation update

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoVarious bug fixes while running tests on this branch in the octo lab.
Andrew Schoen [Wed, 26 Nov 2014 15:44:23 +0000 (09:44 -0600)]
Various bug fixes while running tests on this branch in the octo lab.

Made YamlConfig work more closely like a dictionary by extending
collections.MutableMapping.  It still needs some work to be able to be
used interchangeably with a dict - most noteably with yaml.safe_dump.

Decided to just use a dict instead of JobConfig for args['<config>'].
Too many other codepaths are assuming that config is a dict.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoPorts the teuthology.run command to docopt instead of argparse.
Andrew Schoen [Mon, 24 Nov 2014 23:01:33 +0000 (17:01 -0600)]
Ports the teuthology.run command to docopt instead of argparse.

This is a pretty massive refactor to make the code more testable as
well. The coverage on teuthology.run was increased from 0% to 86% and
the overall project coverage increased to 24%.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoCreates a merge_configs function in teuthology.misc that will be used
Andrew Schoen [Mon, 24 Nov 2014 18:16:51 +0000 (12:16 -0600)]
Creates a merge_configs function in teuthology.misc that will be used
by run and schedule, nuke will need this eventually as well.  The old
way of doing this was too tightly coupled with argparse.  Wrote some
tests around the new function; increased coverage on misc by 4%.

Random lint fixes as well.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdds a FakeNamespace object to teuthology.config that mimics
Andrew Schoen [Fri, 21 Nov 2014 17:58:58 +0000 (11:58 -0600)]
Adds a FakeNamespace object to teuthology.config that mimics
what an argparse Namespace looks like when teuthology.misc.read_config
is used on it.  This allows us to refactor our commands to use docopt
but still all all the tasks to be passed one big namespace.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoport the argument parsing for teuthology.run to docopt
Andrew Schoen [Thu, 20 Nov 2014 20:53:14 +0000 (14:53 -0600)]
port the argument parsing for teuthology.run to docopt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMinor change for distro kernel bug.
Sandon Van Ness [Fri, 5 Dec 2014 19:18:54 +0000 (11:18 -0800)]
Minor change for distro kernel bug.

forgot to break from the loop. I guess I was mainly testing git
kernels and not distro when I did this before.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoMerge pull request #380 from ceph/wip-kernel-fixes-rebase
Zack Cerza [Fri, 5 Dec 2014 00:10:06 +0000 (17:10 -0700)]
Merge pull request #380 from ceph/wip-kernel-fixes-rebase

Various bug-fixes with kernel installs.

10 years agoVarious bug-fixes with kernel installs. 380/head
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>
10 years agoMerge pull request #378 from ceph/wip-opsys
Zack Cerza [Thu, 4 Dec 2014 22:56:29 +0000 (15:56 -0700)]
Merge pull request #378 from ceph/wip-opsys

Add OS.codename

10 years agoMerge pull request #379 from andrewschoen/worker-tests
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

10 years agoadds 50% test coverage to teuthology.worker without any changes to teuthology.worker... 379/head
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>
10 years agoAdd OS.codename 378/head
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>
10 years agoMerge pull request #375 from ceph/wip-dmick
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

10 years agoMerge pull request #376 from ceph/wip-sha-compare-fix
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()

10 years agoMerge pull request #377 from ceph/wip-kill-fixes
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

10 years agoNo need to invoke teuthology-nuke if there is nothing to nuke 377/head
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>
10 years agoDon't fetch owner info from job_info when --owner given
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>
10 years agokernel: fix commit hash matching in need_to_install() 376/head
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>
10 years agomisc.append_lines_to_file: respect sudo 375/head
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>
10 years agomisc.create_file: if sudo, must sudo for chmod as well.
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>
10 years agomisc.get_system_type(): fix distro=False version=True, add comments
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>
10 years agoorchestra/run.py: document use of Raw()
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>
10 years agopackaging.py: Use misc.get_system_type()
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>
10 years agoRemove obsolete calamari task
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>
10 years agopackaging.py: import misc as misc, not teuthology
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>
10 years agoMerge pull request #374 from andrewschoen/orchestra-test
Zack Cerza [Wed, 3 Dec 2014 20:47:30 +0000 (13:47 -0700)]
Merge pull request #374 from andrewschoen/orchestra-test

test improvements

10 years agomoved all the cluster.write_file tests into their own class; rewrote the existing... 374/head
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>
10 years agoMerge pull request #373 from andrewschoen/orchestra-test
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

10 years agoRefuse to schedule against missing suite branches
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>
10 years agoremoved fudge and unneeded asserts 373/head
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>
10 years agoadded a test for teuthology.orchestra.cluster.write_file
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>
10 years agoMerge pull request #372 from ceph/wip-10034-wusui
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

10 years agoMerge pull request #366 from dachary/wip-10170-write-file
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

10 years agoAdded calamari-server 372/head
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>
10 years agoMerge pull request #371 from ceph/docs
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

10 years agoAdd autogenerated API docs to Sphinx output 371/head
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>
10 years agoMerge pull request #369 from ceph/docs
Zack Cerza [Tue, 2 Dec 2014 21:07:45 +0000 (14:07 -0700)]
Merge pull request #369 from ceph/docs

Add lab setup docs

10 years agoReorganize documentation and Sphinx files 369/head
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>
10 years agoAdd docs to tox envlist
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>
10 years agoRemove fancy source file handling
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>
10 years agoAdd stub source files linking to canonical documents
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>
10 years agoMerge pull request #360 from andrewschoen/docopt-ls
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

10 years agoadding tests for teuthology.ls, coverage now at 88% 360/head
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>
10 years agoAdd LAB_SETUP.rst to Sphinx build
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>
10 years agoAdd reference configs
Zack Cerza [Tue, 25 Nov 2014 21:44:30 +0000 (14:44 -0700)]
Add reference configs

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd lab setup doc
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>
10 years agoport teuthology-ls to use docopt instead of argparse
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>
10 years agoCheck individual jobs for packages
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>
10 years agoRevert "ceph.conf: filestore fiemap = true"
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

10 years agoMerge pull request #367 from ceph/wip-rgw-swift
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

10 years agoswift: set full access to subusers creation 367/head
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>
10 years agocluster: add owner argument to write_file 366/head
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>
10 years agocluster: remove extra write_file argument
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>
10 years agoMerge pull request #365 from ceph/wip-kill-pid-check
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.

10 years agoVerify running pid before passing it to be killed. 365/head
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>
10 years agoceph.conf: filestore fiemap = true
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>
10 years agoMerge pull request #364 from ceph/wip-scheduling
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

10 years agoChoose SHA1 sums more intelligently 364/head
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>
10 years agoMore useful logging when unlocking single nodes
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>
10 years agoMention test name when failing to schedule
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>
10 years agoAdd a default results_sending_email
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>
10 years agoMerge pull request #363 from ceph/wip-10089
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

10 years agoDrop null values in placeholders 363/head
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>
10 years agoMerge pull request #358 from andrewschoen/docopt-porting
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

10 years agoadded a simple test for teuthology.coverage.main 358/head
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>
10 years agoadded a simple test for teuthology.coverage.main
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>
10 years agorefactored teuthology.coverage to use an dict from docopt instead of a namespace...
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>
10 years agoDrop ubuntu as default distro for scheduled runs
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>
10 years agoadded a test to make sure docopt was parsing things correctly for teuthology-coverage
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>
10 years agocleaning up usage for teuthology-coverage
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>
10 years agoporting teuthology-coverage to docopt
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>
10 years agoceph.conf: mon pg warn max object skew = 0 (disable warning)
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>
10 years agoMerge pull request #357 from andrewschoen/tox-integration-tests
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 ...

10 years agoMerge pull request #356 from ceph/wip-default-machine-type
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

10 years agoMoves all integration tests to an integration folder and provides a new tox env to... 357/head
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>
10 years agoAllow setting default machine_type per-lab 356/head
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>
10 years agoMerge pull request #355 from ceph/wip-email
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

10 years agoIf timeout is None or zero, don't log 355/head
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>
10 years agoAdd dry-run option
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>
10 years agoUse docopt instead of argparse
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>
10 years agoUse new config API
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>
10 years agoMerge pull request #354 from andrewschoen/tox-cov-report
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

10 years agoAdds a coverage report when running the tox tests 354/head
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>
10 years agoMerge pull request #351 from ceph/wip-9925-wusui
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

10 years agoMention hostnames in ConnectionLostErrors
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>
10 years agoMore suite filter changes. 351/head
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.

10 years agoMerge pull request #352 from ceph/wip-update-vm-hostkeys
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