]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agovalgrind: add supporession for rocksdb thread local leaks 882/head
Sage Weil [Fri, 17 Jun 2016 20:30:53 +0000 (16:30 -0400)]
valgrind: add supporession for rocksdb thread local leaks

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #881 from ceph/wip-downburst-wait
Dan Mick [Fri, 17 Jun 2016 00:23:15 +0000 (17:23 -0700)]
Merge pull request #881 from ceph/wip-downburst-wait

Pass --wait to downburst

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoPass --wait to downburst 881/head
Zack Cerza [Thu, 16 Jun 2016 21:08:34 +0000 (15:08 -0600)]
Pass --wait to downburst

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #879 from ceph/wip-16335
Dan Mick [Wed, 15 Jun 2016 20:22:00 +0000 (13:22 -0700)]
Merge pull request #879 from ceph/wip-16335

Fix regression in --subset

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #878 from ceph/wip-16302
Dan Mick [Wed, 15 Jun 2016 20:13:00 +0000 (13:13 -0700)]
Merge pull request #878 from ceph/wip-16302

Install python 2.7 on ubuntu downburst VMs

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoFix regression in --subset 879/head
Zack Cerza [Wed, 15 Jun 2016 19:15:39 +0000 (13:15 -0600)]
Fix regression in --subset

We were processing the --subset arg well after it was necessary :-/
http://tracker.ceph.com/issues/16335
Fixes: 16335
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoInstall python 2.7 on ubuntu downburst VMs 878/head
Zack Cerza [Wed, 15 Jun 2016 17:44:47 +0000 (11:44 -0600)]
Install python 2.7 on ubuntu downburst VMs

http://tracker.ceph.com/issues/16302
Fixes: 16302
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #877 from ceph/wip-suite-fix
Yuri Weinstein [Wed, 15 Jun 2016 15:22:10 +0000 (08:22 -0700)]
Merge pull request #877 from ceph/wip-suite-fix

get_gitbuilder_hash: use default distro if needed

9 years agoget_gitbuilder_hash: use default distro if needed 877/head
Zack Cerza [Wed, 15 Jun 2016 14:54:34 +0000 (08:54 -0600)]
get_gitbuilder_hash: use default distro if needed

http://tracker.ceph.com/issues/16328
Fixes: 16328
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #872 from ceph/wip-suite-gbp
Dan Mick [Tue, 14 Jun 2016 22:19:00 +0000 (15:19 -0700)]
Merge pull request #872 from ceph/wip-suite-gbp

Suite refactor

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoFix indenting 872/head
Zack Cerza [Tue, 14 Jun 2016 18:20:44 +0000 (12:20 -0600)]
Fix indenting

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove duplicate deep_copy call and no-op assert
Zack Cerza [Tue, 14 Jun 2016 18:19:55 +0000 (12:19 -0600)]
Remove duplicate deep_copy call and no-op assert

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove unnecessary hyphen
Zack Cerza [Tue, 14 Jun 2016 18:19:09 +0000 (12:19 -0600)]
Remove unnecessary hyphen

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #876 from batrick/bash-syntax-error
Zack Cerza [Fri, 10 Jun 2016 23:51:00 +0000 (17:51 -0600)]
Merge pull request #876 from batrick/bash-syntax-error

nuke.py: remove trailing fi token

9 years agonuke.py: remove trailing fi token 876/head
Patrick Donnelly [Fri, 10 Jun 2016 19:53:01 +0000 (15:53 -0400)]
nuke.py: remove trailing fi token

This caused a syntax error in one of the teuthology runs:

    2016-06-10T02:30:39.291 INFO:teuthology.nuke:clearing kernel mount from all nodes
    2016-06-10T02:30:39.292 INFO:teuthology.orchestra.run:Running command with timeout 60
    2016-06-10T02:30:39.292 INFO:teuthology.orchestra.run.mira069:Running: "grep ceph /etc/mtab | grep -o 'on /.* type' | grep -o '/.* ' | xargs -r sudo umount -f ; fi"
    2016-06-10T02:30:39.363 INFO:teuthology.orchestra.run.mira069.stderr:bash: -c: line 0: syntax error near unexpected token `fi'
    2016-06-10T02:30:39.364 INFO:teuthology.orchestra.run.mira069.stderr:bash: -c: line 0: `grep ceph /etc/mtab | grep -o 'on /.* type' | grep -o '/.* ' | xargs -r sudo umount -f ; fi'

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
9 years agoExplain the return value of m_time
Zack Cerza [Tue, 7 Jun 2016 23:39:53 +0000 (17:39 -0600)]
Explain the return value of m_time

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #873 from ceph/wip-pcp-archive
Dan Mick [Tue, 7 Jun 2016 20:07:02 +0000 (13:07 -0700)]
Merge pull request #873 from ceph/wip-pcp-archive

pcp: Use a smarter check for archive presence

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agopcp: Use a smarter check for archive presence 873/head
Zack Cerza [Tue, 7 Jun 2016 15:40:00 +0000 (09:40 -0600)]
pcp: Use a smarter check for archive presence

If ctx.archive was set, but to None, we were failing.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMake teuthology.suite a subpackage
Zack Cerza [Wed, 1 Jun 2016 21:49:32 +0000 (15:49 -0600)]
Make teuthology.suite a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRefactor parts of suite into new Run class
Zack Cerza [Fri, 27 May 2016 15:43:48 +0000 (09:43 -0600)]
Refactor parts of suite into new Run class

Including smaller, more purposeful methods. This is for readability,
testability and to facilitate making future changes.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoSpeed up test_wait_*
Zack Cerza [Wed, 25 May 2016 23:12:53 +0000 (17:12 -0600)]
Speed up test_wait_*

They weren't patching sleep(). Now they do :)

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove unused get_gitbuilder_url()
Zack Cerza [Wed, 25 May 2016 16:28:07 +0000 (10:28 -0600)]
Remove unused get_gitbuilder_url()

Its functionality is covered by config.baseurl_template anyway.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agosuite: Use GitbuilderProject for more methods
Zack Cerza [Sat, 21 May 2016 00:21:11 +0000 (18:21 -0600)]
suite: Use GitbuilderProject for more methods

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd OS.__eq__()
Zack Cerza [Sat, 21 May 2016 00:16:10 +0000 (18:16 -0600)]
Add OS.__eq__()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agopackaging: Don't hardcode arch
Zack Cerza [Fri, 20 May 2016 23:18:22 +0000 (17:18 -0600)]
packaging: Don't hardcode arch

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agosuite: Use opsys and packaging modules
Zack Cerza [Fri, 20 May 2016 23:10:41 +0000 (17:10 -0600)]
suite: Use opsys and packaging modules

Starting with get_distro_defaults()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agopackaging: Drop GitbuilderProject._get_codename()
Zack Cerza [Fri, 20 May 2016 23:06:07 +0000 (17:06 -0600)]
packaging: Drop GitbuilderProject._get_codename()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agopackaging: Fix GBP._get_distro() for fedora
Zack Cerza [Fri, 20 May 2016 23:03:20 +0000 (17:03 -0600)]
packaging: Fix GBP._get_distro() for fedora

Gitbuilders use URLs like:
http://gitbuilder.ceph.com/ceph-rpm-fedora20-x86_64-basic/ref/hammer/sha1
Not:
http://gitbuilder.ceph.com/ceph-rpm-fc20-x86_64-basic/ref/hammer/sha1

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoOS: Don't raise if a codename isn't found
Zack Cerza [Fri, 20 May 2016 22:56:54 +0000 (16:56 -0600)]
OS: Don't raise if a codename isn't found

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoOS: Add more codenames
Zack Cerza [Fri, 20 May 2016 22:56:03 +0000 (16:56 -0600)]
OS: Add more codenames

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agopackaging: Mark three methods as static/class
Zack Cerza [Fri, 20 May 2016 22:44:56 +0000 (16:44 -0600)]
packaging: Mark three methods as static/class

... methods

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agopackaging: use OS's new codename discovery
Zack Cerza [Fri, 20 May 2016 22:39:47 +0000 (16:39 -0600)]
packaging: use OS's new codename discovery

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoOS: Automatically determine version or codename
Zack Cerza [Fri, 20 May 2016 21:54:00 +0000 (15:54 -0600)]
OS: Automatically determine version or codename

... using a lookup table to map one to the other

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove constants to opsys module
Zack Cerza [Fri, 20 May 2016 21:42:18 +0000 (15:42 -0600)]
Move constants to opsys module

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #868 from ceph/wip-4gb-vm
Dan Mick [Thu, 2 Jun 2016 18:19:12 +0000 (11:19 -0700)]
Merge pull request #868 from ceph/wip-4gb-vm

Bump downburst VMs to 4GB

9 years agoBump downburst VMs to 4GB 868/head
Zack Cerza [Thu, 2 Jun 2016 17:55:15 +0000 (11:55 -0600)]
Bump downburst VMs to 4GB

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #867 from ceph/wip-16049
Dan Mick [Tue, 31 May 2016 17:43:54 +0000 (10:43 -0700)]
Merge pull request #867 from ceph/wip-16049

pcp: Don't fail a job if graph downloading fails

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agopcp: Don't fail a job if graph downloading fails 867/head
Zack Cerza [Tue, 31 May 2016 15:54:34 +0000 (09:54 -0600)]
pcp: Don't fail a job if graph downloading fails

http://tracker.ceph.com/issues/16049
Fixes: 16049
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoFix abbreviated TestPCPTask.test_end()
Zack Cerza [Tue, 31 May 2016 15:45:32 +0000 (09:45 -0600)]
Fix abbreviated TestPCPTask.test_end()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #866 from ceph/wip-suite-not-found
Zack Cerza [Tue, 31 May 2016 17:20:43 +0000 (11:20 -0600)]
Merge pull request #866 from ceph/wip-suite-not-found

Give a better error message for "suite not found"

9 years agotest_describe_tests: remove 'manual test stubs' 866/head
Dan Mick [Fri, 27 May 2016 22:11:30 +0000 (15:11 -0700)]
test_describe_tests: remove 'manual test stubs'

Use a combined strategy: for test classes, use setup
to manage the list of patchers, also starting them
in setup because all the class-based tests use the same
fake fs data.

For the file-scope test functions, use @patch to manage them,
because the filesystem data changes with each test.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agotest_suite: recode to use patch.start()
Dan Mick [Wed, 25 May 2016 17:25:21 +0000 (10:25 -0700)]
test_suite: recode to use patch.start()

This lets us do all the setup/teardown in an organized way,
in class instance methods, so the test cases don't have to
deal with the mock arguments; all they do is pass the
fake_fs to start_patchers to get the right fake_fs data for
their particular test.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite: update tests to handle new 'exists' fs operator
Dan Mick [Fri, 26 Feb 2016 02:08:52 +0000 (18:08 -0800)]
suite: update tests to handle new 'exists' fs operator

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite.py: tell you that the suite you asked for doesn't exist
Dan Mick [Wed, 17 Feb 2016 02:54:29 +0000 (18:54 -0800)]
suite.py: tell you that the suite you asked for doesn't exist

I know it's not in fashion to issue useful error messages, but...

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #865 from ceph/wip-13925
Dan Mick [Thu, 26 May 2016 17:12:34 +0000 (10:12 -0700)]
Merge pull request #865 from ceph/wip-13925

Prevent workers from becoming zombies when repo operations fail

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoWhen bootstrap/fetch fails, mark the job as dead 865/head
Zack Cerza [Tue, 24 May 2016 23:33:21 +0000 (17:33 -0600)]
When bootstrap/fetch fails, mark the job as dead

Note that this will only happen *after* all retries have failed.

http://tracker.ceph.com/issues/13925
Fixes: 13925
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove MaxWhileTries to the exceptions module
Zack Cerza [Tue, 24 May 2016 23:12:23 +0000 (17:12 -0600)]
Move MaxWhileTries to the exceptions module

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd a test for issue 13925
Zack Cerza [Tue, 24 May 2016 22:51:05 +0000 (16:51 -0600)]
Add a test for issue 13925

It will fail - the next commit fixes it.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd a test for the worker's main loop
Zack Cerza [Tue, 24 May 2016 16:34:49 +0000 (10:34 -0600)]
Add a test for the worker's main loop

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove job preparation to new prep_job method
Zack Cerza [Thu, 19 May 2016 16:22:37 +0000 (10:22 -0600)]
Move job preparation to new prep_job method

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #863 from dmick/wip-suite-sha1
Zack Cerza [Tue, 24 May 2016 17:30:27 +0000 (11:30 -0600)]
Merge pull request #863 from dmick/wip-suite-sha1

suite.py: allow specifying ceph sha1

9 years agotest_suite: add new ceph_sha1 param, tests for same 863/head
Dan Mick [Mon, 23 May 2016 22:56:05 +0000 (15:56 -0700)]
test_suite: add new ceph_sha1 param, tests for same

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite: add '--sha1/S' to specify Ceph sha1 directly
Dan Mick [Mon, 23 May 2016 22:51:57 +0000 (15:51 -0700)]
suite: add '--sha1/S' to specify Ceph sha1 directly

Check that sha1 exists in the git repo if supplied.  Avoid
checking that branch exists if sha1 is given (but keep it
because other things use branchname...job names,
pulpito, etc.)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoAdd a unit test for a nonexistent ceph branch
Zack Cerza [Wed, 18 May 2016 23:02:28 +0000 (17:02 -0600)]
Add a unit test for a nonexistent ceph branch

This test checks whether scheduling fails when an invalid ceph branch is
specified

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd SkipJob
Zack Cerza [Thu, 19 May 2016 16:22:23 +0000 (10:22 -0600)]
Add SkipJob

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoStore job.jid as job_id
Zack Cerza [Thu, 19 May 2016 16:09:14 +0000 (10:09 -0600)]
Store job.jid as job_id

This is a trivial commit to prepare for a refactor

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #860 from ceph/wip-pcp
Dan Mick [Mon, 23 May 2016 23:53:32 +0000 (16:53 -0700)]
Merge pull request #860 from ceph/wip-pcp

Add PCP task

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoAdd PCP task 860/head
Zack Cerza [Tue, 19 Apr 2016 18:44:33 +0000 (12:44 -0600)]
Add PCP task

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #862 from ceph/wip-15427
Dan Mick [Fri, 20 May 2016 20:55:07 +0000 (13:55 -0700)]
Merge pull request #862 from ceph/wip-15427

Remote: log file sizes before transferring

9 years agoRemote._sftp_get_file(): Log file size 862/head
Zack Cerza [Wed, 18 May 2016 15:32:47 +0000 (09:32 -0600)]
Remote._sftp_get_file(): Log file size

This is so that jobs transferring large files don't get mistaken for
being hung.

Fixes: http://tracker.ceph.com/issues/15427
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd Remote._format_size()
Zack Cerza [Wed, 18 May 2016 15:27:36 +0000 (09:27 -0600)]
Add Remote._format_size()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd Remote._sftp_get_size()
Zack Cerza [Wed, 18 May 2016 15:05:04 +0000 (09:05 -0600)]
Add Remote._sftp_get_size()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd missing unit test for Remote._sftp_open_file
Zack Cerza [Wed, 18 May 2016 17:38:25 +0000 (11:38 -0600)]
Add missing unit test for Remote._sftp_open_file

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRewrite unit tests for orchestra.remote
Zack Cerza [Wed, 18 May 2016 16:33:03 +0000 (10:33 -0600)]
Rewrite unit tests for orchestra.remote

They were using Fudge. Rather than write more Fudge tests, I decided to
rewrite the module to use Mock like almost everything else in teuthology
does.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #861 from smithfarm/wip-opensuse-codename
Zack Cerza [Mon, 16 May 2016 14:49:49 +0000 (08:49 -0600)]
Merge pull request #861 from smithfarm/wip-opensuse-codename

packaging.py: make _get_distro() support openSUSE

9 years agoMerge pull request #859 from ceph/wip-15862
John Spray [Mon, 16 May 2016 13:19:36 +0000 (08:19 -0500)]
Merge pull request #859 from ceph/wip-15862

task/hadoop: fix for multi cluster is_type() change

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
9 years agopackaging.py: make _get_distro() support openSUSE 861/head
Nathan Cutler [Sat, 14 May 2016 13:32:04 +0000 (15:32 +0200)]
packaging.py: make _get_distro() support openSUSE

Add an explicit "elif" block for opensuse - without this, it falls through into
the else clause and dies because it cannot determine a codename.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoAdd run.Raw.__eq__()
Zack Cerza [Tue, 10 May 2016 15:28:10 +0000 (09:28 -0600)]
Add run.Raw.__eq__()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotask/hadoop: fix for multi cluster is_type() change 859/head
Josh Durgin [Fri, 13 May 2016 04:43:44 +0000 (21:43 -0700)]
task/hadoop: fix for multi cluster is_type() change

This is the only non-ceph task that uses custom roles, and it happens
to put a '.' as a delimiter between hadoop and the rest of the
role. Since the multi-cluster branch, is_type() is ceph-specific and
interprets this as a cluster named hadoop.

To avoid needing to change several branches in ceph-qa-suite, just use
a local is_hadoop_type() function instead of relying on the now
ceph-specific misc.is_type().

Fixes: http://tracker.ceph.com/issues/15862
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #841 from ceph/wip-multi-cluster
Zack Cerza [Mon, 9 May 2016 22:18:57 +0000 (16:18 -0600)]
Merge pull request #841 from ceph/wip-multi-cluster

support multiple ceph clusters

9 years agoMerge pull request #855 from dmick/wip-dependencies
Zack Cerza [Fri, 6 May 2016 21:36:52 +0000 (15:36 -0600)]
Merge pull request #855 from dmick/wip-dependencies

bootstrap: Use mariadb-devel on RHEL for mysql-devel; remove mysqlclient dependency

9 years agomysqlclient is not needed; MySQLdb-python is for teuthology-coverage 855/head
Dan Mick [Mon, 2 May 2016 19:58:09 +0000 (12:58 -0700)]
mysqlclient is not needed; MySQLdb-python is for teuthology-coverage

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoUse the appropriate package name for mysql/mariadb
Dan Mick [Sat, 30 Apr 2016 00:23:03 +0000 (17:23 -0700)]
Use the appropriate package name for mysql/mariadb

Community package download isn't necessary; RHEL ships
mariadb and its -devel package

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #854 from ceph/wip-15711
Gregory Farnum [Tue, 3 May 2016 20:46:33 +0000 (13:46 -0700)]
Merge pull request #854 from ceph/wip-15711

Always mention name and sha1 when scheduling fails

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoAlways mention name and sha1 when scheduling fails 854/head
Zack Cerza [Tue, 3 May 2016 20:21:41 +0000 (14:21 -0600)]
Always mention name and sha1 when scheduling fails

http://tracker.ceph.com/issues/15711
Fixes: 15711
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #832 from ceph/wip-fix-nuke
Zack Cerza [Tue, 3 May 2016 18:19:42 +0000 (12:19 -0600)]
Merge pull request #832 from ceph/wip-fix-nuke

 fix nuke

9 years agoMerge pull request #851 from ceph/wip-prune-mon
Dan Mick [Tue, 3 May 2016 17:52:38 +0000 (10:52 -0700)]
Merge pull request #851 from ceph/wip-prune-mon

prune: also remove mon data in jobs' 'data' subdir

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #853 from ceph/wip-pcp2
Sage Weil [Tue, 3 May 2016 12:28:07 +0000 (08:28 -0400)]
Merge pull request #853 from ceph/wip-pcp2

task/selinux: another pcp whitelist

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agotask/selinux: another pcp whitelist 853/head
Sage Weil [Tue, 3 May 2016 03:08:40 +0000 (23:08 -0400)]
task/selinux: another pcp whitelist

SELinux denials found on ubuntu@smithi027.front.sepia.ceph.com: ['type=AVC msg=audit(1462234212.274:85266): avc: denied { read } for pid=1984 comm="pmcd" name="pmlogger_daily.pid" dev="tmpfs" ino=1474542 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cron_var_run_t:s0 tclass=file']

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #852 from ceph/wip-pcp-selinux
Sage Weil [Mon, 2 May 2016 19:34:05 +0000 (15:34 -0400)]
Merge pull request #852 from ceph/wip-pcp-selinux

task.selinux: add PCP's pmlogger to the whitelist

9 years agotask.selinux: add PCP's pmlogger to the whitelist 852/head
Zack Cerza [Mon, 2 May 2016 19:20:57 +0000 (13:20 -0600)]
task.selinux: add PCP's pmlogger to the whitelist

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoPrune mon data along with remote logs 851/head
Zack Cerza [Fri, 29 Apr 2016 19:21:18 +0000 (13:21 -0600)]
Prune mon data along with remote logs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove subdir removal logic into separate function
Zack Cerza [Fri, 29 Apr 2016 19:16:56 +0000 (13:16 -0600)]
Move subdir removal logic into separate function

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd timeout to commands 832/head
Vasu Kulkarni [Fri, 1 Apr 2016 22:00:56 +0000 (15:00 -0700)]
Add timeout to commands

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoFix nuke, redo some cleanup functions
Vasu Kulkarni [Fri, 1 Apr 2016 21:45:08 +0000 (14:45 -0700)]
Fix nuke, redo some cleanup functions

Redo some functions, remove proc waits, Reorder functions
for better cleanup.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoRemove ceph and its dependent packages
Vasu Kulkarni [Fri, 1 Apr 2016 20:07:51 +0000 (13:07 -0700)]
Remove ceph and its dependent packages

Remove ceph and its dependent packages using force option

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agouse timeout feature of paramiko
Vasu Kulkarni [Wed, 30 Mar 2016 21:35:02 +0000 (17:35 -0400)]
use timeout feature of paramiko

use timeout feature of paramiko when executing commands

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #836 from ceph/wip-rh-bootstrap
Zack Cerza [Fri, 29 Apr 2016 17:53:31 +0000 (11:53 -0600)]
Merge pull request #836 from ceph/wip-rh-bootstrap

Changes for bootstrap to work on RHEL

9 years agoMerge pull request #850 from ceph/wip-paramiko
Dan Mick [Fri, 29 Apr 2016 17:40:07 +0000 (10:40 -0700)]
Merge pull request #850 from ceph/wip-paramiko

Unpin paramiko

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoUnpin paramiko 850/head
Zack Cerza [Thu, 28 Apr 2016 23:18:14 +0000 (17:18 -0600)]
Unpin paramiko

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #848 from ceph/wip-filter-wusui
Yuri Weinstein [Thu, 21 Apr 2016 22:12:58 +0000 (15:12 -0700)]
Merge pull request #848 from ceph/wip-filter-wusui

Restrict filter to not scan too far up a path.

9 years agoRestrict filter to not scan too far up a path. 848/head
Warren Usui [Thu, 21 Apr 2016 18:58:01 +0000 (11:58 -0700)]
Restrict filter to not scan too far up a path.
Directory names closer to the root than /suites are not used by the filter.
Fixes: http://tracker.ceph.com/issues/15470
Signed-off-by: Warren Usui <wusui@redhat.com>
9 years agoChanges for bootstrap to work on RHEL 836/head
Vasu Kulkarni [Fri, 1 Apr 2016 18:54:37 +0000 (11:54 -0700)]
Changes for bootstrap to work on RHEL

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #846 from ceph/wip-babel
Dan Mick [Tue, 19 Apr 2016 20:54:07 +0000 (13:54 -0700)]
Merge pull request #846 from ceph/wip-babel

Work around pip dependency issue w/ nova and Babel

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoWork around pip dependency issue w/ nova and Babel 846/head
Zack Cerza [Tue, 19 Apr 2016 20:12:06 +0000 (14:12 -0600)]
Work around pip dependency issue w/ nova and Babel

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #845 from ceph/wip-vault-pass
Dan Mick [Fri, 15 Apr 2016 22:08:49 +0000 (15:08 -0700)]
Merge pull request #845 from ceph/wip-vault-pass

ansible.CephLab: touch ~/.vault_pass.txt

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoansible.CephLab: touch ~/.vault_pass.txt 845/head
Zack Cerza [Fri, 15 Apr 2016 21:52:18 +0000 (15:52 -0600)]
ansible.CephLab: touch ~/.vault_pass.txt

To avoid ansible bailing with an OSError. Normally we don't even need
the vault password for cephlab.yml.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #843 from ceph/wip-gethash
Dan Mick [Thu, 14 Apr 2016 17:26:27 +0000 (10:26 -0700)]
Merge pull request #843 from ceph/wip-gethash

teuthology-suite: Don't allow scheduling when packages are not present

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoSimplify message counting filtered jobs 843/head
Zack Cerza [Wed, 13 Apr 2016 21:33:23 +0000 (15:33 -0600)]
Simplify message counting filtered jobs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDon't attempt to schedule when missing packages
Zack Cerza [Wed, 13 Apr 2016 19:00:05 +0000 (13:00 -0600)]
Don't attempt to schedule when missing packages

By default, anyway. It's possible to set
config.suite_allow_missing_packages to continue stick with the old
behavior.

Signed-off-by: Zack Cerza <zack@redhat.com>