Commit Graph

3441 Commits

Author SHA1 Message Date
Loic Dachary
6237acb316 rados.py: avoid CephManager creation race
gevent may hold the rados.py thread when it has an opportunity. The

   if not hasattr(ctx, 'manager'):

must therefore be immediately before the manager creation it is supposed
to protect. If any of the functions called as a side effect of

   first_mon = teuthology.get_first_mon(ctx, config)
   (mon,) = ctx.cluster.only(first_mon).remotes.iterkeys()

give gevent an opportunity to hold the thread, it creates a race
condition.

The other possibility would be use a ctx lock to protect the code, but
this solution seem simpler.

http://tracker.ceph.com/issues/9027 Fixes: #9027

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-14 10:57:35 +02:00
Yuri Weinstein
6411dae981 Merge pull request #85 from dachary/wip-rgw-idle-timeout
overrides: rgw must not be nested in ceph
2014-08-13 16:17:18 -07:00
Loic Dachary
f00afcc49c overrides: rgw must not be nested in ceph
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-14 00:49:20 +02:00
Sage Weil
42d66dee53 Merge pull request #83 from ceph/wip_add_manual_override2
Added idle_timeout: to fix time-outs problems for some tests
2014-08-13 09:05:51 -07:00
Yuri Weinstein
74025f9101 Fixed syntax
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-13 08:29:08 -07:00
Yuri Weinstein
90f647f4dd Added idle_timeout: to fix time-outs problems for some tests
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-13 08:24:49 -07:00
Sage Weil
374c3a8e72 Merge pull request #81 from ceph/wip_add_manual_override
Added overrides for vps time outs
2014-08-13 08:06:20 -07:00
Yuri Weinstein
3f18b02cb5 Added overrides for vps time outs
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-12 14:26:02 -07:00
Zack Cerza
4e1e929f75 Update module references
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-07 08:24:59 -06:00
Zack Cerza
650607385b Merge branch 'teuth_master' into tasks_master 2014-08-07 08:24:58 -06:00
Zack Cerza
0e1df3cc72 Import teuthology tasks (master branch)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-07 08:24:58 -06:00
Yuri Weinstein
189e4a9215 Removed upgrade/dumpling from master branch as it should be only in dumpling branch
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-06 15:43:18 -07:00
Samuel Just
53aab689e9 Merge pull request #75 from ceph/wip-readforward
include readforward cache mode in cache mode cycling test

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-06 10:21:21 -07:00
Zack Cerza
d5f26aaf6a Merge pull request #306 from ceph/wip-9024
ignore errors if 'ps aux' fails
2014-08-06 09:42:49 -06:00
Alfredo Deza
f9aa9c1e64 ignore errors if 'ps aux' fails
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-06 10:53:21 -04:00
Sage Weil
97f317d843 rados/singleton: make cache mode cycling include readforward mode
forward -> off -> writeback -> readforward -> ...

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-04 14:02:39 -07:00
Zack Cerza
b93abaf5d3 Merge pull request #305 from ceph/wip-8640
implement `--version` and improve `setup.py`
2014-08-04 14:38:29 -06:00
Alfredo Deza
fe6f46114a create a --version flag for teuthology
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-04 15:12:06 -04:00
Alfredo Deza
7d0a072da1 pull the version and description in setup.py
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-04 15:11:47 -04:00
Alfredo Deza
a2bb186fe3 add an initial version to teuthology
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-04 15:11:26 -04:00
Zack Cerza
0d1fe79b70 Tweak usage statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-04 11:50:22 -06:00
Zack Cerza
ef21080605 Merge pull request #304 from ceph/wip-fix-build-matrix
suite: fix build_matrix when non-yaml present in % dir
2014-08-04 10:10:02 -06:00
Sage Weil
21e27637d3 suite: fix build_matrix when non-yaml present in % dir
First, if we get a non-yaml file, return an empty list.

Second, if we are in a % mode, exclude an empty raw result from the
combination.  Otherwise, we get no resulting jobs.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-04 09:07:08 -07:00
tamil
14b03bc77f adding multi-version suite to test compatibility of clients running newer
version of ceph against servers running older version.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-01 22:49:23 -07:00
tamil
12154c2216 Merge branch 'master' of github.com:ceph/ceph-qa-suite 2014-08-01 19:31:22 -07:00
Josh Durgin
511a059728 Merge pull request #76 from ceph/wip_tune2_upgrade-firefly
Added ec-readwrite.yaml to the mix to enable erasure code coverage

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-08-05 14:52:57 -07:00
Yuri Weinstein
542dbd2a29 Added ec-readwrite.yaml to the mix to enable erasure code coverage
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-05 14:48:46 -07:00
David Zafman
9f7107b3a9 Merge pull request #303 from ceph/wip-8930
Tasks are failing since using "data" pool no longer part of default install

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-01 18:28:05 -07:00
David Zafman
54af8b2be3 Tasks are failing since using "data" pool no longer part of default install
Create a pool specifically for each task

Fixes: 8930

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-08-01 16:06:39 -07:00
Zack Cerza
3440d664e7 Expand '~' in ssh key paths
... since paramiko doesn't bother to do this

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-01 14:27:59 -06:00
tamil
ceb37c625a Merge branch 'master' of github.com:ceph/ceph-qa-suite 2014-08-01 12:46:49 -07:00
Zack Cerza
f4c953c1fa Merge pull request #301 from ceph/wip-nuke-vpm
nuke: allow nuking vpm hosts
2014-08-01 13:25:18 -06:00
Sage Weil
03be707d4d kcephfs/thrash: add standby mds
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:22:09 -07:00
tamil
d76af5a657 Merge branch 'master' of github.com:ceph/ceph-qa-suite 2014-07-31 12:53:09 -07:00
Sage Weil
f84458bd93 ceph_manager: increase osd revival timeout from 75 -> 150 seconds
Saw this fail on a firefly run just bc of valgrind slowness.  Make the
timeout higher!

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 21:34:45 -07:00
Sage Weil
7c3fc404d6 valgrind: ignore ec plugin factory leaks
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 18:14:08 -07:00
John Spray
9e2c82824b Merge pull request #300 from ceph/wip-mpi-vers
task/mpi: Explicit check for version mismatch
2014-07-30 23:37:39 +01:00
Zack Cerza
094cd5b3ba Merge pull request #302 from ceph/wip-8850
tell us if you are really not running any more
2014-07-30 14:31:27 -06:00
Alfredo Deza
4686115c48 add another call to use "ps aux"
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-07-30 16:28:02 -04:00
Alfredo Deza
ec342d8146 tell us if you are really not running any more
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-07-30 16:17:01 -04:00
Sage Weil
1c7c2eb4b9 nuke: allow nuking vpm hosts
Skip the console check, though.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 11:12:09 -07:00
Sage Weil
ec2f94901f kcephfs: thrash mds too
And shorten names.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-30 06:55:43 -07:00
John Spray
491817961a task/mpi: Explicit check for version mismatch
Instead of proceeding to have mpiexec fail or hang,
do an up-front check that the MPI version is the same
on all of the nodes in the test.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-30 14:29:11 +01:00
Sage Weil
79357060f1 Merge pull request #53 from ceph/wip-leaks
use notcmalloc to fix leak checking
2014-07-29 15:27:54 -07:00
Warren Usui
6d01f11a02 Merge pull request #67 from ceph/wip_fix_emperor-x
Fixed -x in the suite, this fixed http://tracker.ceph.com/issues/8862
2014-07-29 14:35:53 -07:00
Yuri Weinstein
5d2ce7fd87 Fixed -x in the suite, this fixed http://tracker.ceph.com/issues/8862
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-29 14:14:32 -07:00
Zack Cerza
b8687a54aa Fix package_version_for_hash() call
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-29 14:43:41 -06:00
John Spray
b354631e6e Merge pull request #62 from ceph/wip-standbyreplay
suites/fs: add a standbyreplay configuration
2014-07-29 18:14:02 +01:00
John Spray
0147c74671 task/mds_journal_migration: fix cleanup
Previously this was remounting in the background
which meant that if a workunit was executed immediately
afterwards it could put files in the mount dir before
the FS was mounted, causing the mount to fail.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-29 13:11:12 +01:00
John Spray
431ae2f583 suites/fs: add a standbyreplay configuration
A place for any tests which should be run with
standbyreplay MDSs in play.  Initially just
the mds_journal_migration task, to cover
the #8811 case.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-29 11:34:50 +01:00