]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agodoc: add a new document on CephFS distributed metadata cache 30265/head
Jeff Layton [Thu, 5 Sep 2019 10:42:25 +0000 (06:42 -0400)]
doc: add a new document on CephFS distributed metadata cache

Fixes: https://tracker.ceph.com/issues/41451
Signed-off-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #30145 from theanalyst/doc/releases/14.2.3
Nathan Cutler [Thu, 5 Sep 2019 10:24:41 +0000 (12:24 +0200)]
Merge pull request #30145 from theanalyst/doc/releases/14.2.3

doc: releases: 14.2.3 dashboard note

https://github.com/ceph/ceph/pull/24179

5 years agomgr/dashboard: Empty datatable rendered before data has been f… (#30103)
Lenz Grimmer [Thu, 5 Sep 2019 10:22:41 +0000 (10:22 +0000)]
mgr/dashboard: Empty datatable rendered before data has been f… (#30103)

mgr/dashboard: Empty datatable rendered before data has been fetched

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #29981 from falcon78921/wip-ceph-conf-usage
Kefu Chai [Thu, 5 Sep 2019 03:46:27 +0000 (11:46 +0800)]
Merge pull request #29981 from falcon78921/wip-ceph-conf-usage

ceph-conf: added --show-config-value to usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-conf: added --show-config-value to ceph-conf usage 29981/head
James McClune [Thu, 29 Aug 2019 00:30:49 +0000 (20:30 -0400)]
ceph-conf: added --show-config-value to ceph-conf usage

--show-config-value is another way to lookup ceph.conf
values. Users may want to utilize --show-config-value instead of
--lookup because --show-config-value also shows global defaults.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
5 years agoMerge pull request #29847 from iotcg/mon_doc
Gregory Farnum [Wed, 4 Sep 2019 21:43:51 +0000 (14:43 -0700)]
Merge pull request #29847 from iotcg/mon_doc

doc: set ceph_perf_msgr_server arguments

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #30136 from yuvalif/build_docs_on_fedora30
Yuval Lifshitz [Wed, 4 Sep 2019 19:40:46 +0000 (22:40 +0300)]
Merge pull request #30136 from yuvalif/build_docs_on_fedora30

build-doc: allow building docs on fedora 30

5 years agoMerge pull request #26755 from cbodley/wip-rgw-bilog-complete
J. Eric Ivancich [Wed, 4 Sep 2019 17:19:01 +0000 (13:19 -0400)]
Merge pull request #26755 from cbodley/wip-rgw-bilog-complete

rgw multisite: avoid writing bilog entries on PREPARE and CANCEL

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #29692 from mkogan1/wip-rgw-37615
J. Eric Ivancich [Wed, 4 Sep 2019 17:12:55 +0000 (13:12 -0400)]
Merge pull request #29692 from mkogan1/wip-rgw-37615

rgw: fix cls_bucket_list_unordered() partial results

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agodoc: releases: 14.2.3 dashboard note 30145/head
Abhishek Lekshmanan [Wed, 4 Sep 2019 14:02:17 +0000 (16:02 +0200)]
doc: releases: 14.2.3 dashboard note

The comment unfortunately got buried in a resolved blog

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #29973 from theanalyst/doc/releases/14.2.3
Abhishek L [Wed, 4 Sep 2019 13:50:18 +0000 (15:50 +0200)]
Merge pull request #29973 from theanalyst/doc/releases/14.2.3

doc: release notes for v14.2.3 nautilus

Reviewed-By: Nathan Cutler <nculter@suse.com>
Reviewed-By: Neha Ojha <nojha@redhat.com>
Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Lenz Grimmer <lgrimmer@suse.com>
5 years agodoc: add a final set of notable changes to 14.2.3 29973/head
Abhishek Lekshmanan [Wed, 4 Sep 2019 13:00:41 +0000 (15:00 +0200)]
doc: add a final set of notable changes to 14.2.3

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agobuild-doc: allow building docs on fedora 30 30136/head
Yuval Lifshitz [Wed, 4 Sep 2019 10:47:00 +0000 (13:47 +0300)]
build-doc: allow building docs on fedora 30

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agoMerge pull request #29882 from cyx1231st/wip-seastar-msgr-test-lossless-crimson
Kefu Chai [Wed, 4 Sep 2019 11:51:55 +0000 (19:51 +0800)]
Merge pull request #29882 from cyx1231st/wip-seastar-msgr-test-lossless-crimson

crimson/net: bug fixes from v2 failover tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30075 from rhcs-dashboard/fix-41600-master
Lenz Grimmer [Wed, 4 Sep 2019 11:11:16 +0000 (11:11 +0000)]
Merge pull request #30075 from rhcs-dashboard/fix-41600-master

mgr/dashboard: change warn_explicit to warn

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #29929 from tspmelo/wip-ng-analytics
Lenz Grimmer [Wed, 4 Sep 2019 10:05:27 +0000 (10:05 +0000)]
Merge pull request #29929 from tspmelo/wip-ng-analytics

mgr/dashboard: Prevent angular of getting stuck during installation

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #29557 from Devp00l/wip-41166
Volker Theile [Wed, 4 Sep 2019 09:47:13 +0000 (11:47 +0200)]
Merge pull request #29557 from Devp00l/wip-41166

mgr/dashboard: Fix CephFS chart

Reviewed-by: Ni-Feng Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoMerge pull request #29996 from iliul/export-standby-metadata
Jan Fajerski [Wed, 4 Sep 2019 07:37:09 +0000 (09:37 +0200)]
Merge pull request #29996 from iliul/export-standby-metadata

mgr/prometheus: export standby mds metadata

5 years agoMerge pull request #30122 from tchaikov/wip-40646
Kefu Chai [Wed, 4 Sep 2019 03:36:20 +0000 (11:36 +0800)]
Merge pull request #30122 from tchaikov/wip-40646

install-deps: revert 47d4351d

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #30119 from neha-ojha/wip-41385
Josh Durgin [Wed, 4 Sep 2019 01:58:16 +0000 (18:58 -0700)]
Merge pull request #30119 from neha-ojha/wip-41385

osd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #30072 from wjwithagen/wjw-wip_split_run-rbd-unit-tests
Jason Dillaman [Wed, 4 Sep 2019 01:18:54 +0000 (21:18 -0400)]
Merge pull request #30072 from wjwithagen/wjw-wip_split_run-rbd-unit-tests

test/librbd: allow parallel runs of run-rbd-unit-tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoinstall-deps: revert 47d4351d 30122/head
Kefu Chai [Wed, 4 Sep 2019 01:15:18 +0000 (09:15 +0800)]
install-deps: revert 47d4351d

this change reverts 47d4351d3ad2787ae7781d868608eb0e3c7797c7

see also 33dfffc8

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30018 from xiexingguo/wip-38483
Xie Xingguo [Wed, 4 Sep 2019 00:31:39 +0000 (08:31 +0800)]
Merge pull request #30018 from xiexingguo/wip-38483

osd: prime splits/merges for any potential fabricated split/merge participant

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agotest/librbd: allow parallel runs of run-rbd-unit-tests 30072/head
Willem Jan Withagen [Mon, 2 Sep 2019 14:28:23 +0000 (16:28 +0200)]
test/librbd: allow parallel runs of run-rbd-unit-tests

Running all tests sequential makes it the longest test of
`make check`, with each partial test taking around 500 sec.
Running 6 tests thus takes almost an hour.

Cut this down if ctest runs tests in parallel

Default behaviour of src/test/run-rbd-unit-tests.sh is kept:
  Without parameters the tests are run in sequence

To run unitttest_librbd with RBD_FEATURES, use `N` as parameter

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoMerge pull request #29990 from aclamk/fix-doc-ceph_kvstore_tool-stats
Josh Durgin [Tue, 3 Sep 2019 22:48:57 +0000 (15:48 -0700)]
Merge pull request #29990 from aclamk/fix-doc-ceph_kvstore_tool-stats

doc/ceph-kvstore-tool: add description for 'stats' command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agodoc/man/ceph-kvstore-tool: fix typo 29990/head
Josh Durgin [Tue, 3 Sep 2019 22:47:30 +0000 (15:47 -0700)]
doc/man/ceph-kvstore-tool: fix typo

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
5 years agoosd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays() 30119/head
Neha Ojha [Sat, 31 Aug 2019 01:15:58 +0000 (18:15 -0700)]
osd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays()

We should always try to keep osds in missing_loc consistent with peer_missing
and peer_info. When we remove an osd from peer_missing and peer_info, we
should also remove it from missing_loc during purging strays.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #29639 from baixueyu/wip-crypto-bug
Casey Bodley [Tue, 3 Sep 2019 20:23:36 +0000 (16:23 -0400)]
Merge pull request #29639 from baixueyu/wip-crypto-bug

rgw: get barbican secret key request maybe return error code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29776 from cbodley/wip-rgw-beast-static-flat-buffer
Casey Bodley [Tue, 3 Sep 2019 20:22:39 +0000 (16:22 -0400)]
Merge pull request #29776 from cbodley/wip-rgw-beast-static-flat-buffer

rgw: increase beast parse buffer size to 64k

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #29852 from cbodley/wip-41395
Casey Bodley [Tue, 3 Sep 2019 20:22:02 +0000 (16:22 -0400)]
Merge pull request #29852 from cbodley/wip-41395

rgw: move bucket reshard checks out of write path

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #29856 from cbodley/wip-41412
Casey Bodley [Tue, 3 Sep 2019 20:20:18 +0000 (16:20 -0400)]
Merge pull request #29856 from cbodley/wip-41412

rgw: RGWCoroutine::call(nullptr) sets retcode=0

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agoMerge pull request #29894 from markhpc/wip-rgw-reshard-json
Casey Bodley [Tue, 3 Sep 2019 20:19:38 +0000 (16:19 -0400)]
Merge pull request #29894 from markhpc/wip-rgw-reshard-json

rgw/rgw_reshard: Don't dump RGWBucketReshard JSON in process_single_logshard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #30088 from tchaikov/wip-40646
Alfredo Deza [Tue, 3 Sep 2019 19:36:19 +0000 (15:36 -0400)]
Merge pull request #30088 from tchaikov/wip-40646

ceph.spec.in: use g++ >= 8.3.1-3.1

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #29742 from dang/push
Casey Bodley [Tue, 3 Sep 2019 19:12:56 +0000 (15:12 -0400)]
Merge pull request #29742 from dang/push

rgw: make sure modelines are correct for all files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29199 from tianshan/fix_gc_tag_remove
Casey Bodley [Tue, 3 Sep 2019 19:11:22 +0000 (15:11 -0400)]
Merge pull request #29199 from tianshan/fix_gc_tag_remove

rgw: gc remove tag after all sub io finish

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29628 from NancySu05/lihuanhuan
Casey Bodley [Tue, 3 Sep 2019 18:24:54 +0000 (14:24 -0400)]
Merge pull request #29628 from NancySu05/lihuanhuan

RGW: add bucket permission verify when copy obj

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29943 from markhpc/wip-rgw-optimize-get_val2
Casey Bodley [Tue, 3 Sep 2019 18:23:52 +0000 (14:23 -0400)]
Merge pull request #29943 from markhpc/wip-rgw-optimize-get_val2

rgw/rgw_op: Remove get_val from hotpath via legacy options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #29654 from Songweibin/wip-rbd-list-descendants
Jason Dillaman [Tue, 3 Sep 2019 18:13:19 +0000 (14:13 -0400)]
Merge pull request #29654 from Songweibin/wip-rbd-list-descendants

 librbd: skip stale child with non-existent pool for list descendants

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30113 from tchaikov/wip-dmclock
Kefu Chai [Tue, 3 Sep 2019 17:28:35 +0000 (01:28 +0800)]
Merge pull request #30113 from tchaikov/wip-dmclock

dmclock:  pick up change to use specified C++ settings if any

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agodmclock: pick up change to use specified C++ settings if any 30113/head
Kefu Chai [Tue, 3 Sep 2019 16:58:12 +0000 (00:58 +0800)]
dmclock:  pick up change to use specified C++ settings if any

see https://github.com/ceph/dmclock/pull/73

so dmclock won't add `-std=c++11` to CXX_FLAGS even if the parent project already
have `-std=c++17` in CXX_FLAGS.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Prevent angular of getting stuck during installation 29929/head
Tiago Melo [Tue, 27 Aug 2019 10:37:30 +0000 (10:37 +0000)]
mgr/dashboard: Prevent angular of getting stuck during installation

During npm packages installation Angular was getting stuck waiting for input.
Using "NG_CLI_ANALYTICS=false" will prevent that,

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #29613 from trociny/wip-41206
Jason Dillaman [Tue, 3 Sep 2019 14:20:23 +0000 (10:20 -0400)]
Merge pull request #29613 from trociny/wip-41206

librbd: behave more gracefully when data pool removed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #29835 into master
Sage Weil [Tue, 3 Sep 2019 14:19:21 +0000 (09:19 -0500)]
Merge PR #29835 into master

* refs/pull/29835/head:
osd/PeeringState: fix wrong history of merge target

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard: Empty datatable rendered before data has been fetched 30103/head
Volker Theile [Tue, 3 Sep 2019 13:59:30 +0000 (15:59 +0200)]
mgr/dashboard: Empty datatable rendered before data has been fetched

Fixes: https://tracker.ceph.com/issues/41615
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #30097 from jan--f/ceph-backport-cp-indiviudal-commits
Nathan Cutler [Tue, 3 Sep 2019 13:22:05 +0000 (15:22 +0200)]
Merge pull request #30097 from jan--f/ceph-backport-cp-indiviudal-commits

ceph-backport.sh: cherry-pick individual commits

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #30063 from Rjerk/wip-silence-unused-warning
Casey Bodley [Tue, 3 Sep 2019 13:19:06 +0000 (09:19 -0400)]
Merge pull request #30063 from Rjerk/wip-silence-unused-warning

rgw/services: silence -Wunused-variable warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30065 from tchaikov/wip-rgw-test-wo-global
Casey Bodley [Tue, 3 Sep 2019 13:15:06 +0000 (09:15 -0400)]
Merge pull request #30065 from tchaikov/wip-rgw-test-wo-global

test: do not include unnecessary includes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoceph-backport.sh: cherry-pick individual commits 30097/head
Jan Fajerski [Tue, 3 Sep 2019 11:26:20 +0000 (13:26 +0200)]
ceph-backport.sh: cherry-pick individual commits

In git 2.23.0 (possibly earlier too) cherry-pick seems to interact with
rev-list and submodules in unexpected ways, where the cherry-pick of a
commit range (<sha1>..<sha1>) fails with "changes would be overwritten"
in a submodule. CP'ing individual commits avoids this.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #30060 from c744402859/master
Casey Bodley [Tue, 3 Sep 2019 12:57:21 +0000 (08:57 -0400)]
Merge pull request #30060 from c744402859/master

rgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm".

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30091 from joke-lee/doc-rgw-object-version
Casey Bodley [Tue, 3 Sep 2019 12:34:05 +0000 (08:34 -0400)]
Merge pull request #30091 from joke-lee/doc-rgw-object-version

rgw: add --object-version in radosgw-admin help info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29957 from smithfarm/wip-ceph-backport-sh-improvements
Nathan Cutler [Tue, 3 Sep 2019 10:50:39 +0000 (12:50 +0200)]
Merge pull request #29957 from smithfarm/wip-ceph-backport-sh-improvements

script/ceph-backport.sh: wholesale refactor

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agodoc/ceph-kvsore-tool: add description for 'stats' command
Adam Kupczyk [Thu, 29 Aug 2019 09:26:50 +0000 (11:26 +0200)]
doc/ceph-kvsore-tool: add description for 'stats' command

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #29665 from rishabh-d-dave/cv-remove-redundant-calls
Jan Fajerski [Tue, 3 Sep 2019 08:55:24 +0000 (10:55 +0200)]
Merge pull request #29665 from rishabh-d-dave/cv-remove-redundant-calls

ceph-volume: minor optimizations related to class Volumes's use

5 years agoceph.spec.in: use g++ >= 8.3.1-3.1 30088/head
Kefu Chai [Tue, 3 Sep 2019 05:05:47 +0000 (13:05 +0800)]
ceph.spec.in: use g++ >= 8.3.1-3.1

since https://bugzilla.redhat.com/show_bug.cgi?id=1726630 has been
fixed. and we have devtoolset-8-gcc-c++-8.3.1-3.1.el7.x86_64.rpm.

no reason to stick with devtoolset-8-gcc-c++-8.2.1-3 anymore.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agorgw: add --object-version in radosgw-admin help info 30091/head
yuliyang [Tue, 3 Sep 2019 06:03:36 +0000 (14:03 +0800)]
rgw: add --object-version in radosgw-admin help info

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
5 years agoMerge pull request #30086 from uniqueyehu/fix-complie-errors-dpdk
Kefu Chai [Tue, 3 Sep 2019 04:29:38 +0000 (12:29 +0800)]
Merge pull request #30086 from uniqueyehu/fix-complie-errors-dpdk

msg/async/dpdk: fix complie errors from fix FTBFS

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomsg/async/dpdk: fix complie errors from fix FTBFS 30086/head
yehu [Tue, 3 Sep 2019 02:49:12 +0000 (10:49 +0800)]
msg/async/dpdk: fix complie errors from fix FTBFS

Signed-off-by: yehu <yehu5@huawei.com>
5 years agoMerge pull request #30010 from wjwithagen/wjw-fix-rbd-ggate-postfork
Mykola Golub [Mon, 2 Sep 2019 16:31:46 +0000 (19:31 +0300)]
Merge pull request #30010 from wjwithagen/wjw-fix-rbd-ggate-postfork

tools/rbd-ggate: close log before running postfork

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/dashboard: change warn_explicit to warn 30075/head
Ernesto Puerta [Mon, 2 Sep 2019 14:37:52 +0000 (16:37 +0200)]
mgr/dashboard: change warn_explicit to warn

Fixes: https://tracker.ceph.com/issues/41600
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #29923 from xiexingguo/wip-bump-decode-version
Kefu Chai [Mon, 2 Sep 2019 14:18:23 +0000 (22:18 +0800)]
Merge pull request #29923 from xiexingguo/wip-bump-decode-version

osd/osd_types: bump up some encoding versions

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
5 years agoMerge pull request #30066 from uniqueyehu/fix-compile-error-dpdk
Kefu Chai [Mon, 2 Sep 2019 13:13:46 +0000 (21:13 +0800)]
Merge pull request #30066 from uniqueyehu/fix-compile-error-dpdk

async/dpdk: fix compile errors from ceph::mutex update

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agotest: do not include unnecessary includes 30065/head
Kefu Chai [Mon, 2 Sep 2019 08:37:14 +0000 (16:37 +0800)]
test: do not include unnecessary includes

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agolibrbd: allow remove snapshot with child from non-existent pool 29654/head
songweibin [Tue, 20 Aug 2019 12:25:25 +0000 (20:25 +0800)]
librbd: allow remove snapshot with child from non-existent pool

Signed-off-by: songweibin <song.weibin@zte.com.cn>
5 years agorgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm". 30060/head
root [Mon, 2 Sep 2019 03:23:45 +0000 (11:23 +0800)]
rgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm".

Signed-off-by: Hongang Chen <c744402859@gmail.com>
Author:    root <root@devel.localdomain>
Date:      Mon Sep 2 11:23:45 2019 +0800

5 years agoMerge pull request #30034 from tchaikov/wip-install-tox-deps-from-wheelhouse
Kefu Chai [Mon, 2 Sep 2019 09:24:23 +0000 (17:24 +0800)]
Merge pull request #30034 from tchaikov/wip-install-tox-deps-from-wheelhouse

mgr: install tox deps from wheelhouse

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoasync/dpdk: fix compile errors from ceph::mutex update 30066/head
yehu [Mon, 2 Sep 2019 08:35:22 +0000 (16:35 +0800)]
async/dpdk: fix compile errors from ceph::mutex update

Signed-off-by: yehu <yehu5@huawei.com>
5 years agotools/rbd-ggate: close log before running postfork 30010/head
Willem Jan Withagen [Thu, 29 Aug 2019 13:54:30 +0000 (15:54 +0200)]
tools/rbd-ggate: close log before running postfork

Otherwise the assert in Log:open() will trigger since
all data is kept during the fork and also the `is_started` flag

Fixes: https://tracker.ceph.com/issues/41592
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agorgw/services: silence -Wunused-variable warning 30063/head
Lan Liu [Mon, 2 Sep 2019 07:10:58 +0000 (15:10 +0800)]
rgw/services: silence -Wunused-variable warning

Signed-off-by: Lan Liu <liulan@umcloud.com>
5 years agoscript/run_tox.sh: install tox deps from wheelhouse 30034/head
Kefu Chai [Fri, 30 Aug 2019 09:40:25 +0000 (17:40 +0800)]
script/run_tox.sh: install tox deps from wheelhouse

could be faster

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29583 from rafaelquint/configfield2
Ricardo Marques [Sat, 31 Aug 2019 09:36:01 +0000 (10:36 +0100)]
Merge pull request #29583 from rafaelquint/configfield2

mgr/dashboard: Verify fields on Configuration page

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
6 years agoMerge pull request #29919 from dzafman/wip-41522
David Zafman [Sat, 31 Aug 2019 00:14:20 +0000 (17:14 -0700)]
Merge pull request #29919 from dzafman/wip-41522

ceph-objectstore-tool can't remove head with bad snapset

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #29941 from dzafman/wip-41517
David Zafman [Fri, 30 Aug 2019 23:22:27 +0000 (16:22 -0700)]
Merge pull request #29941 from dzafman/wip-41517

osd: Fix assert in the case that snapset is missing

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
6 years agorgw: increase beast parse buffer size to 64k 29776/head
Casey Bodley [Tue, 20 Aug 2019 17:18:45 +0000 (13:18 -0400)]
rgw: increase beast parse buffer size to 64k

the flat_buffer starts very small and rarely grew above 512 bytes when
reading headers. this buffer's capacity() is what determines the size of
reads when when recv_body() calls boost::beast::http::async_read_some().
raising this buffer size to a static 64k greatly reduces the number of
socket reads

Reported-by: Marcus Watts <mwatts@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #30019 from mxdInspur/fix_20190829
Jason Dillaman [Fri, 30 Aug 2019 15:12:26 +0000 (11:12 -0400)]
Merge pull request #30019 from mxdInspur/fix_20190829

librbd: clean up unused variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29968 from wjwithagen/wjw-fix-dencode-bluestore_bdev_t
Kefu Chai [Fri, 30 Aug 2019 15:06:20 +0000 (23:06 +0800)]
Merge pull request #29968 from wjwithagen/wjw-fix-dencode-bluestore_bdev_t

bluestore/bdev: initialize size when creating object.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29931 from yaozongyou/refine-decltype
Kefu Chai [Fri, 30 Aug 2019 14:57:21 +0000 (22:57 +0800)]
Merge pull request #29931 from yaozongyou/refine-decltype

osdc: using decltype(auto) instead of trailing return type

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agolibrbd: clean up unused variable: C_MigrateObject::m_object_size 30019/head
mxdInspur [Fri, 30 Aug 2019 01:34:19 +0000 (09:34 +0800)]
librbd: clean up unused variable: C_MigrateObject::m_object_size

Fixes: https://tracker.ceph.com/issues/41580
Signed-off-by: mxdInspur <muxiangdong@inspur.com>
6 years agoMerge pull request #30035 from tchaikov/wip-rgw-maybe-unused
Casey Bodley [Fri, 30 Aug 2019 14:02:33 +0000 (10:02 -0400)]
Merge pull request #30035 from tchaikov/wip-rgw-maybe-unused

rgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable wa…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #29927 from votdev/add_cephfs_legend
Ricardo Dias [Fri, 30 Aug 2019 13:14:10 +0000 (14:14 +0100)]
Merge pull request #29927 from votdev/add_cephfs_legend

mgr/dashboard: Display legend for CephFS standbys

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #29934 from votdev/add_missing_i18n
Ricardo Dias [Fri, 30 Aug 2019 13:11:39 +0000 (14:11 +0100)]
Merge pull request #29934 from votdev/add_missing_i18n

mgr/dashboard: Add missing text translation

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #30001 from votdev/issue_41573
Ricardo Dias [Fri, 30 Aug 2019 13:08:39 +0000 (14:08 +0100)]
Merge pull request #30001 from votdev/issue_41573

mgr/dashboard: A block-manager can not access the pool page

6 years agoMerge pull request #28885 from Kriechi/fix-bucket-policy-spelling
Casey Bodley [Fri, 30 Aug 2019 13:06:38 +0000 (09:06 -0400)]
Merge pull request #28885 from Kriechi/fix-bucket-policy-spelling

docs: rgw: fix bucket operation spelling: ListBucketMultipartUploads

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoscript/ceph-backport.sh: leave Assignee blank in backport PR 29957/head
Nathan Cutler [Fri, 30 Aug 2019 12:32:22 +0000 (14:32 +0200)]
script/ceph-backport.sh: leave Assignee blank in backport PR

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agomgr/dashboard: Verify fields on Configuration page 29583/head
Rafael Quintero [Fri, 9 Aug 2019 20:02:36 +0000 (16:02 -0400)]
mgr/dashboard: Verify fields on Configuration page

Fixes: https://tracker.ceph.com/issues/41193
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
6 years agoMerge pull request #29794 from votdev/improve_error_msg
Ricardo Dias [Fri, 30 Aug 2019 11:37:56 +0000 (12:37 +0100)]
Merge pull request #29794 from votdev/improve_error_msg

mgr/dashboard: Improve RestClient error logging

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #29353 from votdev/issue_40981
Ricardo Dias [Fri, 30 Aug 2019 10:18:58 +0000 (11:18 +0100)]
Merge pull request #29353 from votdev/issue_40981

mgr/dashboard: CephFS class issues with strings

6 years agoMerge pull request #29848 from rhcs-dashboard/fix-41358-master
Volker Theile [Fri, 30 Aug 2019 10:09:26 +0000 (12:09 +0200)]
Merge pull request #29848 from rhcs-dashboard/fix-41358-master

mgr/dashboard: fix SAML input argument handling

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: fix tox missing bits and add lint-fixer (#29802)
Volker Theile [Fri, 30 Aug 2019 10:09:00 +0000 (12:09 +0200)]
mgr/dashboard: fix tox missing bits and add lint-fixer (#29802)

mgr/dashboard: fix tox missing bits and add lint-fixer

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agorgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable warning 30035/head
Kefu Chai [Fri, 30 Aug 2019 10:04:20 +0000 (18:04 +0800)]
rgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29993 from votdev/fix_pool_e2e
Laura Paduano [Fri, 30 Aug 2019 09:59:41 +0000 (11:59 +0200)]
Merge pull request #29993 from votdev/fix_pool_e2e

mgr/dashboard: Fix pool deletion e2e

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
6 years agomgr/ansible: document requirements in requirements.txt
Kefu Chai [Fri, 30 Aug 2019 09:38:54 +0000 (17:38 +0800)]
mgr/ansible: document requirements in requirements.txt

so install-deps.sh is able to collect them in wheels

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: access_control: add grafana scope read access t… (#29989)
Volker Theile [Fri, 30 Aug 2019 09:23:35 +0000 (11:23 +0200)]
mgr/dashboard: access_control: add grafana scope read access t… (#29989)

mgr/dashboard: access_control: add grafana scope read access to *-manager roles

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: CephFS class issues with strings 29353/head
Volker Theile [Fri, 26 Jul 2019 13:02:57 +0000 (15:02 +0200)]
mgr/dashboard: CephFS class issues with strings

Fixes: https://tracker.ceph.com/issues/40981
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #30022 from Yan-waller/wip-yanj-miscleanup
Xie Xingguo [Fri, 30 Aug 2019 08:12:07 +0000 (16:12 +0800)]
Merge pull request #30022 from Yan-waller/wip-yanj-miscleanup

osd: misc cleanups

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoosd: drop useless get_possibly_deleted_pool_pg_num 30022/head
Yan Jun [Fri, 30 Aug 2019 05:55:16 +0000 (13:55 +0800)]
osd: drop useless get_possibly_deleted_pool_pg_num

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agoosd: no need to dump empty waiting_for_split
Yan Jun [Fri, 30 Aug 2019 05:41:41 +0000 (13:41 +0800)]
osd: no need to dump empty waiting_for_split

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
6 years agoMerge pull request #29982 from falcon78921/wip-doc-41516
Kefu Chai [Fri, 30 Aug 2019 04:22:50 +0000 (12:22 +0800)]
Merge pull request #29982 from falcon78921/wip-doc-41516

doc: updated ceph monitor config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: updated ceph monitor config options 29982/head
James McClune [Thu, 29 Aug 2019 02:21:24 +0000 (22:21 -0400)]
doc: updated ceph monitor config options

Executed ceph-conf --dump-all on a freshly installed v14.2.2 (nautilus)
cluster. Compared the global defaults to the keys/values specified in
mon-config-ref.rst. Checked options.cc to make sure the obsolete keys
are no longer used.

Fixes: https://tracker.ceph.com/issues/41516
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoosd: prime splits/merges for any potential fabricated split/merge participant 30018/head
xie xingguo [Thu, 29 Aug 2019 05:47:42 +0000 (13:47 +0800)]
osd: prime splits/merges for any potential fabricated split/merge participant

If we have to fabricate a merge target, we need to prime any future splits
it might have.  Otherwise a sequence like

- e100 1.f merge to 1.7
- e110 1.7 split to 1.f, 1.17, 1.1f

where we process all of the above in one go at, say, e120, will lead to
a crash in register_and_wake_split_child because 1.17 and/or 1.1f aren't
primed.

Fix by making identify_splits_and_merges do a recursive scan on any
merge/split participants detected too.

Fixes: http://tracker.ceph.com/issues/38483
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #29939 from majianpeng/bluestore-print-correctly-info
Neha Ojha [Thu, 29 Aug 2019 14:36:02 +0000 (07:36 -0700)]
Merge pull request #29939 from majianpeng/bluestore-print-correctly-info

os/bluestore: print correctly info.

Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>