Yan Jun
53c850541e
common: dump field name of 'flag_point' and 'client_info'
...
we used to open "type_data" section as a array (that's open_array_section),
some key field names can not be dumped out. use open_object_section to dump them
as following:
before this change:
------------------
"description": "osd_op(client.4202.0:4958 3.28 3:163e8348:::rbd_data.10472ae8944a.0000000000000164:head [write 1691648~4096 [fadvise_sequential]] snapc 0=[] ondisk+write+known_if_redirected e24)",
"initiated_at": "2017-07-22 14:22:13.469324",
"age": 17.595664,
"duration": 0.460406,
"type_data": [
"commit sent; apply or cleanup",
{
"client": "client.4202",
"client_addr": "-",
"tid": 4958
},
-----------------
after:
-----------------
"description": "osd_op(client.24123.0:328 3.36 3:6ec0d61b:::rbd_data.10472ae8944a.0000000000000289:head [write 4141056~4096 [fadvise_sequential]] snapc 0=[] ondisk+write+known_if_redirected e36)",
"initiated_at": "2017-07-22 14:24:25.925633",
"age": 4.893190,
"duration": 0.272642,
"type_data": {
"flag_point": "commit sent; apply or cleanup",
"client_info": {
"client": "client.24123",
"client_addr": "-",
"tid": 328
},
----------------
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-22 14:27:55 +08:00
Sage Weil
27e8d75f61
Merge pull request #16429 from liewegas/wip-jewel-x
...
qa/suites/upgrade/jewel-x: misc fixes for new health checks
2017-07-20 10:47:05 -05:00
Sage Weil
ed48ed1b74
Merge pull request #16374 from majianpeng/bluestore-double-count-kv-queue-lat
...
os/bluestore/BlueStore: Avoid double counting state_kv_queued_lat.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-20 10:44:40 -05:00
Sage Weil
3de9f22ce0
Merge pull request #16423 from liewegas/wip-ls
...
mon: '* list' -> '* ls'
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 10:43:34 -05:00
Sage Weil
de856e7371
Merge pull request #16434 from badone/wip-fix-deep-age-reporting
...
mon: Fix deep_age copy paste error
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 10:43:15 -05:00
Kefu Chai
acc24bf0dc
Merge pull request #16444 from tchaikov/wip-test-osd-stat
...
qa/workunits/cephtool/test.sh: "ceph osd stat" output changed, update accordingly
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-20 23:41:53 +08:00
Yuri Weinstein
94b02a69d4
Merge pull request #14287 from oritwas/wip-rgw-usage
...
rgw: usage
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-07-20 08:39:21 -07:00
Yuri Weinstein
c31f25bedf
Merge pull request #15673 from yehudasa/wip-20107
...
cls/refcount: store and use list of retired tags
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-20 08:35:07 -07:00
Kefu Chai
153d030e1d
Merge pull request #16421 from tchaikov/wip-19939
...
messages/: always set header.version in encode_payload()
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-20 22:52:17 +08:00
Jos Collin
c6e90d93a3
Merge pull request #16418 from theanalyst/doc-rgw-tenant-names
...
doc: rgw clarify limitations when creating tenant names
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-20 14:38:45 +00:00
Kefu Chai
3dfa9daeca
Merge pull request #16443 from wjwithagen/bug-wjw-qa-test-reorder
...
cephtool/test.sh: Only delete a test pool when no longer needed.
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-20 22:13:37 +08:00
Jason Dillaman
b47eb210c8
Merge pull request #16451 from tchaikov/wip-qa-reg11184
...
qa/tasks/reg11184: use literal 'foo' instead pool_name
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-20 09:37:53 -04:00
Kefu Chai
a1d16185a2
qa/tasks/reg11184: use literal 'foo' instead pool_name
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-20 21:35:41 +08:00
Kefu Chai
ff039c082f
Merge pull request #16412 from wido/zabbix-release-notes
...
doc: Add Zabbix ceph-mgr plugin to PendingReleaseNotes
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 20:20:54 +08:00
Wido den Hollander
dacd41e043
release notes: Add Zabbix ceph-mgr module to PendingReleaseNotes
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-07-20 14:08:45 +02:00
Abhishek Lekshmanan
878d8486be
doc: rgw clarify limitations when creating tenant names
...
We only allow alphanumeric and underscore characters in tenant names
according to the validation in `RGWHandler_REST::validate_tenant_name`
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-20 14:01:07 +02:00
Kefu Chai
ba525a829c
qa/workunits/cephtool/test.sh: "ceph osd stat" output changed, update test accordingly
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-20 19:34:53 +08:00
Willem Jan Withagen
e3760fa936
cephtool/test.sh: Only delete a test pool when no longer needed.
...
the pool_getset pool is deleted before all tests on it are complete
4: /home/jenkins/workspace/ceph-master/qa/workunits/cephtool/test.sh:1990: test_mon_osd_pool_set: ceph osd pool delete pool_get
set pool_getset --yes-i-really-really-mean-it
4: pool 'pool_getset' removed
4: /home/jenkins/workspace/ceph-master/qa/workunits/cephtool/test.sh:1992: test_mon_osd_pool_set: ceph osd pool get rbd crush_r
ule
4: /home/jenkins/workspace/ceph-master/qa/workunits/cephtool/test.sh:1992: test_mon_osd_pool_set: grep 'crush_rule: '
4: crush_rule: replicated_rule
4: /home/jenkins/workspace/ceph-master/qa/workunits/cephtool/test.sh:1994: test_mon_osd_pool_set: ceph -f json osd pool get poo
l_getset compression_mode
4: Error ENOENT: unrecognized pool 'pool_getset'
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-20 12:24:14 +02:00
Kefu Chai
aea471d73a
Merge pull request #16403 from wjwithagen/bug-wjw-ceph-osd-stat
...
test: ceph osd stat out has changed, fix tests for that
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 18:06:47 +08:00
Ilya Dryomov
67db89f6c2
Merge pull request #16428 from idryomov/wip-krbd-luminous-thrash
...
qa: thrash tests for backoff and upmap
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-20 11:28:22 +02:00
Kefu Chai
37a7035a8e
Merge pull request #16424 from tchaikov/wip-assert-in-c
...
include/assert: test c++ before using static_cast<>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-20 14:49:49 +08:00
Sage Weil
25bbe36b98
Merge pull request #16400 from liewegas/wip-crush-rule-id
...
crush: s/ruleset/id/ in decompiled output; prevent compilation when ruleset != id
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-19 22:02:41 -05:00
Sage Weil
676ea6e2d7
Merge pull request #16402 from liewegas/wip-20105
...
ceph_test_rados_api_watch_notify: flush after unwatch
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-19 22:02:04 -05:00
Sage Weil
d6db84ca76
mon: hide 'osd crush rule list' (we prefer 'ls')
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-19 22:47:21 -04:00
Kefu Chai
c483e8b658
Merge pull request #16433 from dmick/wip-ccache
...
do_cmake.sh: fix syntax for /bin/sh (doesn't have +=)
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 10:09:28 +08:00
Brad Hubbard
a262385270
mon: Fix deep_age copy paste error
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-07-20 09:27:10 +10:00
Dan Mick
137f3018cd
do_cmake.sh: fix syntax for /bin/sh (doesn't have +=)
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-07-19 15:04:47 -07:00
Casey Bodley
4961a46b75
Merge pull request #16309 from fangyuxiangGL/fix-admin-rest-api
...
rgw: modify email to empty by admin RESTful api doesn't work
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-19 16:13:27 -04:00
Yuri Weinstein
c968a3d5ba
Merge pull request #15952 from jdurgin/wip-peering-deletes
...
osd: process deletes during recovery instead of peering
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-19 12:53:25 -07:00
Yuri Weinstein
77ff17200d
Merge pull request #16376 from jecluis/wip-mon-fix-loglast
...
mon/LogMonitor: don't read list's end() for log last
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-19 12:52:09 -07:00
Casey Bodley
6f5d375206
Merge pull request #16419 from Abhishekvrshny/fix-err-msg
...
rgw: fix error message in removing bucket with --bypass-gc flag
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-07-19 15:48:06 -04:00
Sage Weil
fcd84e2cf5
Merge pull request #16431 from jeffgreenca/master
...
doc: Fixed a typo in yum repo filename script
2017-07-19 12:57:14 -05:00
Sage Weil
adfe940fa2
Merge pull request #15763 from dillaman/wip-pool-tags
...
mon: support pool application metadata key/values
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-19 12:56:10 -05:00
Jeff Green
b0db88ed15
doc: Fixed a typo in yum repo filename script
...
Signed-off-by: Jeff Green <jeff.green.ca@gmail.com>
2017-07-19 10:51:09 -07:00
Jason Dillaman
e5b9fd8142
PendingReleaseNotes: included details for the pool tags
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:17 -04:00
Jason Dillaman
e580bd0b6a
doc: fixed warning on rbd quick start link reference
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
878d0b0c3f
doc: document pool tags in rados pool operations doc
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
7324554e80
test/librados_test_stub: added new application metadata APIs
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
25a1623413
mon: disable application health warnings for upgrade test cases
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
836ab7ad95
test: skip pool application metadata tests if OSDs not at min luminous
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
fa90be842e
test: enable pool applications for new pools
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
b0e7b0c553
mon: disable application metadata on cache tier pools
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
73789cf9d9
rbd: add new 'pool init' action for initializing a RBD pool
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
654336b039
rgw: auto-tag created pools as owned by rgw
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
542d888baa
librados: added async application enable API
...
RGW has numerous pool creation calls, one of which utilizes
an async interface. This adds support for RGW's use-case.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
f7a67cfbe4
librados: new API to manipulate pool application metadata
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
365e55635d
mon: auto-enable CephFS on pools when using "fs new"/"fs add_data_pool"
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
7ee6c045aa
mon: default 'rbd' pool to the 'rbd' application
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
6d7ac66ae2
mon: heuristics for auto-enabling pool applications upon upgrade
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
688026741b
mon: health warning if in-use pools don't have application enabled
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00