]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
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 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

10 years agoMerge pull request #353 from ceph/wip-9975
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

10 years agouse ctx instead of remotes 353/head
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>
10 years agoAlso look for /etc/teuthology.yaml
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>
10 years agoFix duplicate test name
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>
10 years agocall the new helper in nuke_helper
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>
10 years agocreate a configuration removal function in nuke.py
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>
10 years agoDon't explode if results_sending_email isn't set
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>
10 years agoSuppress tracebacks when coverage isn't configured
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>
10 years agoInstall virtualenv if it isn't present
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>
10 years agoAlso install mysql on MacOS
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>
10 years agoFix typo
Zack Cerza [Tue, 4 Nov 2014 17:16:05 +0000 (10:16 -0700)]
Fix typo

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoDrop default watchdog_interval to 120s
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>
10 years agoExplicitly pass json header
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>
10 years agoAllow omitting 'tasks' stanza in job definitions
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>
10 years agoAbstract the lab domain (e.g. front.sepia.ceph.com)
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>
10 years agoIf lock_server is not set, check_lock() no-ops
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>
10 years agoceph.conf: set mon pg warn max per osd = 10000
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>
10 years agoContinue fix for 9871 352/head
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>
10 years agoAdd libmysqlclient-dev to ubuntu requirements
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>
10 years agoRevert "Remove MySQL requirements"
Zack Cerza [Thu, 30 Oct 2014 22:32:09 +0000 (16:32 -0600)]
Revert "Remove MySQL requirements"

This reverts commit c69051367069eab4dd608753e14ffc8cee75b50b.

10 years agoRemove MySQL requirements
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>
10 years agoAllow more strings in filters
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>
10 years agoFix for 9871 was wrong: original <= should always have been <
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>
10 years agoMerge pull request #348 from ceph/wip-9871
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