Kefu Chai
46bf019cbe
test: switch from xmlstartlet to jq
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:52 -04:00
Kefu Chai
30f0ae0496
qa/workunites/ceph-helpers.sh: move flush_pg_stats() here
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:47 -04:00
Kefu Chai
3c12465f96
qa/workunits/cephtool/test.sh: use jq instead of awk to select the require element
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:46 -04:00
Kefu Chai
44708d8365
qa/workunits/cephtool/test.sh: use flush_pg_stats to sync mon with osd
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:46 -04:00
Kefu Chai
74752505bf
mgr: add a command "mgr report"
...
* extract send_report() out of tick() so it can be reused.
* add a commmand "mgr report-mon" for mgr, so we are able to flush the
the mgr stats to mon actively without waiting for the tick. this
could help with the tests.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:46 -04:00
Sage Weil
cd00aae1c3
qa/workunits/cephtool/test.sh: fix flush_pg_stats usage
...
Use a helper.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-02 13:02:45 -04:00
Sage Weil
ab1b78ae00
qa/tasks: use new reliable flush_pg_stats helper
...
The helper gets a sequence number from the osd (or osds), and then
polls the mon until that seq is reflected there.
This is overkill in some cases, since many tests only require that the
stats be reflected on the mgr (not the mon), but waiting for it to also
reach the mon is sufficient!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-02 13:02:45 -04:00
Kefu Chai
62d1960cb9
test: pass mon_pg_warn_min_per_osd=3 to mgr also
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-02 13:02:43 -04:00
Sage Weil
07ddeb24c7
qa/workunites/ceph-helpers.sh: do not bail when num_pg==0
...
Right after the cluster is created when the first mgr report hasn't come
in yet we will report 0 pgs.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-02 13:02:11 -04:00
Sage Weil
6bedb4c35a
Merge pull request #15395 from liewegas/wip-log-entity
...
common/LogEntry: include EntityName in log entries
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-02 10:19:58 -05:00
Sage Weil
ea5b054e65
qa/workunits/cephtool/test.sh: adjust watch test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-01 22:22:24 -04:00
Yuri Weinstein
02242ea48e
Removed all 'default_idle_timeout' due to chnage in rwg task
...
8c74c8a639 (diff-995b04809fcabacc3e3ecfaea903a41aL539)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-06-01 14:01:30 -07:00
Sage Weil
b5da257b2a
Merge pull request #15400 from yehudasa/wip-20128
...
qa/rgw_snaps: move default_idle_timeout config under the client
2017-06-01 14:22:39 -05:00
John Spray
01c46bf832
Merge pull request #15205 from batrick/i20039
...
mds: check export pin during replay
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-06-01 11:23:02 +01:00
Yehuda Sadeh
1cb7f4aa77
qa/rgw_snaps: move default_idle_timeout config under the client
...
Fixes: http://tracker.ceph.com/issues/20128
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-05-31 17:14:47 -07:00
Sage Weil
2984e5a120
Merge pull request #14457 from ceph/wip-rest-flask
...
ceph-mgr: Implement new pecan-based rest api
2017-05-31 17:48:43 -05:00
Jason Dillaman
aa94770219
Merge pull request #15388 from idryomov/wip-krbd-fallocate-tests
...
qa: krbd discard/zeroout tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-31 12:38:15 -04:00
Ilya Dryomov
156cf45214
qa: krbd discard/zeroout tests
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-05-31 14:39:08 +02:00
Yehuda Sadeh
760c5e4f86
Merge pull request #15184 from cbodley/wip-qa-rgw-cleanup
...
qa/rgw: remove apache/fastcgi and radosgw-agent tests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-05-30 13:09:31 -07:00
Patrick Donnelly
76335b0e0f
qa: improve debug message for subtree wait
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-30 09:08:27 -07:00
Sage Weil
22ddc2e64a
qa/suites/upgrade/kraken-x: enable experimental for bluestore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-30 09:28:13 -04:00
Sage Weil
99d96c3c09
Merge pull request #15294 from liewegas/wip-osd-tree
...
osd: 'osd tree in|out|up|down' to filter tree results
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-30 08:22:35 -05:00
Sage Weil
0027a3b9be
mon: add up|down|in|out filters to 'osd tree'
...
For example, 'ceph osd tree down' will show *just* down OSDs and their
ancestors. \o/
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-30 08:21:16 -04:00
Sage Weil
3118d9a154
osd: replace require_*_osds flags with require_osd_release field
...
- OSDMap encode and decode translate between the flags and int
representations.
- OSDMap::Incremental only does decode; we do not expect to ever encode
an incremental osdmap for an old osd that sets any of these flags.
- the 'osd set' command still lets you set the jewel and kraken flags,
but not luminous.
- OSDMap::apply_incremental handles the conversion of legacy require flags
to the new field if the jewel or kraken flags have to be set before
starting the osd upgrade.
- clear out the legacy flags when we make the luminous transition only;
until then we keep using the old flag in the encoded and decoded version
(although the require_osd_release field will be accurate in memory in all
cases).
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-29 21:33:17 -04:00
Sage Weil
8554158574
Merge pull request #15325 from liewegas/wip-redirect
...
osd,librados: add manifest, redirect
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-29 14:48:33 -05:00
Sage Weil
a9a728fe4d
Merge pull request #15296 from liewegas/wip-fix-at-end
...
qa/tasks/repair_test: unset flags we set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-27 22:11:31 -05:00
Kefu Chai
c6f1c06de9
Merge pull request #14284 from tchaikov/wip-19439
...
qa/tasks/rebuild_mondb: grant "mgr:allow *" to client.admin
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-28 10:38:26 +08:00
Kefu Chai
8abc6e1bea
qa/tasks/rebuild_mondb: update to address ceph-mgr changes
...
- revive ceph-mgr after updating the keyring cap
- grant "mgr:allow *" to client.admin
- minor refactors
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-28 09:59:50 +08:00
Kefu Chai
af97f164d7
Merge pull request #15111 from Liuchang0812/wip-19885-mgr-help
...
ceph: introduce "tell x help" subcommand
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-27 10:53:22 +08:00
Sage Weil
9a22b1a6ac
qa/suites/rados/thrash-luminous: redirects require luminous
...
...so skip the at-end variant of d-luminous.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-26 22:52:48 -04:00
Sage Weil
a4247dd594
Merge branch 'wip-extensible_tier-redirect' of git://github.com/myoungwon/ceph into wip-redirect
2017-05-26 22:50:14 -04:00
Gregory Farnum
032466d72d
Merge pull request #15214 from gregsfortytwo/wip-19931-snaptrim-pgref
...
osd: don't leak pgrefs or reservations in SnapTrimmer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-26 14:50:00 -07:00
Greg Farnum
4caf2df0c3
osd: do not default-abort on leaked pg refs
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-26 14:43:26 -07:00
Sage Weil
d6c4925793
Merge pull request #14746 from wjwithagen/wip-wjw-reduce-noise-2
...
src/ceph.in: Use env(CEPH_DEV) to suppress noise from ceph
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-26 09:30:17 -05:00
Jason Dillaman
32bd33eb1b
Merge pull request #15290 from idryomov/wip-krbd-unmap-straw
...
qa/suites/krbd: unmap subsuite needs straw buckets
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-26 09:27:50 -04:00
Willem Jan Withagen
f28f4cbc20
./qa/workunits/ceph-helpers.sh: Do not trace kill_daemon
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-05-26 12:07:28 +02:00
liuchang0812
b0af39713b
test/cephtool: convert FS_NAME to local variable
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
5680936878
tool/ceph: create "tell x help" command
...
Fixes: http://tracker.ceph.com/issues/19885
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
Sage Weil
d292b5419f
qa/tasks/repair_test: unset flags we set
...
In particular, noscrub and nodeepscrub leave a health
warning, which prevents shutdown with at-end.yaml.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 18:05:42 -04:00
Yuri Weinstein
25b8e0f63f
Merge pull request #15146 from tchaikov/wip-split-test-tiering
...
qa: split test_tiering into smaller pieces
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-25 13:43:53 -07:00
John Spray
f80e0973f5
Merge pull request #15062 from ukernel/wip-19912
...
qa/tasks/cephfs: use getattr to guarantee inode is in client cache
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-25 18:44:54 +01:00
Ilya Dryomov
ffb9e09b18
qa/suites/krbd: unmap subsuite needs straw buckets
...
The default tunables for luminous allow straw2 buckets, which aren't
supported by pre-single-major.yaml kernel. The map is generated before
crush_tunables override takes effect, so set the bucket algorithm to
straw manually.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-05-25 16:11:06 +02:00
Sage Weil
6d520e9166
Merge pull request #15276 from liewegas/wip-ext4-again
...
qa/suites/rados/singleton-nomsgr: fix syntax
2017-05-24 17:09:25 -05:00
Sage Weil
5d80c74e63
Merge pull request #15252 from liewegas/wip-cleanup-tell
...
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 17:05:32 -05:00
Sage Weil
d2dac535f5
qa/suites/rados/singleton-nomsgr/health...: whitelist wrongly marked me down
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 17:58:12 -04:00
Sage Weil
85e2f3f31d
qa/suites/rados/singleton-nomsgr: fix syntax
...
This parsed out as
tasks:
- install: null
- ceph:
conf:
osd: osd max object name len = 400 osd max object namespace len = 64
- workunit:
clients:
all:
- rados/test_health_warnings.sh
which is clearly not correct.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 16:46:00 -04:00
John Spray
ef9d555916
Merge pull request #15105 from ukernel/wip-19892
...
qa/cephfs: disable mds_bal_frag for TestStrays.test_purge_queue_op_rate
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-24 16:41:45 +01:00
John Spray
ee75318807
Merge pull request #15122 from batrick/test-fragment-error
...
qa: fix float parse error in test_fragment
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 16:40:50 +01:00
Sage Weil
5ab996ab3c
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete
...
This died forever ago; no need for the fallback here.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-23 22:53:53 -04:00
Sage Weil
1f5c50aa56
Merge pull request #15177 from liewegas/wip-bluestore-nonexperimental
...
os: remove experimental status for BlueStore
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-05-23 21:48:06 -05:00