Commit Graph

4542 Commits

Author SHA1 Message Date
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
John Spray
c2031ad777 suites/fs: enable directory fragmentation
Setting this in tests globally as a precursor
to enabling it by default in the shipping code.
Set a low mds bal split size in order to make
us hit the fragmentation code more often in
than we usually would in a single MDS environment.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-13 13:25:53 +01:00
Yan, Zheng
44dc0320fa Merge pull request #470 from ceph/wip-4161
Add cephfs TestBacktrace
2015-07-13 17:22:58 +08:00
Yan, Zheng
78a62d41b8 Merge pull request #466 from ceph/wip-damaged-fixes
Tests for wip-damaged-fixes
2015-07-13 17:03:14 +08:00
David Zafman
3389b8ce83 Merge pull request #485 from athanatos/wip-12231
3-size-2-min-size: keep 4 in during thrashing

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-07-10 12:27:53 -07:00
Samuel Just
042bd11716 3-size-2-min-size: keep 4 in during thrashing
Workaround for 12231.

Fixes: #12231
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-07-09 17:03:57 -07:00
Yuri Weinstein
106f9a99d8 Removed rhel* configurations with a goal that they will be covered in the Octo lab
and won't be used by vps runs in Sepia lab

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit adfa1ee393)
2015-07-09 09:08:21 -07:00
Jason Dillaman
27e05df81a suites/rbd: add EC pool variant for QEMU tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-07-09 10:37:57 -04:00
Loic Dachary
a4c4321a75 Merge pull request #476 from t-miyamae/wip-10886
erasure code: added shec's initial ceph-qa-suite

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-07-09 12:07:46 +02:00
Andrew Schoen
1d5f368c9a Merge pull request #481 from dmick/master
calamari_nosetests: verify that calamari_branch exists
2015-07-08 14:47:13 -05:00
Samuel Just
06b41119df Merge pull request #483 from ceph/wip-excl
fix hammer-x upgrades with excl stuff in ceph_test_rados

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
2015-07-08 11:10:39 -07:00
Sage Weil
4af379d184 Merge pull request #484 from ceph/wip_remove_rhel
Removed rhel* configurations with a goal that they will be covered in…
2015-07-08 14:08:56 -04:00
Yuri Weinstein
adfa1ee393 Removed rhel* configurations with a goal that they will be covered in the Octo lab
and won't be used by vps runs in Sepia lab

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-07-08 10:15:41 -07:00
Sage Weil
b4265e8256 upgrade/hammer-x: drop symlinks to ec jobs and disable *_excl
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-08 10:43:22 -04:00
Sage Weil
e248e2e0ca suites/upgrade/hammer-x: do not pass _excl weights to ceph_test_rados
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-08 10:43:22 -04:00
Sage Weil
c0b2e31680 tasks/rados: make {write,append}_excl conditional
For upgrade tests we don't want to pass these args to (old)
ceph_test_rados.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-08 10:43:22 -04:00
Dan Mick
ad8058e612 calamari_nosetests: verify that calamari_branch exists
Fixes: #12206
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-07 11:03:18 -07:00
Zack Cerza
e818187128 Merge pull request #479 from ceph/wip-rgw-task
rgw: do not enable both tcp and uds for fastcgi
2015-07-01 16:00:09 -06:00
Andrew Schoen
e037797bc5 rgw: do not enable both tcp and uds for fastcgi
This fixes a bug where we were setting up mod_fastcgi to use both tcp
and uds.
2015-07-01 16:44:32 -05:00
Gregory Farnum
ec254e5cf1 Merge pull request #478 from ceph/wip-12172-backport-next
cephfs/test_auto_repair.py: flush journal after umount
2015-07-01 22:34:58 +01:00
Gregory Farnum
a02870f461 Merge pull request #477 from ceph/wip-12172-backport-next
cephfs/test_auto_repair.py: flush journal after umount
2015-07-01 11:55:04 +01:00
Yan, Zheng
75fc41c604 cephfs/test_auto_repair.py: flush journal after umount
When client capabilities get released, MDS may update corresponding
inodes' client writable range and mark those inodes dirty. The auto
repair test expects MDS to trim inodes from its cache, but MDS can't
trim dirty inodes. So we should flush journal after umount.

Fixes: #12172
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 835ad8b8f3)
2015-07-01 11:47:14 +01:00
kawaguchi-s
83d920abc2 erasure code: added shec's initial ceph-qa-suite
Fixes: #10886(http://tracker.ceph.com/issues/10886)

Signed-off-by: Shotaro Kawaguchi <kawaguchi.s@jp.fujitsu.com>
2015-07-01 15:58:22 +09:00
Yuri Weinstein
a3e876708c Merge branch 'master' of https://github.com/ceph/ceph-qa-suite into wip-11570
Added time-outs to s3tests

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-06-30 14:00:51 -07:00
Dan Mick
8b7830cd5f Merge pull request #474 from ceph/wip-wusui-12185
tasks/calamari_setup.py cal_svr.run arg list is missing args keyword.

Reviewed-by: Dan Mick <dmick@redhat.com>
2015-06-29 13:50:31 -07:00
Warren Usui
1a29801dfe tasks/calamari_setup.py cal_svr.run arg list is missing args keyword.
Fixes #12185

Signed-off-by: Warren Usui <warren.usui@inktank.com>
2015-06-29 13:33:49 -07:00
John Spray
510b238e2c Merge pull request #473 from ceph/wip-12172
Wip 12172

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-29 11:30:23 +01:00
Yan, Zheng
835ad8b8f3 cephfs/test_auto_repair.py: flush journal after umount
When client capabilities get released, MDS may update corresponding
inodes' client writable range and mark those inodes dirty. The auto
repair test expects MDS to trim inodes from its cache, but MDS can't
trim dirty inodes. So we should flush journal after umount.

Fixes: #12172
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-29 17:52:44 +08:00
John Spray
644d74a40c suites: yaml for test_damage
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-25 17:19:03 +01:00
John Spray
21abe9d928 tasks/cephfs: add test_backtrace
This is for verifying the new layout-writing behaviour.  While
we're at it, test that the pre-existing backtrace behaviours
are really happening (updating old_pools)

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-25 17:19:03 +01:00
Yuri Weinstein
52fa9a32c8 Fixes #11570
Removed test_cls_rbd.sh per Josh's suggestion
Removed 'branch: hammer' from 3-upgrade-sequence/upgrade-*

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-06-24 14:29:55 -07:00
Zack Cerza
1a847dce59 Merge pull request #366 from ceph/wip-10551
Support the usage of mod_proxy_fcgi for rgw tests
2015-06-24 11:08:58 -06:00
Andrew Schoen
03ac59e545 Adds a set of rgw tests to the teuthology suite
I added these so I could source control a good yaml fragment that I
created to test rgw.  Adding the suite allows me to test the addition of
mod_proxy_fcgi across multiple distros.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-06-23 15:49:27 -05:00
Andrew Schoen
460bf9a097 Adds mod_proxy_fcgi support and makes it the default setup for rgw
This also adds a 'use_fastcgi' override config option for the rgw task.

If specified we'll configure things to use mod_fastcgi instead of
mod_proxy_fcgi.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-06-23 15:49:27 -05:00
John Spray
bcb1eb3cf9 suites: hook in cephfs/test_damage
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 12:08:24 +01:00
John Spray
fa16974063 tasks/cephfs: add TestDamage
Tests MDS response to badness in the metadata tool

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:22:12 +01:00
John Spray
cc2e9ff579 tasks/cephfs: allow stdin for Filesystem.rados
Useful for puts when injecting data to test
corruption handling.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:22:12 +01:00
John Spray
655d197a6b tasks/cephfs: add CephFSMount.stat
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:22:11 +01:00
John Spray
f7e932fb8f tasks/cephfs: add TestDamage
Tests MDS response to badness in the metadata tool

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:22:17 +01:00
John Spray
40d0c05c35 tasks/cephfs: add TestDataScan
For testing the new cephfs-data-scan disaster recovery
utility.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:09:59 +01:00
John Spray
d2cec6a669 tasks/cephfs: add CephFSMount.ls
Just a helper for functions that inspect
the contents of the mount, such as in
test_data_scan

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:06:23 +01:00
John Spray
e6afe66b24 tasks/cephfs: allow stdin for Filesystem.rados
Useful for puts when injecting data to test
corruption handling.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:06:23 +01:00
John Spray
718eaee5e5 tasks/cephfs: add CephFSMount.stat
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:06:22 +01:00
John Spray
0f34d0785c tasks/cephfs: add Filesystem.data_scan wrapper
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-17 14:06:22 +01:00
Dan Mick
b5b668edb2 calamari_setup.py: fix tarball installs
May be obsolete soon, but in tarballs, ice_setup is still a script

Fixes: #12046
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-06-16 15:36:43 -07:00
Dan Mick
8defa73000 calamari_setup.py: tear down mounted ISO
Fixes: #11457
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-06-16 15:36:43 -07:00