Commit Graph

4556 Commits

Author SHA1 Message Date
Ilya Dryomov
9c3040c0b2 krbd: add unmap subsuite
.. for testing various unmap scenarios, mostly unmap by spec, but also
unmap by device and device partition.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-05-27 15:41:38 +03: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
Josh Durgin
eb6339116c Merge pull request #438 from ceph/wip-11405
client-upgrade: test librbd backwards compatibility

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-26 10:27:50 -07: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
Yuri Weinstein
23caf5261b Added script to schedule 1/14th part of rados
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit a7064a7b3d)
2015-05-19 13:47:22 -07:00
Yuri Weinstein
a7064a7b3d Added script to schedule 1/14th part of rados
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-05-19 13:44:36 -07: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
John Spray
938db47dc0 suites: update log whitelist for TestQuotaFull
A quota ENOSPC looks different in the log than
as capacity ENOSPC

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-11 18:19:53 +01:00
John Spray
9c36a52662 suites: tweak config in mds-full task
The task runs a lot faster with a higher
OSD report frequency.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-08 15:34:04 +01:00
John Spray
13c7f97d89 tasks/cephfs: cover pool quota in test_full
Run the same procedure as TestClusterFull, but
instead of limiting OSD memstore size, use pool
quota on the data pool.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-08 14:09:59 +01:00
Greg Farnum
c5ff21be7d samba: disable MDS debugging to reduce log sizes
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-05-07 21:26:57 -07:00
Yuri Weinstein
80eecc39ec Replaced work units with ceph-deploy/ceph-deploy_hello_world.sh re: #11547
Removed per Josh's suggestion fs as redundant and renamed rados to bacis

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit dcfd6a3b09)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-05-07 17:59:55 -07:00
Josh Durgin
2c503cb8df Merge pull request #436 from ceph/wip_11547_2
Replaced work units with ceph-deploy/ceph-deploy_hello_world.sh 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-07 17:56:19 -07:00
Yuri Weinstein
dcfd6a3b09 Replaced work units with ceph-deploy/ceph-deploy_hello_world.sh re: #11547
Removed per Josh's suggestion fs as redundant and renamed rados to bacis

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-05-07 17:52:43 -07:00
Gregory Farnum
ac9539a37e Merge pull request #431 from ceph/wip-more-log-whitelist
suites/fs: add another log whitelist to journal-repair

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-07 16:37:35 -07:00
Josh Durgin
3f0706019f Merge pull request #426 from ceph/wip-11372
add new valgrind tests to rbd suite

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-07 09:25:51 -07:00
Yuri Weinstein
3ef08c64fa Merge pull request #433 from ceph/wip_11400
Initial check in for upgrades/hammer stable upgrade suite
2015-05-06 17:05:25 -07:00
Yuri Weinstein
8c823e7813 Initial check in for upgrades/hammer stable upgrade suite
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-05-06 15:41:54 -07:00
David Zafman
38160ecfaa reg11184: Add regression test for 11184
Create divergent priors and a split and then move a pg using
ceph-objectstore-tool export/import
Add yaml file to run the reg11184 task

Fixes: #11343

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00
David Zafman
b10558021f divergent_priors2: Do divergent priors and ceph-objectstore-tool export/import
Based on tasks/divergent_priors.py but also do simple export/remove/import on
same osd.
Add yaml file to run the divergent_priors2 task

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00
David Zafman
a6a4aaf3d3 divergent_priors: Fix divergent_priors task
Flake8 fixes
Use new set_recovery_delay admin socket command
Fix bad value set for filestore_blackhole
Make sure log trims and only require 100 objects
Use kick_recovery_wq to properly set osd_recovery_delay_start to 0
Write and remove divergent and verify removal was undone
Fix to make compatible with wip-10809-11135-10290
Make sure to set_recovery_delay in a non-racey way (while osd running but down)
Leave divergent "in" so its PGs aren't treated as strays
Add yaml file to run the divergent_priors task

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-05-06 12:27:34 -07:00
Jason Dillaman
3018f49462 client-upgrade: added RBD notification tests
Verify correct behavior between two librbd versions when
proxying notify messages.

Fixes: #11405
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-06 12:34:39 -04:00
Jason Dillaman
236a93c1e9 client-upgrade: added librbd API test case
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-05-06 12:34:11 -04:00
John Spray
0e0d1e6f02 suites/fs: add another log whitelist to journal-repair
This is the table unreadable error for mds1_inotable that
we get when trying to start an MDS whose objects are gone.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-06 10:59:46 +01:00
Sage Weil
1bfedda6d7 Merge remote-tracking branch 'gh/next'
Conflicts:
	suites/fs/recovery/tasks/client-limits.yaml
	suites/fs/recovery/tasks/mds-full.yaml
	tasks/ceph_deploy.py
2015-05-05 16:32:35 -07:00
Sage Weil
e4a7106bb0 smoke: white marked down on python test
Backport: hammer
Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-05 09:54:27 -07:00
Yuri Weinstein
7bfe0c3a87 Added hammer-client-x to the mix
Renamed dirs to better reflect what is being tested
Removed old dirs
Added logging
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 3c8730d035)

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-05-05 08:50:38 -07:00
Samuel Just
3970ad9fbd Merge pull request #428 from athanatos/wip-11429
suites/rados: add test for 11429

Reviewed-by: Zack Cerza <zack@redhat.com>
2015-05-04 16:37:45 -07:00
Greg Farnum
47fff708f9 knfs: remove the MDS debugging
It doesn't fit on the typica boxes with debugging, and we probably don't need
it for any NFS issues which do arise...

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-05-04 16:02:24 -07:00
Samuel Just
cc107525bc squash: use sleep instead of utility.sleep 2015-05-04 14:27:40 -07:00
Samuel Just
91bc0e9186 squash: use != not is not in radosbench 2015-05-04 14:22:59 -07:00
Samuel Just
73577f1077 squash: remove utility, moved to teuthology.git 2015-05-04 14:21:58 -07:00
Samuel Just
2a60852a1d squash: ceph_manager: add utility_task doc string 2015-05-04 14:21:31 -07:00
Samuel Just
015ed70f8a suites/rados: add test for 11429
This patch also adds some convenience facilities for making
some of the ceph_manager methods into tasks usable from a
yaml file.

Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-04 11:53:54 -07:00
Yuri Weinstein
f99bc7cc06 Removed redundant tests issue #11520
Reduced nodes to be locked to two

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 8ab46b42c5)
2015-05-01 15:47:03 -07:00
Josh Durgin
0094216a3a Merge pull request #427 from ceph/wip_11520
Removed redundant tests issue #11520
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-01 13:36:54 -07:00
Yuri Weinstein
8ab46b42c5 Removed redundant tests issue #11520
Reduced nodes to be locked to two

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-05-01 13:30:24 -07:00
Yuri Weinstein
3f19ed4908 All changes from 3ce379a689
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-04-30 14:18:10 -07:00
Yuri Weinstein
5535e4c4e7 Removed unneeded workloads
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 18a79fb825)

Conflicts:

	suites/ceph-deploy/fs/tasks/cfuse_workunit_suites_dbench.yaml
	suites/ceph-deploy/fs/tasks/cfuse_workunit_suites_fsstress.yaml
	suites/ceph-deploy/rados/tasks/rados_python.yaml
	suites/ceph-deploy/rados/tasks/rados_workunit_loadgen_big.yaml
	suites/ceph-deploy/rbd/tasks/rbd_api_tests_old_format.yaml
	suites/ceph-deploy/rbd/tasks/rbd_cli_tests.yaml
	suites/ceph-deploy/rbd/tasks/rbd_cls_test.yaml

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-04-30 14:07:55 -07:00
Yuri Weinstein
260938fba0 Removed unneeded workloads
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 18a79fb825)
2015-04-30 13:37:15 -07:00
Yuri Weinstein
097b95f793 Fixing commits from https://github.com/ceph/ceph-qa-suite/pull/400/commits
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-04-30 10:25:55 -07:00
Yuri Weinstein
f191ec5fc5 Reduced ammount of nodes from 4 to 3
Changed default 'replica' to 2
Reduced osd to 2 per node
Added logging

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 3ce379a689)
2015-04-30 09:39:02 -07:00
Yuri Weinstein
3f600b164b Merge pull request #423 from ceph/wip-11495
Fix ceph_deploy task with multiple mons
2015-04-30 09:34:39 -07:00
Gregory Farnum
3337cc6cb8 Merge pull request #421 from ceph/wip-client-osd-caps
tasks/cephfs: add test_pool_perm

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2015-04-29 16:13:23 -07:00