Commit Graph

5874 Commits

Author SHA1 Message Date
John Spray
98842b7c96 suites/kcephfs: run python tests with 4 MDSs
For the benefit of test_failover

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:12 +00:00
John Spray
d6d9715ddd tasks/cephfs: skip volumeclient client test on kcephfs
This relies on quota-ish stuff that doesn't exist
in kclient.  We can still run the outer part
of the test though.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
0bd95f72a2 tasks/cephfs: fix unmount call in volumeclient test
Should have been to umount_wait, not umount (i.e.
the blocking foreground version).  This happened
to matter because umount_wait is more tolerant
of being called if the client is not already mounted.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
45eb4bf716 tasks/cephfs: special case for kcephfs behaviour
It does not generate EIOs in all the cases that
the fuse client does.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
1eabbbda25 tasks/cephfs: skip TestVolumeClient.test_evict on kcephfs
This test was probably buggy and only happened to work
with ceph-fuse, because it expects the MDS to immediately
respond to updates to the client's auth caps, but that
doesn't happen.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
989ecd6b1a suites/kcephfs: disable test_full for kcephfs
Until http://tracker.ceph.com/issues/17204 is done.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
14f3a688a2 tasks/cephfs: fix race in TestStrays.test_dirfrag_limit
With the kernel client, this was proceeding to attempt
a split before the directory had persisted, because
there was no fsync after creating it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
370ad523fc suites/kcephfs: remove task for cap flush test
This test skips all if not running against
fuse.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:11 +00:00
John Spray
1aa7ad6a7a tasks/cephfs: skip test_client_abort on kclient
This tests a fuse-only feature, ticket for adding
it in kclient is:
http://tracker.ceph.com/issues/17805

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:46:10 +00:00
John Spray
bc680e7a1e tasks/cephfs: support multi-fs in kernel client
Change the Mount interface to take it as an
argument to mount() instead of setting it
out of band in a config file as we used to
for the fuse client.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
d1277afd08 tasks/cephfs: fix eviction test for volumeclient
It was not correct to expect a client to block after
eviction unless it was also deauthorised.  I guess
this was working with fuse because fuse does a less
good job at re-establishing a session than the kclient?

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
507cfebbc7 tasks/cephfs: update test_journal_repair for kclient
Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
1f7d2ef746 tasks/ceph: handle down nodes in log rotation
Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
28aed55875 tasks/cephfs: skip ENOSPC testing on kclient
Ticket #17204 exists to revive the old patchset, until then
we skip the tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
c5f6dfc14f suites/kcephfs: put clients on dedicated nodes
Some tests want to use power cycling to reset stuck
mounts, and that needs to not kill OSDs as collateral
damage.

Need to revisit this to avoid unnecessarily using a whole
node for the client for those tests that don't require it
(i.e. those that don't use CephFSTestCase.REQUIRE_KCLIENT_REMOTE)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
2f6b034d09 tasks/cephfs: add a skip for non-fuse
Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
2e99bd1005 suites/fs: s/yam/yaml/
Oops!

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
318aa226b9 suites/kcephfs: s/yam/yaml/
Oops!

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:46 +00:00
John Spray
3ac80a3576 suites/kcephfs: tolerate skipping tests
With fuse client we expect everything to be
runnable so treat SkipTest as a failure because
it indicates something bad in the config.  With kclient
we known we have to skip some tests, so tolerate it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
62d5177708 suites/kcephfs: add TestFailover
Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
e5264ec5b4 tasks/kclient: unmount conditionally
Don't assume the workload left the mount up and
running.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
04951c8ae3 tasks/cephfs: skip test_session_reject cleanly
Instead of asserting in configure_auth (which in fact
works fine with KernelMount.write_secret_file), raise
a SkipTest in test_session_reject (because the kernel
client cannot handle the client_metadata setting to
inject bogus data)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
b21b825d7f tasks/cephfs: make KernelMount.umount_wait idempotent
Some places (notably CephFSTestCase.setUp) don't check
for mountedness before calling this.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
cd084c7d6d suites/kcephfs: add python tests
Let's see which of these is happy running with a kernel client!

Signed-off-by: John Spray <john.spray@redhat.com>
2016-12-07 00:45:45 +00:00
John Spray
0676444e62 Merge pull request #1282 from batrick/fs-reorg
fs: unify common parts of sub-suites

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-12-07 00:44:31 +00:00
John Spray
a3c3e78468 Merge pull request #1275 from jcsp/wip-17853
Directory fragmentation tests

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2016-12-07 00:17:16 +00:00
Ramakrishnan
399617bead tasks/cephfs: add test_standby_for_invalid_fscid
Signed-off-by: Ramakrishnan Periyasamy <rperiyas@redhat.com>
2016-12-06 23:34:22 +00:00
Sage Weil
377f239f52 Merge pull request #532 from ceph/wip-12378
Adds task to wrap the aver utility
2016-12-06 13:38:44 -05:00
Sage Weil
9068dc3762 Merge pull request #734 from dachary/wip-rados-thrash
openstack: rados/thrash...cache-pool-snaps.yaml: need 15GB
2016-12-06 13:38:07 -05:00
Sage Weil
19f39ac802 Merge pull request #1019 from ceph/wip-rgw-fix-longpath
rgw: split osd's in 2 nodes
2016-12-06 13:37:11 -05:00
Sage Weil
9f82d0f869 Merge pull request #980 from ceph/wip-fix-infinit
Fix infinite wait during monitor quorum check
2016-12-06 13:05:27 -05:00
Vasu Kulkarni
16144d8e54 Fix infinite wait during monitor quorum check
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-12-05 15:42:14 -08:00
Vasu Kulkarni
fac276b907 Split osd's into 2 nodes
http://tracker.ceph.com/issues/15612
Not all test machines(mira, vps) have 4 osd's and without this
change it will fail on nodes with < 4 osds, since one of the
osd will be on ext4 and it will hit long filename issue

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-12-05 15:35:08 -08:00
Sage Weil
68e08c7ac4 Merge pull request #535 from ceph/wip-12376
tasks/radosbenchsweep task
2016-12-05 17:53:51 -05:00
Sage Weil
d06a5feda4 Merge pull request #1024 from ceph/wip-default-fs
tasks/ceph: default to xfs instead of root dir
2016-12-05 17:53:01 -05:00
Sage Weil
46c6b13a61 Merge pull request #1087 from sponce/master
rados: Added tests for the striper layer of rados
2016-12-05 17:49:36 -05:00
Samuel Just
1cd5be72f2 Merge pull request #956 from ceph/wip-rm-ext4
Remove ext4 option from rados:thrash tests

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-05 14:42:08 -08:00
Josh Durgin
811ace2fc0 Merge pull request #1301 from ceph/wip-valgrind-centos
do all valgrind runs on centos

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-12-05 11:36:45 -08:00
Sage Weil
693bd23851 do all valgrind runs on centos
The xenial valgrind has a bug with generating random
numbers; see http://tracker.ceph.com/issues/18126

Revert this when it is fixed.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-05 14:21:31 -05:00
Sage Weil
3f2298eecf Merge pull request #1299 from athanatos/wip-enable-hacky-flag
ec-data-pool: enable the hacky_overwrites flag
2016-12-05 11:45:13 -05:00
Samuel Just
237bedb310 ec-data-pool: enable the hacky_overwrites flag
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-12-02 23:03:56 -08:00
Jason Dillaman
2cee58a456 Merge pull request #1298 from ceph/wip-pre-single-major-branch
krbd/unmap: pre-single-major is now 3.12.z

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-12-02 14:55:21 -05:00
Sage Weil
835e755a89 rados/thrash/workloads: shorten rados bench a bit
I hit ENOSPC during thrashing on one run.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-02 09:56:13 -05:00
Loic Dachary
aae552240b Merge pull request #1295 from dachary/wip-16506-ceph-coverage
upgrade: ceph-test is needed for ceph-coverage

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-12-02 11:42:03 +01:00
Loic Dachary
8122494530 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>
2016-12-02 10:27:25 +01:00
Sage Weil
c362ed28db Merge pull request #1294 from ceph/wip-17960-master
Removed xenial + Excluded librgw2
2016-12-01 17:21:37 -05:00
Sage Weil
57e0a674c9 upgrade/jewel-x/point-to-point: avoid xenial
Xenial has newer packages in the distro and we want to
avoid fragile install instructions to avoid them.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-01 17:21:19 -05:00
Yuri Weinstein
ee19ced031 Excluded librgw2
Fixes http://tracker.ceph.com/issues/17960

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-12-01 17:29:56 +00:00
Ilya Dryomov
f143438d44 krbd/unmap: pre-single-major is now 3.12.z
3.13 won't build on newer distros, due to lack of gcc5 support.
nightly/pre-single-major (with a slash) is now gone.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-12-01 15:46:19 +01:00
Dan Mick
47cd4f4608 Merge pull request #1293 from ceph/wip-17977-fix
qemu: Set permissions on /dev/kvm

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-11-30 15:15:15 -08:00