Commit Graph

4756 Commits

Author SHA1 Message Date
Samuel Just
978828537e Merge pull request #445 from dachary/wip-11666-erasure-code-lrc
erasure-code: lrc plugin workload

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-08-07 07:59:05 -07:00
Loic Dachary
427f48bf62 erasure-code: CEPH_FEATURE_ERASURE_CODE_PLUGINS_V3 integration tests
http://tracker.ceph.com/issues/10887 Refs: #10887

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-08-06 18:09:38 +02:00
Alfredo Deza
18bf415d1e fix indentation error in docstring
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit af973259ef)
2015-08-06 09:25:27 -06:00
Alfredo Deza
51122026f7 do not ommit syntax errors in linter checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit db69142b90)
2015-08-06 09:25:03 -06:00
John Spray
30f10ee1cd tasks: fix syntax error in ceph.py
From e195f9fa.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 9f530092e2)
2015-08-06 09:24:13 -06:00
Ken Dreyer
63e6d87db4 calamari_setup: handle RHCS 1.2 (missing /mnt/MON)
In RHCS 1.2 we don't have a /mnt/MON directory. The intention of
35c6363a1e was to handle this condition,
but in 1.2, the non-zero return code makes Teuthology fail the whole
test.

We don't want *Teuthology* itself to act on the return code here; we
simply want to know what it was and structure the rest of the test
accordingly.
2015-08-06 07:58:35 -06:00
Loic Dachary
12f4dffc35 erasure-code: add write_append_excl: false
Add write_append_excl: false to all erasure-code workloads and use the
same workload in all upgrade tests. write_append_excl: false is not
meaningfull for all Ceph versions but when it's not it will just be
ignored.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-08-06 15:33:58 +02:00
John Spray
995cc92245 Merge pull request #522 from ceph/syntax-check
Include `SyntaxError` checks in linter

Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-06 14:25:14 +01:00
Alfredo Deza
af973259ef fix indentation error in docstring
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-08-06 08:41:17 -04:00
Alfredo Deza
db69142b90 do not ommit syntax errors in linter checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-08-06 08:38:52 -04:00
Kefu Chai
57f2e060f2 Merge pull request #521 from ceph/wip-fix-ceph
tasks: fix syntax error in ceph.py

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-06 18:09:59 +08:00
John Spray
9f530092e2 tasks: fix syntax error in ceph.py
From e195f9fa.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-06 10:25:03 +01:00
Zack Cerza
3489e5cd93 Set the SELinux context of the logrotate config
Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit e195f9fa1c)
2015-08-05 15:38:37 -06:00
Andrew Schoen
fd39a7e0bf Merge pull request #520 from ceph/wip-logrotate-chcon
Set the SELinux context of the logrotate config
2015-08-05 16:30:57 -05:00
Andrew Schoen
d851669461 Merge pull request #519 from ceph/wip-silent-siganl
tasks/ceph_manager: be silent about sending SIGHUPs
2015-08-05 14:34:17 -05:00
Zack Cerza
e195f9fa1c Set the SELinux context of the logrotate config
Signed-off-by: Zack Cerza <zack@redhat.com>
2015-08-05 10:08:35 -06:00
Loic Dachary
93cb547200 Merge pull request #518 from ceph/fix-async-test
Fix experimental feature override makes user config useless

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-05 17:16:09 +02:00
Sage Weil
c93fe1f1c6 tasks/ceph_manager: be silent about sending SIGHUPs
At the default interval this generates tons of log noise.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-04 13:08:04 -04:00
Haomai Wang
911c686546 Fix experimental feature override makes user config useless
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-08-04 10:26:18 +08:00
Zack Cerza
657dd9ecf0 Merge pull request #515 from ceph/wip-12476
thrashosds: send a random osd a signal.SIGHUP
2015-07-29 09:03:50 -06:00
Travis Rhoden
2d3e112210 Merge pull request #510 from dmick/master
calamari_setup: Add --no-adjust-repos to ceph-deploy install --<type>

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-07-28 16:41:11 -07:00
Dan Mick
6726f4f1fa calamari_setup: only stop ceph on osd/mon machines
Fixes bogus failure at end of run on calamari server

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00
Dan Mick
30dbe93125 calamari_setup: hack for 1.3.0 on centos: install lttng from EPEL
lttng is not yet part of any private repo; since 1.3.0/CentOS is not
a supported product, just grab it from EPEL for this test.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00
Dan Mick
ac8b0e1abf calamari_setup: pep8 fix
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00
Dan Mick
17c3a94b5d calamari_setup: Add --no-adjust-repos to ceph-deploy install --<type>
Otherwise, ceph-deploy will install an apt source that points to
ceph.com, which will override the local ISO repos.

No --mon/--osd yet until 12147 is fixed

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-28 16:12:09 -07:00
Josh Durgin
0200811fc0 Merge pull request #446 from ceph/wip-krbd-unmap-suite
unmap subsuite for krbd

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-07-28 15:49:46 -07:00
Andrew Schoen
a3c9a763b1 ceph_manager: don't add an osd to live_osds until it's been revived
also waits to remove it from dead_osds. this fixes an issue where
do_sighup tries to send a signal to an osd that has not been revived
yet.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-07-28 17:05:31 -05:00
Andrew Schoen
b2187b79f3 thrashosds: adds a sighup_delay option, defaulted to 0.1
This will call Thrasher.do_sighup which picks a random osd and sends a
signal.SIGHUP to it, delaying for the value of sighup_delay between each
time it picks a new osd to signal.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-07-28 14:46:35 -05:00
Andrew Schoen
84d24038aa ceph_manager: adds a do_sighup method
This method runs in a separate greenlet than do_thrash and will pick a
random live osd to send a signal.SIGHUP to. There is a config option,
sighup_delay, which controls how long to delay between sending the
signals.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-07-28 14:46:12 -05:00
Andrew Schoen
ed73f67991 ceph_manager: adds a signal_osd method
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-07-28 14:13:30 -05:00
Vasu Kulkarni
c1116a0af8 - Use branch from config for ceph-deploy testing instead of released branch
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-07-28 13:38:47 -04:00
Travis Rhoden
ec1916af6f Merge pull request #509 from ceph/wip-12225
Don't pass host to mon create-initial

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-07-28 10:26:54 -07:00
Gregory Farnum
961701e3ed Merge pull request #512 from ceph/wip-pool-perm-fixes
Fixes to test_pool_perm

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-07-28 14:45:44 +01:00
John Spray
a13064bf21 Merge pull request #489 from dachary/wip-12320-ceph-fuse
tasks/ceph_fuse.py: virtual machines need flexible mount timeout

Reviewed-by: John Spray <john.spray@redhat.com>
2015-07-28 11:20:36 +01:00
John Spray
e33065f3c9 tasks/cephfs: reset auth caps in setUp
Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-28 10:34:58 +01:00
John Spray
6864f882bc tasks/cephfs: don't hardcode data pool name in test_pool_perm
Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-28 10:34:58 +01:00
John Spray
e3434b6d2f tasks/cephfs: test_pool_perm: reinstate proper caps on teardown
Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-28 10:34:58 +01:00
John Spray
a0ccd69041 tasks/cephfs: don't hardcode client ID in test_pool_perm
Our teuthology yamls all happen to use "client.0" but
it's not guaranteed.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-28 10:34:58 +01:00
John Spray
36ec6f9e0b tasks/cephfs: test_pool_perm whitespace
PEP8-ize.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-28 10:34:57 +01:00
Andrew Schoen
9c6e4f0e3b Merge pull request #511 from ceph/wip-drop-chef
Remove chef task
2015-07-27 12:58:22 -05:00
Zack Cerza
4dbc05276d Remove chef task
It is obsoleted by teuthology.task.ansible.cephlab

Signed-off-by: Zack Cerza <zack@redhat.com>
2015-07-27 11:47:47 -06:00
Vasu Kulkarni
71fec93fd8 - Fix for wip-12225, Extra argument to mon create-initial was never required
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-07-24 13:56:30 -04:00
Yuri Weinstein
4aa47baaf2 Fixes #12460
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit bb71120b37)
2015-07-24 10:06:02 -07:00
Samuel Just
b443c2dc71 Merge pull request #508 from ceph/wip-12460
Fixes #508 
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-07-24 10:02:43 -07:00
Yuri Weinstein
bb71120b37 Fixes #12460
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-07-24 09:59:11 -07:00
Yuri Weinstein
409f275b1c Fixes #12068
point-to-point test moved from upgrade/hammer and modified to run as -x type upgrade

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 2ab6029764)
2015-07-24 08:30:12 -07:00
Samuel Just
7ba4c0baec Merge pull request #506 from ceph/wip-12068-master
Fixes #506 
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-07-23 14:15:57 -07:00
Travis Rhoden
3574c07984 Merge pull request #505 from dmick/master
calamari_setup: disable epel again after ceph-deploy

Reviewed-By: Travis Rhoden <trhoden@redhat.com>
2015-07-23 10:48:37 -07:00
Guang G Yang
e8d4cf1146 erasure-code: add thrash test for the fast read feature on EC pool
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-07-23 17:07:38 +00:00
Yuri Weinstein
2ab6029764 Fixes #12068
point-to-point test moved from upgrade/hammer and modified to run as -x type upgrade

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-07-23 09:57:58 -07:00