Commit Graph

3484 Commits

Author SHA1 Message Date
Yuri Weinstein
9316756341 Added sequential: clause, so test stop thrashing the mon after it runs that one workload
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-08-26 09:21:26 -07:00
Zack Cerza
7baeb8043c Merge pull request #105 from ceph/wip-boto
tasks/s3tests: push boto config with idle_timeout setting
2014-08-26 09:58:39 -06:00
Sage Weil
4f8436bf5d Merge pull request #106 from ceph/wip-9091-wusui
mplement ceph.created_pool

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-26 06:34:45 -07:00
Sage Weil
fe204e81c7 Merge pull request #107 from dachary/wip-9209-ec-workload
erasure-code: add jerasure k=3 m=1 workload
2014-08-25 14:47:49 -07:00
Loic Dachary
31df59f229 erasure-code: add jerasure k=3 m=1 workload
It validates that http://tracker.ceph.com/issues/9209 is fixed.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-25 19:07:39 +02:00
Sage Weil
12a391ea01 thrashosds: increase osd revive timeout (75s -> 150s)
This is needed when running valgrind.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-25 08:52:02 -07:00
Warren Usui
0ec5bd1a63 mplement ceph.created_pool
ceph.created_pool allows the user (via yaml lines) to add pools
that the ceph_manager knows about.

Fixes: 9091
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-08-22 17:39:38 -07:00
Sage Weil
9e53972378 set boto timeout, too, for s3tests
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-22 15:28:58 -07:00
Sage Weil
9d466aa110 tasks/s3tests: push boto config with idle_timeout setting
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-22 15:28:33 -07:00
tamil
389ad61476 added a test with erasure_code_profile parameters
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-08-20 22:27:04 -07:00
tmuthamizhan
825212a59c Merge pull request #104 from dachary/wip-8933-rgw-erasure-code-profile
rgw: add erasure_code_profile configuration
2014-08-21 16:39:38 -07:00
Loic Dachary
e5c5bcf92d rgw: add erasure_code_profile configuration
If erasure_code_profile is present at the same leve as ec-data-pool, it
is used to override the default hard coded profile.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-22 01:27:17 +02:00
Zack Cerza
5765fde1aa Merge pull request #102 from ceph/9171
ignore errors on informational service status
2014-08-21 09:16:49 -06:00
Zack Cerza
54870dcc1e Merge pull request #103 from ceph/9172
use 'mon create-initial' always
2014-08-21 09:15:11 -06:00
Alfredo Deza
70a1f18adf use 'mon create-initial' always
But don't error if it fails, as this would mean that the monitors
are just taking longer to form quorum. Go and try the next block which will
wait up to 15 minutes for a successful gatherkeys to happen (that only works
if monitors have formed quorum).

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-21 10:03:28 -04:00
Alfredo Deza
5b946e1a6d ignore errors on informational service status
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-21 09:44:45 -04:00
Sandon Van Ness
bfe31bec01 Add centos/rhel7 to distros 'all' folder.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-08-20 10:27:05 -07:00
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