]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodoc: describe mark_events logging available via the OSD's OpTracker 15095/head
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>
8 years agoMerge pull request #15381 from xiexingguo/wip-noout-osdlist
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>
8 years agoMerge pull request #15535 from gregsfortytwo/wip-jumbo-ping
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>
8 years agoMerge pull request #15645 from yuyuyu101/wip-20230
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>
8 years agoMerge pull request #15376 from tchaikov/wip-remove-boost-submodule
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>
8 years agoMerge pull request #15269 from theanalyst/rgw/env-fix
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>
8 years agoMerge pull request #15690 from jcsp/wip-mgr-doc
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>
8 years agocmake: do not link libmon with mon_common_objs 15376/head
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>
8 years agocmake: move common/util.cc into ceph-common
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>
8 years agocmake: do not include Monitor.cc in osd
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>
8 years agocommon: #include <atomic> in headers where atomic<> is used
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>
8 years agocmake: include boost before default system directory
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>
8 years agocmake: build boost as an external project
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>
8 years agoMerge pull request #15607 from joke-lee/fix_bucket_policy_IfExists
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>

8 years agoMerge pull request #15686 from mikulely/drop-header-ended
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>
8 years agodoc/mgr: update for mgr_beacon_period change 15690/head
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>
8 years agodoc/mgr: flesh out introductory text
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>
8 years agodoc/mgr: fix auth keys instruction
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>
8 years agodoc/install: reference mgr manual setup
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>
8 years agoMerge pull request #15688 from rzarzynski/wip-rgw-fix-auth-for-clang
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>

8 years agorgw: make RGWEnv return a const ref. to its map 15269/head
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>
8 years agoMerge pull request #15399 from smithfarm/wip-20127
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>
8 years agorgw: don't use strlen in constexprs to not brake Clang builds. 15688/head
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>
8 years agobuild/ops: rpm: one License line to rule them all 15399/head
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>
8 years agobuild/ops: rpm, COPYING: drop GPL 2.0 with Autoconf Exception
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>
8 years agobuild/ops: rpm: Enable ppc64le and s390x builds in SLE
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>
8 years agobuild/ops: rpm: ceph.spec.in: drop redundant defattrs
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>
8 years agobuild/ops: rpm: add which as a build dependency, unconditionally
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>
8 years agobuild/ops: make sure which is installed in run-make-check.sh
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>
8 years agoMerge pull request #15664 from zealoussnow/wip-fix-doc
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>
8 years agoMerge pull request #15681 from zealoussnow/wip-option-comment-error
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>
8 years agorgw: drop unused var header_ended 15686/head
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>
8 years agocommon: fix option "rados_mon_op_timeout" comment spell error 15681/head
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>
8 years agocmake: use boost target instead of libary path while linking against them
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>
8 years agoMerge pull request #14885 from rzarzynski/wip-rgw-auth-rework-cont-3-awsv4
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

8 years agoosd: heartbeat with packets large enough to require working jumbo frames. 15535/head
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>
8 years agoMerge pull request #14344 from rzarzynski/wip-rgw-repect-negative-refacls
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.

8 years agoMerge pull request #15586 from adamemerson/wip-ex-ML
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>
8 years agorgw: Remove spurious XML header for GetBucketPolicy 15586/head
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>
8 years agoMerge pull request #15564 from Jing-Scott/fix-formpost-auth
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>
8 years agoMerge pull request #15581 from neha-ojha/wip-fix-objclass
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>
8 years agoMerge pull request #15595 from ztczll/zl
Sage Weil [Tue, 13 Jun 2017 15:26:34 +0000 (10:26 -0500)]
Merge pull request #15595 from ztczll/zl

os/bluestore/BlueFS: .slow should be compared with dirname

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15590 from Linbing/wip-osd-check-osdmap-twice
Yuri Weinstein [Tue, 13 Jun 2017 15:18:42 +0000 (08:18 -0700)]
Merge pull request #15590 from Linbing/wip-osd-check-osdmap-twice

osd: the condition of last epoch <= superblock.newest_map epoch has been check twice

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15661 from tchaikov/wip-qa-upgrade-set-sortbitwise
Kefu Chai [Tue, 13 Jun 2017 14:56:12 +0000 (22:56 +0800)]
Merge pull request #15661 from tchaikov/wip-qa-upgrade-set-sortbitwise

qa/suites/upgrade: set "sortbitwise" for jewel clusters

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/async: go to open new session when existing already closed 15645/head
Haomai Wang [Tue, 13 Jun 2017 02:19:55 +0000 (10:19 +0800)]
msg/async: go to open new session when existing already closed

Fixes: http://tracker.ceph.com/issues/20230
Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15613 from cbodley/wip-20244
Casey Bodley [Tue, 13 Jun 2017 14:37:27 +0000 (10:37 -0400)]
Merge pull request #15613 from cbodley/wip-20244

rgw: only log metadata on metadata master zone

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15280 from ZVampirEM77/wip-bucket-policy-cleanup
Casey Bodley [Tue, 13 Jun 2017 14:27:47 +0000 (10:27 -0400)]
Merge pull request #15280 from ZVampirEM77/wip-bucket-policy-cleanup

rgw: fix get bucket policy s3 compatible issue

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #15663 from zealoussnow/wip-fix-build
Kefu Chai [Tue, 13 Jun 2017 13:07:24 +0000 (21:07 +0800)]
Merge pull request #15663 from zealoussnow/wip-fix-build

cmake: exclude *.css while generating ctags

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15655 from guihecheng/rgw_file-fix-mkdir
Matt Benjamin [Tue, 13 Jun 2017 12:40:48 +0000 (08:40 -0400)]
Merge pull request #15655 from guihecheng/rgw_file-fix-mkdir

rgw_file: prevent conflict of mkdir between restarts

8 years agoMerge pull request #15659 from lixiaoy1/fio_ceph
Igor Fedotov [Tue, 13 Jun 2017 12:24:50 +0000 (16:24 +0400)]
Merge pull request #15659 from lixiaoy1/fio_ceph

test/fio: Fix assert in set_cache_shards in bluestore fio

8 years agoFix assert in set_cache_shards in bluestore fio 15659/head
lisali [Tue, 13 Jun 2017 16:41:04 +0000 (12:41 -0400)]
Fix assert in set_cache_shards in bluestore fio

The config osd_op_num_shards is changed so it needs to change in
fio_ceph_objectstore.cc.

Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
8 years agoMerge pull request #15593 from chenfangxian/rbd-nbd-fix-unmap
Mykola Golub [Tue, 13 Jun 2017 12:10:25 +0000 (15:10 +0300)]
Merge pull request #15593 from chenfangxian/rbd-nbd-fix-unmap

rbd-nbd: ensure unmap returns error code

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Pan Liu <wanjun.lp@alibaba-inc.com>
8 years agodoc: remove some non-existent and fix the default value according to source code 15664/head
Leo Zhang [Tue, 13 Jun 2017 11:57:07 +0000 (19:57 +0800)]
doc: remove some non-existent and fix the default value according to source code

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agobuild: add css file to excludes while generate tags 15663/head
Leo Zhang [Tue, 13 Jun 2017 11:43:54 +0000 (19:43 +0800)]
build: add css file to excludes while generate tags

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agorgw: fix the signature mismatch of FormPost in swift API 15564/head
Jing Wenjun [Thu, 8 Jun 2017 07:15:28 +0000 (15:15 +0800)]
rgw: fix the signature mismatch of FormPost in swift API

Fixes: http://tracker.ceph.com/issues/20220
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
8 years agoqa/suites/upgrade: remove duplicated upgrade task 15661/head
Kefu Chai [Tue, 13 Jun 2017 08:59:47 +0000 (16:59 +0800)]
qa/suites/upgrade: remove duplicated upgrade task

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade: set "sortbitwise" for jewel clusters
Kefu Chai [Tue, 13 Jun 2017 08:58:13 +0000 (16:58 +0800)]
qa/suites/upgrade: set "sortbitwise" for jewel clusters

so ceph.healthy or wait-for-healthy won't be blocked by this warning.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorgw_file: prevent conflict of mkdir between restarts 15655/head
Gui Hecheng [Tue, 13 Jun 2017 06:39:14 +0000 (14:39 +0800)]
rgw_file: prevent conflict of mkdir between restarts

Fixes: http://tracker.ceph.com/issues/20275
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agoMerge pull request #15648 from joscollin/wip-CID1412575-incorrect-expression
Gregory Farnum [Tue, 13 Jun 2017 04:20:18 +0000 (00:20 -0400)]
Merge pull request #15648 from joscollin/wip-CID1412575-incorrect-expression

mon: Incorrect expression in PGMap::get_health()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15638 from liewegas/wip-19948
Kefu Chai [Tue, 13 Jun 2017 03:40:53 +0000 (11:40 +0800)]
Merge pull request #15638 from liewegas/wip-19948

ceph_test_rados_api_*: wait for snap trim on ENOENT during cleanup

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorbd-nbd: fix nbd do_unmap error handling 15593/head
chenfangxian [Tue, 13 Jun 2017 03:05:51 +0000 (11:05 +0800)]
rbd-nbd: fix nbd do_unmap error handling

when nbd disconnect failed, ensure do_unmap return error logic.

Signed-off-by: chenfangxian <chenfangxian@cmss.chinamobile.com>
Signed-off-by: guojiannan <guojiannan@cmss.chinamobile.com>
8 years agoMerge pull request #15519 from liewegas/wip-19595
Sage Weil [Tue, 13 Jun 2017 03:01:05 +0000 (22:01 -0500)]
Merge pull request #15519 from liewegas/wip-19595

osd/PrimaryLogPG: clear oi from trim_object()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agomon: Incorrect expression in PGMap::get_health() 15648/head
Jos Collin [Tue, 13 Jun 2017 02:54:17 +0000 (08:24 +0530)]
mon: Incorrect expression in PGMap::get_health()

Fixes:

CID 1412575:  Incorrect expression  (COPY_PASTE_ERROR)
ceph/src/mon/PGMap.cc: 2764 in PGMap::get_health()
"num_err" in "ss2 << num_err" looks like a copy-paste error.

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15629 from Linbing/wip-msg-async-op-threads
Haomai Wang [Tue, 13 Jun 2017 02:26:35 +0000 (10:26 +0800)]
Merge pull request #15629 from Linbing/wip-msg-async-op-threads

msg/async: add assert of ms_async_op_threads > 0

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async: fix accept_conn not remove entry in conns when lazy delete
Haomai Wang [Tue, 13 Jun 2017 02:16:47 +0000 (10:16 +0800)]
msg/async: fix accept_conn not remove entry in conns when lazy delete

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15426 from zhangsw/fix-rgw-gc-loglevel
Yehuda Sadeh [Mon, 12 Jun 2017 20:07:43 +0000 (13:07 -0700)]
Merge pull request #15426 from zhangsw/fix-rgw-gc-loglevel

rgw: lower some log's level in gc process.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15571 from ceph/wip-fix-fio-shard-hint
Casey Bodley [Mon, 12 Jun 2017 20:03:21 +0000 (16:03 -0400)]
Merge pull request #15571 from ceph/wip-fix-fio-shard-hint

test/fio: fix lack of setting for Sequencer::shard_hint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15603 from idryomov/wip-rados-df-typo
Sage Weil [Mon, 12 Jun 2017 19:13:21 +0000 (14:13 -0500)]
Merge pull request #15603 from idryomov/wip-rados-df-typo

rados: fix typo in 'df' column name

8 years agoMerge pull request #15615 from joscollin/wip-CID717210-Uninitialized-members
Sage Weil [Mon, 12 Jun 2017 19:12:40 +0000 (14:12 -0500)]
Merge pull request #15615 from joscollin/wip-CID717210-Uninitialized-members

common: initialize _hash in LogEntryKey()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15627 from theanalyst/12.1.0/release-notes-2
Sage Weil [Mon, 12 Jun 2017 19:06:40 +0000 (14:06 -0500)]
Merge pull request #15627 from theanalyst/12.1.0/release-notes-2

doc: 12.1.0/release notes 2

8 years agoceph_test_rados_api_*: wait for snap trim on ENOENT during cleanup 15638/head
Sage Weil [Mon, 12 Jun 2017 18:57:22 +0000 (14:57 -0400)]
ceph_test_rados_api_*: wait for snap trim on ENOENT during cleanup

Assume that an ENOENT removing an object during cleanup means the
head is a whiteout because there are clones.  When that happens
just sleep for a bit and then retry in the hopes that snap
trimming has happened.

Time out (and fail) after retrying for 10 minutes' worth of tries.

Fixes: http://tracker.ceph.com/issues/19948
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: clear oi from trim_object() 15519/head
Sage Weil [Mon, 12 Jun 2017 18:05:41 +0000 (14:05 -0400)]
osd/PrimaryLogPG: clear oi from trim_object()

trim_object() is unique in that its resulting OpContxtUPtr is fed to
simple_opc_submit() but does not first pass through finish_ctx().  Almost
none of what finish_ctx is helpful for us because we are the only place
where we delete a clone, and for that reason it is not terribly useful to
put what we do into finish_ctx.  However, *one* thing that finish_ctx()
does do that we don't (didn't) is clear out the object_info_t io on
delete.  This would leave things like version with a value that would
bleed into future instantiations of the object and break things like
the prior_version in pg_log_entry_t's and, much later, break asserts
when loading the missing set off of disk.

Fix by clearing oi.

Fixes: http://tracker.ceph.com/issues/19947
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15604 from liewegas/wip-rest-test-qa
Sage Weil [Mon, 12 Jun 2017 17:47:32 +0000 (12:47 -0500)]
Merge pull request #15604 from liewegas/wip-rest-test-qa

qa/suites/rados/rest: test restful mgr module

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: test on centos 15604/head
Sage Weil [Fri, 9 Jun 2017 18:21:23 +0000 (14:21 -0400)]
qa/suites/rados/rest/mgr-restful: test on centos

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15584 from liewegas/wip-20219
Sage Weil [Mon, 12 Jun 2017 16:42:39 +0000 (11:42 -0500)]
Merge pull request #15584 from liewegas/wip-20219

mon/MgrStatMonitor: keep mgrstat version ahead of pgmon

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15620 from tchaikov/wip-20249
Kefu Chai [Mon, 12 Jun 2017 16:19:11 +0000 (00:19 +0800)]
Merge pull request #15620 from tchaikov/wip-20249

test/vstart_wrapper.sh: display_log on test failure

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rest/test_mgr_rest_api.py: tolerate old distros
Sage Weil [Mon, 12 Jun 2017 15:55:05 +0000 (11:55 -0400)]
qa/workunits/rest/test_mgr_rest_api.py: tolerate old distros

Work with older requests and/or missing urllib3.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: test restful module
Sage Weil [Fri, 9 Jun 2017 16:31:28 +0000 (12:31 -0400)]
qa/suites/rados/rest/mgr-restful: test restful module

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15634 from liewegas/wip-pyformatter
Kefu Chai [Mon, 12 Jun 2017 15:10:40 +0000 (23:10 +0800)]
Merge pull request #15634 from liewegas/wip-pyformatter

mgr/PyFormatter: implement dump_format_va

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15580 from liewegas/wip-bluestore-memory
Sage Weil [Mon, 12 Jun 2017 14:57:07 +0000 (09:57 -0500)]
Merge pull request #15580 from liewegas/wip-bluestore-memory

os/bluestore: configure rocksdb cache via bluestore_cache_kv_ratio

Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agomgr/PyFormatter: implement dump_format_va 15634/head
Sage Weil [Mon, 12 Jun 2017 04:02:30 +0000 (00:02 -0400)]
mgr/PyFormatter: implement dump_format_va

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15624 from Adirl/wip
Haomai Wang [Mon, 12 Jun 2017 13:56:49 +0000 (21:56 +0800)]
Merge pull request #15624 from Adirl/wip

msg/async/rdma: check if fin message completed

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: check if fin message completed 15624/head
Adir Lev [Sun, 30 Apr 2017 11:34:43 +0000 (11:34 +0000)]
msg/async/rdma: check if fin message completed

Change-Id: I9cb1e523be7b21127503a9252b09331a37bea204
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agomon/PGMonitor: assert PGMonitor stops proposing after luminous 15584/head
Sage Weil [Mon, 12 Jun 2017 13:48:48 +0000 (09:48 -0400)]
mon/PGMonitor: assert PGMonitor stops proposing after luminous

One hacky exception here for the rebuild-mondb case.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrStatMonitor: keep mgrstat version ahead of pgmon
Sage Weil [Mon, 12 Jun 2017 13:48:16 +0000 (09:48 -0400)]
mon/MgrStatMonitor: keep mgrstat version ahead of pgmon

Pre-luminous, statfs and getpoolstats come from pgmon, and clients will
see and track the paxos version for that.  After the switchover, those
move to mgrstatmon.  If a clients sends a version ahead of the current
mgrstat version, it will block until the paxos version catches up, which
may be years for an aged cluster.

Fix by keeping mgrstat version ahead of pgmon's every time it updates.
This only really matters right at the transition point (we don't update
before that, and after that pgmon doesn't update).

Fixes: http://tracker.ceph.com/issues/20219
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14753 from theanalyst/v12.0.2/mailmap
Loic Dachary [Mon, 12 Jun 2017 13:44:53 +0000 (15:44 +0200)]
Merge pull request #14753 from theanalyst/v12.0.2/mailmap

doc: mailmap for v12.0.2

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15328 from jimifm/wip-RGWPutObj
Radoslaw Zarzynski [Mon, 12 Jun 2017 12:50:45 +0000 (14:50 +0200)]
Merge pull request #15328 from jimifm/wip-RGWPutObj

rgw/rgw_op:Prevents memory leaks when calling func swift_versioning_copy() fails

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #15323 from fangyuxiangGL/compress_bug_fix
Radoslaw Zarzynski [Mon, 12 Jun 2017 12:47:38 +0000 (14:47 +0200)]
Merge pull request #15323 from fangyuxiangGL/compress_bug_fix

rgw: get wrong content when download object with specific range with compression

Reviewed-by: Adam Kupczyk <akupczyk@mirantis.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agomsg/async: add assert of ms_async_op_threads > 0 15629/head
linbing [Mon, 12 Jun 2017 11:38:37 +0000 (19:38 +0800)]
msg/async: add assert of ms_async_op_threads > 0

Signed-off-by: linbing <linbing@t2cloud.net>
8 years agoqa: timeout if flush_pg_stats() takes too long 15620/head
Kefu Chai [Mon, 12 Jun 2017 10:33:27 +0000 (18:33 +0800)]
qa: timeout if flush_pg_stats() takes too long

a "timeout" which defaults to 300 seconds is added to flush_pg_stats()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomailmap: Yunfei Guan affiliation 14753/head
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:54:20 +0000 (18:54 +0200)]
mailmap: Yunfei Guan affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Andrey Parfenov affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:53:21 +0000 (18:53 +0200)]
mailmap: Andrey Parfenov affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yao Zongyou affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:53:04 +0000 (18:53 +0200)]
mailmap: Yao Zongyou affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Patrick Dinnen affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:46 +0000 (18:52 +0200)]
mailmap: Patrick Dinnen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Henrik Korkuc affiliation
Abhishek Lekshmanan [Mon, 12 Jun 2017 11:16:48 +0000 (13:16 +0200)]
mailmap: Henrik Korkuc affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Sven Seeberg affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:05 +0000 (18:52 +0200)]
mailmap: Sven Seeberg affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Mohamad Gebai affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:45 +0000 (18:51 +0200)]
mailmap: Mohamad Gebai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Fabian Grünbichler affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:17 +0000 (18:51 +0200)]
mailmap: Fabian Grünbichler affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Vedant Nanda affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:33 +0000 (18:50 +0200)]
mailmap: Vedant Nanda affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Andrew Solomon affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:09 +0000 (18:50 +0200)]
mailmap: Andrew Solomon affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>