]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Fri, 16 Jun 2017 02:04:30 +0000 (10:04 +0800)]
Merge pull request #15622 from joscollin/wip-CID1412576-divide-by-zero
mon: DIVIDE_BY_ZERO in PGMapDigest::dump_pool_stats_full()
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Jun 2017 02:03:16 +0000 (10:03 +0800)]
Merge pull request #15596 from smithfarm/wip-copying
build/ops: rpm: package COPYING, move sample ceph.conf to ceph-common
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Jun 2017 02:01:34 +0000 (10:01 +0800)]
Merge pull request #15668 from Liuchang0812/wip-fix-mgr-dashboard
mgr/dashboard: fix type error in get_rate function
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Jun 2017 02:00:02 +0000 (10:00 +0800)]
Merge pull request #15650 from gmayyyha/filestore-zfs
os/filestore: zfs add get_name()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Jun 2017 01:59:25 +0000 (09:59 +0800)]
Merge pull request #15680 from xiexingguo/wip-bluestore-
20170614
os/bluestore: cleanup bluestore_types
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Jun 2017 01:57:51 +0000 (09:57 +0800)]
Merge pull request #15704 from tchaikov/wip-mgr-raise-in-send-command
mgr: raise python exception on failure in send_command()
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 21:35:26 +0000 (16:35 -0500)]
Merge pull request #15654 from lixiaoy1/lisa_bid
bluestore: wrap blob id when it reaches maximum value of int16_t
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 21:34:35 +0000 (16:34 -0500)]
Merge pull request #15666 from xiexingguo/wip-fix-shard-finishers
os/bluestore: initialize finishers properly
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 21:34:10 +0000 (16:34 -0500)]
Merge pull request #15675 from gregsfortytwo/wip-bad-command
mon,mgr: fix "ceph osd df", add some tools to find untested commands
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 15 Jun 2017 21:33:52 +0000 (16:33 -0500)]
Merge pull request #15687 from xiexingguo/wip-fix-decode-oi
osd/OSD: bump up current version; conditionally encoding manifest into oi
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 21:33:09 +0000 (16:33 -0500)]
Merge pull request #15696 from liewegas/wip-19947
osd/PrimaryLogPG: fix oi reset during trim_object
John Spray [Thu, 15 Jun 2017 18:23:25 +0000 (14:23 -0400)]
Merge pull request #15407 from david-z/wip-fix-mds-balancer
mds/MDBalancer: remove useless check_targets and hit_targets logic from MDS balancer
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Josh Durgin [Thu, 15 Jun 2017 18:01:09 +0000 (14:01 -0400)]
Merge pull request #15095 from gregsfortytwo/wip-doc-mark-event
doc: describe mark_events logging available via the OSD's OpTracker
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Thu, 15 Jun 2017 17:24:07 +0000 (13:24 -0400)]
Merge pull request #15698 from Wilhelmshaven/remove_unused_func
rgw: remove unused func in rgw_file.h
Sage Weil [Thu, 15 Jun 2017 16:43:19 +0000 (11:43 -0500)]
Merge pull request #15707 from tchaikov/wip-20239
doc: document the setup of restful and dashboard plugins
John Spray [Thu, 15 Jun 2017 16:07:59 +0000 (12:07 -0400)]
Merge pull request #15125 from ukernel/wip-multimds-misc2
mds: miscellaneous multimds fixes part2
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 15 Jun 2017 16:06:35 +0000 (12:06 -0400)]
Merge pull request #15440 from ukernel/wip-20170
mds: multimds flock fixes
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 15 Jun 2017 14:50:44 +0000 (10:50 -0400)]
Merge pull request #15308 from jcsp/wip-19706
mon: don't kill MDSs unless some beacons are getting through
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
John Spray [Thu, 15 Jun 2017 14:50:07 +0000 (10:50 -0400)]
Merge pull request #15411 from jcsp/wip-fs-suite
qa: misc cephfs test improvements
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Thu, 15 Jun 2017 14:46:08 +0000 (09:46 -0500)]
Merge pull request #15708 from markhpc/wip-bluestore-shard_target
os/bluestore: target_bytes should scale with meta/data ratios.
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Thu, 15 Jun 2017 14:15:06 +0000 (10:15 -0400)]
Merge pull request #15082 from joke-lee/fix-website-redirect-request-to-master
rgw-multisite: fix the problem of rgw website configure request not redirect to metadata master
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 15 Jun 2017 14:13:48 +0000 (10:13 -0400)]
Merge pull request #15617 from joke-lee/fix_put_bucket_policy_when_set_again
rgw: fix RGWPutBucketPolicy error when set BucketPolicy again without delete pre set Policy
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 15 Jun 2017 14:01:50 +0000 (10:01 -0400)]
osd/PrimaryLogPG: fix oi reset during trim_object
We partially fixed this in
cd1271b4324431d16d3868a9f3b93cbefeeee057
but cleared the wrong oi (the clone's and not the
snap/head object's).
While we're here, drop the various bits where we clear
state bits; these are about to get clobbered when we reset
oi anyway.
Fixes: http://tracker.ceph.com/issues/19947
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 14:00:03 +0000 (09:00 -0500)]
Merge pull request #15631 from xiexingguo/wip-bluestore-
20170612
os/bluestore: stop calculating bound if we must reshard; narrow shard combination condition
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Jun 2017 13:59:43 +0000 (08:59 -0500)]
Merge pull request #15636 from tsg-/isal-ec-avx512
erasure-code: update ec_isa version + add missing AVX512 ISA-L sources
Sage Weil [Thu, 15 Jun 2017 13:59:14 +0000 (08:59 -0500)]
Merge pull request #15639 from liewegas/wip-20167
osd/PG: make non-empty PastIntervals non-fatal
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 15 Jun 2017 13:58:50 +0000 (08:58 -0500)]
Merge pull request #15641 from jecluis/wip-mon-deprecate-osd-create
mon: mark `osd create` as deprecated
Reviewed-by: Sage Weil <sage@redhat.com>
Mark Nelson [Thu, 15 Jun 2017 13:23:23 +0000 (08:23 -0500)]
os/Bluestore: target_bytes should scale with meta/data ratios.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
Nathan Cutler [Fri, 9 Jun 2017 09:52:59 +0000 (11:52 +0200)]
build/ops: rpm: package COPYING, move conf example to ceph-common
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 15 Jun 2017 11:16:42 +0000 (13:16 +0200)]
build/ops: drop sample.fetch_config
smithfarm: @liewegas Is src/fetch_config still needed?
liewegas: i don't think so
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Thu, 15 Jun 2017 11:10:13 +0000 (19:10 +0800)]
doc: document the setup of restful and dashboard plugins
Fixes: http://tracker.ceph.com/issues/20239
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Wed, 14 Jun 2017 07:28:30 +0000 (15:28 +0800)]
os/bluestore: add sanity check when appending pextents of blob
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 14 Jun 2017 06:05:06 +0000 (14:05 +0800)]
os/bluestore: dedup is_allocated() and is_unallocated() of bluestore_blob_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 15 Jun 2017 08:12:04 +0000 (16:12 +0800)]
Merge pull request #15646 from tchaikov/wip-20258
pybind/mgr/restful: use list to pass hooks to create a `Pecan` instance
Reviewed-by: Boris Ranto <branto@redhat.com>
Kefu Chai [Thu, 15 Jun 2017 08:10:47 +0000 (16:10 +0800)]
mon/OSDMonitor: more assert()
this helps with silencing the clang analyzer also.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Jun 2017 07:48:39 +0000 (15:48 +0800)]
mgr: raise python exception on failure in send_command()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Jun 2017 02:14:59 +0000 (10:14 +0800)]
pybind/mgr/restful: return 400 on bad request
we should return 500 on that case. it's the client's fault not feeding us
with expected requests.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Thu, 15 Jun 2017 06:32:45 +0000 (09:32 +0300)]
Merge pull request #15694 from cbodley/wip-qa-rgw-thrash-encryption
qa/rgw: add encryption config for s3tests under thrash
Brad Hubbard [Thu, 15 Jun 2017 02:58:17 +0000 (12:58 +1000)]
Merge pull request #15684 from badone/wip-refactor-of-osdmap-methods
osd/OSDMap: Change *pg_to_* to return void
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Thu, 15 Jun 2017 02:52:11 +0000 (10:52 +0800)]
Merge pull request #15692 from joscollin/wip-test-mon-Wreorder-warning
test/mon: silence warnings from -Wreorder
Reviewed By: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
lihongjie [Thu, 15 Jun 2017 02:50:32 +0000 (10:50 +0800)]
rgw: remove unused func in rgw_file.h
Signed-off-by: lihongjie <lihongjie@cmss.chinamobile.com>
Kefu Chai [Thu, 15 Jun 2017 02:23:29 +0000 (10:23 +0800)]
Revert "qa/suites/rados/rest/mgr-restful: test on centos"
This reverts commit
be88220965c37f2f36c61368f465a197ac76bed3 .
we can workaround the limit of old requests by using the backward
compatible way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 15 Jun 2017 02:13:12 +0000 (10:13 +0800)]
qa/workunits/rest/test_mgr_rest_api.py: set headers for requests
i think it's a bug in httplib shipped in old distro.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 13 Jun 2017 02:37:49 +0000 (10:37 +0800)]
pybind/mgr/restful: use list to pass hooks to create a `Pecan` instance
pecan 0.3.2 introduced the new way to pass the hooks to construct a
Pecan instance, but the "callable" builder for hooks is not compatible
with pecan < 0.3.2. and ubuntu trusty ships pecan 0.3.0, so we need to
do this the old way: pass a list of hooks instead of a callable.
see https://github.com/pecan/pecan/blame/0.3.2/pecan/core.py and
https://github.com/pecan/pecan/commit/
fb2cf166aaf5b5af461879ec5b7a46806e8aee45
Fixes: http://tracker.ceph.com/issues/20258
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Wed, 14 Jun 2017 15:04:44 +0000 (20:34 +0530)]
test/mon: silence warnings from -Wreorder
The following warning appears during make:
ceph/src/test/mon/test-mon-msg.cc: In constructor ‘MonMsgTest::MonMsgTest()’:
ceph/src/test/mon/test-mon-msg.cc:222:12: warning: ‘MonMsgTest::reply_msg’ will be initialized after [-Wreorder]
Message *reply_msg;
^~~~~~~~~
ceph/src/test/mon/test-mon-msg.cc:229:16: warning: base ‘MonClientHelper’ [-Wreorder]
lock("lock") { }
^
ceph/src/test/mon/test-mon-msg.cc:226:3: warning: when initialized here [-Wreorder]
MonMsgTest() :
Signed-off-by: Jos Collin <jcollin@redhat.com>
xie xingguo [Wed, 14 Jun 2017 03:17:03 +0000 (11:17 +0800)]
os/bluestore: kill dead fall_back_to_per_au() method
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 14 Jun 2017 09:44:14 +0000 (17:44 +0800)]
osd/OSD: bump up current version of encoding; conditionally encoding manifest into oi
These versions shall match the corresponding encoding versions.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Greg Farnum [Tue, 13 Jun 2017 23:40:35 +0000 (16:40 -0700)]
qa: test 'osd df' in cephtool/test.sh
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Tue, 13 Jun 2017 22:55:48 +0000 (15:55 -0700)]
qa: add a check_commands.sh script which looks for commands with no tests
This isn't run automatically by anything yet. Note that it's also a best-effort
thing; passing doesn't guarantee there are tests. It can be pretty easily fooled
if the command is a common word which shows up in specifying other things,
for instance.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Tue, 13 Jun 2017 21:37:54 +0000 (14:37 -0700)]
mon: mgr: enable "osd df" on the manager
Fixes: http://tracker.ceph.com/issues/20256
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Sun, 11 Jun 2017 18:09:10 +0000 (11:09 -0700)]
move the OSDUtilizationDumper code into OSDMap
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Sat, 10 Jun 2017 00:42:46 +0000 (17:42 -0700)]
mon: inherit PGMonStatService from the PGMapStatService
Adventures in multiple inheritance!
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 9 Jun 2017 22:08:19 +0000 (15:08 -0700)]
mon: mgr: move 'osd df' handling to manager
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 9 Jun 2017 22:31:02 +0000 (15:31 -0700)]
mon: move most PGMapStatService into PGMap; rename PGMon's to PGMonStatService
Most of this is independent of the PGMonitor, so move it into
PGMap and strip out those few bits. It'll come in handy shortly
when I move "ceph osd df" into the mgr.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 9 Jun 2017 22:42:47 +0000 (15:42 -0700)]
mon: move creating_pgs and reweight_by_utilization into new MonPGStatService
Use that throughout the monitor code, so that we can use the
PGStatService elsewhere.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
yuliyang [Mon, 15 May 2017 08:49:13 +0000 (16:49 +0800)]
rgw-multisite: fix the problem of rgw website configure request not redirect to metadata master
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Greg Farnum [Wed, 14 Jun 2017 20:27:24 +0000 (13:27 -0700)]
doc: describe mark_events logging available via the OSD's OpTracker
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Casey Bodley [Wed, 14 Jun 2017 20:23:35 +0000 (16:23 -0400)]
qa/rgw: add encryption config for s3tests under thrash
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 14 Jun 2017 20:11:58 +0000 (13:11 -0700)]
Merge pull request #15381 from xiexingguo/wip-noout-osdlist
mon/OSDMonitor: batch OSDs nodown/noout support
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
lisali [Tue, 13 Jun 2017 13:44:25 +0000 (09:44 -0400)]
bluestore: wrap blob id when it reaches maximum value of int16_t
Blob id exceeds maximum value, this patch is to prevent it.
Fixes: http://tracker.ceph.com/issues/19555
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
Yuri Weinstein [Wed, 14 Jun 2017 20:10:05 +0000 (13:10 -0700)]
Merge pull request #15535 from gregsfortytwo/wip-jumbo-ping
osd: heartbeat with packets large enough to require working jumbo frames
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Wed, 14 Jun 2017 20:07:43 +0000 (13:07 -0700)]
Merge pull request #15645 from yuyuyu101/wip-20230
msg/async: fix deleted_conn is out of sync with conns
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
Kefu Chai [Wed, 14 Jun 2017 16:40:28 +0000 (00:40 +0800)]
Merge pull request #15376 from tchaikov/wip-remove-boost-submodule
cmake: build boost as an external project
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Radoslaw Zarzynski [Wed, 14 Jun 2017 16:11:18 +0000 (18:11 +0200)]
Merge pull request #15269 from theanalyst/rgw/env-fix
rgw: make RGWEnv return a const ref. to its map
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Kefu Chai [Wed, 14 Jun 2017 15:57:32 +0000 (23:57 +0800)]
Merge pull request #15690 from jcsp/wip-mgr-doc
doc: freshen mgr docs
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 14 Jun 2017 03:38:53 +0000 (11:38 +0800)]
cmake: do not link libmon with mon_common_objs
ceph-common includes them already.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 1 Jun 2017 02:26:50 +0000 (10:26 +0800)]
cmake: move common/util.cc into ceph-common
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 31 May 2017 04:06:26 +0000 (12:06 +0800)]
cmake: do not include Monitor.cc in osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 30 May 2017 16:25:59 +0000 (00:25 +0800)]
common: #include <atomic> in headers where atomic<> is used
so these headers are self-contained.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 16 Apr 2017 05:04:16 +0000 (13:04 +0800)]
cmake: include boost before default system directory
so ceph will prefer the local boost installation to the one in system if
any.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 16 Apr 2017 05:03:52 +0000 (13:03 +0800)]
cmake: build boost as an external project
Signed-off-by: Kefu Chai <kchai@redhat.com>
Adam C. Emerson [Wed, 14 Jun 2017 15:25:52 +0000 (11:25 -0400)]
Merge pull request #15607 from joke-lee/fix_bucket_policy_IfExists
rgw: fix rgw bucket policy IfExists position
Reviewed By: Adam C. Emerson <aemerson@redhat.com>
Casey Bodley [Wed, 14 Jun 2017 15:14:28 +0000 (11:14 -0400)]
Merge pull request #15686 from mikulely/drop-header-ended
rgw: drop unused var header_ended
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Spray [Wed, 14 Jun 2017 14:04:22 +0000 (10:04 -0400)]
doc/mgr: update for mgr_beacon_period change
This setting got renamed.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 14 Jun 2017 13:53:49 +0000 (09:53 -0400)]
doc/mgr: flesh out introductory text
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 14 Jun 2017 13:53:26 +0000 (09:53 -0400)]
doc/mgr: fix auth keys instruction
This was out of date.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 14 Jun 2017 13:52:58 +0000 (09:52 -0400)]
doc/install: reference mgr manual setup
Signed-off-by: John Spray <john.spray@redhat.com>
Orit Wasserman [Wed, 14 Jun 2017 13:04:32 +0000 (16:04 +0300)]
Merge pull request #15688 from rzarzynski/wip-rgw-fix-auth-for-clang
rgw: don't use strlen in constexprs to not brake Clang builds.
Reviewed-by : Orit Wasserman <owasserm@redhat.com>
Abhishek Lekshmanan [Wed, 14 Jun 2017 12:27:05 +0000 (14:27 +0200)]
rgw: make RGWEnv return a const ref. to its map
We already have a public method `set` for setting values in the RGW env
map, making the map as a read only. In addition:
- Added const to other methods in `RGWEnv` which are getters
- `req_info::init_meta` also reused the same `iter` name for an internal
find, changed the var name
- `add_grants_headers` now accepts an RGWEnv instead of the map
- use range based for loops wherever the code was changed
- req_info holds a ptr to a const RGWEnv, since we seem to only read the
values from it
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Nathan Cutler [Wed, 14 Jun 2017 11:33:26 +0000 (13:33 +0200)]
Merge pull request #15399 from smithfarm/wip-20127
build/ops: miscellaneous cleanups and fixes (run-make-check.sh, ceph.spec.in)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Radoslaw Zarzynski [Wed, 14 Jun 2017 10:05:55 +0000 (12:05 +0200)]
rgw: don't use strlen in constexprs to not brake Clang builds.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Nathan Cutler [Thu, 8 Jun 2017 07:35:57 +0000 (09:35 +0200)]
build/ops: rpm: one License line to rule them all
The SUSE and Fedora packaging guidelines specify that subpackages _may_ have
their own License line if it is necessary. (Hopefully it's not, because
maintaining one License line is much easier.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 26 May 2017 08:22:50 +0000 (10:22 +0200)]
build/ops: rpm, COPYING: drop GPL 2.0 with Autoconf Exception
This license is no longer used.
Fixes: http://tracker.ceph.com/issues/20091
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 12 Jan 2017 11:32:50 +0000 (12:32 +0100)]
build/ops: rpm: Enable ppc64le and s390x builds in SLE
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 2 Jun 2017 08:12:01 +0000 (10:12 +0200)]
build/ops: rpm: ceph.spec.in: drop redundant defattrs
The defattr(-,root,root,-) has been the default for a long time.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 31 May 2017 23:12:11 +0000 (01:12 +0200)]
build/ops: rpm: add which as a build dependency, unconditionally
Although "which" is only used in the tests, we need the dependency
to be picked up by install-deps.sh.
This is a stopgap measure until we can get rid of the dependency entirely by
replacing "which" with "type -P" in the tests.
Fixes: http://tracker.ceph.com/issues/20127
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 31 May 2017 22:56:20 +0000 (00:56 +0200)]
build/ops: make sure which is installed in run-make-check.sh
Fixes: http://tracker.ceph.com/issues/20127
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Xie Xingguo [Wed, 14 Jun 2017 10:07:50 +0000 (18:07 +0800)]
Merge pull request #15664 from zealoussnow/wip-fix-doc
doc: remove some non-existent and fix the default value according to …
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Xie Xingguo [Wed, 14 Jun 2017 10:06:05 +0000 (18:06 +0800)]
Merge pull request #15681 from zealoussnow/wip-option-comment-error
common: fix typo in option of rados_mon_op_timeout's comment
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jiaying Ren [Wed, 14 Jun 2017 09:54:06 +0000 (17:54 +0800)]
rgw: drop unused var header_ended
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Brad Hubbard [Wed, 14 Jun 2017 08:40:35 +0000 (18:40 +1000)]
osd: Change *pg_to_* to return void
Returning the number of items in the vector is not required and can be
calculated since the caller has access to the vector.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Leo Zhang [Wed, 14 Jun 2017 07:55:03 +0000 (15:55 +0800)]
common: fix option "rados_mon_op_timeout" comment spell error
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
Kefu Chai [Sun, 16 Apr 2017 05:02:55 +0000 (13:02 +0800)]
cmake: use boost target instead of libary path while linking against them
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Tue, 13 Jun 2017 21:16:20 +0000 (17:16 -0400)]
Merge pull request #14885 from rzarzynski/wip-rgw-auth-rework-cont-3-awsv4
rgw: continuation of the auth rework -- AWSv4
Greg Farnum [Mon, 5 Jun 2017 20:33:14 +0000 (13:33 -0700)]
osd: heartbeat with packets large enough to require working jumbo frames.
We get periodic reports that users somehow misconfigure one of their switches
so that it drops jumbo frames, yet the servers are still passing them along. In
that case, MOSDOp messages generally don't get through because they are much
larger than the 1500-byte non-jumbo limit, but the MOSDPing messages have kept
going (as they are very small and dispatched independently, even when the
server is willing to make jumbo frames). This means peer OSDs won't mark down
the ones behind the broken switch, despite all IO hanging.
Push the MOSDPing message size over the 1500-byte limit so that anybody in
this scenario will see the OSDs stuck behind a bad switch get marked down.
Fixes: http://tracker.ceph.com/issues/20087
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Orit Wasserman [Tue, 13 Jun 2017 17:46:25 +0000 (20:46 +0300)]
Merge pull request #14344 from rzarzynski/wip-rgw-repect-negative-refacls
rgw: respect Swift's negative, HTTP referer-based ACL grants.
Adam C. Emerson [Tue, 13 Jun 2017 16:54:02 +0000 (12:54 -0400)]
Merge pull request #15586 from adamemerson/wip-ex-ML
rgw: Remove spurious XML header for GetBucketPolicy
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Adam C. Emerson [Thu, 8 Jun 2017 21:51:34 +0000 (17:51 -0400)]
rgw: Remove spurious XML header for GetBucketPolicy
Fixes: http://tracker.ceph.com/issues/20247
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Radoslaw Zarzynski [Tue, 13 Jun 2017 15:28:49 +0000 (17:28 +0200)]
Merge pull request #15564 from Jing-Scott/fix-formpost-auth
rgw: fix the signature mismatch of FormPost in swift API
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Sage Weil [Tue, 13 Jun 2017 15:26:55 +0000 (10:26 -0500)]
Merge pull request #15581 from neha-ojha/wip-fix-objclass
objclass-sdk: use namespace ceph for bufferlist
Reviewed-by: Josh Durgin <jdurgin@redhat.com>