]>
 
 
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log 
 
 
 
 
 
 
John Spray  [Wed, 12 Jul 2017 13:05:32 +0000  (09:05 -0400)] 
 
osd: implement `config set` 
 
This is a friendlier replacement for injectargs. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 12 Jul 2017 12:49:43 +0000  (08:49 -0400)] 
 
common: pass up error strings from set_val 
 
This is so that we can use it as a replacment 
for the ugly injectargs. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 12 Jul 2017 11:57:10 +0000  (07:57 -0400)] 
 
common: implement "config help" to output schema 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Tue, 11 Jul 2017 18:24:26 +0000  (14:24 -0400)] 
 
rgw: treat config ints as 64 bit 
 
In the new world, all int config values are 64 bit.  When 
doing a min() like this, need both sides in the same type. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Tue, 11 Jul 2017 14:08:20 +0000  (10:08 -0400)] 
 
common: respect daemon defaults in config options 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Tue, 11 Jul 2017 12:25:26 +0000  (08:25 -0400)] 
 
common: re-add unsigned config option type 
 
As long as some options are being consumed 
via md_config_t:: members, various users 
of (unsigned) int values will get compile warnings 
when they e.g. compare them with other unsigned values. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Tue, 11 Jul 2017 11:00:54 +0000  (07:00 -0400)] 
 
common: reinstate config opt validators 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Mon, 10 Jul 2017 12:43:25 +0000  (08:43 -0400)] 
 
common: sync up options.cc with latest master 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 7 Jul 2017 14:12:18 +0000  (10:12 -0400)] 
 
common/config: hook in new Option config descriptions 
 
The C++ class member fields continue to exist for 
settings defined in common/legacy_config_opts.h, but 
all the schema information is coming from common/options.cc 
now. 
 
The values in md_config_t::values are automatically 
copied into the C++ class member fields for legacy config 
options as needed. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 7 Jul 2017 14:08:57 +0000  (10:08 -0400)] 
 
log/SubsystemMap: return a size_t from get_num 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Fri, 7 Jul 2017 14:08:07 +0000  (10:08 -0400)] 
 
mgr: tighten initialization of keyring setting 
 
We should not proceed if setting this fails.  Also 
the meta=false setting is not what you want when 
calling into set_val after initialization, I'm not sure 
how that ever worked! 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 20:32:05 +0000  (16:32 -0400)] 
 
common: separate config opts definitions from subsys definitions 
 
Previously these were all in one header and inclusions of it 
got really verbose from everyone having to define SUBSYS and OPTION 
macros even though they only wanted to pick out one or the other. 
 
Also, this separates the subsys.h stuff (staying) from the legacy 
config opt definitions (transitional, will go). 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 20:25:17 +0000  (16:25 -0400)] 
 
common: remove ::validate definitions 
 
These will be replaced by validate methods 
on Option subclasses that need them.  The code 
that was in these files moved to options.[h|cc] 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 13:12:46 +0000  (09:12 -0400)] 
 
common: hook in 'safe' flag to new config options 
 
It's a poor substitute for real a concurrency solution 
but for the moment carry it forward so that the options 
structure can replace the list of config_option 
in md_config_t. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 11:18:30 +0000  (07:18 -0400)] 
 
common: s/config_opts/legacy_config_opts/ 
 
Name change reflects that newly added config opts 
don't need to go here. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 11:04:47 +0000  (07:04 -0400)] 
 
common: use a vector instead of array in options.cc 
 
Avoids retro 80s style blank entry at the end :-) 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
John Spray  [Wed, 5 Jul 2017 10:58:09 +0000  (06:58 -0400)] 
 
common: rip out option code generation bit 
 
We can have a legacy (static field) config object 
that includes fields from config_opts.h, and 
then switch to using dynamic get() for newly 
added options, so that we don't need to do 
code generation for the new config infrastructure. 
 
Signed-off-by: John Spray <john.spray@redhat.com>  
Sage Weil  [Mon, 26 Jun 2017 19:31:34 +0000  (15:31 -0400)] 
 
g++ ../src/convert.cc -o cv -I../src -I. 
./cv > /tmp/foo 
...and copy that into options.cc 
bin/generate_option_header > ../src/common/config_fields.h 
 
Signed-off-by: Sage Weil <sage@redhat.com>  
Kefu Chai  [Wed, 7 Jun 2017 03:42:32 +0000  (11:42 +0800)] 
 
common/options: more constness 
 
Signed-off-by: Kefu Chai <kchai@redhat.com>  
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>