Commit Graph

3456 Commits

Author SHA1 Message Date
tamil
0b2a8472c3 s/apache/apache2
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-13 09:13:59 -07:00
tamil
90379e0b1d Added a facet to test both apache and civetweb as frontend for rgw
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-13 09:09:30 -07:00
tamil
b5f7d843b3 bug 8927: enable civetweb testing for rgw 2014-08-13 08:59:48 -07:00
Yuri Weinstein
12ded3c9ea Merge pull request #96 from dachary/wip-8988-default-idle-timeout
rgw.yaml: keep the client.0 key even if empty
2014-08-15 15:09:13 -07:00
Sage Weil
703c5f4f98 Merge pull request #89 from dachary/wip-9027-create-unique-pool
initialize ctx.manager in ceph.py

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-15 14:50:27 -07:00
Loic Dachary
984f3ce475 rgw.yaml: keep the client.0 key even if empty
Because rgw.py iterates over it to run the rgw server. If it is removed
the rgw servers are not run and all fails.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-15 22:06:11 +02:00
Loic Dachary
821b2a4397 replace locally instantiated CephManager
Use the ctx.manager instance created by ceph.py instead

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-15 15:56:52 +02:00
Loic Dachary
9782465c87 initialize ctx.manager in ceph.py
instead of rados.py because ceph.py is only run once where rados.py
could be run multiple time, leading to race conditions

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-15 15:56:35 +02:00
Loic Dachary
f53ea258a4 move functions from ceph to ceph_manager
mount_osd_data and make_admin_daemon_dir are only used by
ceph_manager.py although they are defined in ceph.py

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-15 15:56:35 +02:00
John Spray
3326a9feb0 Merge pull request #90 from dachary/wip-8988-default-idle-timeout
rgw: s/idle_timeout/default_idle_timeout/

Reviewed-by: John Spray <john.spray@redhat.com>
2014-08-15 12:32:16 +01:00
Loic Dachary
da00662191 rgw: s/idle_timeout/default_idle_timeout/
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-15 12:34:37 +02:00
Sage Weil
4f9f023c74 rest-api tests: enable debugging
Hoping to catch #9058

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-14 17:41:05 -07:00
Zack Cerza
2fc76d6e7f Merge pull request #86 from dachary/wip-9027-create-unique-pool
rados.py: avoid CephManager creation race
2014-08-14 09:28:29 -06:00
Yuri Weinstein
4783b3789b Merge pull request #87 from dachary/wip-8988-default-idle-timeout
rgw: add default_idle_timeout to allow override
2014-08-14 08:24:21 -07:00
Loic Dachary
54a7298cdd rgw: add default_idle_timeout to allow override
Globally overriding the rgw idle_timeout is not possible because it it
needs to be done on a per client.0, client.1, etc. basis. Add the
default_idle_timeout key to the rgw config : it defaults to the
previously hardcoded default (30) and can be changed via the override.

The existing tasks that were previously overriding the idle_timeout on a
per client basis are changed to use the default_idle_timeout instead for
consistency and to allow a global override.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-14 14:53:24 +02:00
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