Mykola Golub
712e7e9677
Merge pull request #14401 from dillaman/wip-rbd-import-fixes
...
rbd: correct issues with image importing
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-10 22:23:53 +03:00
John Spray
d529121b60
Merge pull request #10636 from fullerdj/wip-djf-15069
...
cephfs: Permit recovering metadata into a new RADOS pool
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-10 13:52:04 +01:00
Sage Weil
175e33bd5b
Merge pull request #14130 from liewegas/wip-json-slash
...
common/escape: do not escape / in json
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
2017-04-08 13:21:44 -05: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
Sage Weil
6db1193906
qa/workunits/cephtool/test.sh: handle non-escaped-/ json
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-08 14:19:00 -04:00
Jason Dillaman
a5d0d0ca08
qa/workunits: partial revert of commit 5b486d9
...
Testing for disk usage and diff extents for a sparsely written
imported RBD image cannot generically be handled across different
OSD object stores and RBD image features.
The only alternatives would include grepping the rbd CLI
debug log for specific invocations of aio_write or mocking
the rbd CLI for unit testing.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-04-07 21:06:37 -04:00
Kefu Chai
24e69d79e7
Merge pull request #14281 from tchaikov/wip-19429
...
qa/tasks/workunit.py: use "overrides" as the default settings of workunit
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-05 10:01:27 +08:00
Douglas Fuller
37bafff9f4
qa/cephfs: Add test for rebuilding into an alternate metadata pool
...
Add a test to validate the ability of cephfs_data_scan and friends to
recover metadata from a damaged CephFS installation into a fresh metadata
pool.
cf: http://tracker.ceph.com/issues/15068
cf: http://tracker.ceph.com/issues/15069
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-04-04 12:29:01 -07:00
Ning Yao
5b486d9628
test: add test for rbd import,import-diff,copy with sparse-size option
...
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
2017-04-04 03:18:52 +00:00
John Spray
531118fbe8
Merge pull request #14221 from jcsp/wip-19253-b
...
qa: whitelist another fullness log message
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-03 15:31:29 +01:00
John Spray
13e8315d1a
Merge pull request #13862 from jcsp/wip-16523
...
qa, mds: add checks for fragmentation, and enable it by default
2017-04-03 11:56:37 +01:00
Kefu Chai
47080150a1
qa/tasks/workunit.py: use "overrides" as the default settings of workunit
...
otherwise the settings in "workunit" tasks are always overridden by the
settings in template config. so we'd better follow the way of how
"install" task updates itself with the "overrides" settings: it uses the
"overrides" as the *defaults*.
Fixes: http://tracker.ceph.com/issues/19429
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-02 12:26:30 +08:00
vasukulkarni
574049a90b
Merge pull request #14229 from ceph/wip-systemd
...
qa: Add reboot case for systemd test
2017-03-31 09:15:53 -07:00
John Spray
992b8499d0
Merge pull request #14254 from idryomov/wip-vstart-runner-ps
...
qa/vstart_runner: amend ps invocation
Reviewed-by: John Spray <john.spray@redhat.com>
2017-03-31 17:15:30 +01:00
Kefu Chai
9ca7ccf5f1
tasks/workunit.py: specify the branch name when cloning a branch
...
c1309fb
failed to specify a branch when cloning using --depth=1, which
by default clones the HEAD. and we can not "git checkout" a specific
sha1 if it is not HEAD, after cloning using '--depth=1', so in this
change, we dispatch "tag", "branch", "HEAD" using three Refspec classes.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-03-30 20:30:09 -07:00
Sage Weil
578b0f7cfc
Merge pull request #13617 from liewegas/wip-mgr-commands
...
mon,mgr: tag some commands for ceph-mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-30 17:12:00 -05:00
Sage Weil
31419d0e0f
mon/MgrMonitor: health warn/err if no active mgr
...
Start warning once mons are luminous; start erroring once
require_luminous is set in osdmap. Allow a grace period for
mgr to restart or standby to take over before we turn a warning
into an error.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-30 17:57:34 -04:00
Ilya Dryomov
8d8cd4e4d5
qa/vstart_runner: amend ps invocation
...
"ps -xwwu<id>" is parsed as BSD, because -x is not a UNIX option.
"u" is a BSD option for user-oriented format, so the <id> ends up being
parsed as an old-style "select by pid". The only reason this command
doesn't dump other user's processes is that the BSD "only yourself"
restriction is in effect.
I'm not sure what's wrong with a simple "ps xww", but if we want to
select by euid, let's do it right.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-03-30 19:36:43 +02:00
Vasu Kulkarni
1947648669
Fix distro's, point to latest version
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-03-29 10:30:59 -07:00
Vasu Kulkarni
7b587304a5
Add reboot case for systemd test
...
test systemd units restart after reboot
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-03-29 10:30:49 -07:00
Sage Weil
5dc9b8d026
qa/tasks/dump_stuck.py: stop making assertions about 'health' report
...
Health comes from teh mon, while the pg stats come from teh mgr, so they
may be out of sync.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:27 -04:00
Sage Weil
8e61e1cfcf
qa/suites/upgrade/jewel-x: don't initially start mgr daemons
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
2a073941a8
qa/releases/luminous.yaml: set up mgr key; start mgr
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
d403d42ac8
qa/suites/rados/upgrade: don't initially start mgr daemon
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
fa0b2164ad
qa/tasks/ceph.py: add 'skip_mgr_daemons' option
...
For upgrades
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
7edca203d8
qa/tasks/ceph.py: give everyone mgr caps
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04: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
accfd6ce88
qa/workunits/cephtool/test.sh: test_auth_profiles must include mgr
...
For 'pg ...' commands
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:26 -04:00
Sage Weil
83b19dd1f1
qa/workunits/ceph-helpers: start and stop mgr daemons
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-29 11:39:25 -04:00
John Spray
f134b8f417
qa: whitelist another fullness log message
...
Missed one in 03c996a9!
Fixes: http://tracker.ceph.com/issues/19253
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-29 11:27:58 +01:00
Dan Mick
c1309fbef3
tasks/workunit.py: when cloning, use --depth=1
...
Help avoid killing git.ceph.com. A depth 1 clone takes about
7 seconds, whereas a full one takes about 3:40 (much of it
waiting for the server to create a huge compressed pack)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-03-28 20:09:44 -07:00
John Spray
2d1817e097
qa/suites: check dirfrag counter in cephfs workunits
...
(just the ones which really do do enough work to generate
some fragmentation)
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-28 23:26:34 +01:00
John Spray
e90e37690a
qa/tasks: add check_counter.py
...
We need this for CephFS, to verify that workloads
we expect to do a particular thing (like directory fragmentation
or metadata exports) are really doing it.
This is for giving us confidence in our coverage of these
features rather than testing them per se.
Fixes: http://tracker.ceph.com/issues/16523
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-28 23:26:34 +01: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
Sage Weil
208675afb1
qa/objectstore: split filestore into xfs and btrfs variants
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 11:54:56 -04:00
Sage Weil
35b60ae057
Merge pull request #13984 from liewegas/wip-osdmap-remap
...
mon,osd: explicitly remap some pgs
Reviewed-by: Josh Durgin <jduring@redhat.com>
2017-03-28 10:47:22 -05:00
Sage Weil
2a08cbbed5
qa/tasks/thrashosds,ceph_manager: thrash pg_remap[_items]
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:10 -04:00
John Spray
31fa2fe35f
Merge pull request #13915 from jcsp/wip-19253
...
qa: whitelist new fullness messages in fs tests
2017-03-27 10:22:43 -04:00
Kefu Chai
1a9eae1b23
Merge pull request #13903 from wjwithagen/wip-wjw-run-classes-sed
...
test: sed on FreeBSD requires "-i extension", so use gsed
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-23 16:08:22 +08:00
John Spray
03c996a9e8
qa: whitelist new fullness messages in fs tests
...
Fixes: http://tracker.ceph.com/issues/19253
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-21 12:09:19 -04:00
Casey Bodley
e3e3a71d1f
qa: rgw task uses period instead of region-map
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-20 11:50:03 -04:00
Willem Jan Withagen
0a91b76f2f
test: use gsed on FreeBSD for inplace editting
...
- FreeBSD sed(1) requires a extension on -i
so replace the usuage with GNU sed: gsed
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-03-19 18:02:26 +01:00
Tamilarasi Muthamizhan
9885915e45
Merge pull request #13951 from smithfarm/wip-drop-obsolete-bt
...
tests: drop obsolete Perl scripts
2017-03-16 10:40:24 -07:00
Kefu Chai
bd36f13163
doc: fix the links to http://ceph.com/docs
...
they should point to http://docs.ceph.com/docs/master/ .. instead
Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08:00
John Spray
6586f32f35
Merge branch 'wip-omap-getkeys-mds'
2017-03-14 11:51:51 +00:00
Sage Weil
ecff8c6ce0
qa/suites/fs/basic: vary omap osd-side limit
...
Ensure that the omap looping paths are exercised.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:25 +00:00
Josh Durgin
7852b80613
Merge pull request #13805 from tchaikov/wip-qa-upgrade-tiering
...
qa/suites/upgrade: add tiering test to hammer-jewel-x
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-03-13 15:26:58 -07:00
Nathan Cutler
8c8af16a5d
tests: drop obsolete Perl scripts
...
None of these appear to be used by any tests currently in "master".
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-03-13 23:19:43 +01:00
Yehuda Sadeh
515db13970
qa/tasks/radosgw_admin: adjust test to new bucket structure
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:56 -08:00