Commit Graph

4588 Commits

Author SHA1 Message Date
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
Dan Mick
2006b77340 calamari_setup: disable epel again after ceph-deploy
ceph-deploy enables EPEL on Centos; this caused problems for
Calamari.  Undo it after ceph-deploy has installed Ceph.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-22 17:28:55 -07:00
Josh Durgin
67d1764228 Merge pull request #500 from ceph/wip-12425-master
Fixes #12425, moved versions-steps-x suite from upgrade/firefly to up…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-07-21 14:40:05 -07:00
Yuri Weinstein
d413124ddd Fixes #12425, moved versions-steps-x suite from upgrade/firefly to upgrade/firefly-x
as the old location was wrong and never ran correctely to upgrade tp -x

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-07-21 13:55:24 -07:00
Samuel Just
a336410133 Merge pull request #496 from ceph/wip-hammer-x
Added config settings to resolve and test #496 

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-07-16 13:54:08 -07:00
Yuri Weinstein
e09f761ac4 Added config settings to resolve and test #12021
"mon debug unsafe allow tier with nonempty snaps: true"
(only for firefly-x, giant-x and upgrade/hammer/point-to-point running againts hammer branch)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-07-16 13:24:32 -07:00
Sage Weil
d3b77daa29 Merge remote-tracking branch 'gh/next' 2015-07-16 12:04:39 -04:00
Zack Cerza
afe148820a Drop chef from the teuthology suite
Chef has been replaced by ansible, which will be added to jobs at
schedule time.

Signed-off-by: Zack Cerza <zack@redhat.com>
2015-07-15 14:08:29 -06:00
Zack Cerza
7cc2843936 Drop chef from tgt suite
Chef has been replaced by ansible, which will be added to jobs at
schedule time.

Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit 5b57b81e90)
2015-07-15 14:05:56 -06:00
Andrew Schoen
c0141c4206 Merge pull request #492 from ceph/wip-drop-chef
Drop chef from suites
2015-07-14 17:36:32 -05:00
Zack Cerza
5b57b81e90 Drop chef from tgt suite
Chef has been replaced by ansible, which will be added to jobs at
schedule time.

Signed-off-by: Zack Cerza <zack@redhat.com>
2015-07-14 16:31:55 -06:00
Zack Cerza
b48e2cf830 Drop chef from the teuthology suite
Chef has been replaced by ansible, which will be added to jobs at
schedule time.

Signed-off-by: Zack Cerza <zack@redhat.com>
2015-07-14 15:32:31 -06:00
Josh Durgin
709b1d4ed8 Merge pull request #490 from ceph/wip-12029
suites/rbd: add EC pool variant for QEMU tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-07-14 12:47:41 -07:00
Ken Dreyer
8b693d4d31 Merge pull request #487 from dmick/master
calamari_setup: handle new structure in 1.3.0 (MON and OSD repos)
2015-07-14 09:43:59 -06:00
Loic Dachary
ec12f21a7e tasks/ceph_fuse.py: virtual machines need flexible mount timeout
1) add a wait time before the mount attempt to let the cluster get set up.
By default this should be skipped, but for VMs and known-slow systems we
can give them 60 seconds.
2) Make the timeout configurable, with a 30-second default, but override it
for VM tests.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-07-14 13:03:01 +02:00
Gregory Farnum
ba6e8e6d94 Merge pull request #464 from ceph/wip-offline-backward
Tests for damage handling and cephfs-data-scan

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-07-14 11:43:02 +01:00
Dan Mick
35c6363a1e calamari_setup: handle new structure in 1.3.0 (MON and OSD repos)
Also, clean up the command handling; failure will throw an exception,
so no need to accumulate the errors in an int

Fixes: #12228
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-13 20:53:26 -07:00
Sage Weil
035f7fb898 Merge pull request #465 from ceph/wip-11570
hammer suite split - older and newer
2015-07-13 13:03:38 -04:00
Yan, Zheng
0fa262cec8 Merge pull request #384 from ceph/wip-dirfrag-enable
suites/fs: enable directory fragmentation
2015-07-13 21:36:34 +08:00