Commit Graph

51 Commits

Author SHA1 Message Date
Jeff Layton
9c406d0ab3 mon: deprecate CephFS inline_data support
The plan is to start deprecating this feature now so that we can remove
it in a future release. Change it to require the
--yes-i-really-really-mean-it flag, and to emit a custom
warning when that isn't specified.

For now, we leave the testing in place since we do want to be notified
if something breaks before we're ready to rip it out completely.

Fixes: https://tracker.ceph.com/issues/41311
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-19 09:15:13 -04:00
Sage Weil
4beb83c22f qa/suites/kcephfs/recovery/failover.yaml: disable RECENT_CRASH
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-26 15:52:31 -05:00
Patrick Donnelly
1ceadf0f07
qa: ignore MON_DOWN for volume-client testing
The test restarts the monitors.

Fixes: http://tracker.ceph.com/issues/38704
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-12 10:38:55 -07:00
Patrick Donnelly
897a1f7385
qa: stop testing simple messenger in CephFS suites
Simple messenger is on it's way out and it doesn't work with msgr2.

Fixes: http://tracker.ceph.com/issues/38676
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-11 09:06:32 -07:00
Patrick Donnelly
ac302de7b7
qa: silence read-only WRN for damage testing
Fixes: http://tracker.ceph.com/issues/37944

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-16 11:55:54 -08:00
Patrick Donnelly
fdf6b38a49
qa: use 6h timeout for pjd test
Apparently needs this long for some configurations.

Fixes: https://tracker.ceph.com/issues/36594
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-13 12:57:49 -08:00
Patrick Donnelly
6ac1882dc4
qa: automate distro/kernel matrix for kclient
It's no longer necessary to pass `-k testing` to teuthology-suite. We're also
now regularly testing RHEL 7.5 kernel in upstream testing.

This work is prep for eventually integrating kclient into fs.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-06 10:23:59 -07:00
Patrick Donnelly
862b84c1e8
qa: use cephfs standard configs for kclient
Specifically, qa/cephfs/begin.yaml.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 13:58:50 -07:00
Patrick Donnelly
87dcaab130
qa: update cluster log health warning message
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 12:06:11 -07:00
Patrick Donnelly
73fa0efcbb
qa: create common conf for all cephfs suites
This will be followed by removing common CephFS configurations in the
ceph.conf.template in teuthology.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-04 13:08:10 -07:00
Patrick Donnelly
b39f9d06dc
qa: fix symlinks indirectly pointing at qa to .qa
Building on the previous commit.

Command used:

$ find suites/ -type l -and -not -name .qa -execdir ~/fix.sh {} \;

fix.sh:
    #!/bin/bash

    link="$(readlink "$1")"

    echo $link
    dirlink="$(dirname "$link")"
    baselink="$(basename "$link")"

    while true; do
        echo $dirlink
        if [ "$dirlink" -ef ~/ceph/qa ]; then
            ln -nsf ".qa/$baselink" "$1"
            exit
        else
            baselink="$(basename "$dirlink")/$baselink"
            dirlink="$(dirname "$dirlink")"
            if [ "$dirlink" -ef . ]; then
                break
            fi
        fi
    done

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:48:38 -07:00
Patrick Donnelly
716db6e2fd
qa: add .qa helper link
This utilizes the recent feature in teuthology [1] to skip hidden files in
suites when building the job matrix.

Idea of this change is to enable referring to the top-level qa directory in a
position-independent way such that copies of a suite to another location do not
break any symlinks.

[1] https://github.com/ceph/teuthology/pull/1185

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:33:48 -07:00
Warren Usui
affaae045f qa/suites: Add supported-random-distro$ links.
Add supported-random-distro$ links for fs, kcephfs, and multimds

Fixes: http://tracker.ceph.com/issues/24138
Signed-off-by: Warren Usui <wusui@redhat.com>
2018-06-15 22:17:57 +00:00
Yan, Zheng
5688476513 qa/tasks/cephfs: add test for renewing stale session
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-03 10:50:28 +08:00
Patrick Donnelly
88922255e9
qa: add test for cluster resizing
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Sage Weil
577737d007 osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
The _max isn't used.  Drop the _min suffix.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-06 11:00:14 -05:00
Patrick Donnelly
14da9d77b1
Merge PR #20424 into master
* refs/pull/20424/head:
	qa: ignore io pause warnings in mds-full test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-18 10:36:30 -08:00
Patrick Donnelly
81d0a52a2a
Merge PR #20428 into master
* refs/pull/20428/head:
	qa: ignore MON_DOWN while thrashing mons

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-18 10:36:25 -08:00
Patrick Donnelly
27b6bfbd81
qa: ignore full cluster warnings for mds-full
Fixes: http://tracker.ceph.com/issues/23033

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-17 16:09:57 -08:00
Patrick Donnelly
608e002195
qa: ignore MON_DOWN while thrashing mons
Fixes: https://tracker.ceph.com/issues/22993

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-13 11:24:39 -08:00
Patrick Donnelly
7bf6eb0198
qa: ignore io pause warnings in mds-full test
Fixes: http://tracker.ceph.com/issues/22990

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-13 09:54:12 -08:00
Patrick Donnelly
3689c0c4e1
qa: synchronize kcephfs suites with fs/multimds
Fixes: http://tracker.ceph.com/issues/22627

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-10 10:38:47 -08:00
Patrick Donnelly
2bba5d8e0f
Merge PR #18192 into master
* refs/pull/18192/head:
	qa/cephfs: test ec data pool
	qa/suites/fs/basic_functional/clusters: more osds

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-25 17:05:38 -07:00
Sage Weil
d0732fc96f qa/cephfs: test ec data pool
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-23 21:11:24 -05:00
Patrick Donnelly
183646c919
qa: remove use of obsolete mds commands
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-01 17:22:36 -07:00
Patrick Donnelly
3d90ec5a4d
Merge PR #17919 into master
* refs/remotes/upstream/pull/17919/head:
	qa: whitelist cache too large in client-limits

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-24 17:07:34 -07:00
Patrick Donnelly
a1185383b8
Merge PR #17918 into master
* refs/remotes/upstream/pull/17918/head:
	qa: whitelist failover log warnings

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-24 17:07:32 -07:00
Patrick Donnelly
87039eb30a
qa: whitelist cache too large in client-limits
Fixes: http://tracker.ceph.com/issues/21510

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:44:43 -07:00
Patrick Donnelly
37a7737712
qa: whitelist failover log warnings
Fixes: http://tracker.ceph.com/issues/21509

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:42:06 -07:00
Patrick Donnelly
8ecef57bb1
qa: ignore evicted client in client-recovery
Fixes: http://tracker.ceph.com/issues/21508

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-22 09:38:59 -07:00
Patrick Donnelly
52c79aecdd
Merge PR #17466 into master
* refs/remotes/upstream/pull/17466/head:
	qa: whitelist expected MDS_READ_ONLY for kcephfs test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-08 11:23:19 -07:00
Yan, Zheng
584241285f qa: whitelist expected MDS_READ_ONLY for kcephfs test
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-09-05 17:13:59 +08:00
Patrick Donnelly
c53d091e51
qa: whitelist expected rstat warning
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-28 11:52:36 -07:00
Patrick Donnelly
701e0910e3
qa: sync whitelist with fs/basic_functional
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-28 11:49:53 -07:00
Patrick Donnelly
71f0066f6e
qa: whitelist expected MDS_CACHE_OVERSIZED
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-28 11:49:33 -07:00
Yan, Zheng
b10989209f qa: add health whitelist for kcephfs suite
Fixes: http://tracker.ceph.com/issues/20892
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-08-21 17:01:22 +08:00
Patrick Donnelly
7f04d88af8
qa: fix whitelist error message
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-02 16:52:30 -07:00
John Spray
343e1a4281 qa: update whitelist for "wrongly marked me down"
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-24 14:54:46 +01:00
John Spray
5a1009d3d9 qa: whitelist MDS restarts when thrashing
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-31 18:00:44 -04:00
Yan, Zheng
d836fce730 qa: update log whitelists for kcephfs suite
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-05-03 11:54:48 +08:00
John Spray
53477e4b05 qa: switch off btrfs for multimds and kcephfs
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:56 +01:00
John Spray
e8f8b4c83e qa: update links for modified fs subsuite names
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:56 +01:00
John Spray
033ee6bd1f Merge pull request #14396 from jcsp/wip-19550
qa: re-enable ENOSPC tests for kclient
2017-04-18 12:59:14 +01:00
Sage Weil
14e7d6351a Merge pull request #14198 from liewegas/wip-fs
qa/suites: drop 'fs' facet, and add 'objectstore' facet where missing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-08 13:21:03 -05:00
John Spray
e0833965b6 qa: re-enable ENOSPC tests for kclient
Fixes: http://tracker.ceph.com/issues/19550
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-07 14:45:30 +01:00
Sage Weil
271a7588b5 qa/suites: run mgr daemon(s)
Everything up upgrade/, which will be slightly tricky.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
29a19dce30 qa/suites: add objectstore facet where it was missing
There are places where we were testing xfs vs btrfs on
filestore and now want to cover both filestore and bluestore.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 12:03:41 -04:00
Sage Weil
73981ad807 qa/suites: remove 'fs' facet from all tests
The objectstore facet now covers bluestore, filestore(xfs),
and filestore(btrfs).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 11:57:21 -04:00
Zack Cerza
ec6fb28eaf qa/suites/kcephfs: Openstack volume configuration
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 13:37:23 -07:00
Nathan Cutler
5bfb0fca0d tests: re-enable cephfs python tests on kclient
Because http://tracker.ceph.com/issues/17193 and
http://tracker.ceph.com/issues/18161 are fixed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-31 14:23:09 +01:00