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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Greg Farnum
96f3eb9dbe
ceph: support arbitrarily-named daemons in logrotate
...
And make it more configurable in terms of sizes.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:36:49 -07:00
Greg Farnum
5935f86e49
ceph: enable mds log rotation
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:36:49 -07:00
Gregory Farnum
7f8b8660d9
Merge pull request #449 from ceph/wip-fsync
...
tasks/cephfs: add TestClientRecovery.test_fsync
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-05 13:50:17 -07:00
Samuel Just
5cb2631e7c
Merge pull request #451 from athanatos/wip-11677
...
Wip 11677
Reviewed-by: Sage Weil <sage@redhat.com>
2015-05-29 15:17:22 -07:00
John Spray
6d3b5c6b5e
tasks/cephfs: add TestClientRecovery.test_fsync
...
To test that metadata written recently is
preserved across a client+server crash when
barriered with a directory fsync.
Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-29 14:33:01 +01:00
John Spray
df91f98e5b
tasks/cephfs: fix typo in blacklist clearing
...
Broken in aa0ffb3
Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-29 13:46:01 +01:00
Samuel Just
3127cda33a
rados: add write_excl and append_excl
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-28 15:36:41 -07:00
Samuel Just
91b300d12c
rados/thrash: add test for radosgw with snaps
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-28 15:36:39 -07:00
Gregory Farnum
d9959b18ba
Merge pull request #443 from ceph/wip-11301
...
tasks/cephfs: reset osd blacklist between tests
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-27 14:29:26 -07:00
Gregory Farnum
4a79c75daf
Merge pull request #447 from ceph/wip-11779
...
tasks/cephfs: fix timing in test_full
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-27 14:17:27 -07:00
John Spray
5ff2743de4
tasks/cephfs: fix timing in test_full
...
The interval between writes was too short because
it was not taking account of the way OSDMap full
flags are set on tick rather than immediately.
Fixes : #11779
Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-27 12:40:49 +01:00
Yan, Zheng
bd542353f5
tasks/cephfs: mount fusectl before listing fuse connections
...
Fixes : #11756
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-05-26 22:18:57 +08:00
John Spray
aa0ffb313c
tasks/cephfs: reset osd blacklist between tests
...
...to avoid OSDMap modifications happening in the
background due to blacklist expiry.
Fixes : #11301
Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-22 11:04:46 +01:00
Gregory Farnum
fed8837c98
Merge pull request #442 from ceph/wip-client-cache-size
...
cephfs/test_client_limits.py: invalidate kernel dcache according to client cache size
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-15 10:36:16 -07:00
Gregory Farnum
8eb3255a4c
Merge pull request #425 from ceph/wip-flock-optional
...
cephfs/mount: check FUSE version before invoking flock
Reviewed-by: John Spray <john.spray@redhat.com>
2015-05-14 21:52:30 -07:00
Gregory Farnum
d9e4433630
Merge pull request #398 from ceph/wip-quota-full
...
Test for CephFS full handling with pool quotas (#11276 )
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-14 16:38:05 -07:00
David Zafman
aaacfb8e4d
Merge pull request #402 from ceph/wip-11343
...
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-05-14 10:56:20 -07:00
Yan, Zheng
c7e8e544a8
cephfs/test_client_limits.py: invalidate kernel dcache according to client_cache_size
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-05-13 14:40:28 +08:00
Greg Farnum
f780f1894b
cephfs/test_client_recovery: check FUSE version before invoking flock
...
flock only works properly on FUSE versions >=2.9, which is newer
than eg Ubuntu Precise. So check the version on our client mounts and
only test flock if it's at least that new.
Fixes : #9995
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-05-12 14:43:19 -07:00