]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agocephfs/test_client_limits.py: invalidate kernel dcache according to client_cache_size
Yan, Zheng [Wed, 13 May 2015 03:17:53 +0000 (11:17 +0800)]
cephfs/test_client_limits.py: invalidate kernel dcache according to client_cache_size

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agosamba: disable MDS debugging to reduce log sizes
Greg Farnum [Fri, 8 May 2015 04:26:34 +0000 (21:26 -0700)]
samba: disable MDS debugging to reduce log sizes

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #436 from ceph/wip_11547_2
Josh Durgin [Fri, 8 May 2015 00:56:19 +0000 (17:56 -0700)]
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>
10 years agoReplaced work units with ceph-deploy/ceph-deploy_hello_world.sh re: #11547
Yuri Weinstein [Fri, 8 May 2015 00:42:31 +0000 (17:42 -0700)]
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>
10 years agoMerge pull request #431 from ceph/wip-more-log-whitelist
Gregory Farnum [Thu, 7 May 2015 23:37:35 +0000 (16:37 -0700)]
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>
10 years agoMerge pull request #426 from ceph/wip-11372
Josh Durgin [Thu, 7 May 2015 16:25:51 +0000 (09:25 -0700)]
Merge pull request #426 from ceph/wip-11372

add new valgrind tests to rbd suite

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #433 from ceph/wip_11400
Yuri Weinstein [Thu, 7 May 2015 00:05:25 +0000 (17:05 -0700)]
Merge pull request #433 from ceph/wip_11400

Initial check in for upgrades/hammer stable upgrade suite

10 years agoInitial check in for upgrades/hammer stable upgrade suite
Yuri Weinstein [Wed, 6 May 2015 21:36:49 +0000 (14:36 -0700)]
Initial check in for upgrades/hammer stable upgrade suite
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agosuites/fs: add another log whitelist to journal-repair
John Spray [Wed, 6 May 2015 09:59:46 +0000 (10:59 +0100)]
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>
10 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Tue, 5 May 2015 23:32:35 +0000 (16:32 -0700)]
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

10 years agosmoke: white marked down on python test
Sage Weil [Fri, 10 Apr 2015 16:19:28 +0000 (09:19 -0700)]
smoke: white marked down on python test

Backport: hammer
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoAdded hammer-client-x to the mix
Yuri Weinstein [Fri, 17 Apr 2015 16:26:36 +0000 (09:26 -0700)]
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 3c8730d035a90f221c05526983c40f0a11da1ba6)

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoMerge pull request #428 from athanatos/wip-11429
Samuel Just [Mon, 4 May 2015 23:37:45 +0000 (16:37 -0700)]
Merge pull request #428 from athanatos/wip-11429

suites/rados: add test for 11429

Reviewed-by: Zack Cerza <zack@redhat.com>
10 years agoknfs: remove the MDS debugging
Greg Farnum [Mon, 4 May 2015 23:02:24 +0000 (16:02 -0700)]
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>
10 years agosquash: use sleep instead of utility.sleep
Samuel Just [Mon, 4 May 2015 21:27:40 +0000 (14:27 -0700)]
squash: use sleep instead of utility.sleep

10 years agosquash: use != not is not in radosbench
Samuel Just [Mon, 4 May 2015 21:22:59 +0000 (14:22 -0700)]
squash: use != not is not in radosbench

10 years agosquash: remove utility, moved to teuthology.git
Samuel Just [Mon, 4 May 2015 21:21:58 +0000 (14:21 -0700)]
squash: remove utility, moved to teuthology.git

10 years agosquash: ceph_manager: add utility_task doc string
Samuel Just [Mon, 4 May 2015 21:21:31 +0000 (14:21 -0700)]
squash: ceph_manager: add utility_task doc string

10 years agosuites/rados: add test for 11429
Samuel Just [Fri, 1 May 2015 16:13:27 +0000 (09:13 -0700)]
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>
10 years agoRemoved redundant tests issue #11520
Yuri Weinstein [Fri, 1 May 2015 18:04:59 +0000 (11:04 -0700)]
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 8ab46b42c5ae387141917bb8eff35960e9c45699)

10 years agoMerge pull request #427 from ceph/wip_11520
Josh Durgin [Fri, 1 May 2015 20:36:54 +0000 (13:36 -0700)]
Merge pull request #427 from ceph/wip_11520

Removed redundant tests issue #11520
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoRemoved redundant tests issue #11520
Yuri Weinstein [Fri, 1 May 2015 18:04:59 +0000 (11:04 -0700)]
Removed redundant tests issue #11520
Reduced nodes to be locked to two

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoAll changes from https://github.com/ceph/ceph-qa-suite/commit/3ce379a689440ce084b2df7...
Yuri Weinstein [Thu, 30 Apr 2015 21:18:10 +0000 (14:18 -0700)]
All changes from https://github.com/ceph/ceph-qa-suite/commit/3ce379a689440ce084b2df79db59dd76e1b2db6c

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoRemoved unneeded workloads
Yuri Weinstein [Thu, 30 Apr 2015 18:18:30 +0000 (11:18 -0700)]
Removed unneeded workloads
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 18a79fb8252d9ceee7162e8f774ab6bf806484c5)

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>
10 years agoRemoved unneeded workloads
Yuri Weinstein [Thu, 30 Apr 2015 18:18:30 +0000 (11:18 -0700)]
Removed unneeded workloads

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 18a79fb8252d9ceee7162e8f774ab6bf806484c5)

10 years agoFixing commits from https://github.com/ceph/ceph-qa-suite/pull/400/commits
Yuri Weinstein [Thu, 30 Apr 2015 17:25:55 +0000 (10:25 -0700)]
Fixing commits from https://github.com/ceph/ceph-qa-suite/pull/400/commits

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoReduced ammount of nodes from 4 to 3
Yuri Weinstein [Tue, 7 Apr 2015 21:17:36 +0000 (14:17 -0700)]
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 3ce379a689440ce084b2df79db59dd76e1b2db6c)

10 years agoMerge pull request #423 from ceph/wip-11495
Yuri Weinstein [Thu, 30 Apr 2015 16:34:39 +0000 (09:34 -0700)]
Merge pull request #423 from ceph/wip-11495

Fix ceph_deploy task with multiple mons

10 years agoMerge pull request #421 from ceph/wip-client-osd-caps
Gregory Farnum [Wed, 29 Apr 2015 23:13:23 +0000 (16:13 -0700)]
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>
10 years agotasks/ceph_deploy: remove some dead code
John Spray [Wed, 29 Apr 2015 18:55:54 +0000 (19:55 +0100)]
tasks/ceph_deploy: remove some dead code

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph_deploy: fix for multiple mons
John Spray [Wed, 29 Apr 2015 18:53:59 +0000 (19:53 +0100)]
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>
10 years agoMerge pull request #422 from ceph/wip-log-whitelist
Gregory Farnum [Wed, 29 Apr 2015 03:56:44 +0000 (20:56 -0700)]
Merge pull request #422 from ceph/wip-log-whitelist

suites: log whitelist for journal repair test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agosuites/rbd: add new valgrind memtest tests
Jason Dillaman [Mon, 27 Apr 2015 07:27:55 +0000 (03:27 -0400)]
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>
10 years agotasks: add support for running fsx under valgrind
Jason Dillaman [Tue, 28 Apr 2015 03:43:41 +0000 (23:43 -0400)]
tasks: add support for running fsx under valgrind

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agosuites: log whitelist for journal repair test
John Spray [Tue, 28 Apr 2015 13:28:11 +0000 (14:28 +0100)]
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>
10 years agotasks/cephfs: add test_pool_perm
Yan, Zheng [Tue, 28 Apr 2015 04:52:36 +0000 (12:52 +0800)]
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>
10 years agorbd.xfstests: remove bad assert
Josh Durgin [Mon, 27 Apr 2015 18:29:09 +0000 (11:29 -0700)]
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>
10 years agoInitial checkin for hammer-x suite
Yuri Weinstein [Wed, 15 Apr 2015 23:31:21 +0000 (16:31 -0700)]
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 f825d32d9deab22f6113b96a6b36734fe1bdb289)

10 years agoMerge pull request #405 from ceph/wip-10781
tmuthamizhan [Thu, 23 Apr 2015 00:24:22 +0000 (17:24 -0700)]
Merge pull request #405 from ceph/wip-10781

Initial checkin for hammer-x suite

10 years agoMerge pull request #414 from ceph/wip_11413
tmuthamizhan [Thu, 23 Apr 2015 00:21:26 +0000 (17:21 -0700)]
Merge pull request #414 from ceph/wip_11413

Added hammer-client-x to the mix

10 years agoxfstests: fix typo
Josh Durgin [Tue, 21 Apr 2015 22:31:16 +0000 (15:31 -0700)]
xfstests: fix typo

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agoxfstests: define defaults in root task
Josh Durgin [Tue, 21 Apr 2015 22:01:47 +0000 (15:01 -0700)]
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>
10 years agotask/samba: ignore return code of fuser/losf
Yan, Zheng [Tue, 21 Apr 2015 03:30:12 +0000 (11:30 +0800)]
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 c049387b7b0832e78a4a1370691798f726985799)

10 years agotask/samba: use SIGTERM to stop samba server
Yan, Zheng [Tue, 14 Apr 2015 09:05:40 +0000 (17:05 +0800)]
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 86bd6bc3771694cd9ee5cd071255f3cf4c40c812)

10 years agoMerge pull request #417 from ceph/wip-10657
Gregory Farnum [Tue, 21 Apr 2015 21:20:28 +0000 (14:20 -0700)]
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>
10 years agoMerge pull request #416 from ceph/wip-11316-next
Gregory Farnum [Tue, 21 Apr 2015 21:09:29 +0000 (14:09 -0700)]
Merge pull request #416 from ceph/wip-11316-next

Backport to next: fix ceph-deploy task with CephFS (#11316)

10 years agoMerge pull request #415 from ceph/wip-10624
Sage Weil [Tue, 21 Apr 2015 16:27:42 +0000 (09:27 -0700)]
Merge pull request #415 from ceph/wip-10624

task/samba: ignore return code of fuser/losf

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agocephfs/test_client_limits.py: test for client oldest tid warning
Yan, Zheng [Tue, 21 Apr 2015 12:24:39 +0000 (20:24 +0800)]
cephfs/test_client_limits.py: test for client oldest tid warning

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agotasks/ceph_deploy: configure CephFS
John Spray [Mon, 6 Apr 2015 18:54:23 +0000 (19:54 +0100)]
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 7c2e6cdc6cd3d02969d3494d120b12daaa13efa8)

10 years agotasks/cephfs: cope with missing ctx.daemons attr
John Spray [Wed, 8 Apr 2015 09:41:20 +0000 (10:41 +0100)]
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 f36011051cabb8e7b06194c778e640e98d328e8a)

10 years agotasks/cephfs: tweak use of mon for admin commands
John Spray [Tue, 7 Apr 2015 13:14:15 +0000 (14:14 +0100)]
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 8b61310ce3eedeb8ac60446933cd5db548de6434)

10 years agotasks/ceph: refactor legacy FS configuration check
John Spray [Mon, 6 Apr 2015 18:53:50 +0000 (19:53 +0100)]
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 ea7c39222ae084c90b5a8510ce5af35a2f75a6e3)

10 years agotask/samba: ignore return code of fuser/losf
Yan, Zheng [Tue, 21 Apr 2015 03:30:12 +0000 (11:30 +0800)]
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>
10 years agoMerge branch 'greg-testing-snapshot-rename'
Greg Farnum [Mon, 20 Apr 2015 18:15:20 +0000 (11:15 -0700)]
Merge branch 'greg-testing-snapshot-rename'

10 years agoMerge pull request #404 from ceph/wip-3645-fixup
Gregory Farnum [Mon, 20 Apr 2015 18:10:33 +0000 (11:10 -0700)]
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>
10 years agosuites/fs: update log whitelist
John Spray [Wed, 1 Apr 2015 17:29:08 +0000 (18:29 +0100)]
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 fa2a86196c3ed39c1726be689e42ed5d4aae197a)

10 years agoMerge remote-tracking branch 'origin/wip-3645-fixup' into greg-testing-snapshot-rename
Greg Farnum [Mon, 20 Apr 2015 01:21:08 +0000 (18:21 -0700)]
Merge remote-tracking branch 'origin/wip-3645-fixup' into greg-testing-snapshot-rename

10 years agoMerge remote-tracking branch 'origin/wip-11316' into greg-testing-quotas
Greg Farnum [Mon, 20 Apr 2015 01:18:51 +0000 (18:18 -0700)]
Merge remote-tracking branch 'origin/wip-11316' into greg-testing-quotas

10 years agoMerge remote-tracking branch 'origin/wip-10390' into greg-testing-quotas
Greg Farnum [Mon, 20 Apr 2015 01:18:35 +0000 (18:18 -0700)]
Merge remote-tracking branch 'origin/wip-10390' into greg-testing-quotas

Conflicts:
suites/fs/recovery/tasks/mds-full.yaml

10 years agosuites/fs: update log whitelist
John Spray [Wed, 1 Apr 2015 17:29:08 +0000 (18:29 +0100)]
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>
10 years agotasks/ceph_deploy: configure CephFS
John Spray [Mon, 6 Apr 2015 18:54:23 +0000 (19:54 +0100)]
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>
10 years agotasks/cephfs: cope with missing ctx.daemons attr
John Spray [Wed, 8 Apr 2015 09:41:20 +0000 (10:41 +0100)]
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>
10 years agotasks/cephfs: tweak use of mon for admin commands
John Spray [Tue, 7 Apr 2015 13:14:15 +0000 (14:14 +0100)]
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>
10 years agotasks/ceph: refactor legacy FS configuration check
John Spray [Mon, 6 Apr 2015 18:53:50 +0000 (19:53 +0100)]
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>
10 years agosuites: whitelist log messages for auto-repair test
John Spray [Tue, 14 Apr 2015 13:12:27 +0000 (14:12 +0100)]
suites: whitelist log messages for auto-repair test

Log messages being checked now since #11177
was fixed.

Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agoAdded hammer-client-x to the mix
Yuri Weinstein [Fri, 17 Apr 2015 16:26:36 +0000 (09:26 -0700)]
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>
10 years agoMerge pull request #403 from ceph/wip-6613
Gregory Farnum [Thu, 16 Apr 2015 23:41:50 +0000 (16:41 -0700)]
Merge pull request #403 from ceph/wip-6613

task/samba: use SIGTERM to stop samba server

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #409 from ceph/wip-git.ceph.com
Zack Cerza [Thu, 16 Apr 2015 18:30:59 +0000 (12:30 -0600)]
Merge pull request #409 from ceph/wip-git.ceph.com

git.ceph.com

10 years agohttp not https for git.ceph.com
Sage Weil [Thu, 16 Apr 2015 16:45:59 +0000 (09:45 -0700)]
http not https for git.ceph.com

Until we have https at least!

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #408 from ceph/wip-git.ceph.com
Alfredo Deza [Thu, 16 Apr 2015 16:07:34 +0000 (12:07 -0400)]
Merge pull request #408 from ceph/wip-git.ceph.com

git.ceph.com

Reviewed-by: Alfredo Deza <adeza@redhat.com>
10 years agogit.ceph.com
Sage Weil [Thu, 16 Apr 2015 16:05:30 +0000 (09:05 -0700)]
git.ceph.com

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #407 from ceph/wip-git.ceph.com
Alfredo Deza [Thu, 16 Apr 2015 15:40:02 +0000 (11:40 -0400)]
Merge pull request #407 from ceph/wip-git.ceph.com

git.ceph.com

Reviewed-by: Alfredo Deza <adeza@redhat.com>
10 years agogit.ceph.com
Sage Weil [Thu, 16 Apr 2015 15:36:12 +0000 (08:36 -0700)]
git.ceph.com

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoInitial checkin for hammer-x suite
Yuri Weinstein [Wed, 15 Apr 2015 23:31:21 +0000 (16:31 -0700)]
Initial checkin for hammer-x suite
Used "ceph osd crush tunables hammer"

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoUpdate latest_firefly_release.yaml
Yuri Weinstein [Wed, 15 Apr 2015 15:39:24 +0000 (08:39 -0700)]
Update latest_firefly_release.yaml

Changed tag to "branch: firefly"

10 years agotasks: s/pending_create/pending_update/ in MDS
John Spray [Tue, 14 Apr 2015 13:20:21 +0000 (14:20 +0100)]
tasks: s/pending_create/pending_update/ in MDS

Tests inspecting snapserver dump need updating
to reflect the rename.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: implement TestStrays.test_mv_hardlink_cleanup
John Spray [Wed, 1 Apr 2015 22:50:14 +0000 (23:50 +0100)]
tasks: implement TestStrays.test_mv_hardlink_cleanup

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: update test_journal_repair
John Spray [Wed, 1 Apr 2015 12:56:13 +0000 (13:56 +0100)]
tasks: update test_journal_repair

This broke with recent Client changes that
do better caching of readdir results, such
that doing an ls twice is no longer sufficient
to see a fresh result after repair - we need
to remount instead.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites/fs: clean up whitespace in YAML
John Spray [Wed, 1 Apr 2015 15:51:26 +0000 (16:51 +0100)]
suites/fs: clean up whitespace in YAML

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: run fs/recovery with two MDSs
John Spray [Tue, 24 Feb 2015 09:25:44 +0000 (09:25 +0000)]
suites: run fs/recovery with two MDSs

Some tests need both, and others should
ignore it.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: add .yamls for the recent cephfs tests
John Spray [Mon, 23 Feb 2015 16:36:38 +0000 (16:36 +0000)]
suites: add .yamls for the recent cephfs tests

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: put fuse clients on separate hosts
John Spray [Mon, 23 Feb 2015 16:33:16 +0000 (16:33 +0000)]
suites: put fuse clients on separate hosts

To mitigate the weirdness when we start
trying to abort /sys/fs/fuse/connections/*

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: update tasks to use cephfs_test_runner
John Spray [Mon, 23 Feb 2015 15:16:20 +0000 (15:16 +0000)]
suites: update tasks to use cephfs_test_runner

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: update journal_repair test for 'damaged' state
John Spray [Thu, 26 Mar 2015 17:15:28 +0000 (17:15 +0000)]
tasks: update journal_repair test for 'damaged' state

To track recent change in master where instead of
crashing on missing MDSTable object we'll go
into damaged state.

Instead of catching a crash, handle the rank's
transition to the damanged state.  Leave the crash
handling code (unused for the moment) in the
Filesystem class in case it's needed elsewhere
soon.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: add test_strays
John Spray [Wed, 21 Jan 2015 14:28:13 +0000 (14:28 +0000)]
tasks/cephfs: add test_strays

This tests the new purge file/ops throttling
in the MDS, via the new perf counters for
strays/purging.

Fixes: #10390
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: add test_sessionmap
John Spray [Thu, 26 Mar 2015 17:50:23 +0000 (17:50 +0000)]
tasks/cephfs: add test_sessionmap

Tests for the persistence behaviour of SessionMap.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: generalise cephfs test runner
John Spray [Thu, 26 Mar 2015 17:52:10 +0000 (17:52 +0000)]
tasks: generalise cephfs test runner

...to avoid having boilerplate in each test module,
and gain the ability to run them all in one go
with a nice test-by-test pass/fail report.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph_fuse: populate ctx.mounts earlier
John Spray [Tue, 24 Feb 2015 09:26:10 +0000 (09:26 +0000)]
tasks/ceph_fuse: populate ctx.mounts earlier

...so that if an error happens during mount, I can
use the interactive console to access ctx.mounts.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/mds_flush: be more careful monitoring stats
John Spray [Thu, 19 Feb 2015 09:12:38 +0000 (09:12 +0000)]
tasks/mds_flush: be more careful monitoring stats

Were previously taking the baseline from just after the
client did a delete, which was racy: should have taken
it from before, to get a steady state.

Also update the perf dump calls to take advantage of
the new filtering syntax.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: lots of s/mds_restart/mds_fail_restart/
John Spray [Sat, 7 Feb 2015 09:33:58 +0000 (09:33 +0000)]
tasks: lots of s/mds_restart/mds_fail_restart/

Wherever we are subsequently waiting for daemons
to be healthy, we should be doing a fail during the restart.

Also catch some places that were doing this longhand and use
the handy fail_restart version instead.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: better multiple-mds handling
John Spray [Fri, 6 Feb 2015 09:55:04 +0000 (09:55 +0000)]
tasks/cephfs: better multiple-mds handling

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph_manager: DRY in mds_status
John Spray [Fri, 6 Feb 2015 09:50:59 +0000 (09:50 +0000)]
tasks/ceph_manager: DRY in mds_status

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoceph_manager: fix bad type assertions
John Spray [Fri, 13 Feb 2015 12:09:50 +0000 (12:09 +0000)]
ceph_manager: fix bad type assertions

In python, isinstance(foo, str) will fail if
a unicode string is passed in.  The correct check
is basestring.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: be tolerant of multiple MDSs
John Spray [Wed, 4 Feb 2015 12:52:42 +0000 (12:52 +0000)]
tasks/cephfs: be tolerant of multiple MDSs

...as long as only one is active, all the ops
that default to talking to a single MDS should
be happy to talk to the active MDS, even if there
happens to be a standby lying around too.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotask/samba: use SIGTERM to stop samba server
Yan, Zheng [Tue, 14 Apr 2015 09:05:40 +0000 (17:05 +0800)]
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>
10 years agoMerge pull request #395 from fullerdj/wip-rbd-xfstests-201504
Josh Durgin [Tue, 14 Apr 2015 00:11:06 +0000 (17:11 -0700)]
Merge pull request #395 from fullerdj/wip-rbd-xfstests-201504

RBD: add YAML variables to override locations for ceph-qa-chef and xfstests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #399 from ceph/wip-11043
Josh Durgin [Thu, 9 Apr 2015 21:53:57 +0000 (14:53 -0700)]
Merge pull request #399 from ceph/wip-11043

Removed per #11070 and resolves #11043

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoRemoved per #11070 and resolves #11043
Yuri Weinstein [Thu, 9 Apr 2015 21:47:25 +0000 (14:47 -0700)]
Removed per #11070 and resolves #11043

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoRBD: added optional YAML parameters to test xfstests from different repos
Douglas Fuller [Tue, 31 Mar 2015 15:52:52 +0000 (08:52 -0700)]
RBD: added optional YAML parameters to test xfstests from different repos

These variables are needed because ceph-qa-suite bootstraps ceph-qa-chef via
http download of solo-from/scratch/run. This adds a variable to override the
default script. It also adds variables to the rbd task to override the versions
of run_xfstests_krbd.sh and run_xfstests.sh downloaded by the default task.

variables added
======
tasks:
-chef
  script_url: # override default location for solo-from-scratch for Chef
  chef_repo: # override default Chef repo used by solo-from-scratch
  chef_branch: # to choose a different git upstream branch for ceph-qa-chef
-rbd.xfstests:
  client.0:
   xfstests_branch: # to choose a different git upstream branch for xfstests
   xfstests_url: # override git base URL for run_xfstests{_krbd}.sh

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
10 years agoIncreased default test RBD size to 10G to help tests pass
Douglas Fuller [Mon, 6 Apr 2015 19:23:38 +0000 (12:23 -0700)]
Increased default test RBD size to 10G to help tests pass

Signed-off-by: Douglas Fuller <dfuller@redhat.com>