]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoceph-disk: switch to using install / ceph
Loic Dachary [Wed, 21 Oct 2015 08:48:43 +0000 (10:48 +0200)]
ceph-disk: switch to using install / ceph

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph: log which ceph.conf file is written
Loic Dachary [Wed, 21 Oct 2015 13:49:10 +0000 (15:49 +0200)]
ceph: log which ceph.conf file is written

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #645 from ceph/wip-openstack-fixes
Loic Dachary [Tue, 20 Oct 2015 18:25:58 +0000 (20:25 +0200)]
Merge pull request #645 from ceph/wip-openstack-fixes

Added openstack config openstack.yaml

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Tue, 20 Oct 2015 18:07:57 +0000 (14:07 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoAdded openstack config openstack.yaml
Yuri Weinstein [Mon, 19 Oct 2015 01:24:30 +0000 (18:24 -0700)]
Added openstack config openstack.yaml
Added +

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #648 from ceph/wip-f-h-x-offline
Sage Weil [Mon, 19 Oct 2015 21:08:21 +0000 (17:08 -0400)]
Merge pull request #648 from ceph/wip-f-h-x-offline

test offline upgrade from firefly -> x

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoupgrade/hammer-x/f-h-x-offline: test firefly -> x upgrade
Sage Weil [Mon, 19 Oct 2015 19:09:47 +0000 (15:09 -0400)]
upgrade/hammer-x/f-h-x-offline: test firefly -> x upgrade

This is an offline (osds all restart) upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #644 from ceph/wip-fix-f-h-x-branch
Sage Weil [Sun, 18 Oct 2015 12:34:57 +0000 (08:34 -0400)]
Merge pull request #644 from ceph/wip-fix-f-h-x-branch

Added one more "write_append_excl: false"

9 years agoAdded one more "write_append_excl: false"
Yuri Weinstein [Sat, 17 Oct 2015 15:27:17 +0000 (08:27 -0700)]
Added one more "write_append_excl: false"

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoAdded "write_append_excl: false"
Yuri Weinstein [Fri, 16 Oct 2015 19:02:43 +0000 (12:02 -0700)]
Added "write_append_excl: false"

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 3a13ec04ce68bbc152fcde2a31c573bb6b454219)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #643 from ceph/wip-fix-f-h-x-branch
Sage Weil [Fri, 16 Oct 2015 19:04:56 +0000 (15:04 -0400)]
Merge pull request #643 from ceph/wip-fix-f-h-x-branch

Added "write_append_excl: false"

9 years agoAdded "write_append_excl: false"
Yuri Weinstein [Fri, 16 Oct 2015 19:02:43 +0000 (12:02 -0700)]
Added "write_append_excl: false"

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoRemoved osd.6 from roles to fix #13515
Yuri Weinstein [Fri, 16 Oct 2015 17:13:03 +0000 (10:13 -0700)]
Removed osd.6 from roles to fix #13515

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 8ae31f15836d84dc886224ff8849b9bb3dd07e81)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #642 from ceph/wip-13515
Loic Dachary [Fri, 16 Oct 2015 17:19:03 +0000 (19:19 +0200)]
Merge pull request #642 from ceph/wip-13515

Removed osd.6 from roles to fix #13515

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoRemoved osd.6 from roles to fix #13515
Yuri Weinstein [Fri, 16 Oct 2015 17:13:03 +0000 (10:13 -0700)]
Removed osd.6 from roles to fix #13515

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #641 from ceph/wip-13485
Sage Weil [Fri, 16 Oct 2015 16:18:43 +0000 (12:18 -0400)]
Merge pull request #641 from ceph/wip-13485

Added write_append_excl: false to fix #13485

9 years agoAdded write_append_excl: false to fix #13485
Yuri Weinstein [Fri, 16 Oct 2015 15:29:17 +0000 (08:29 -0700)]
Added write_append_excl: false to fix #13485

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoRemoved /parallel/7-final-workload/rgw_swift.yaml as it was creating the same user...
Yuri Weinstein [Thu, 15 Oct 2015 20:55:03 +0000 (13:55 -0700)]
Removed /parallel/7-final-workload/rgw_swift.yaml as it was creating the same user as the s3tests run right before

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 64dcc28e14f43e68c9253621c4ae7479f9673381)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #640 from ceph/wip-fix-f-h-x-branch
Sage Weil [Thu, 15 Oct 2015 20:57:50 +0000 (16:57 -0400)]
Merge pull request #640 from ceph/wip-fix-f-h-x-branch

Removed /parallel/7-final-workload/rgw_swift.yaml as it was creating …

9 years agoRemoved /parallel/7-final-workload/rgw_swift.yaml as it was creating the same user...
Yuri Weinstein [Thu, 15 Oct 2015 20:55:03 +0000 (13:55 -0700)]
Removed /parallel/7-final-workload/rgw_swift.yaml as it was creating the same user as the s3tests run right before

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #632 from ceph/wip-rbd-dir-fix
Zack Cerza [Wed, 14 Oct 2015 23:28:14 +0000 (17:28 -0600)]
Merge pull request #632 from ceph/wip-rbd-dir-fix

use cephtest as base dir during testing

9 years agoUse cephtest as base dir for testing and let nuke cleanup in case of abrupt failures
Vasu Kulkarni [Tue, 13 Oct 2015 20:31:35 +0000 (16:31 -0400)]
Use cephtest as base dir for testing and let nuke cleanup in case of abrupt failures

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agorgw: sleep before agent startup
Sage Weil [Wed, 14 Oct 2015 20:45:29 +0000 (16:45 -0400)]
rgw: sleep before agent startup

For good measure.. it's racy.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw/verify: allow rgw's to start up before starting agent
Sage Weil [Wed, 14 Oct 2015 20:44:32 +0000 (16:44 -0400)]
rgw/verify: allow rgw's to start up before starting agent

Startup is slow(er) under valgrind.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw/multifs: run multipart (perl) test on ubuntu
Sage Weil [Wed, 14 Oct 2015 20:39:37 +0000 (16:39 -0400)]
rgw/multifs: run multipart (perl) test on ubuntu

no Net::Amazon::S3 on el7

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Wed, 14 Oct 2015 15:19:02 +0000 (11:19 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #635 from ceph/wip-cpan
Yehuda Sadeh [Wed, 14 Oct 2015 14:35:20 +0000 (07:35 -0700)]
Merge pull request #635 from ceph/wip-cpan

rgw: do quota tests on ubuntu

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: do quota tests on ubuntu
Sage Weil [Wed, 14 Oct 2015 14:24:42 +0000 (10:24 -0400)]
rgw: do quota tests on ubuntu

The Amazon/S3.pm perl module from CPAN is not available as an RPM.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #630 from dachary/wip-13408-stress-split
Loic Dachary [Wed, 14 Oct 2015 13:23:23 +0000 (15:23 +0200)]
Merge pull request #630 from dachary/wip-13408-stress-split

upgrade/stress-split: needs only six OSDs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #623 from dachary/wip-11260-openstack-singleton-nomsgr
Loic Dachary [Wed, 14 Oct 2015 07:48:36 +0000 (09:48 +0200)]
Merge pull request #623 from dachary/wip-11260-openstack-singleton-nomsgr

rados/singleton-nomsgr/all/msgr: needs 15GB RAM

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agotasks/cephfs: fix TestClientLimits.test_client_oldest_tid
Yan, Zheng [Tue, 13 Oct 2015 03:50:37 +0000 (11:50 +0800)]
tasks/cephfs: fix TestClientLimits.test_client_oldest_tid

To get the health warning, first we need to make sure requests are
added to session's completed request list. Then we need to send an
extra request to MDS to trigger the code that generates the warning.

Fixes: #13437
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit b03ac0798058e543a80aaab88101314ab63dd22b)

9 years agoMerge pull request #624 from ceph/wip-13437
John Spray [Tue, 13 Oct 2015 21:50:52 +0000 (22:50 +0100)]
Merge pull request #624 from ceph/wip-13437

Wip 13437 (tasks/cephfs: fix TestClientLimits.test_client_oldest_tid …)

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoupgrade/stress-split: needs only six OSDs
Loic Dachary [Tue, 13 Oct 2015 14:17:20 +0000 (16:17 +0200)]
upgrade/stress-split: needs only six OSDs

The large number of OSDs is only needed for LRC or SHEC in some
cases. All other jobs will do fine with six OSDs.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #628 from dachary/wip-13454-openstack-flavor
Loic Dachary [Tue, 13 Oct 2015 12:57:22 +0000 (14:57 +0200)]
Merge pull request #628 from dachary/wip-13454-openstack-flavor

buildpackages: implement notcmalloc flavor

9 years agobuildpackages: implement notcmalloc flavor
Loic Dachary [Tue, 13 Oct 2015 11:43:24 +0000 (13:43 +0200)]
buildpackages: implement notcmalloc flavor

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #621 from dachary/wip-13449-admin-socket
Kefu Chai [Tue, 13 Oct 2015 09:04:55 +0000 (17:04 +0800)]
Merge pull request #621 from dachary/wip-13449-admin-socket

tasks/admin_socket.py: wait 120 seconds instead of 60

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #619 from dachary/wip-buildpackages-submodules
Loic Dachary [Tue, 13 Oct 2015 08:55:55 +0000 (10:55 +0200)]
Merge pull request #619 from dachary/wip-buildpackages-submodules

buildpackages: get ceph submodules

9 years agotasks/cephfs: fix TestClientLimits.test_client_oldest_tid
Yan, Zheng [Tue, 13 Oct 2015 03:50:37 +0000 (11:50 +0800)]
tasks/cephfs: fix TestClientLimits.test_client_oldest_tid

To get the health warning, first we need to make sure requests are
added to session's completed request list. Then we need to send an
extra request to MDS to trigger the code that generates the warning.

Fixes: #13437
Signed-off-by: Yan, Zheng <zyan@redhat.com>
9 years agorados/singleton-nomsgr/all/msgr: needs 15GB RAM
Loic Dachary [Mon, 12 Oct 2015 16:21:27 +0000 (18:21 +0200)]
rados/singleton-nomsgr/all/msgr: needs 15GB RAM

If given only 8GB RAM,  ceph_test_msgr may abort with buffer::bad_alloc.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotasks/admin_socket.py: wait 120 seconds instead of 60
Loic Dachary [Mon, 12 Oct 2015 08:41:21 +0000 (10:41 +0200)]
tasks/admin_socket.py: wait 120 seconds instead of 60

When running on virtual machines, it may take more than one minute for a
daemon to create the admin socket.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Mon, 12 Oct 2015 17:04:19 +0000 (13:04 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #618 from yehudasa/wip-infernalis-fix
Sage Weil [Mon, 12 Oct 2015 17:06:08 +0000 (13:06 -0400)]
Merge pull request #618 from yehudasa/wip-infernalis-fix

radosgw_admin: skip log objects that start with obj_delete_at_hint

9 years agobuildpackages: get ceph submodules
Loic Dachary [Mon, 12 Oct 2015 16:46:38 +0000 (18:46 +0200)]
buildpackages: get ceph submodules

Prior to v0.80.9, autogen.sh did not get submodules. Copy/paste the
submodule initialization from newer autogen.sh in common.sh so that
v0.80.8 and below can be rebuilt from sources. It does not hurt to
update the submodules twice.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoradosgw_admin: skip log objects that start with obj_delete_at_hint
Yehuda Sadeh [Mon, 12 Oct 2015 16:13:25 +0000 (09:13 -0700)]
radosgw_admin: skip log objects that start with obj_delete_at_hint

when testing radosgw-admin log show --object, don't use these objects

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #616 from ceph/wip-buildpackages-centos
Loic Dachary [Sat, 10 Oct 2015 12:10:34 +0000 (14:10 +0200)]
Merge pull request #616 from ceph/wip-buildpackages-centos

buildpackages: use _get_version instead of os_version

9 years agobuildpackages: use _get_version instead of os_version
Loic Dachary [Sat, 10 Oct 2015 10:51:15 +0000 (12:51 +0200)]
buildpackages: use _get_version instead of os_version

os_version is from the remote and will be 7.1.23 for CentOS 7
instead of the expected 7.0 for all 7.* CentOS.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #614 from ceph/wip-sam-qa-fixes
Josh Durgin [Fri, 9 Oct 2015 23:24:36 +0000 (19:24 -0400)]
Merge pull request #614 from ceph/wip-sam-qa-fixes

Wip sam qa fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoradosbench: use pool config even if create_pool is false
Samuel Just [Thu, 8 Oct 2015 17:08:54 +0000 (10:08 -0700)]
radosbench: use pool config even if create_pool is false

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agodivergent_priors2: give divergent time to come up
Samuel Just [Thu, 1 Oct 2015 17:31:48 +0000 (10:31 -0700)]
divergent_priors2: give divergent time to come up

Fixes: #13322
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoSpecified 'hammer' branch
Yuri Weinstein [Fri, 9 Oct 2015 20:28:18 +0000 (13:28 -0700)]
Specified 'hammer' branch

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

9 years agoMerge pull request #613 from ceph/wip-fix-f-h-x-branch
Josh Durgin [Fri, 9 Oct 2015 20:42:47 +0000 (16:42 -0400)]
Merge pull request #613 from ceph/wip-fix-f-h-x-branch

Specified 'firefly' branch

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoSpecified 'hammer' branch
Yuri Weinstein [Fri, 9 Oct 2015 20:28:18 +0000 (13:28 -0700)]
Specified 'hammer' branch

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #609 from dachary/wip-13376-buildpackages-upgrade
Loic Dachary [Fri, 9 Oct 2015 14:37:40 +0000 (16:37 +0200)]
Merge pull request #609 from dachary/wip-13376-buildpackages-upgrade

buildpackages: honour install priorities tags, branch, sha1

9 years agobuildpackages: enforce ceph-object-corpus canonical URL
Loic Dachary [Fri, 9 Oct 2015 09:57:40 +0000 (11:57 +0200)]
buildpackages: enforce ceph-object-corpus canonical URL

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: walk the whole config tree to find sha1 to build
Loic Dachary [Fri, 9 Oct 2015 08:05:58 +0000 (10:05 +0200)]
buildpackages: walk the whole config tree to find sha1 to build

It is not enough to look for the first install task. In upgrade tests,
the install.upgrade task requires more packages to be built. In more
complicated tests using sequential and parallel tasks, the actual
install or install.upgrade task may be deeper in the config tree.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: honour install priorities tags, branch, sha1
Loic Dachary [Tue, 6 Oct 2015 11:13:31 +0000 (13:13 +0200)]
buildpackages: honour install priorities tags, branch, sha1

The install config may have contradicting tag/branch and sha1.  When
suite.py prepares the jobs, it always overrides the sha1 with whatever
default is provided on the command line with --distro and what is found
in the gitbuilder. If it turns out that the tag or the branch in the
install config task is about another sha1, it will override anyway.

Instead of obtaining the tag, branch and sha1 directly from the
packaging.GitbuilderProject object, compute them from the returned
uri_reference data member. The uri_reference is used by the install task
to fetch packages in the gitbuilders and this is what buildpackages
needs to build.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: branches are found in refs/remotes/origin
Loic Dachary [Fri, 9 Oct 2015 08:01:34 +0000 (10:01 +0200)]
buildpackages: branches are found in refs/remotes/origin

Note in refs/heads which is populated for local branches only and not
after a fresh clone.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: do not override the sha1
Loic Dachary [Fri, 9 Oct 2015 08:01:05 +0000 (10:01 +0200)]
buildpackages: do not override the sha1

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: allow for concurrent build if != sha1
Loic Dachary [Tue, 6 Oct 2015 21:08:56 +0000 (23:08 +0200)]
buildpackages: allow for concurrent build if != sha1

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agobuildpackages: prefer GitbuilderProject.os_{type,version} over config.
Loic Dachary [Tue, 6 Oct 2015 13:47:34 +0000 (15:47 +0200)]
buildpackages: prefer GitbuilderProject.os_{type,version} over config.

The config['os_type'] and config['os_version'] are not always set for a given
job (for instance, in the rbd suite). When a suite runs, it relies on
default values, depending on the target Operating System and internal,
hard coded values associating ubuntu to 14.04 etc.

Instead of using config['os_{type,version}'] use the GitbuilderProject
equivalent which is set with the appropriate defaults.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #589 from ceph/wip-ecpool-s3test
vasukulkarni [Wed, 7 Oct 2015 19:27:34 +0000 (12:27 -0700)]
Merge pull request #589 from ceph/wip-ecpool-s3test

s3tests using ec data pool for smoke

9 years agoMerge remote-tracking branch 'origin/wip-vstart-runner' into infernalis
Greg Farnum [Wed, 7 Oct 2015 17:55:36 +0000 (10:55 -0700)]
Merge remote-tracking branch 'origin/wip-vstart-runner' into infernalis

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agosmoke/basic/tasks/libcephfs: fix client debug override
Sage Weil [Wed, 7 Oct 2015 16:27:21 +0000 (12:27 -0400)]
smoke/basic/tasks/libcephfs: fix client debug override

Also debug mds

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Tue, 6 Oct 2015 20:49:46 +0000 (16:49 -0400)]
Merge remote-tracking branch 'gh/infernalis'

Conflicts:
suites/upgrade/hammer-x/point-to-point-x/point-to-point.yaml

9 years agoupgrade/hammer-x/point-to-point: whitelist wrongly marked me down
Sage Weil [Tue, 6 Oct 2015 20:46:50 +0000 (16:46 -0400)]
upgrade/hammer-x/point-to-point: whitelist wrongly marked me down

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #585 from dachary/wip-buildpackages-test
Loic Dachary [Mon, 5 Oct 2015 00:02:34 +0000 (02:02 +0200)]
Merge pull request #585 from dachary/wip-buildpackages-test

buildpackages: implicit for OpenStack

9 years agoMerge pull request #596 from ceph/wip-radosbench
Loic Dachary [Sun, 4 Oct 2015 23:57:04 +0000 (01:57 +0200)]
Merge pull request #596 from ceph/wip-radosbench

tasks/radosbench: wait just a bit longer

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoWhite listed WAR 'failed to encode' fixes #13349
Yuri Weinstein [Sat, 3 Oct 2015 15:27:39 +0000 (08:27 -0700)]
White listed WAR 'failed to encode' fixes #13349

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

9 years agoMerge pull request #602 from ceph/wip13349
Yuri Weinstein [Sun, 4 Oct 2015 21:57:50 +0000 (14:57 -0700)]
Merge pull request #602 from ceph/wip13349

White listed WAR 'failed to encode' fixes #13349

9 years agoWhite listed WAR 'failed to encode' fixes #13349
Yuri Weinstein [Sat, 3 Oct 2015 15:27:39 +0000 (08:27 -0700)]
White listed WAR 'failed to encode' fixes #13349

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #549 from ceph/wip-krbd-fio
vasukulkarni [Fri, 2 Oct 2015 18:54:26 +0000 (11:54 -0700)]
Merge pull request #549 from ceph/wip-krbd-fio

Add rbd fio test to exercise block IO on all format/features

9 years agoupgrade/hammer-x/point-to-point: use different client for second rgw
Sage Weil [Fri, 2 Oct 2015 17:24:19 +0000 (13:24 -0400)]
upgrade/hammer-x/point-to-point: use different client for second rgw

Can't do 2 rgw's on the same client id.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a0f0194ab2edec81f19b111b9317a5149defd4e9)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agokrbd fio tests using sync engine for format 2 and features 1 and 2.
Vasu Kulkarni [Wed, 30 Sep 2015 18:50:06 +0000 (14:50 -0400)]
krbd fio tests using sync engine for format 2 and features 1 and 2.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agokrbd test using fio for format 2 and features 1 and 2.
Vasu Kulkarni [Wed, 30 Sep 2015 18:47:42 +0000 (14:47 -0400)]
krbd test using fio for format 2 and features 1 and 2.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agorbd fio tests using rbd engine, tests on clones as well using features 1 and 13.
Vasu Kulkarni [Wed, 30 Sep 2015 16:59:03 +0000 (12:59 -0400)]
rbd fio tests using rbd engine, tests on clones as well using features 1 and 13.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agorbd io tests using fio, various fio options can be specified in yaml
Vasu Kulkarni [Wed, 30 Sep 2015 05:07:47 +0000 (01:07 -0400)]
rbd io tests using fio, various fio options can be specified in yaml

test rbd or krbd using fio, can also run io on rbd clones if option is specified in yaml
various options like image-size, rbd format/features, fio io size, readwrite options can be provided in yaml.
check the docstring for exact usage.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #599 from ceph/wip-hammer-x
Yuri Weinstein [Fri, 2 Oct 2015 17:32:12 +0000 (10:32 -0700)]
Merge pull request #599 from ceph/wip-hammer-x

upgrade/hammer-x/point-to-point: use different client for second rgw

9 years agoupgrade/hammer-x/point-to-point: use different client for second rgw
Sage Weil [Fri, 2 Oct 2015 17:24:19 +0000 (13:24 -0400)]
upgrade/hammer-x/point-to-point: use different client for second rgw

Can't do 2 rgw's on the same client id.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotasks/cephfs: fix FuseMount bin path in vstart
John Spray [Fri, 2 Oct 2015 16:38:23 +0000 (17:38 +0100)]
tasks/cephfs: fix FuseMount bin path in vstart

FuseMount only uses the prefix for finding the 'ceph'
executable, which is in ./ for either cmake or
authtools, not ./src for cmake like other binaries.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix test_journal_migration
John Spray [Fri, 2 Oct 2015 16:37:44 +0000 (17:37 +0100)]
tasks/cephfs: fix test_journal_migration

It was trying to get the output file from
a different remote than the one used to
run the journal tool.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: move mds_scrub_checks
John Spray [Wed, 23 Sep 2015 10:21:15 +0000 (11:21 +0100)]
tasks/cephfs: move mds_scrub_checks

...into a CephFSTestCase.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: move journal migration test
John Spray [Wed, 23 Sep 2015 09:49:24 +0000 (10:49 +0100)]
tasks/cephfs: move journal migration test

...into a CephFSTestCase.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: extend vstart_runner's ctx&run
John Spray [Wed, 23 Sep 2015 12:01:14 +0000 (13:01 +0100)]
tasks/cephfs: extend vstart_runner's ctx&run

Sufficiently to enable using workunits.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add --interactive for vstart runner
John Spray [Tue, 25 Aug 2015 15:03:16 +0000 (16:03 +0100)]
tasks/cephfs: add --interactive for vstart runner

Just like interactive-on-error in teuthology.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix FuseMount._asok_path
John Spray [Tue, 22 Sep 2015 10:29:13 +0000 (11:29 +0100)]
tasks/cephfs: fix FuseMount._asok_path

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: remove a redundant sudo
John Spray [Mon, 24 Aug 2015 19:42:06 +0000 (20:42 +0100)]
tasks/cephfs: remove a redundant sudo

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: raise error on non-string stdins
John Spray [Mon, 24 Aug 2015 15:57:21 +0000 (16:57 +0100)]
tasks/cephfs: raise error on non-string stdins

Shouldn't be any from the fs tests that get run

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: warn if vstart_runner can't import mods
John Spray [Mon, 24 Aug 2015 15:24:48 +0000 (16:24 +0100)]
tasks/cephfs: warn if vstart_runner can't import mods

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: stop if needed binaries are absent
John Spray [Mon, 24 Aug 2015 15:20:46 +0000 (16:20 +0100)]
tasks/cephfs: stop if needed binaries are absent

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add instructions to vstart_runner
John Spray [Mon, 24 Aug 2015 14:54:34 +0000 (15:54 +0100)]
tasks/cephfs: add instructions to vstart_runner

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: updates for cmake environ
John Spray [Thu, 6 Aug 2015 09:20:34 +0000 (10:20 +0100)]
tasks/cephfs: updates for cmake environ

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add vstart runner script
John Spray [Mon, 20 Jul 2015 11:32:45 +0000 (12:32 +0100)]
tasks/cephfs: add vstart runner script

This is to allow running CephFSTestCase tests
against a vstart cluster, for much faster turnaround
during development than running teuthology against
built ceph packages.

Not everything will be runnable this way, but for
certain things like filesystem repair scenarios we
have everything we need within a vstart environment.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: mark some tests as @needs_trimming
John Spray [Tue, 28 Jul 2015 13:09:26 +0000 (14:09 +0100)]
tasks/cephfs: mark some tests as @needs_trimming

So that we can drop these tests when not running
client as root.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add needs_trimming decorator
John Spray [Tue, 28 Jul 2015 13:08:50 +0000 (14:08 +0100)]
tasks/cephfs: add needs_trimming decorator

For tests to advertise that they need the client
to be able to trim its cache (i.e. currently that
means requiring run as root)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: make FuseMount.teardown safer
John Spray [Tue, 28 Jul 2015 13:08:01 +0000 (14:08 +0100)]
tasks/cephfs: make FuseMount.teardown safer

(don't assume fuse_daemon exists)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: mark some tests as @long_running
John Spray [Mon, 27 Jul 2015 22:23:28 +0000 (23:23 +0100)]
tasks/cephfs: mark some tests as @long_running

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add @long_running decorator
John Spray [Mon, 27 Jul 2015 22:21:45 +0000 (23:21 +0100)]
tasks/cephfs: add @long_running decorator

A means for test cases to mark particular methods
as long running, so that the vstart runner can skip
them when running for developers.

This is not a scientific thing, anything that takes
more than about 2 minutes due to lots of iteration
or sleeps.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: cluster_down before fs rm
John Spray [Thu, 23 Jul 2015 14:55:28 +0000 (15:55 +0100)]
tasks/cephfs: cluster_down before fs rm

In teuthology this isn't needed because we join the
mds child processes after killing them.  In vstart
we're killing them asynchronously, so be a bit more
careful to ensure they can't re-insert themselves
to the mdsmap between our calling fail and our calling
fs rm.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: split up TestClientRecovery
John Spray [Thu, 23 Jul 2015 09:40:12 +0000 (10:40 +0100)]
tasks/cephfs: split up TestClientRecovery

...into the part that requires a network-isolated
client and the part that doesn't.

This happens to also be the part that won't work with
vstart vs. the part that will.  teuthology yaml will
still pick up and run both parts.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: make memstore dependency declarative
John Spray [Thu, 23 Jul 2015 09:38:48 +0000 (10:38 +0100)]
tasks/cephfs: make memstore dependency declarative

...instead of checking for it procedurally during
TestClusterFull.setUp

Signed-off-by: John Spray <john.spray@redhat.com>