Commit Graph

4522 Commits

Author SHA1 Message Date
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
John Spray
99951f8150 tasks/ceph_deploy: remove some dead code
Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-29 19:59:27 +01:00
John Spray
dbe2ad2421 tasks/ceph_deploy: fix for multiple mons
Now that service IDs are modified during run, we have
to avoid repeatedly evaluating first_mon for where
to run ceph_deploy, as the answer will change.

Fixes: #11495
Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-29 19:59:27 +01:00
Gregory Farnum
5363a5c226 Merge pull request #422 from ceph/wip-log-whitelist
suites: log whitelist for journal repair test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-28 20:56:44 -07:00
Jason Dillaman
0b961fc3db suites/rbd: add new valgrind memtest tests
Exercise the C-API, Python-API, and FSX under valgrind.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-28 09:44:14 -04:00
Jason Dillaman
8392d7f213 tasks: add support for running fsx under valgrind
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-28 09:44:05 -04:00
John Spray
206ba83cf6 suites: log whitelist for journal repair test
"bad backtrace on dir ino" is emitted because
journaltool's recover-dentries doesn't write
backtraces.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-28 14:28:11 +01:00
Yan, Zheng
539117a38d tasks/cephfs: add test_pool_perm
This tests that client checks pool permission before
copy data to its cache.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-28 20:38:32 +08:00
Josh Durgin
0c27c90240 rbd.xfstests: remove bad assert
Misguided input validation. A better error comes
from the run_xfstests() method later anyway.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-04-27 11:29:19 -07:00
Yuri Weinstein
168b7736ad Initial checkin for hammer-x suite
Used "ceph osd crush tunables hammer"

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit f825d32d9d)
2015-04-26 10:31:30 -07:00
tmuthamizhan
6a90c69263 Merge pull request #405 from ceph/wip-10781
Initial checkin for hammer-x suite
2015-04-22 17:24:22 -07:00
tmuthamizhan
1c1ee84cf1 Merge pull request #414 from ceph/wip_11413
Added hammer-client-x to the mix
2015-04-22 17:21:26 -07:00
Josh Durgin
94d4b91f7f xfstests: fix typo
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-04-21 15:31:16 -07:00
Josh Durgin
4a1c434add xfstests: define defaults in root task
The early non-defaults caused failures due to xfstests_url: None not
being overridden by run_xfstests(). Move the defaults to xfstests() and
don pass xfstests_branch past that point.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-04-21 15:02:40 -07:00
Yan, Zheng
a26355111e task/samba: ignore return code of fuser/losf
if mount point is not used by anyone, both fuser and losf return 1

Fixes: #10624
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit c049387b7b)
2015-04-21 14:43:09 -07:00
Yan, Zheng
2ed6de6cf9 task/samba: use SIGTERM to stop samba server
man samba(8) contains sentences:

To shut down a user's smbd process it is recommended that SIGKILL (-9)
NOT be used, except as a last resort, as this may leave the shared
memory area in an inconsistent state. The safe way to terminate an smbd
is to send it a SIGTERM (-15) signal and wait for it to die on its own.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 86bd6bc377)
2015-04-21 14:43:02 -07:00
Gregory Farnum
894d7c0b3d Merge pull request #417 from ceph/wip-10657
cephfs/test_client_limits.py: test for client oldest tid warning

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-21 14:20:28 -07:00
Gregory Farnum
5ccde063ed Merge pull request #416 from ceph/wip-11316-next
Backport to next: fix ceph-deploy task with CephFS (#11316)
2015-04-21 14:09:29 -07:00
Sage Weil
bb2f3eb7d6 Merge pull request #415 from ceph/wip-10624
task/samba: ignore return code of fuser/losf

Reviewed-by: Sage Weil <sage@redhat.com>
2015-04-21 09:27:42 -07:00
Yan, Zheng
e850645fe4 cephfs/test_client_limits.py: test for client oldest tid warning
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-21 23:29:47 +08:00
John Spray
97e021d180 tasks/ceph_deploy: configure CephFS
This test apparently had not been touched since
"fs new" was added.  In addition to calling
Filesystem.create:
 * modify the get_nodes_using_role
   function to modify ctx.cluster.remotes so that the
   service IDs match what ceph-deploy will set
 * log exceptions during ceph_deploy setup, as otherwise
   they can get lost if another exception occurs during
   teardown (so that it's all easier to debug).
 * default to passing --dev=master during install, so
   that we don't error out horribly when run without
   an explicit branch set (e.g. when run outside
   scheduled suite)

Fixes: #11316
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 7c2e6cdc6c)
2015-04-21 14:20:44 +01:00
John Spray
49505067df tasks/cephfs: cope with missing ctx.daemons attr
...so that we may be used with the ceph_deploy task
that doesn't set that up.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f36011051c)
2015-04-21 14:20:44 +01:00
John Spray
a12e8e0c63 tasks/cephfs: tweak use of mon for admin commands
... s/mon_remote/admin_remote/ and allow caller to pass
in which remote they want to use for that.  Enables use
with ceph_deploy task which does not give admin keys
to mons.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 8b61310ce3)
2015-04-21 14:20:44 +01:00
John Spray
26b2cfa169 tasks/ceph: refactor legacy FS configuration check
Move up into Filesystem so that this can be used from
the ceph_deploy task as well.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit ea7c39222a)
2015-04-21 14:20:44 +01:00
Yan, Zheng
c049387b7b task/samba: ignore return code of fuser/losf
if mount point is not used by anyone, both fuser and losf return 1

Fixes: #10624
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-04-21 11:33:30 +08:00
Greg Farnum
afb91529b1 Merge branch 'greg-testing-snapshot-rename' 2015-04-20 11:15:20 -07:00
Gregory Farnum
146c427b6d Merge pull request #404 from ceph/wip-3645-fixup
DNM: tasks: s/pending_create/pending_update/ in MDS

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-20 11:10:33 -07:00
John Spray
465b86a320 suites/fs: update log whitelist
These ones had been passing because of #11177,
now that that is fixed they require an update.

Fixes: #11300
Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit fa2a86196c)
2015-04-20 10:45:19 -07:00
Greg Farnum
35b6fb436c Merge remote-tracking branch 'origin/wip-3645-fixup' into greg-testing-snapshot-rename 2015-04-19 18:21:08 -07:00
Greg Farnum
4e4395f449 Merge remote-tracking branch 'origin/wip-11316' into greg-testing-quotas 2015-04-19 18:18:51 -07:00
Greg Farnum
f83976c258 Merge remote-tracking branch 'origin/wip-10390' into greg-testing-quotas
Conflicts:
	suites/fs/recovery/tasks/mds-full.yaml
2015-04-19 18:18:35 -07:00
John Spray
fa2a86196c suites/fs: update log whitelist
These ones had been passing because of #11177,
now that that is fixed they require an update.

Fixes: #11300
Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-04-19 18:10:24 -07:00
John Spray
7c2e6cdc6c tasks/ceph_deploy: configure CephFS
This test apparently had not been touched since
"fs new" was added.  In addition to calling
Filesystem.create:
 * modify the get_nodes_using_role
   function to modify ctx.cluster.remotes so that the
   service IDs match what ceph-deploy will set
 * log exceptions during ceph_deploy setup, as otherwise
   they can get lost if another exception occurs during
   teardown (so that it's all easier to debug).
 * default to passing --dev=master during install, so
   that we don't error out horribly when run without
   an explicit branch set (e.g. when run outside
   scheduled suite)

Fixes: #11316
Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-19 17:46:18 -07:00
John Spray
f36011051c tasks/cephfs: cope with missing ctx.daemons attr
...so that we may be used with the ceph_deploy task
that doesn't set that up.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-19 17:46:18 -07:00
John Spray
8b61310ce3 tasks/cephfs: tweak use of mon for admin commands
... s/mon_remote/admin_remote/ and allow caller to pass
in which remote they want to use for that.  Enables use
with ceph_deploy task which does not give admin keys
to mons.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-04-19 17:46:18 -07:00