]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Wed, 7 Jun 2017 03:11:55 +0000 (11:11 +0800)]
common/options: specialize on non bool integeral types
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 12 May 2017 03:31:50 +0000 (22:31 -0500)]
common/options: new options infrastructure
Define schema for config options. Helper to generate a header fragment
to declare the types.
Unlike the old config_opts.h approach, we will not intialize values in
the header. This avoids a recompile if there is a change and also allows
us to specify different defaults and do parsing and validation at runtime.
Instead, we'll intialize values in the constructure of the containing
class.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 May 2017 02:52:23 +0000 (21:52 -0500)]
common: remove max_open_files config option
The only user is init-ceph, and it can get at it via ceph-conf without
the option being declared here.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 May 2017 02:49:35 +0000 (21:49 -0500)]
ceph-syn: parse --num-client locally; remove global option
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 10:16:13 +0000 (18:16 +0800)]
Merge pull request #16028 from jcsp/wip-mgr-commands
mon: load mgr commands at runtime
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 10:12:31 +0000 (18:12 +0800)]
Merge pull request #16415 from xiexingguo/wip-health-mon
mon: a few health fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 08:55:38 +0000 (16:55 +0800)]
Merge pull request #16409 from liupan1111/wip-restructure-bs
os/bluestore: move aio.h/cc from fs dir to bluestore dir
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 08:55:02 +0000 (16:55 +0800)]
Merge pull request #16328 from neha-ojha/recovery_sleep_default
osd: Add recovery sleep configuration option for HDDs and SSDs
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 21 Jul 2017 05:41:43 +0000 (13:41 +0800)]
Merge pull request #16470 from tchaikov/wip-watch-audit-channel
qa/workunits/cephtool/test.sh: fix test to watch audit channel
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Thu, 20 Jul 2017 21:37:03 +0000 (17:37 -0400)]
qa/workunits/cephtool/test.sh: fix test to watch audit channel
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 20 Jul 2017 15:47:05 +0000 (10:47 -0500)]
Merge pull request #16429 from liewegas/wip-jewel-x
qa/suites/upgrade/jewel-x: misc fixes for new health checks
Sage Weil [Thu, 20 Jul 2017 15:44:40 +0000 (10:44 -0500)]
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>
Sage Weil [Thu, 20 Jul 2017 15:43:34 +0000 (10:43 -0500)]
Merge pull request #16423 from liewegas/wip-ls
mon: '* list' -> '* ls'
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 20 Jul 2017 15:43:15 +0000 (10:43 -0500)]
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>
Kefu Chai [Thu, 20 Jul 2017 15:41:53 +0000 (23:41 +0800)]
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>
Yuri Weinstein [Thu, 20 Jul 2017 15:39:21 +0000 (08:39 -0700)]
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>
Yuri Weinstein [Thu, 20 Jul 2017 15:35:07 +0000 (08:35 -0700)]
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>
Kefu Chai [Thu, 20 Jul 2017 14:52:17 +0000 (22:52 +0800)]
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>
Jos Collin [Thu, 20 Jul 2017 14:38:45 +0000 (14:38 +0000)]
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>
Kefu Chai [Thu, 20 Jul 2017 14:13:37 +0000 (22:13 +0800)]
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>
Jason Dillaman [Thu, 20 Jul 2017 13:37:53 +0000 (09:37 -0400)]
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>
Kefu Chai [Thu, 20 Jul 2017 13:20:30 +0000 (21:20 +0800)]
qa/tasks/reg11184: use literal 'foo' instead pool_name
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 20 Jul 2017 12:20:54 +0000 (20:20 +0800)]
Merge pull request #16412 from wido/zabbix-release-notes
doc: Add Zabbix ceph-mgr plugin to PendingReleaseNotes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Wido den Hollander [Wed, 19 Jul 2017 07:33:50 +0000 (09:33 +0200)]
release notes: Add Zabbix ceph-mgr module to PendingReleaseNotes
Signed-off-by: Wido den Hollander <wido@42on.com>
Abhishek Lekshmanan [Wed, 19 Jul 2017 11:57:48 +0000 (13:57 +0200)]
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>
Kefu Chai [Thu, 20 Jul 2017 11:34:35 +0000 (19:34 +0800)]
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>
Willem Jan Withagen [Thu, 20 Jul 2017 10:24:14 +0000 (12:24 +0200)]
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>
Kefu Chai [Thu, 20 Jul 2017 10:06:47 +0000 (18:06 +0800)]
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>
Ilya Dryomov [Thu, 20 Jul 2017 09:28:22 +0000 (11:28 +0200)]
Merge pull request #16428 from idryomov/wip-krbd-luminous-thrash
qa: thrash tests for backoff and upmap
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Kefu Chai [Thu, 20 Jul 2017 06:49:49 +0000 (14:49 +0800)]
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>
Sage Weil [Thu, 20 Jul 2017 03:02:41 +0000 (22:02 -0500)]
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>
Sage Weil [Thu, 20 Jul 2017 03:02:04 +0000 (22:02 -0500)]
Merge pull request #16402 from liewegas/wip-20105
ceph_test_rados_api_watch_notify: flush after unwatch
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 20 Jul 2017 02:47:21 +0000 (22:47 -0400)]
mon: hide 'osd crush rule list' (we prefer 'ls')
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 20 Jul 2017 02:09:28 +0000 (10:09 +0800)]
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>
xie xingguo [Thu, 20 Jul 2017 00:27:00 +0000 (08:27 +0800)]
mon/HealthMonitor: fix summary of monitor clock skew
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Brad Hubbard [Wed, 19 Jul 2017 23:27:10 +0000 (09:27 +1000)]
mon: Fix deep_age copy paste error
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Dan Mick [Wed, 19 Jul 2017 22:02:02 +0000 (15:02 -0700)]
do_cmake.sh: fix syntax for /bin/sh (doesn't have +=)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Sage Weil [Wed, 19 Jul 2017 21:00:00 +0000 (17:00 -0400)]
librados: 'pg ls' is not a mgr command
Note that this breaks the command *during* the mon upgrade from jewel ->
luminous, which is slightly annoying, but means we avoid proxying via the
mon after upgrade is complete, which is good and IMO more important.
In the future we may want librados to cache the command descriptions so
that commands can be directed automatically.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Jul 2017 20:58:14 +0000 (16:58 -0400)]
mon: restore mgr command lookup so that we can still proxy to mgr
Since mgr commands aren't in the main mon_commands array now, we need to
explicitly look up commands there too. This restores the behavior
implemented below in which we forward misdirected mgr commands to the mon.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Jul 2017 20:57:16 +0000 (16:57 -0400)]
mon: constify _get_moncommand
Signed-off-by: Sage Weil <sage@redhat.com>
Neha Ojha [Wed, 19 Jul 2017 21:14:42 +0000 (14:14 -0700)]
doc: update osd recovery sleep description
Signed-off-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Wed, 19 Jul 2017 20:13:27 +0000 (16:13 -0400)]
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>
Yuri Weinstein [Wed, 19 Jul 2017 19:53:25 +0000 (12:53 -0700)]
Merge pull request #15952 from jdurgin/wip-peering-deletes
osd: process deletes during recovery instead of peering
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 19 Jul 2017 19:52:09 +0000 (12:52 -0700)]
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>
Casey Bodley [Wed, 19 Jul 2017 19:48:06 +0000 (15:48 -0400)]
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>
Neha Ojha [Wed, 19 Jul 2017 18:47:10 +0000 (11:47 -0700)]
doc: add osd recovery sleep for HDDs and SSDs
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Wed, 19 Jul 2017 17:57:14 +0000 (12:57 -0500)]
Merge pull request #16431 from jeffgreenca/master
doc: Fixed a typo in yum repo filename script
Sage Weil [Wed, 19 Jul 2017 17:56:10 +0000 (12:56 -0500)]
Merge pull request #15763 from dillaman/wip-pool-tags
mon: support pool application metadata key/values
Reviewed-by: Sage Weil <sage@redhat.com>
Jeff Green [Wed, 19 Jul 2017 17:51:09 +0000 (10:51 -0700)]
doc: Fixed a typo in yum repo filename script
Signed-off-by: Jeff Green <jeff.green.ca@gmail.com>
Jason Dillaman [Wed, 19 Jul 2017 17:11:50 +0000 (13:11 -0400)]
PendingReleaseNotes: included details for the pool tags
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 19 Jul 2017 17:06:04 +0000 (13:06 -0400)]
doc: fixed warning on rbd quick start link reference
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 19 Jul 2017 16:59:51 +0000 (12:59 -0400)]
doc: document pool tags in rados pool operations doc
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 18 Jul 2017 16:10:35 +0000 (12:10 -0400)]
test/librados_test_stub: added new application metadata APIs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 7 Jul 2017 13:26:45 +0000 (09:26 -0400)]
mon: disable application health warnings for upgrade test cases
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 28 Jun 2017 16:56:46 +0000 (12:56 -0400)]
test: skip pool application metadata tests if OSDs not at min luminous
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Jun 2017 01:15:57 +0000 (21:15 -0400)]
test: enable pool applications for new pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 27 Jun 2017 00:51:19 +0000 (20:51 -0400)]
mon: disable application metadata on cache tier pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 26 Jun 2017 13:48:00 +0000 (09:48 -0400)]
rbd: add new 'pool init' action for initializing a RBD pool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 23 Jun 2017 13:30:26 +0000 (09:30 -0400)]
rgw: auto-tag created pools as owned by rgw
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 21 Jun 2017 01:39:05 +0000 (21:39 -0400)]
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>
Jason Dillaman [Tue, 20 Jun 2017 23:26:13 +0000 (19:26 -0400)]
librados: new API to manipulate pool application metadata
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 20 Jun 2017 16:13:42 +0000 (12:13 -0400)]
mon: auto-enable CephFS on pools when using "fs new"/"fs add_data_pool"
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 20 Jun 2017 16:19:07 +0000 (12:19 -0400)]
mon: default 'rbd' pool to the 'rbd' application
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 20 Jun 2017 13:59:20 +0000 (09:59 -0400)]
mon: heuristics for auto-enabling pool applications upon upgrade
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 19 Jun 2017 20:36:42 +0000 (16:36 -0400)]
mon: health warning if in-use pools don't have application enabled
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 19 Jun 2017 20:18:59 +0000 (16:18 -0400)]
mon: added new "osd pool application" commands
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 19 Jun 2017 16:23:01 +0000 (12:23 -0400)]
mon: store application metadata in pg_pool_t
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Wed, 19 Jul 2017 16:33:14 +0000 (12:33 -0400)]
mon: 'auth list' -> 'auth ls'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Jul 2017 13:41:14 +0000 (09:41 -0400)]
mon: 'config-key list' -> 'config-key ls'
Signed-off-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 19 Jul 2017 15:43:16 +0000 (08:43 -0700)]
Merge pull request #16275 from linuxbox2/wip-rgw-readdir-cookie
rgw_file: permit dirent offset computation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 19 Jul 2017 15:42:36 +0000 (08:42 -0700)]
Merge pull request #16368 from theanalyst/fix/rgw-reshard-pool-ns
rgw: use a namespace for rgw reshard pool for upgrades as well
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Wed, 19 Jul 2017 15:02:06 +0000 (10:02 -0500)]
Merge pull request #16395 from jecluis/wip-fix-mon-mgr-bootstrap
mon/AuthMonitor: generate bootstrap-mgr key on upgrade
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Jul 2017 14:47:12 +0000 (09:47 -0500)]
Merge pull request #16425 from smithfarm/wip-ceph-w
doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 19 Jul 2017 14:38:11 +0000 (22:38 +0800)]
Merge pull request #16314 from tchaikov/wip-doc-replace-osd
doc: add instructions for replacing an OSD
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Willem Jan Withagen [Wed, 19 Jul 2017 12:12:16 +0000 (14:12 +0200)]
qa/workunits/cephtool/test.sh: ceph osd stat out has changed, fix tests for that
The output of ceph osd stat has changed,
It printed:
cluster
b370a29d -9287-4ca3-ab57-
3d824f65e339
health HEALTH_OK
monmap e1: 1 mons at {ceph1=10.0.0.8:6789/0}, election epoch 2, quorum 0 ceph1
osdmap e63: 2 osds: 2 up, 2 in
pgmap v41338: 952 pgs, 20 pools, 17130 MB data, 2199 objects
115 GB used, 167 GB / 297 GB avail
952 active+clean
but now the osdmap line has gone and thus this no longer works:
qa/workunits/cephtool/test.sh:1944:
old_pgs=$(ceph osd pool get $TEST_POOL_GETSET pg_num | sed -e 's/pg_num: //')
new_pgs=$(($old_pgs+$(ceph osd stat | grep osdmap | awk '{print $3}')*32))
4: qa/workunits/cephtool/test.sh: line 1945: 10+*32: syntax errotoken is "*32")
- And parse the output in json , with jq, for better reliability
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Wed, 19 Jul 2017 13:57:07 +0000 (21:57 +0800)]
include/assert: test c++ before using static_cast<>
this partially reverts
2e7c72d .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Wed, 19 Jul 2017 14:12:30 +0000 (16:12 +0200)]
doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Wed, 19 Jul 2017 13:13:35 +0000 (21:13 +0800)]
messages/: always set header.version in encode_payload()
we encode the payload w/o the writelock even can_write == NOWRITE, if
the message "can_fast_prepare". in that case, the "feature" of the
connection is 0, as no handshake happens yet. so the header.version is
always set to a version compatible with pre-luminous. but when the
message is re-encoded when the connection is re-established with feature
with luminous, the header.version is not set back to HEADER_VERSION.
that's why the message's encoding is not consistent with header.version
sometimes.
in this change, we always set the header.version in encode_payload(), so
it's consistent even after connection reset and message re-encoding.
Fixes: http://tracker.ceph.com/issues/19939
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 18 Jul 2017 19:49:31 +0000 (15:49 -0400)]
mon: define static mgr_commands at mkfs time
This closes a window between mkfs and when the first mgr goes active
where *no* mgr commands are defined, and things like 'pg dump' fail. We
do not get the default set of commands defined by modules, but we get
everything else.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Jul 2017 20:00:28 +0000 (16:00 -0400)]
mgr: move mgr_commands to separate compilation unit
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Jul 2017 19:44:59 +0000 (15:44 -0400)]
mon/MonCommands: std::
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Jul 2017 20:05:59 +0000 (16:05 -0400)]
mon/MgrMonitor: mark mgr commands with FLAG_MGR
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Thu, 29 Jun 2017 22:06:34 +0000 (18:06 -0400)]
qa/doc: update for "mgr tell" no longer needed
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 29 Jun 2017 10:13:44 +0000 (06:13 -0400)]
mon: load mgr commands dynamically
So that the list of commands includes python modules,
thus allowing python-provided commands to be invoked
by the CLI with out a `tell mgr` prefix.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 29 Jun 2017 19:11:12 +0000 (15:11 -0400)]
mgr: transmit command descriptions to mgr in activating beacon
The mgr already sends a beacon to the mon immediately
after loading python modules in Mgr::init, to indicate
that it is now available. Use that beacon to transmit
the command descriptions.
The monitor should handle this beacon by persisting
the command descriptions before persisting the updated
mgrmap that indicates that the mgr is now active.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 28 Jun 2017 13:47:37 +0000 (09:47 -0400)]
mgr: use MonCommand for command descriptions
...and update the MonCommand encoding so that we
can readily send vectors of them around.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 28 Jun 2017 13:27:07 +0000 (09:27 -0400)]
encoding: remove encode_array_nohead
This was just a for loop. No longer needed for
MonCommands, and the usage in memstore/PageSet
was just iterating over char* and should never have
been there to begin with.
Signed-off-by: John Spray <john.spray@redhat.com>
Abhishek Varshney [Wed, 19 Jul 2017 11:57:08 +0000 (11:57 +0000)]
rgw: fix error message in removing bucket with --bypass-gc flag
Fixes: http://tracker.ceph.com/issues/20688
Signed-off-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
Abhishek L [Wed, 19 Jul 2017 11:25:10 +0000 (13:25 +0200)]
Merge pull request #16411 from smithfarm/wip-crn-regression
tools: ceph-release-notes: refactor and fix regressions
Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Ilya Dryomov [Mon, 10 Jul 2017 14:54:24 +0000 (16:54 +0200)]
qa/suites/krbd: add luminous thrash tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Mon, 10 Jul 2017 14:54:24 +0000 (16:54 +0200)]
qa/suites/krbd: reorganize thrash tests
- factor out install and ceph into ceph/ceph.yaml
- pg_num thrashing + 20 minute health timeout for thrashosds
- common thrashosds-health.yaml whitelist
- drop iozone workload
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 4 Jul 2017 15:24:22 +0000 (17:24 +0200)]
qa/suites/krbd: heavier rbd_fio workload
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 4 Jul 2017 15:20:51 +0000 (17:20 +0200)]
qa/tasks/rbd_fio: dump fio options before starting
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 4 Jul 2017 15:09:22 +0000 (17:09 +0200)]
qa/tasks/rbd_fio: support libaio engine
Want to set iodepth and do direct AIO.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Nathan Cutler [Wed, 19 Jul 2017 08:35:04 +0000 (10:35 +0200)]
tools: ceph-release-notes: match Reviewed-by more liberally
Signed-off-by: Nathan Cutler <ncutler@suse.com>
xie xingguo [Wed, 19 Jul 2017 09:10:29 +0000 (17:10 +0800)]
mon/HealthMonitor: fix mon_warn_on_osd_down_out_interval_zero does not work
And the output is wrong...
cluster:
id:
b979e20d -6441-46b4-8663-
954e1e8ce01d
health: HEALTH_WARN
1 osds down
mon %names has mon_osd_down_out_interval set to 0
Now:
health: HEALTH_WARN
mon a is low on available space
mon a has mon_osd_down_out_interval set to 0
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 19 Jul 2017 08:48:13 +0000 (16:48 +0800)]
mon/HealthMonitor: fix wrong health level
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 19 Jul 2017 08:43:50 +0000 (16:43 +0800)]
mon/HealthMonitor: fix regex formatting
Was:
./bin/ceph -s
cluster:
id:
0f704e51 -f496-4812-a782-
f6bcc490a109
health: HEALTH_ERR
mon%plurals% %names% %isorare% low on available space
Now:
./bin/ceph -s
cluster:
id:
1bb2cc6d -ba6f-467a-b811-
994101a42749
health: HEALTH_ERR
mon a is low on available space
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Nathan Cutler [Wed, 19 Jul 2017 07:37:31 +0000 (09:37 +0200)]
tools: ceph-release-notes: fix sorted() key lambda regression
https://github.com/ceph/ceph/pull/16261 ported the script to Python 3, but it
retained the 2-argument version of the sorted() key function - in Python 3 the
key function takes only one argument.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 17 Jul 2017 10:16:25 +0000 (12:16 +0200)]
tools: ceph-release-notes: refactor and fix regression
This commit refactors the logic for determining the PR title and merge message,
and fixes a regression introduced by https://github.com/ceph/ceph/pull/16277
Signed-off-by: Nathan Cutler <ncutler@suse.com>