Casey Bodley
0362df8747
qa: add task to generate ssl certificates
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-09 16:31:32 -05:00
Kefu Chai
a5123004ff
Merge pull request #20778 from p-na/wip-mgr-fix-dashboard-backend-tests
...
mgr/dashboard: Fix backend tests for newer CherryPy versions
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-09 10:24:00 +08:00
Sebastian Wagner
f3d6067658
mgr/dashboard_v2: removed unused code that broke teuthology
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-07 18:18:31 +01:00
Patrick Nawracay
45b9174191
mgr/dashboard: Fix backend tests for newer CherryPy versions
...
The backend test run by `run-backend-api-tests.sh` fails for CherryPy
versions 13.x and 14.x.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-03-07 13:45:52 +01:00
Sage Weil
9c42d88743
qa/tasks/rebuild_mondb.py: --no-mon-config to ceph-objectstore-tool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:50 -06:00
Sage Weil
e44e10d6e0
qa/tasks/ceph.py: --no-mon-config during ceph-osd mkfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:50 -06:00
Sage Weil
ae142824ea
qa/tasks/rebuild_mondb: --no-mon-config for ceph-monstore-tool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:49 -06:00
Nathan Cutler
233fe8338e
Merge pull request #17530 from smithfarm/wip-21264
...
tools: cleanup: rip out ceph-rest-api
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-06 15:22:20 +01:00
Nathan Cutler
495742f7dd
tools: cleanup: rip out ceph-rest-api
...
Obsoleted by the mgr REST API.
Fixes: http://tracker.ceph.com/issues/21264
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-05 22:01:51 +01:00
Ricardo Dias
966fe3672e
qa/tasks/mgr/dashboard_v2: implementation of backend API tests
...
We moved the dashboard_v2 test cases that required a real ceph cluster
to run into qa/tasks/mgr with the necessary adaptations.
These tests can now be run in teuthology using the cephfs_test_runner
task.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:18 +00:00
Ricardo Dias
86264d4b02
qa/tasks/mgr: move test initialization to setUpClass method
...
With this change, we avoid the disabling/enabling of the ceph-mgr module
being tested for each test function declared in each test case. Now
the ceph-mgr module being tested is disabled/enabled only once for each
test case.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-05 13:07:18 +00:00
Casey Bodley
11570fab73
qa: clean up dnsmasq task and fix EPERM error
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-01 15:55:57 -05:00
Kefu Chai
52e5f1007d
Merge pull request #20509 from liewegas/wip-less-filestore-idempotent
...
qa/tasks/filestore_idempotent: shorter test
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 21:59:24 +08:00
Sage Weil
77442609a0
qa/tasks/filestore_idempotent: shorter test
...
Test a shorter sequence of events. Currently the test is taking
more than 5 hours; we don't need to run quite that long.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-21 08:37:14 -06:00
Yehuda Sadeh
930f3b85e2
qa/tasks/ragweed: don't reference fastcgi
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
c2e2d8a380
qa/tasks/ragweed: only init config when doing prepare
...
and only remove users when doing check.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
831645c3cf
qa/tasks/ragweed: configurable stages
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
cb1660d566
qa/tasks/ragweed: point at ceph.conf in config
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
7bf2296bdd
qa/tasks/ragweed: set system flag on system user
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Yehuda Sadeh
82c1295196
qa/tasks: add ragweed task
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-02-19 14:45:51 -08:00
Casey Bodley
94922266ce
Merge pull request #17020 from theanalyst/lc-time-disable
...
qa: re enable LC tests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-02-16 12:01:18 -05:00
Kefu Chai
097e2de5f7
Merge pull request #20362 from tchaikov/wip-mgr-py3
...
mgr: fix py3 support
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-02-16 02:32:04 +08:00
Patrick Donnelly
2e44b87141
Merge PR #19263 into master
...
* refs/pull/19263/head:
qa: ignore bad backtrace cluster wrn
qa/cephfs: Add tests to validate scrub functionality
cephfs: Add option to load invalid metadata from disk
cephfs: Reset scrub data when inodes move
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-13 14:43:32 -08:00
Douglas Fuller
07339e2d1d
qa/cephfs: Add tests to validate scrub functionality
...
Add tests to ensure the scrub operation is not adversly affected
by certain metadata pathologies.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-02-13 14:07:28 -05:00
Kefu Chai
ba82060def
qa/tasks/mgr: correct the log message
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-11 14:25:37 +08:00
Patrick Donnelly
84ae0ce5fc
Merge PR #20310 into master
...
* refs/pull/20310/head:
qa: adjust cephfs full test for kclient
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-08 13:30:04 -08:00
Josh Durgin
eae6e64034
Merge pull request #20173 from liewegas/wip-os-ch
...
os: unify Sequencer and CollectionHandle
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-07 14:04:08 -08:00
Sage Weil
3ca0e0c565
Merge pull request #20279 from liewegas/wip-idempotent-sequence
...
ceph_test_filestore_idempotent_sequence: many fixes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-02-06 10:53:35 -06:00
Sage Weil
e4e4079636
qa/tasks/recovery_bench: drop recovery_bench task
...
This relies on smalliobench, which is gone now. The task could
pretty easily be resurrected if we substitute in another tool.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Sage Weil
135ccf8790
qa/tasks/filestore_idempotent: run failure tests later in sequence
...
We want to get past the initial colleciton and object creation steps,
which don't include interesting ops.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Yan, Zheng
27b1ca076e
qa: adjust cephfs full test for kclient
...
Fixes: http://tracker.ceph.com/issues/22886
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-02-05 18:00:57 +08:00
Mykola Golub
6a57358add
rbd: unified way to map images using different drivers
...
Instead of "rbd map|unmap|showmapped", "rbd ndb map|unmap|list",
"rbd ggate map|unmap|list" commands, provide:
rbd device -t krbd|nbd|ggate|... map|unmap|list
which gives interface consistent between drivers.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-29 09:34:11 +02:00
Sage Weil
f67bd47d0a
Merge pull request #20096 from myoungwon/wip-manifest-two-pool-test
...
src/test/osd: add two pool test for manifest objects
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-26 14:41:14 -06:00
myoungwon oh
a1d6304442
qa/suites/rados/thrash/workloads: add paramters to support two pools
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-26 16:20:01 +09:00
Kefu Chai
52bf90bb10
Merge pull request #20047 from jcsp/wip-prometheus-qa
...
qa: add new prometheus test to rados/mgr suite
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:43:07 +08:00
John Spray
d9a47181c4
mgr: add health checks for failed modules
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
f95b079c21
qa/mgr: add test for command execution errors
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
John Spray
e2c68d5e25
qa: assign prometheus ports during selftest
...
This was throwing IOError("Port 9283 not free on '::'",)
when trying to serve, since merging https://github.com/ceph/ceph/pull/19744
It's because the standbys (on the same node as the active) are
now trying to listen too.
Fixes: https://tracker.ceph.com/issues/22755
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-23 10:23:39 +00:00
John Spray
c05d96330d
Merge pull request #19744 from jan--f/mgr-prometheus-standby-mondown
...
pybind/mgr/prometheus: add StandbyModule and handle failed MON cluster
Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-22 13:29:48 +00:00
Jan Fajerski
4a45b02539
qa/tasks/mgr: add test_prometheus; smoke tests for prometheus module
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-01-22 13:21:45 +01:00
Jason Dillaman
4e0dc282e4
Merge pull request #19937 from trociny/wip-rbd-showmapped
...
rbd: adjusted "showmapped" JSON and XML formatted output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-19 10:32:39 -05: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
David Zafman
9f103f013c
tests: recovery-unfound-found test needs to account for correct misplaced calculations
...
The test expected HEALTH_OK when in a state with misplaced objects therefore HEALTH_WARN
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-16 10:52:21 -08:00
Sage Weil
3f922e79c3
qa/tasks/ceph: disable osd_debug_deep_scrub_sleep in case it is set
...
Otherwise the final scrub may take too long.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-14 10:47:24 -06:00
Mykola Golub
de97a3be48
rbd: adjusted "showmapped" JSON and XML formatted output
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-12 21:36:00 +02:00
Yuri Weinstein
c30eca51a4
Merge pull request #19765 from liewegas/wip-force-backfill-cleanups
...
qa: tolerate failure to force backfill
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-08 12:50:18 -08:00
Patrick Donnelly
f6e1a797d4
Revert "Merge PR #19369 into master"
...
This reverts commit 3189ba19a7
, reversing
changes made to b7620de020
.
Despite the change in json format being positive, the unfortunate side-effect
is that it broke upgrade testing (because the QA framework must handle the
transition of mdsmap["info"] to a list from object) and the ceph-mgr.
Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 09:42:37 -08:00
Sage Weil
819a3578fa
Merge tag 'v13.0.1'
2018-01-03 10:04:20 -06:00
Sage Weil
8651e15c93
qa/tasks/ceph_manager: tolerate failure to force backfill/recoery
...
The pool may have been deleted out from underneath us.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-03 08:37:02 -06:00
Kefu Chai
0cd700e64d
Merge pull request #19634 from jcsp/wip-22514
...
qa: configure zabbix properly before selftest
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-03 00:09:37 +08:00
Sage Weil
acf4ea1cad
Merge branch 'master' into lc-time-disable
2017-12-29 13:38:37 -06:00
Patrick Donnelly
3189ba19a7
Merge PR #19369 into master
...
* refs/pull/19369/head:
qa: update handling of fs status format
PendingReleaseNotes: add note for format change
mds/MDSMap : use arrary_section for mds stat
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-12-21 20:21:18 -08:00
Sage Weil
1a549a01ca
Merge pull request #19588 from batrick/i22475
...
qa: check pool full flags
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-21 15:16:54 -06:00
Patrick Donnelly
1f1a2a27ef
qa: update handling of fs status format
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 10:35:09 -08:00
John Spray
c64c9ff00d
qa: configure zabbix properly before selftest
...
Even though the selftest routine doesn't care about
the settings, we should set them to avoid emitting
nasty log/health messages when enabling the module.
Fixes: http://tracker.ceph.com/issues/22514
Signed-off-by: John Spray <john.spray@redhat.com>
2017-12-21 08:28:55 -05:00
Sage Weil
f33ab7e03a
Merge remote-tracking branch 'gh/mimic-dev1'
2017-12-20 15:08:30 -06:00
Kefu Chai
4d266e3347
qa/tasks: remove test_buildpackages
...
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5
. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 582f04508f
)
2017-12-19 11:12:25 -06:00
Patrick Donnelly
6e046dfc90
qa: check pool full flags
...
Cluster-wide flag removed in b4ca5ae462
.
Fixes: http://tracker.ceph.com/issues/22475
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 21:59:57 -08:00
Patrick Donnelly
b2284f23b8
qa: don't configure ec data pool with memstore
...
Fixes: http://tracker.ceph.com/issues/22436
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 21:12:22 -08:00
John Spray
213af8b666
Merge pull request #19533 from batrick/vstart-runner-fixes
...
vstart_runner: fixes for recent cephfs changes
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-18 13:18:12 +00:00
Patrick Donnelly
ee9d5f9a45
Merge PR #19440 into master
...
* refs/pull/19440/head:
mds: update mds option descriptions
mds: obsolete MDSMap option configs
mds: organize Filesystem class def
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 11:07:58 -08:00
Patrick Donnelly
cd1e5f53f0
vstart_runner: ignore failed dentry invalidation
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 19:15:43 -08:00
Patrick Donnelly
0f507d8855
vstart_runner: set ec_profile attribute
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 19:15:39 -08:00
Patrick Donnelly
67ca6cd229
mds: obsolete MDSMap option configs
...
These configs were used for initialization but it is more appropriate to
require setting these file system attributes via `ceph fs set`. This is similar
to what was already done with max_mds. There are new variables added for `fs
set` where missing.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 18:30:52 -08:00
Kefu Chai
c7539de95c
Merge pull request #19365 from liewegas/wip-tell
...
qa/tasks/ceph_manager: tolerate tell osd.* error
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-13 19:58:41 +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
Vasu Kulkarni
e7883c1fb2
qa/tests: when no branch is specified, use wip branch under test for upgrade
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Vasu Kulkarni
9430f352f4
qa/tests: Fix mapped_role attribute where it gets overwritten for subsequent calls.
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
vasukulkarni
8a6434c20e
Merge pull request #19244 from ceph/wip-cd-volume
...
qa/tasks: update ceph-deploy task to use newer ceph-volume syntax
2017-12-07 10:54:47 -08:00
Sage Weil
aafb3a565d
qa/tasks/ceph_manager: tolerate tell osd.* error
...
It's possible for tell osd.* to race against an osd we stopped but the
cluster doesn't know is down yet. In tha case we'll get ENXIO on that
osd and the command will fail.
In this context, we don't care.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-06 17:51:20 -06:00
Neha Ojha
46dee4b102
qa: preserve cbt task results
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-06 13:23:44 -08:00
Vasu Kulkarni
9f1a1e0543
qa/tests: Add debug info when creating ceph volumes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-06 12:14:27 -08:00
Kefu Chai
5418c98fb7
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
...
qa,doc: drop support of ubuntu trusty
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 20:31:58 +08:00
Neha Ojha
877e3ccada
qa: install collectl with cbt task
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-04 13:50:33 -08:00
Kefu Chai
582f04508f
qa/tasks: remove test_buildpackages
...
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5
. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 14:06:18 +08:00
Vasu Kulkarni
3ecaebd0d8
qa/tests: update tests to use new ceph-volume syntax
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-01 14:11:55 -08:00
Kefu Chai
89c876d1b6
Merge pull request #19233 from tchaikov/wip-no-mon-health-to-clog-when-upgrading
...
qa: disable mon-health-to-clog in upgrade test
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-01 11:42:52 +08:00
Patrick Donnelly
49028ee79f
Merge PR #19069 into master
...
* refs/pull/19069/head:
qa/tasks/ceph_fuse: fix ceph-fuse mount failed
Reviewed-by: Yunfei Guan <yunfei.guan@xtaotech.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-11-29 22:11:12 -08:00
Sage Weil
dda79ad1fa
Merge pull request #15482 from myoungwon/wip-chunked-manifest
...
osd,librados: add manifest, operations for chunked object
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-29 21:13:43 -06:00
Kefu Chai
185d2f5375
qa/tasks/ceph: add mon-health-to-clog option to "restart"
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 20:04:44 +08:00
Kefu Chai
a406553a79
qa/tasks/ceph_manager: add inject_args() method
...
* move Thrasher._set_config() to CephManager, and make it a public
method, and rename it to inject_args(),
* use this method instead of using 'tell ... injectargs ...' directly
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 18:44:16 +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
e25300cb6a
Merge pull request #18614 from tchaikov/wip-osd-mgrreport
...
osd,mgr: report slow requests and pending creating pgs to mgr
Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-23 15:01:01 +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
liyan
0a752e634a
qa/tasks/ceph_fuse: fix ceph-fuse mount failed
...
Fixes: http://tracker.ceph.com/issues/22205
Signed-off-by: liyan <liyan.wang@xtaotech.com>
2017-11-22 15:02:47 +08:00
Patrick Donnelly
df43e415c6
Merge PR #18274 into master
...
* refs/pull/18274/head:
mds: fold mds_revoke_cap_timeout into mds_session_timeout
client: add new delegation testcases
client: add delegation support for cephfs
common: remove data_dir_option from common_preinit and global_pre_init
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-20 21:48:19 -08:00
Kefu Chai
bcf12a6abd
Merge pull request #19024 from tchaikov/wip-21474
...
qa/tasks: prolong revive_osd() timeout to 6 min
Reviewed-by: Sage Weil <sage@redhat.com>
2017-11-20 22:54:27 +08:00
Kefu Chai
749bbda075
qa/tasks: prolong revive_osd() timeout to 6 min
...
see also #17902
Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-20 13:40:59 +08:00
Matt Benjamin
c662dc3067
Merge pull request #17977 from cbodley/wip-rgw-beast-qa
...
qa/rgw: add beast frontend to some rgw suites
2017-11-16 15:14:28 -05:00
lvshanchun
2c1653ca37
radosgw-admin zonegroup get and zone get return defaults when there is no realm
...
Fixs: http://tracker.ceph.com/issues/21615
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-11-16 23:43:55 +08:00
Josh Durgin
e81a7ffcda
Merge pull request #18808 from tchaikov/wip-qa-max-pg-per-osd
...
qa: do not wait for down/out osd for pg convergence
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-11-15 18:05:58 -08:00
Jeff Layton
3321cc7b37
mds: fold mds_revoke_cap_timeout into mds_session_timeout
...
Right now, we have two different timeout settings -- one for when the
client is just not responding at all (mds_session_timeout), and one for
when the client is otherwise responding but isn't returning caps in a
timely fashion (mds_cap_revoke_timeout).
The default settings on them are equivalent (60s), but only the
mds_session_timeout is communicated via the mdsmap. The
mds_cap_revoke_timeout is known only to the MDS. Neither timeout results
in anything other than warnings in the current codebase.
There is also a third setting (mds_session_autoclose) that is also
communicated via the MDSmap. Exceeding that value (default of 300s)
could eventually result in the client being blacklisted from the
cluster. The code to implement that doesn't exist yet, however.
The current codebase doesn't do any real sanity checking of these
timeouts, so the potential for admins to get them wrong is rather high.
It's hard to concoct a use-case where we'd want to warn about these
events at different intervals.
Simplify this by just removing the mds_cap_revoke_timeout setting, and
replace its use in the code with the mds_session_timeout. With that, the
client can at least determine when warnings might start showing up in
the MDS' logs.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-11-14 07:27:01 -05:00
Casey Bodley
fa8a0713de
qa/rgw: add kwargs for debug output
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-11-10 13:23:03 -05:00
Kefu Chai
7f549af459
qa: do not wait for down/out osd for pg convergence
...
that osd is not invovlved in the PG state changes.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-08 14:50:10 +08:00
Ilya Dryomov
1591426c30
qa/tasks/cram: include /usr/sbin in the PATH for all commands
...
/usr/sbin is not in non-login PATH on centos. We already do this for
workunits, see commit 0e53f5f38b
("workunit: include /usr/sbin in the
PATH for all commands").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-11-06 20:05:38 +01:00
Mykola Golub
3a09801ceb
qa/suites/rbd: enable fsx deep_copy test case
...
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-06 10:29:45 +02:00
myoungwon oh
93be6f79e0
qa/suites/rados/thrash: add set_chunk test case
...
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2017-11-06 15:53:46 +09:00
Sage Weil
e7d4f390d6
Merge pull request #18670 from liewegas/wip-min-in-4
...
qa/tasks/thrashosds: set min_in default to 4
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-03 06:55:23 -05:00
John Spray
4fb3025682
qa: fix mgr _load_module helper
...
I inadvertently broke this with the latest change
to the module ls output.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-02 07:42:56 -04:00
Sage Weil
d21809b14e
qa/tasks/thrashosds: set min_in default to 4
...
We have EC tests with k=2,m=2, so we need a min of 4.
Fixes: http://tracker.ceph.com/issues/21997
Signed-off-by: Sage Weil <sage@redhat.com>
2017-11-01 08:32:48 -05:00