]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw: add debug info when comparing bucket metadata
Orit Wasserman [Tue, 23 Aug 2016 14:27:50 +0000 (16:27 +0200)]
rgw: add debug info when comparing bucket metadata

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit ad5a2a2f199f8fcecadf2c91b33c0530a26d8c3d)

8 years agoMerge pull request #1240 from ceph/wip-17734-jewel
Loic Dachary [Thu, 10 Nov 2016 10:25:35 +0000 (11:25 +0100)]
Merge pull request #1240 from ceph/wip-17734-jewel

upgrade/hammer-x: wait for osdmaps to propagate

8 years agoupgrade/hammer-x: wait for osdmaps to propagate
Loic Dachary [Wed, 9 Nov 2016 09:36:20 +0000 (10:36 +0100)]
upgrade/hammer-x: wait for osdmaps to propagate

Fixes: http://tracker.ceph.com/issues/17808
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #1226 from dachary/wip-17734-jewel
Loic Dachary [Mon, 7 Nov 2016 13:41:16 +0000 (14:41 +0100)]
Merge pull request #1226 from dachary/wip-17734-jewel

releases/jewel: set require_jewel_osds

8 years agoupgrade/hammer-x: set require_jewel_osds
Loic Dachary [Mon, 31 Oct 2016 17:44:19 +0000 (18:44 +0100)]
upgrade/hammer-x: set require_jewel_osds

And replace infernalis with jewel where relevant.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agorados/singleton-nomsgr/all: set require_jewel_osds
Loic Dachary [Mon, 31 Oct 2016 17:25:17 +0000 (18:25 +0100)]
rados/singleton-nomsgr/all: set require_jewel_osds

those tests do not exist anymore in master, no backport possible.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #1174 from ceph/wip-16516
vasukulkarni [Tue, 1 Nov 2016 19:01:30 +0000 (12:01 -0700)]
Merge pull request #1174 from ceph/wip-16516

jewel: test: Eliminate racey scrubbing in scrub_test.py

8 years agotest: Eliminate racey scrubbing in scrub_test.py
David Zafman [Thu, 16 Jun 2016 05:16:57 +0000 (22:16 -0700)]
test: Eliminate racey scrubbing in scrub_test.py

Enhance get_pgid() to return passed value if it is already a pgid

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 29985efc7cdff252a822d31b5e18b9163849bc53)

Fixes: http://tracker.ceph.com/issues/16516
8 years agoscrub_test: Fixes need with wip-13507
David Zafman [Fri, 29 Apr 2016 22:33:44 +0000 (15:33 -0700)]
scrub_test: Fixes need with wip-13507

Accept an attribute if not present as False
Change required due change to dict with "epoch" and "inconsistents"

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 4d0c668e9eb50c2149cfe36caee37c531541d1be)

8 years agoRevert "check for inconsistent objects count instead of all keys"
David Zafman [Tue, 1 Nov 2016 18:00:16 +0000 (11:00 -0700)]
Revert "check for inconsistent objects count instead of all keys"

This reverts commit e94f3901928501586f44c35612bc8f2dc504f465.

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #1225 from ceph/wip-inconsistent
vasukulkarni [Tue, 1 Nov 2016 00:51:29 +0000 (17:51 -0700)]
Merge pull request #1225 from ceph/wip-inconsistent

assert based on inconsistent objects count instead of all keys

8 years agocheck for inconsistent objects count instead of all keys
Vasu Kulkarni [Thu, 27 Oct 2016 22:13:02 +0000 (15:13 -0700)]
check for inconsistent objects count instead of all keys

epoch keys also exist in the objs dump, count only
inconsistent objects

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1214 from jcsp/wip-generate-caps-jewel
Zack Cerza [Wed, 19 Oct 2016 17:36:01 +0000 (11:36 -0600)]
Merge pull request #1214 from jcsp/wip-generate-caps-jewel

tasks/ceph: move generate_caps from teuthology

8 years agotasks/ceph: move generate_caps from teuthology
John Spray [Tue, 27 Sep 2016 11:17:22 +0000 (12:17 +0100)]
tasks/ceph: move generate_caps from teuthology

This was only used in this task, and it is much too
ceph-specific to belong in teuthology.

Fixes: http://tracker.ceph.com/issues/17614
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 298cc8f932a2a327e07f5b73708404588a611322)

8 years agoMerge pull request #1203 from dachary/wip-17537-jewel
Loic Dachary [Tue, 11 Oct 2016 09:07:08 +0000 (11:07 +0200)]
Merge pull request #1203 from dachary/wip-17537-jewel

suites/rbd: increase timeout for rbd-mirror stress test

8 years agosuites/rbd: increase timeout for rbd-mirror stress test
Jason Dillaman [Tue, 4 Oct 2016 14:23:24 +0000 (10:23 -0400)]
suites/rbd: increase timeout for rbd-mirror stress test

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 525e445f5f58388edf1523859f8f5d4d6cf4aea5)

8 years agoMerge pull request #1201 from dachary/wip-17344-jewel
Loic Dachary [Tue, 11 Oct 2016 08:19:20 +0000 (10:19 +0200)]
Merge pull request #1201 from dachary/wip-17344-jewel

upgrade: ceph-test is needed for ceph-coverage

8 years agoupgrade: ceph-test is needed for ceph-coverage
Loic Dachary [Fri, 9 Sep 2016 09:27:55 +0000 (11:27 +0200)]
upgrade: ceph-test is needed for ceph-coverage

Do not exclude the ceph-test package otherwise the ceph-coverage
executable is not installed.

Fixes: http://tracker.ceph.com/issues/16506
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit d44f583436f958e276e4d4819a722ed39f97c961)

8 years agoMerge pull request #1191 from ceph/wip-offline-split-jewel
Josh Durgin [Thu, 29 Sep 2016 22:54:28 +0000 (15:54 -0700)]
Merge pull request #1191 from ceph/wip-offline-split-jewel

ceph_manager: test offline split via ceph-objectstore-tool

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoceph_manager: test offline split via ceph-objectstore-tool
Josh Durgin [Sat, 6 Aug 2016 01:16:20 +0000 (18:16 -0700)]
ceph_manager: test offline split via ceph-objectstore-tool

When killing an osd, split all pools with a low threshold.
This will slow down tests, but should not impact correctness.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit f28f881bda0ad426bfa9c0e22cc4658b2ce2ec5d)

8 years agoMerge pull request #1181 from ceph/wip-jewel-release
Alfredo Deza [Fri, 23 Sep 2016 11:13:05 +0000 (07:13 -0400)]
Merge pull request #1181 from ceph/wip-jewel-release

Add ceph-deploy tests for released builds

8 years agoMerge pull request #1183 from ceph/wip-librbd-disable-helgrind-jewel
Ilya Dryomov [Thu, 22 Sep 2016 17:43:57 +0000 (19:43 +0200)]
Merge pull request #1183 from ceph/wip-librbd-disable-helgrind-jewel

jewel: suites/rbd: remove helgrind test cases

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
8 years agosuites/rbd: remove helgrind test cases
Jason Dillaman [Tue, 20 Sep 2016 13:26:32 +0000 (09:26 -0400)]
suites/rbd: remove helgrind test cases

Helgrind cannot properly handle Ceph's use of std::mutex --
resulting in numerous false positives and potential assertion
failures.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b29bf9253d7d2201f4cf01b0fd6997ed1bae231f)

8 years agoMerge pull request #1182 from ceph/wip-smoke-krbd-iozone-jewel
Jason Dillaman [Thu, 22 Sep 2016 17:28:31 +0000 (13:28 -0400)]
Merge pull request #1182 from ceph/wip-smoke-krbd-iozone-jewel

jewel: smoke: mask out unsupported image features for krbd iozone test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agosmoke: mask out unsupported image features for krbd iozone test
Ilya Dryomov [Wed, 21 Sep 2016 13:00:30 +0000 (15:00 +0200)]
smoke: mask out unsupported image features for krbd iozone test

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 77949e5cfc1231c96417e90aadc1573137c4b4d7)

8 years agoAdd basic testing of ceph bits
Vasu Kulkarni [Wed, 21 Sep 2016 19:57:02 +0000 (12:57 -0700)]
Add basic testing of ceph bits

simple test suite to test ceph from download.ceph.com

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1173 from ceph/wip-16717-jewel
Jason Dillaman [Mon, 12 Sep 2016 12:50:56 +0000 (08:50 -0400)]
Merge pull request #1173 from ceph/wip-16717-jewel

jewel: suites/upgrade: override rbd_default_features config back to pre-Jewel

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agosuites/upgrade: override rbd_default_features config back to pre-Jewel
Mykola Golub [Mon, 12 Sep 2016 11:22:06 +0000 (14:22 +0300)]
suites/upgrade: override rbd_default_features config back to pre-Jewel

Fixes: http://tracker.ceph.com/issues/16717
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 47a41286a5506a2b0e036c3e75c99911f417e74b)

8 years agoMerge pull request #1167 from ceph/wip-17222-jewel
Jason Dillaman [Tue, 6 Sep 2016 20:16:37 +0000 (16:16 -0400)]
Merge pull request #1167 from ceph/wip-17222-jewel

Backport krbd/unmap fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agokrbd/unmap: put client.0 on a separate remote
Ilya Dryomov [Fri, 2 Sep 2016 18:41:58 +0000 (20:41 +0200)]
krbd/unmap: put client.0 on a separate remote

Otherwise a pre-single-major kernel override is a headache,
particularly with non-standard yaml configs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 311a450163cf31d26cdd585faf8e306b19731bb1)

8 years agokrbd/unmap: override client.0 only
Ilya Dryomov [Mon, 29 Aug 2016 17:55:58 +0000 (19:55 +0200)]
krbd/unmap: override client.0 only

The unmap test uses one remote, so the end result is the same.
However, overriding the most specific role is nicer and allows
scheduling with

  kernel:
    client:
       branch: testing

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 02460f2156cf507c2be94e6fb1ad8af0b3be245a)

8 years agokrbd/unmap: set tunables to bobtail
Ilya Dryomov [Tue, 30 Aug 2016 10:00:27 +0000 (12:00 +0200)]
krbd/unmap: set tunables to bobtail

Kernel 3.13, which is used in pre-single-major.yaml test, doesn't
support firefly tunables (default in jewel, up from bobtail tunables).
This went unnoticed for a while because of a kernel task regression -
the pre-single-major override was ignored.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 39883e9d9f7267f92dacb40cee10794503c88539)

8 years agokrbd/unmap: assert that pre-single-major kernel is installed
Ilya Dryomov [Tue, 30 Aug 2016 10:45:32 +0000 (12:45 +0200)]
krbd/unmap: assert that pre-single-major kernel is installed

Similarly to how single-major-off.yaml and single-major-on.yaml check
the value of /sys/module/rbd/parameters/single_major, assert that it's
not there for pre-single-major.yaml.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f3bc8695221d777fc84489b724a69c9c5799484f)

8 years agoMerge pull request #1164 from SUSE/wip-fix-make-rpm-jewel
Loic Dachary [Tue, 6 Sep 2016 11:03:14 +0000 (13:03 +0200)]
Merge pull request #1164 from SUSE/wip-fix-make-rpm-jewel

buildpackages: backport make-rpm.sh improvements

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agobuildpackages/common.sh: use install-deps.sh from jewel
Nathan Cutler [Tue, 6 Sep 2016 07:24:05 +0000 (09:24 +0200)]
buildpackages/common.sh: use install-deps.sh from jewel

Significant changes took place between jewel and kraken. This commit ensures
that we use the jewel install-deps.sh to build jewel.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agobuildpackages/make-rpm.sh: install lsb_release dependencies
Nathan Cutler [Tue, 6 Sep 2016 07:23:06 +0000 (09:23 +0200)]
buildpackages/make-rpm.sh: install lsb_release dependencies

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agobuildpackages/make-rpm.sh: adjust Source0 spec file line on SUSE
Nathan Cutler [Mon, 5 Sep 2016 19:42:53 +0000 (21:42 +0200)]
buildpackages/make-rpm.sh: adjust Source0 spec file line on SUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 67de197ce51613922a9015b554be98b5a7b4c9be)

8 years agobuildpackages: use unadulterated make-dist
Nathan Cutler [Mon, 5 Sep 2016 13:07:53 +0000 (15:07 +0200)]
buildpackages: use unadulterated make-dist

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 29671063f9d2562c4e430ea12ce7e61ddf276f9e)

8 years agobuildpackages: make make-{deb,rpm}.sh aware of cmake
Nathan Cutler [Tue, 23 Aug 2016 09:34:04 +0000 (11:34 +0200)]
buildpackages: make make-{deb,rpm}.sh aware of cmake

Fixes: http://tracker.ceph.com/issues/16819
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 65590aa039a9c14933a16654e26fcf47e8420199)

8 years agobuildpackages/make-rpm.sh: use /etc/os-release
Nathan Cutler [Mon, 5 Sep 2016 11:26:59 +0000 (13:26 +0200)]
buildpackages/make-rpm.sh: use /etc/os-release

The lsb_release binary is deprecated and requires installation of packages.

The /etc/os-release file is guaranteed to be present.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 44d9acb67742db6f96f7daa5620d69afd657471f)

8 years agoMerge pull request #1157 from SUSE/wip-suse-ceph-test-jewel
Loic Dachary [Thu, 1 Sep 2016 15:56:23 +0000 (17:56 +0200)]
Merge pull request #1157 from SUSE/wip-suse-ceph-test-jewel

jewel: buildpackages: fix make-rpm.sh for SUSE

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agobuildpackages: force ceph-test build on SUSE
Nathan Cutler [Thu, 1 Sep 2016 07:56:13 +0000 (09:56 +0200)]
buildpackages: force ceph-test build on SUSE

The ceph-test package is required for teuthology. It is disabled to speed up
the build in OBS, but here we need it enabled unconditionally.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 0b10284caaf9dd00ef7fe66e3966e8e476341a62)

8 years agobuildpackages: fix RPM generation script to support opensuse spec file
Ricardo Dias [Fri, 1 Jul 2016 09:16:07 +0000 (10:16 +0100)]
buildpackages: fix RPM generation script to support opensuse spec file

Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 4692f995ba6967796d5dd2f5fd85fde8705a1ccc)
(cherry picked from commit 494b623602f0b09f10d788e6de6ddcf8d92700e3)

8 years agoMerge pull request #1154 from ceph/wip-16539-jewel
Jason Dillaman [Wed, 31 Aug 2016 23:26:43 +0000 (19:26 -0400)]
Merge pull request #1154 from ceph/wip-16539-jewel

jewel: rbd-mirror: remove ceph_test_rbd_mirror_image_replay test case

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: remove ceph_test_rbd_mirror_image_replay test case
Mykola Golub [Thu, 30 Jun 2016 18:30:57 +0000 (21:30 +0300)]
rbd-mirror: remove ceph_test_rbd_mirror_image_replay test case

Fixes: http://tracker.ceph.com/issues/16539
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 2dfe0852801cf0f90079859c0d67e75ef63de5ec)

8 years agoMerge pull request #1096 from smithfarm/wip-16413-jewel
Loic Dachary [Wed, 31 Aug 2016 07:10:16 +0000 (09:10 +0200)]
Merge pull request #1096 from smithfarm/wip-16413-jewel

11429: wait_for_clean between restarting the osds and starting the bench

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #1147 from smithfarm/wip-17152-openstack-jewel
Loic Dachary [Mon, 29 Aug 2016 14:59:20 +0000 (16:59 +0200)]
Merge pull request #1147 from smithfarm/wip-17152-openstack-jewel

openstack: add disks where necessary

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoopenstack: add disks where necessary
Loic Dachary [Mon, 29 Aug 2016 08:27:26 +0000 (10:27 +0200)]
openstack: add disks where necessary

Ref: http://tracker.ceph.com/issues/17152

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 52017e6707c32fec38788a52f918480909b78ef5)

8 years ago11429: wait_for_clean between restarting the osds and starting the bench
Samuel Just [Wed, 22 Jun 2016 16:22:45 +0000 (09:22 -0700)]
11429: wait_for_clean between restarting the osds and starting the bench

ceph.restart now marks the osds down, so the objects are actually being
created while slowest of the osds boots. That causes a ton of 1 byte
objects to be created in a degraded state and causes the cleanup to take
a long time.  Also, reduce length of bench since it's only being used
to ensure the osds came up correctly.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c4ad6b3b339cc52be04a218fab31af21617146f7)

8 years agoMerge pull request #1143 from smithfarm/wip-17116-jewel
Zack Cerza [Thu, 25 Aug 2016 20:49:28 +0000 (14:49 -0600)]
Merge pull request #1143 from smithfarm/wip-17116-jewel

workunit: allow parallel git clone

8 years agoMerge pull request #1138 from ceph/wip-cd-jewel-backport
Alfredo Deza [Thu, 25 Aug 2016 18:04:26 +0000 (14:04 -0400)]
Merge pull request #1138 from ceph/wip-cd-jewel-backport

jewel backport for --dev-commit option

8 years agoUpdate console checking, and DRY
Zack Cerza [Wed, 24 Aug 2016 17:10:08 +0000 (11:10 -0600)]
Update console checking, and DRY

Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit bf797f0b1faed137eaef20b5a37cb683f50b0bff)

8 years agoDrop unnecessary console handling code
Zack Cerza [Wed, 24 Aug 2016 16:56:03 +0000 (10:56 -0600)]
Drop unnecessary console handling code

Remote.console is provided by teuthology now
http://tracker.ceph.com/issues/17124
Fixes: 17124
Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit 821cf2caa63518314e7b03afc834b32e2a8caaa0)

8 years agoworkunit: allow parallel git clone
Loic Dachary [Thu, 25 Aug 2016 09:34:46 +0000 (11:34 +0200)]
workunit: allow parallel git clone

When multiple client run in parallel on the same machine and they
try to get workunits from a repository that is not github, they must
git clone in a directory that is suffixed as srcdir. Otherwise they
will conflict with each other.

Fixes: http://tracker.ceph.com/issues/17116
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit b9813e490ec8a5bb59e177612f047899397c342e)

8 years agoFix for 'branch' overrides to work
Vasu Kulkarni [Fri, 22 Apr 2016 02:36:00 +0000 (19:36 -0700)]
Fix for 'branch' overrides to work

teuthology default override template defines devcommit which makes
'branch' overrides in the test useless since it only picksup one option
Remove the devcommit overrides from the template and use that as
default in case no other 'branch' override exist.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #1134 from SUSE/wip-17075-jewel
Zack Cerza [Tue, 23 Aug 2016 20:20:54 +0000 (14:20 -0600)]
Merge pull request #1134 from SUSE/wip-17075-jewel

Revert "packages.yaml: reflect python-ceph package split"

9 years agoRevert "packages.yaml: reflect python-ceph package split"
Nathan Cutler [Tue, 23 Aug 2016 16:39:30 +0000 (18:39 +0200)]
Revert "packages.yaml: reflect python-ceph package split"

This reverts commit ec4b0c3d6b057e688363d966a83a037c3585b32f.

References: http://tracker.ceph.com/issues/17075
Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #1120 from ceph/wip-rgw-jewel-17025
Casey Bodley [Mon, 15 Aug 2016 15:47:56 +0000 (11:47 -0400)]
Merge pull request #1120 from ceph/wip-rgw-jewel-17025

rgw: data_extra_pool is unique per zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: data_extra_pool is unique per zone
Orit Wasserman [Mon, 15 Aug 2016 12:51:58 +0000 (14:51 +0200)]
rgw: data_extra_pool is unique per zone

Fixes: http://tracker.ceph.com/issues/17025
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit c6cdd0905fbb3a9571400a5227b34b7e2e738830)

9 years agoMerge pull request #1095 from smithfarm/wip-python-split-jewel
Zack Cerza [Fri, 5 Aug 2016 22:08:43 +0000 (16:08 -0600)]
Merge pull request #1095 from smithfarm/wip-python-split-jewel

packages.yaml: reflect python-ceph package split

9 years agoMerge pull request #1101 from SUSE/wip-osd-recovery-jewel
Nathan Cutler [Fri, 5 Aug 2016 22:00:09 +0000 (00:00 +0200)]
Merge pull request #1101 from SUSE/wip-osd-recovery-jewel

osd_recovery: add delay to ensure maps propogate

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #1100 from ajarr/wip-manila-backports-jewel
John Spray [Tue, 2 Aug 2016 11:31:34 +0000 (12:31 +0100)]
Merge pull request #1100 from ajarr/wip-manila-backports-jewel

jewel: backports for OpenStack Manila

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #1103 from ceph/wip-fix-bad-check-jewel
Zack Cerza [Fri, 29 Jul 2016 18:18:54 +0000 (12:18 -0600)]
Merge pull request #1103 from ceph/wip-fix-bad-check-jewel

backport - Wip fix bad check

9 years agotox.ini: exclude .tox dir from flake8
Josh Durgin [Thu, 28 Jul 2016 21:44:46 +0000 (14:44 -0700)]
tox.ini: exclude .tox dir from flake8

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 50f32756a472c29cc6c18a128e5b6cc99c9371e5)

9 years agoFix rechecking of health in loop
Vasu Kulkarni [Mon, 25 Jul 2016 22:29:53 +0000 (15:29 -0700)]
Fix rechecking of health in loop

Use the newer stdout value for checking
ceph health again.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoosd_recovery: add delay to ensure maps propogate
Samuel Just [Fri, 13 May 2016 23:13:30 +0000 (16:13 -0700)]
osd_recovery: add delay to ensure maps propogate

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit ddabdb7f722b192435b87bc31fe587b93cc53924)

9 years agotasks/cephfs/test_volume_client: test authentication metadata
Ramana Raja [Mon, 11 Jul 2016 13:20:49 +0000 (18:50 +0530)]
tasks/cephfs/test_volume_client: test authentication metadata

Test the usecases for the authentication metadata stored
by the volume client:

* Obtain the list of auth IDs having access to a volume.

* Restrict volume access to auth IDs of a single (OpenStack)
  tenant to enforce strong tenant isolation of volumes.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 08e3a49fa52d49a16585493d05cf51c2b31edece)

9 years agotasks/cephfs: test read-only authorization for volumes
Ramana Raja [Fri, 29 Apr 2016 14:16:25 +0000 (19:46 +0530)]
tasks/cephfs: test read-only authorization for volumes

Test whether mount access to volumes can be restricted to read-only.

Fixes: http://tracker.ceph.com/issues/15614
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit aab9a03c4c1d5ef98033b654e1a11da7ddf8aa9a)

9 years agotasks/cephfs: add function to configure guest credentials
Ramana Raja [Fri, 29 Apr 2016 11:17:17 +0000 (16:47 +0530)]
tasks/cephfs: add function to configure guest credentials

In the test_volume_client module, refactor code to add a function
that configures credentials for a guest to mount a volume. The
function could be used by tests to setup a guest client to mount
a volume with fewer lines of code.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 02fc6d6acc1246881c173d693773658b210f1ad3)

9 years agopackages.yaml: reflect python-ceph package split
Ricardo Dias [Fri, 1 Jul 2016 09:15:36 +0000 (10:15 +0100)]
packages.yaml: reflect python-ceph package split

Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 0216330568fc1dec2e866bbfd1e49dc42266e1ab)

9 years agoMerge pull request #1088 from ceph/jewel-mds-snap-failover
John Spray [Thu, 21 Jul 2016 12:58:31 +0000 (13:58 +0100)]
Merge pull request #1088 from ceph/jewel-mds-snap-failover

fs: add snapshot tests to mds thrashing

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agofs: add snapshot tests to mds thrashing
Yan, Zheng [Fri, 1 Jul 2016 07:12:24 +0000 (15:12 +0800)]
fs: add snapshot tests to mds thrashing

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

9 years agoMerge pull request #1071 from ceph/wip-16551-formatted-output
Jason Dillaman [Thu, 30 Jun 2016 12:50:00 +0000 (08:50 -0400)]
Merge pull request #1071 from ceph/wip-16551-formatted-output

rbd: pull formatted-output.t from the relevant branch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: pull formatted-output.t from the relevant branch
Loic Dachary [Thu, 30 Jun 2016 06:39:52 +0000 (08:39 +0200)]
rbd: pull formatted-output.t from the relevant branch

Fixes http://tracker.ceph.com/issues/16551

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #1070 from smithfarm/wip-drop-ceph-devel-jewel
Loic Dachary [Wed, 29 Jun 2016 21:33:38 +0000 (23:33 +0200)]
Merge pull request #1070 from smithfarm/wip-drop-ceph-devel-jewel

jewel: packages.yaml: drop ceph-devel

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agopackages.yaml: drop ceph-devel
Nathan Cutler [Wed, 29 Jun 2016 11:11:30 +0000 (13:11 +0200)]
packages.yaml: drop ceph-devel

There are no "-dev" packages listed in the deb section of this file, so it
serves no purpose to have ceph-devel here.

Also, once https://github.com/ceph/ceph/pull/9744 is merged the presence of
"ceph-devel" in this file will break teuthology for rpm targets.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit af9e05709af76c931e4dd50349cac3a4fc87a575)

9 years agoMerge pull request #1042 from ceph/wip-li-rados-jewel
Loic Dachary [Mon, 27 Jun 2016 08:07:03 +0000 (10:07 +0200)]
Merge pull request #1042 from ceph/wip-li-rados-jewel

Jewel: Backport changes needed for list-inconsistent-* format changes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #1056 from ceph/wip-rbd-nbd-jewel
Josh Durgin [Thu, 16 Jun 2016 23:43:14 +0000 (16:43 -0700)]
Merge pull request #1056 from ceph/wip-rbd-nbd-jewel

jewel: rbd: added rbd-nbd fsx test case

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agorbd: added rbd-nbd fsx test case
Jason Dillaman [Fri, 10 Jun 2016 14:56:32 +0000 (10:56 -0400)]
rbd: added rbd-nbd fsx test case

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7425e2d7a64e2962f6a7bc6f6ba09ee9137e7a14)

9 years agoMerge pull request #1015 from ceph/wip-jewel-update-standby
John Spray [Thu, 9 Jun 2016 21:00:47 +0000 (22:00 +0100)]
Merge pull request #1015 from ceph/wip-jewel-update-standby

(jewel) tasks/cephfs: update failover test for standby changes

9 years agoMerge pull request #1016 from ceph/wip-jewel-multicluster-fixes
John Spray [Thu, 9 Jun 2016 21:00:43 +0000 (22:00 +0100)]
Merge pull request #1016 from ceph/wip-jewel-multicluster-fixes

(jewel) backport cephfs fixes for test broken by multi-cluster support

9 years agoMerge pull request #1047 from ceph/wip-16113-jewel
Sage Weil [Thu, 9 Jun 2016 18:58:12 +0000 (14:58 -0400)]
Merge pull request #1047 from ceph/wip-16113-jewel

suites/rados: add test for 16113

9 years agoInitial check in for a complete jewel-x suite
Yuri Weinstein [Tue, 17 May 2016 21:58:28 +0000 (14:58 -0700)]
Initial check in for a complete jewel-x suite

Fixes http://tracker.ceph.com/issues/15754
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 6ad42ef5796baed50c107877133128be4ae267f3)

9 years agoscrub_test: Shards are not marked in error when osd guesses
David Zafman [Fri, 27 May 2016 23:56:17 +0000 (16:56 -0700)]
scrub_test: Shards are not marked in error when osd guesses

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 68400e95524181f6bdd1a250b72b1cb38f543aea)

9 years agoscrub_test: Handle list-inconsistent-obj changes in pull #8983
David Zafman [Wed, 18 May 2016 01:10:26 +0000 (18:10 -0700)]
scrub_test: Handle list-inconsistent-obj changes in pull #8983

Add checking of error in the shards

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 5992384700f335a970c1f7cb392d5b71cecfda5c)

9 years agoMerge pull request #1035 from ceph/wip-sleep-jewel
Josh Durgin [Mon, 6 Jun 2016 23:46:27 +0000 (16:46 -0700)]
Merge pull request #1035 from ceph/wip-sleep-jewel

[jewel]: tasks: fix non-existent sleep function

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agosuites/rados: add test for 16113
Samuel Just [Thu, 2 Jun 2016 21:05:38 +0000 (14:05 -0700)]
suites/rados: add test for 16113

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agotasks: fix non-existent sleep function
Josh Durgin [Thu, 2 Jun 2016 22:24:56 +0000 (15:24 -0700)]
tasks: fix non-existent sleep function

CephManager has no sleep function. Use time.sleep() instead.

Ran into this while testing a branch. Apparently it doesn't happen
much since this hasn't changed in years, but the error was copied
into several tasks.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit cfc48e36da74cd8b840270e388cc4b7e3efc1b58)

9 years agoMerge pull request #1030 from ceph/wip-manila-backports
John Spray [Fri, 3 Jun 2016 11:37:44 +0000 (12:37 +0100)]
Merge pull request #1030 from ceph/wip-manila-backports

jewel: backports needed for Manila

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agofs/volume_client: exercise the configurable prefix and ns_prefix.
Xiaoxi Chen [Wed, 27 Apr 2016 17:01:55 +0000 (12:01 -0500)]
fs/volume_client: exercise the configurable prefix and ns_prefix.

Also ensure namespace_prefix and vol_prefix are set to default values
if they are not explicitly passed.

Fixes #15417

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 42f63dc6a6bfbe7667ad2293946fedeb097fabce)

9 years agotasks/cephfs: add TestVolumeClient.test_purge
John Spray [Tue, 5 Apr 2016 17:49:18 +0000 (18:49 +0100)]
tasks/cephfs: add TestVolumeClient.test_purge

For reproducing error handling paths during purge,
such as #15266 (ASCII exception)

Fixes: http://tracker.ceph.com/issues/15266
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 798c50e9bcd6c62b7e1687c85db718bca6883b3e)

9 years agotasks/cephfs: test 'df' output in volumeclient
John Spray [Mon, 25 Apr 2016 22:33:04 +0000 (23:33 +0100)]
tasks/cephfs: test 'df' output in volumeclient

Fixes: http://tracker.ceph.com/issues/15599
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 4e9635e8558aa69e66ec79b53469b03cd3eb12e6)

9 years agotasks/cephfs: make mount point more configurable
Ramana Raja [Tue, 19 Apr 2016 04:11:22 +0000 (09:41 +0530)]
tasks/cephfs: make mount point more configurable

The mount points of the test clients were created based on the auth
ID they used. So two clients using the same auth ID could not create
different mount points in a straight forward way. Expose the
directory name of the mount point as a public attribute allowing
client mount points to be easily changed whenever needed.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 64869a3e4d5722e84f791ee3a07bf445d4402d32)
(cherry picked from commit dcdccfcd57aa6061620c8796c7cd90829cae03aa)

9 years agotasks/cephfs: test volume client eviction
Ramana Raja [Tue, 19 Apr 2016 04:42:08 +0000 (10:12 +0530)]
tasks/cephfs: test volume client eviction

Test whether the CephFSVolumeClient can evict a client based on its
auth ID and the volume path it has mounted.

Fixes: http://tracker.ceph.com/issues/15855
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit cbadb384f2e6f6fa2ebeab0d60af591a6de252a4)
(cherry picked from commit fab28a97e487ead9cc837ef73bb9798c1b24d99c)

9 years agosuites: allow four remote clients for fs/recovery
Ramana Raja [Wed, 20 Apr 2016 17:06:09 +0000 (22:36 +0530)]
suites: allow four remote clients for fs/recovery

test_volume_client requires four clients.

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit b970f97dbc5af6e331282c4eb61c9faaff1e586e)
(cherry picked from commit f539587df992fc1b77196a43c8a54fab345fc0c9)

9 years agoMerge pull request #1029 from ceph/wip-rbd-openstack
Jason Dillaman [Thu, 2 Jun 2016 01:01:13 +0000 (21:01 -0400)]
Merge pull request #1029 from ceph/wip-rbd-openstack

rbd: provision volumes to format as XFS

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: provision volumes to format as XFS
Loic Dachary [Wed, 1 Jun 2016 18:46:40 +0000 (20:46 +0200)]
rbd: provision volumes to format as XFS

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 45bd6cbf57c6772c47906f13eb27bf8586067213)

9 years agoMerge pull request #1027 from ceph/wip-ctx-manager-jewel
Josh Durgin [Tue, 31 May 2016 14:49:22 +0000 (07:49 -0700)]
Merge pull request #1027 from ceph/wip-ctx-manager-jewel

tasks/create_verify_lfn_objects: adjust to new ctx.manager location

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/create_verify_lfn_objects: adjust to new ctx.manager location
Josh Durgin [Mon, 9 May 2016 21:52:57 +0000 (14:52 -0700)]
tasks/create_verify_lfn_objects: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 1cb2681cd02d7782c9dea602c9cf2b0fb80e6fae)

9 years agoMerge pull request #1025 from ceph/wip-rbd-mirror-stress-jewel
Jason Dillaman [Fri, 27 May 2016 17:37:05 +0000 (13:37 -0400)]
Merge pull request #1025 from ceph/wip-rbd-mirror-stress-jewel

jewel: suites/rbd: added replication stress test workunit

Reviewed-by: Jason Dillaman <dillaman@redhat.com>