Commit Graph

4522 Commits

Author SHA1 Message Date
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
tmuthamizhan
e2c6341a00 Merge pull request #462 from ceph/wip-12023
Add point releases (tags) to hammer release  #12023
2015-06-16 15:11:51 -07:00
Yuri Weinstein
029fdfd741 Initial checking for #12023
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-06-16 13:56:58 -07:00
Josh Durgin
0ef0cfb9d1 Merge branch 'next' 2015-06-15 15:48:08 -07:00
Josh Durgin
c0e3f8f79c upgrade-x: use compatible rados api tests
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-06-15 15:47:48 -07:00
Travis Rhoden
1c6fed70a8 Merge pull request #454 from ceph/wip-cdtests
Single node ceph-deploy tests to exercise commonly used cli

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-06-15 14:02:10 -07:00
Greg Farnum
154f055f03 ceph: fix up log rotation stopper
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 451c5ca79d)
2015-06-15 06:51:47 -07:00
Vasu Kulkarni
b455e4a7c9 Single Node Ceph-deploy tests to exercise commonly used CLI and test init startup
- Add 1node tests to Smoke and include ceph-deploy test
   - Review Comments , add rgw cli test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-06-12 15:07:52 -04:00
John Spray
3d935a363d Merge pull request #460 from ceph/wip-logrotate-fix
ceph: fix up log rotation stopper

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-12 19:20:17 +01:00
Greg Farnum
451c5ca79d ceph: fix up log rotation stopper
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-12 11:19:24 -07:00
Gregory Farnum
bf9a9a2d9f Merge pull request #457 from ceph/wip-11913
tasks/cephfs: fix race in test_full

Reviewed by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-11 22:39:46 -07:00
John Spray
63a563d0e7 tasks/cephfs: fix race in test_full
Sometimes mount A would get a cap revoke when mount
B did its last IO, resulting in mount A's OSD epoch
getting updated too.

Fix by making sure mount B is the last one to have
done IO before we do the barrier, so that when
it does IO again after the barrier, mount A can't
be holding any caps that B would need.

Fixes: #11913
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-11 11:21:26 +01:00
Loic Dachary
82dc23a683 erasure-code: lrc plugin workload
Add a workload that uses the lrc erasure code plugin. Instead of adding
it to suites/rados/thrash-erasure-code/workloads, a new suite is created
at suites/rados/thrash-erasure-code-big because it needs more OSDs than
other erasure code plugins. The alternative would be to increase the
number of OSDs for all erasure code plugins, but that would needlessly
increase the resources requirements.

 * cluster/12-osds.yaml creates a 12 OSDs, 3 MONs cluster

 * thrash-erasure-code-big/thrashers/*.yaml are the same as
   thrash-erasure-code/thrashers/*.yaml except they require that at
   least 8 OSDs are in at all times (instead of 4) because lrc PGs with
   k=4, m=2, l=3 are undersized if they do not have 8 OSDs. It is
   possible that crush fails to map 8 OSDs when only 8 OSDs are
   available, but that must not disturb the workload because min_size is
   4.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-06-11 10:48:45 +02:00
Sage Weil
dab2ae2e3d Merge remote-tracking branch 'gh/next' 2015-06-10 13:15:11 -04:00
Loic Dachary
14112110e2 Merge pull request #455 from ceph/wip-11937
thrasher: Can't test ceph-objectstore-tool if nodes turned off (power…

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-10 17:48:37 +02:00
John Spray
a1a8303793 Merge pull request #452 from ceph/wip-logrotate
Logrotate

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-10 10:53:43 +01:00
Greg Farnum
6573e92fb3 ceph: update log rotation for review comments
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-09 16:16:50 -07:00
David Zafman
b255db820f thrasher: Can't test ceph-objectstore-tool if nodes turned off (powercycle)
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-09 14:24:47 -07:00
John Spray
eabe37fbe1 Merge pull request #440 from ceph/wip-fs-clientnum
Reduce fs test node usage

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-09 21:31:43 +01:00
Greg Farnum
ba5b3bb9b8 add log-rotate configs to the userspace suite
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:37:42 -07:00