Sage Weil
9257175f08
qa/suites/rados/singleton/all/test-crash: whitelist RECENT_CRASH
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-22 17:14:01 -05:00
myoungwon oh
89f41ad9ba
qa/suite: add dedup test
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2019-02-09 12:45:10 +09:00
David Zafman
99ddd3666b
Merge pull request #22797 from dzafman/wip-19753
...
osd: Deny reservation if expected backfill size would put us over bac…
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-01-18 07:42:00 -08:00
Sage Weil
c18a5d2e1c
qa/tasks/rebuild_mondb: use monmap to properly name the mons
...
We used to rely on the monmap bootstrap code to magically create a valid
monmap with named mons because our old-style ceph.conf had mon_addr
values in each mon.foo section. Instead, just feed it a real monmap
from pre-destruction.
In practice, a user can manually generate this monmap, or rename the
mons after the fact with --inject-monmap, or whatever. Out of scope
for this test, so we just do the simplest thing to make the rebuild test
work.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-11 16:10:14 -06:00
Sage Weil
e069c30cb3
Merge remote-tracking branch 'private/wip-mon-kv-fix' into wip-mimic-4
2019-01-04 14:03:56 -06:00
Sage Weil
d518eb6cac
qa/msgr: move msgr factet into generic re-usable dir
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:38 -06:00
Sage Weil
16980bd12f
qa/suites/rados: replace mon_seesaw.py task with a small bash script
...
The teuthology test did not like the change to remove 'mon addr' from
ceph.conf. The standalone script is easier to test.
Note that it avoids mon names 'a', 'b', 'c' since the MonMap::build_initial
uses those.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:31 -06:00
Sage Weil
b8d45b262c
qa/suites/rados/singletone/all/pg-autoscaler: whitelist health warnings
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-19 14:37:01 -06:00
Sage Weil
2cd1ca6625
qa/suites/rados: add simple pg-autoscaler test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-18 13:30:54 -06:00
David Zafman
316f039dfd
test: Add singleton rados suite test for backfill full
...
This injects backfill full as opposed to lowering the backfill full ratio
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-12-18 09:30:44 -08:00
Joao Eduardo Luis
5fff611041
mon/config-key: limit caps allowed to access the store
...
Henceforth, we'll require explicit `allow` caps for commands, or for the
config-key service. Blanket caps are no longer allowed for the
config-key service, except for 'allow *'.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-10-17 14:42:15 +01:00
Sage Weil
4e5f2bb596
qa/suites/rados/singleton/reg11184: remove old test
...
This bug was about filtering missing and divergent when doing a partial
PG import. We don't support partial PG imports any more, so this can
go away!
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-20 12:58:00 -05:00
Sage Weil
35820f4b88
mon/AuthMonitor: raise health warning on invalid caps
...
Raise a health warning if we have invalid (unparsable) caps in the auth
database. Include a simple test.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 15:54:58 -05:00
Dan Mick
298a1d92d2
qa/suites/rados, qa/workunits/rados: Add suite/workunit for ceph-crash
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-08-13 13:53:26 -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
David Zafman
918921ab2f
test: Need to escape parens in log-whitelist for grep
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-21 09:47:59 -07:00
Yuri Weinstein
9f2c485942
tests/qa: adding rados/.. dirs
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-11 14:03:15 -07:00
Kefu Chai
966c76330b
qa: reduce "mon client hunt interval max multiple" to 2 for all clients
...
because with high failure rate, we need to connect to mon more
frequently if the connection fails.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-26 12:04:49 +08:00
Sage Weil
35c14a0162
qa/suites/rados/singleton/all/random-eio: whitelist eio error message
...
"cluster [ERR] 2.1 shard 1: soid 2:8007ad8d:::benchmark_data_smithi115_12935_object2439:head candidate had a read error"
is normal when we're injecting EIO.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-09 07:40:23 -05:00
Gregory Farnum
6d2e4c9b7b
Merge pull request #19973 from liewegas/wip-peering-fast-dispatch
...
osd: fast dispatch of peering events and pg_map + osd sharded wq refactor
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-04-06 11:48:11 -07:00
Sage Weil
b235a3f62a
qa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-06 10:38:45 -05:00
Sage Weil
3b3c32f643
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
...
Recovery and peering can be slow enough with all the logging enabled to
trigger a slow ops warning.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 16:24:31 -05:00
Sage Weil
29a885c915
qa/suites/rados/singleton/all/recovery_preemption: make test more reliable
...
A 30 second run did only 7000 ops, which means ~50 log entires per pg...
not enough to trigger backfill.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:26:57 -05:00
Sage Weil
c3589df320
qa/suites/rados/singleton/all/mon-seesaw: whitelist PG_AVAILABILITY
...
The seesaw might delay pg creation by more than 60s.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:26:57 -05:00
Sage Weil
c77e19c9f2
qa: test config CLI interface
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:49 -06:00
Nathan Cutler
b69530e647
tests: rados suite: drop rest-api test cases
...
Fixes: http://tracker.ceph.com/issues/21264
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-06 06:58:59 +01:00
Sage Weil
c2d28e2750
Merge pull request #18971 from liewegas/wip-pg-scrub-preempt
...
osd/PG: allow scrub preemption
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-18 12:37:48 -06:00
Sage Weil
5ac3bfa34c
qa/suites/rados/singleton/all/divergent_priors*: unsquelch osd debug
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-16 21:52:09 -06:00
David Zafman
c77941f593
qa: Ignore degraded PGs when injecting random eio errors
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-14 18:17:23 -08:00
Sage Weil
f33ab7e03a
Merge remote-tracking branch 'gh/mimic-dev1'
2017-12-20 15:08:30 -06:00
Kefu Chai
6b3d0f61f9
qa: decrease the msg_inject_socket_failures from 1/500 to 1/1000
...
Fixes: http://tracker.ceph.com/issues/22093
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-15 14:21:43 +08:00
John Spray
91655239fa
Merge pull request #19114 from tchaikov/wip-rm-request-slow
...
mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-13 11:46:34 +00:00
Sage Weil
0e81fa9f39
qa/suites/rados/singleton/all/threash-eio: whitelist OBJECT_*
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-04 21:16:44 -06:00
Kefu Chai
52bb6e8c6e
Merge pull request #19242 from liewegas/wip-21147
...
qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-02 14:14:29 +08:00
Sage Weil
431d1482ff
qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected
...
Fixes: http://tracker.ceph.com/issues/21147
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-29 10:29:52 -06:00
Kefu Chai
0e987665fe
qa/suites/rados/singleton: more whitelist
...
* SLOW_OPS is normal in a cluster with flattering OSDs
* so is OBJECT_MISPLACED.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 13:53:44 +08:00
Kefu Chai
f5f2ced624
mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs in mimic
...
SLOW_OPS unifies both of them since mimic
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 17:41:47 +08:00
Kefu Chai
4a1f2a5c78
qa: silence SLOW_OPS,PENDING_CREATING_PGS warnings
...
this is an intermediate step to deprecate REQUEST_SLOW warnings.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 13:59:42 +08:00
Kefu Chai
b4ffd03ca3
Merge pull request #18283 from tchaikov/wip-laggy-mgr
...
qa: reduce mon-client-hunt-interval-max-multiple to 2
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-10-31 19:03:13 +08:00
Kefu Chai
4c7df944c7
osd: add max-pg-per-osd limit
...
osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:40 +08:00
Kefu Chai
358f53cbc4
qa: reduce mon-client-hunt-interval-max-multiple to 2
...
monclient could experience frequent connection issues if "ms inject
socket failures" is enabled with high frequency. so reduce this number
to relieve the symptom.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-13 12:06:18 +08:00
Sage Weil
0a886bc9f3
qa/suites/rados/singleton/all/mon-seesaw: whitelist MON_DOWN
...
Mgr can get marked down when mon weirdness is happening.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-11 08:24:50 -05:00
Sage Weil
76d84ac194
qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd
...
The OSD may not be marked up yet; set the config via the admin
socket.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-02 07:20:57 -05:00
Sage Weil
d7b29acb19
qa/suites/rados/singleton/all/recovery-preemption: add test
...
This mirrors what I was testing locally.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-28 13:48:14 -04:00
Sage Weil
39e5efbad2
qa/suites/rados/singleton/diverget_priors*: broaden whitelist
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-30 15:13:08 -04:00
Kefu Chai
1ff1f836da
Merge pull request #16722 from tchaikov/wip-qa-fixes
...
qa/suites: escape the parenthesis of the whitelist text
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-02 13:00:01 +08:00
Kefu Chai
a70be4e00c
qa/suites: more whitelisting
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 10:00:57 +08:00
Kefu Chai
d12c51ca91
qa/suites: escape the parenthesis of the whitelist text
...
so we can avoid the warnings like
grep: Unmatched ( or \(
because we pass the whitelisted string to `egrep -v "$1"` directly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-01 21:54:44 +08:00
John Spray
ac2b9d63ca
qa: include config help
in admin socket test
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 13:38:40 +01:00