Commit Graph

3467 Commits

Author SHA1 Message Date
Gregory Farnum
6271ca9122 Merge pull request #99 from ceph/wip-hadoop
reorg hadoop tests

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-08-19 11:47:13 -07:00
Sage Weil
a02c90b8f3 suites/hadoop: update workunit names
These were renamed/reorged.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-18 08:41:17 -07:00
Sage Weil
f7b32bcc31 rgw: httpd instead of httpd.worker
httpd exists on rhel 6.5 too ...

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 16:44:32 -07:00
Sage Weil
6392758f1b rgw: need alll of mod unixd, version, authz
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 16:44:32 -07:00
Sage Weil
27b7eceeae tasks/rgw: include mod_authz
As per http://www.webhostingtalk.com/showthread.php?t=1173594

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 13:56:15 -07:00
Sage Weil
2aae91929f tasks/rgw: get mpm_event frmo mods-available, not mods-enabled
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-16 13:37:39 -07:00
Dan Mick
9de5bd1d23 Add extra conf for Apache 2.4
Inside a conditional to affect only 2.4, set User, Group, and the
module config to load mpm_event.  This is normally done with the
default configuration files, but since this abbreviated conf bypasses
those, we must set them here.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-08-15 22:37:22 -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
tamil
69ef8545fc s/apache2/apache
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-13 21:47:50 -07:00
Sage Weil
c1a2463cc9 Merge pull request #100 from ceph/wip-9154
use the right syntax for RHEL/CentOS distros to check for ceph status

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-18 10:10:08 -07:00
Sage Weil
209226f1d0 Merge pull request #98 from ceph/rgw_civetweb
bug 8927: include frontend:civetweb for rgw tests
2014-08-18 10:05:33 -07:00
Alfredo Deza
4b15d0118e use the right syntax for RHEL/CentOS distros to check for ceph status
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-18 12:40:43 -04: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
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
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
tamil
b5f7d843b3 bug 8927: enable civetweb testing for rgw 2014-08-13 08:59:48 -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