Ilya Dryomov
9038074796
Merge pull request #14785 from idryomov/wip-krbd-exclusive-option
...
rbd: recognize exclusive option
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-26 16:25:31 +02:00
Ilya Dryomov
192f6ca079
qa/workunits/rbd: test exclusive map option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-26 15:05:50 +02:00
Sage Weil
dffcfbfce1
Merge pull request #14713 from smithfarm/wip-19740
...
tests: set -x in suites/iozone.sh workunit
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-25 10:56:17 -05:00
Sage Weil
a2f8e50c0f
Merge pull request #14756 from yehudasa/wip-rgw-suite-fix
...
qa/suite: replace reference to fs/xfs.yaml
2017-04-25 10:44:41 -05:00
Yehuda Sadeh
180e276dd1
qa/suite: replace reference to fs/xfs.yaml
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-24 15:40:12 -07:00
John Spray
d0d3a4a02e
Merge pull request #12935 from stiopaa1/17855_evictClient
...
mds/Server.cc: Don't evict a slow client if...
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:10:01 +01: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
837a71c0af
qa/tasks/cephfs: clean up mount point setup
...
Previously were sometimes trying to maintain a mounted
client across a filesystem destroy/create.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
6369120d63
qa/suites: don't use btrfs for cephfs testing
...
This change happened a while back, but it got rolled back
when the generic objectstore/ dir had its filestore
entry split out into xfs and btrfs in 208675af
.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
b56fb50ef2
qa: remove unused fs/ dir
...
The objectstore/ dir is now selecting the backing fs.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
ea688a6d46
qa/suites/fs: more meaningful names for sub suites
...
The "recovery" sub suite was originally tests for
client/mds recovery in certain failure cases, it has
since grown to include lots of unit testing of
various features using CephFSTestCase.
The "basic" suite is now specifically just running workloads
now that I've moved out the smaller functional tests.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:55 +01:00
John Spray
0362d08121
qa/suites/fs: put simple functional tests together
...
Most of what's in basic/ is "workload" type testing
(i.e. a simple cluster cluster configuration and then
running a script inside the client), which gets
permuted in various ways. Move the simpler
functional tests out with the others like themselves.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
3e3b94783c
qa: don't permute object store for functional tests
...
These are unit tests for specific CephFS functionality,
it is gratuitous to repeat them with different underlying
RADOS object stores.
We retain coverage of XFS vs. bluestore in the workload tests.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-24 11:19:54 +01:00
John Spray
16702ff13d
Merge pull request #14018 from jcsp/wip-17939
...
client: getattr before returning quota/layout xattrs
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 11:12:26 +01:00
Michal Jarzabek
1a5cb534d9
mds/Server.cc: Don't evict a slow client if...
...
... it's the only client
Fixes: http://tracker.ceph.com/issues/17855
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2017-04-23 13:31:47 +01:00
Sage Weil
27dd6530a2
Merge pull request #14559 from liewegas/wip-pg-map
...
mon: move 'pg map' to OSDMonitor
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 18:53:17 -05:00
Kefu Chai
c237e7ed29
Merge pull request #14232 from jcsp/wip-19412
...
mgr: fix python module teardown & add tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-21 22:57:44 +08:00
Sage Weil
069182f91f
qa/tasks/ceph_manager: use 'pg map' for get_pg_{primary,replica}
...
Pulling this out of the 'pg dump' heap is inefficient.
Also, pg dump data comes from the mgr and may be stale.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-21 10:56:28 -04:00
Kefu Chai
6fa16c4477
Merge pull request #14584 from tchaikov/wip-19631
...
qa/suites: Revert "qa/suites: add mon-reweight-min-pgs-per-osd = 4"
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 22:56:21 +08:00
Sage Weil
4aa9bfa716
Merge pull request #14697 from ceph/wip-rgw-upgrade-s3tests-encryption
...
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-21 09:06:39 -05:00
Nathan Cutler
25d468e3e7
tests: set -x in suites/iozone.sh workunit
...
Seems like this should be a "best practice."
Fixes: http://tracker.ceph.com/issues/19740
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-21 15:30:02 +02:00
Jason Dillaman
dee4f31cab
Merge pull request #13978 from trociny/wip-18787
...
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-20 21:52:56 -04:00
David Zafman
daeb4d072c
Merge pull request #14647 from dzafman/wip-19698
...
Fix full testing in cephtool/test.sh when used by rados suite
Replace using sleep with new wait_for_health() bash function
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-20 18:18:16 -07:00
David Zafman
7d579ff12b
cephtool.yaml: Add "failsafe" osd error messages to whitelist
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:47:12 -07:00
Willem Jan Withagen
59238fb1db
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-20 15:47:01 -07:00
Willem Jan Withagen
e07f9ccb13
qa/workunits/ceph-helpers.sh: introduce (and use) wait_for_health
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:39:34 -07:00
David Zafman
1810a17e23
mon: Fix incorrect health output and test code to match
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:39:34 -07:00
David Zafman
86fea9d539
/workunits/cephtool/test.sh: Improve testing of health-output.
...
Instead of 9ff401e65b
use regex to handle:
HEALTH_ERR 2 pgs stuck unclean; Full ratio(s) out of order
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:39:33 -07:00
David Zafman
1474d0f233
test: Fix test_admin_heap_profiler() and enable it
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:39:33 -07:00
David Zafman
84f2182881
cephtool/test.sh: Get socket for whichever environment this test is running
...
Need sudo for qa suite runs
Fixes: http://tracker.ceph.com/issues/19698
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-20 15:39:09 -07:00
Casey Bodley
a4fc5c38e5
qa/rgw: don't scan radosgw logs for encryption keys on jewel upgrade test
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-04-20 14:49:04 -04:00
Sage Weil
b9dfb3caac
qa/suites/upgrade/jewel-x/point-to-point: no xenial
...
Avoid conflict with upstream repo having a newer version
than what we're installing.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-20 14:18:59 -04:00
Sage Weil
0ff16f3c57
upgrade/jewel-x/stress-split: not pg import/export tests during upgrade
...
These aren't meant to be run on a mixed-version cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-20 14:17:19 -04:00
Sage Weil
1207f8945d
qa/suites/upgrade/jewel-x: add mgr.x role
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-20 12:32:59 -04:00
John Spray
f695a0e30f
qa: s/REQUIRE_MGRS/MGRS_REQUIRED/ for consistency
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-20 15:00:31 +01:00
John Spray
636fc40d90
qa: additions to mgr.test_failover
...
Reproducers for recent fixes:
http://tracker.ceph.com/issues/19407
http://tracker.ceph.com/issues/19258
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-20 15:00:31 +01:00
John Spray
8ea98b4cbf
qa: fix vstart_runner --create for mgr tests
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-04-20 15:00:31 +01:00
Mykola Golub
dda32847e8
qa/workunits/rbd: don't use deprecated syntax
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-20 14:29:14 +02:00
Nathan Cutler
210249a8d7
Merge pull request #14638 from dillaman/wip-19692
...
test: rbd master/slave notify test should test active features
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-04-20 14:12:24 +02:00
Kefu Chai
b3075c485c
qa/suites: Revert "qa/suites: add mon-reweight-min-pgs-per-osd = 4"
...
This reverts commit ef7583d717
.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-20 14:18:21 +08:00
Kefu Chai
e6a436bb27
qa/tasks/ceph_manager: be able to store options with service type
...
so we are able to change options for services other than mon while
thrashing.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-20 14:18:21 +08:00
Kefu Chai
ee653ba87c
Merge pull request #14608 from tchaikov/wip-19594
...
qa/tasks: assert on pg status with a timeout
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-20 10:49:12 +08:00
Kefu Chai
960032e513
qa/tasks: update tests with helper to wait for pg-stats
...
and remove unused helpers
Fixes: http://tracker.ceph.com/issues/19594
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-20 09:35:05 +08:00
Kefu Chai
1207caf3a2
qa/tasks/ceph_manager: add a "wait_for_pg_stats()" decorator
...
and accompany it with two helpers to access the pg stats in a more
natural way
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-20 09:35:04 +08:00
Josh Durgin
cab2968e8f
qa: use bluestore for (k)rbd ec overwrites tests
...
Only bluestore supports ec overwrites
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:49:11 -07:00
Josh Durgin
4a7c058183
qa: use 4k stripe_width again for test_rados_tool.sh
...
The stripe_unit change altered the default stripe_width to depend on k.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:44 -07:00
Josh Durgin
a3e5cba3f1
qa: move ec overwrites tests to a bluestore-only subsuite
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
4315221179
osd,OSDMonitor: try to protect against ec overwrites with filestore
...
This isn't perfect, but it's better than nothing. Prevent enabling the
allow_ec_overwrites flag if any of a sample of pgs in the pool map to
osds using filestore. This mainly protects filestore-only clusters
from enabling it.
If a filestore osd is started later, warn in the cluster log when it
gets a pg with ec overwrites enabled.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
3ca750d41d
test/osd/osd-scrub-repair.sh: add ec overwrites test cases
...
Move pool and profile creation into a single function, and
add a 'allow_overwrites' parameter for it so each ec test
can be paramterized by it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00