]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agorbd: current pc value should be greater than last_pc 38399/head
es-gyt [Wed, 2 Dec 2020 11:29:36 +0000 (19:29 +0800)]
rbd: current pc value should be greater than last_pc

If rbd image enabled striping feature, stderr will
print repeat rate of progress when execu rbd export-diff.

Fixes: https://tracker.ceph.com/issues/48431
Signed-off-by: Yite Gu <yite.gu@easystack.cn>
4 years agoMerge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception
Kefu Chai [Wed, 2 Dec 2020 09:31:08 +0000 (17:31 +0800)]
Merge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception

crimson/net: misc fixes and cleanups to messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38327 from lnsyyj/wip-make-error
Kefu Chai [Wed, 2 Dec 2020 08:04:10 +0000 (16:04 +0800)]
Merge pull request #38327 from lnsyyj/wip-make-error

debian/control: add libffi-dev build dep for aarch64

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38380 from lixiaoy1/pkg_fix
Kefu Chai [Wed, 2 Dec 2020 07:38:31 +0000 (15:38 +0800)]
Merge pull request #38380 from lixiaoy1/pkg_fix

cmake: fix unknown pkg_search_module

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: fix unknown pkg_search_module 38380/head
lixiaoy1 [Wed, 2 Dec 2020 10:56:33 +0000 (05:56 -0500)]
cmake: fix unknown pkg_search_module

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
4 years agodebian/control: building wheel for cffi(no dependency) 38327/head
JiangYu [Mon, 30 Nov 2020 04:22:24 +0000 (04:22 +0000)]
debian/control: building wheel for cffi(no dependency)

This commit fixes Building wheel for cffi (setup.py) ... error:
   c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory

some python packages do not offer precompiled binary packages for aarch64 on PyPI.
only happens on non-amd64 arches, so add [!amd64].

Signed-off-by: JiangYu <lnsyyj@hotmail.com>
4 years agocrimson/net: make ms_dispatch() return optional<future<>> 38360/head
Yingxin Cheng [Wed, 2 Dec 2020 03:25:10 +0000 (11:25 +0800)]
crimson/net: make ms_dispatch() return optional<future<>>

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoMerge pull request #38378 from xxhdx1985126/wip-obc-with-lock-issue
Kefu Chai [Wed, 2 Dec 2020 03:19:25 +0000 (11:19 +0800)]
Merge pull request #38378 from xxhdx1985126/wip-obc-with-lock-issue

crimson/osd: add _with_lock method to obc

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/net: use boost::container::small_vector in ChainedDispatchers
Yingxin Cheng [Wed, 2 Dec 2020 02:34:52 +0000 (10:34 +0800)]
crimson/net: use boost::container::small_vector in ChainedDispatchers

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/osd: add _with_lock method to obc 38378/head
Xuehan Xu [Wed, 2 Dec 2020 02:30:07 +0000 (10:30 +0800)]
crimson/osd: add _with_lock method to obc

this is modeling the seastar::with_lock() method with the exception
that obc is also captured in the finally block.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #34462 from inspur-wyq/wip-44987
J. Eric Ivancich [Tue, 1 Dec 2020 21:55:10 +0000 (16:55 -0500)]
Merge pull request #34462 from inspur-wyq/wip-44987

rgw: belong the anonymous object to the bucket owner

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #35511 from yehudasa/wip-rgw-cr-drain
J. Eric Ivancich [Tue, 1 Dec 2020 21:54:48 +0000 (16:54 -0500)]
Merge pull request #35511 from yehudasa/wip-rgw-cr-drain

rgw: refactor boilerplate coroutine drain callers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #37733 from orztt/master
J. Eric Ivancich [Tue, 1 Dec 2020 21:54:27 +0000 (16:54 -0500)]
Merge pull request #37733 from orztt/master

cls/rgw/cls_rgw.cc: fix multiple lastest version problem

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #31393 from jiahuizeng/int-range
J. Eric Ivancich [Tue, 1 Dec 2020 21:53:49 +0000 (16:53 -0500)]
Merge pull request #31393 from jiahuizeng/int-range

rgw: avoid expiration early triggering caused by overflow

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #35059 from matthewoliver/s3_put_bucket_policy_204
J. Eric Ivancich [Tue, 1 Dec 2020 21:52:49 +0000 (16:52 -0500)]
Merge pull request #35059 from matthewoliver/s3_put_bucket_policy_204

rgw: S3 Put Bucket Policy should return 204 on success

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #37933 from markhoughton-microfocus/issue_47586_fix
J. Eric Ivancich [Tue, 1 Dec 2020 21:52:02 +0000 (16:52 -0500)]
Merge pull request #37933 from markhoughton-microfocus/issue_47586_fix

rgw: check object locks in multi-object delete

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #38311 from anthonyeleven/anthonyeleven/fix-typo
zdover23 [Tue, 1 Dec 2020 18:03:26 +0000 (04:03 +1000)]
Merge pull request #38311 from anthonyeleven/anthonyeleven/fix-typo

doc/rados/operations: typo in stretch-mode.rst

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #38366 from tchaikov/wip-templated-doc
Kefu Chai [Tue, 1 Dec 2020 16:57:26 +0000 (00:57 +0800)]
Merge pull request #38366 from tchaikov/wip-templated-doc

doc: drop edit-on-github extension and templatize page.html further

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge PR #38034 into master
Jan Fajerski [Tue, 1 Dec 2020 16:38:25 +0000 (17:38 +0100)]
Merge PR #38034 into master

* refs/pull/38034/head:
lvm/create.py: fix a typo in the help message

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agodoc: check "release" context variable for #dev-warning 38366/head
Kefu Chai [Tue, 1 Dec 2020 07:16:15 +0000 (15:16 +0800)]
doc: check "release" context variable for #dev-warning

if $release is "dev", then the release being built is not a stable
version.

drop ceph.js, as the web page is generated at build time.

since the last user of "releases.json" is gone, now we can
drop the hooks preparing "releases.json" in conf.py as well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: disable eol-warning based on "is_release_eol"
Kefu Chai [Tue, 1 Dec 2020 07:00:54 +0000 (15:00 +0800)]
doc: disable eol-warning based on "is_release_eol"

enable/disable #eol-warning based on "is_release_eol" context variable.
this allows us to generate a more static web page. and pave the road to
a releases.json-free doc build process.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: add docubetter link back
Kefu Chai [Tue, 1 Dec 2020 06:56:23 +0000 (14:56 +0800)]
doc: add docubetter link back

check if the release being built is EOL when building the document, so
no need to use javascript to read releases.json anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38219 from rzarzynski/wip-crimson-restore-obs
Kefu Chai [Tue, 1 Dec 2020 15:58:45 +0000 (23:58 +0800)]
Merge pull request #38219 from rzarzynski/wip-crimson-restore-obs

crimson: conditionally reload ObjectState if execution fails

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38370 from rzarzynski/wip-kv-memdb-uninitialized_in_init
Kefu Chai [Tue, 1 Dec 2020 15:34:31 +0000 (23:34 +0800)]
Merge pull request #38370 from rzarzynski/wip-kv-memdb-uninitialized_in_init

kv/memdb: fix uninitialized return of MemDB::_init().

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36118 from rzarzynski/wip-crimson-backfill-part1
Kefu Chai [Tue, 1 Dec 2020 15:00:06 +0000 (23:00 +0800)]
Merge pull request #36118 from rzarzynski/wip-crimson-backfill-part1

crimson: add support for backfill, part 1 -- unit testing

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #38365 into master
Patrick Donnelly [Tue, 1 Dec 2020 14:56:38 +0000 (06:56 -0800)]
Merge PR #38365 into master

* refs/pull/38365/head:
doc/mds: fix the default value for mds_dir_max_commit_size

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
4 years agoMerge pull request #38218 from aaugustinas/patch-1
Kefu Chai [Tue, 1 Dec 2020 14:38:43 +0000 (22:38 +0800)]
Merge pull request #38218 from aaugustinas/patch-1

doc: Remove duplicate sentence in sync module documentation

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agokv/memdb: fix uninitialized return of MemDB::_init(). 38370/head
Radoslaw Zarzynski [Tue, 1 Dec 2020 14:19:34 +0000 (15:19 +0100)]
kv/memdb: fix uninitialized return of MemDB::_init().

Without this fix GCC complains:

```
src/kv/MemDB.cc:179:10: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  179 |   return r;
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: conditionally reload ObjectState if execution fails. 38219/head
Radoslaw Zarzynski [Fri, 20 Nov 2020 15:42:36 +0000 (16:42 +0100)]
crimson: conditionally reload ObjectState if execution fails.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: unify error handling paths in PG::do_osd_ops().
Radoslaw Zarzynski [Fri, 20 Nov 2020 14:20:42 +0000 (15:20 +0100)]
crimson: unify error handling paths in PG::do_osd_ops().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #38008 from trociny/wip-47388
Jason Dillaman [Tue, 1 Dec 2020 13:24:45 +0000 (08:24 -0500)]
Merge pull request #38008 from trociny/wip-47388

librbd: serialize maintenance operations by type

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agocrimson: fix the condition in the loop of BackfillState::Enqueuing. 36118/head
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:46:51 +0000 (17:46 +0100)]
crimson: fix the condition in the loop of BackfillState::Enqueuing.

The bug here was that if a backfill target has an object-to-delete
placed after the very last object of primary, it will be missed.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/tests: bring two_pseudorandomized_replicas.
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:39:37 +0000 (17:39 +0100)]
crimson/tests: bring two_pseudorandomized_replicas.

It discovered an issue with occasional missing deletion
of the very last object on replica if it doesn't exist
on primary.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: fix mismatch between backfill's enqueue_push() and recovery.
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:12:38 +0000 (17:12 +0100)]
crimson: fix mismatch between backfill's enqueue_push() and recovery.

The unittesting discovered an issue between `BackfillState` and
the low-layer recovery code: `RecoveryBackend::recover_object()`.
`BackfillState::enqueue_push()` was assuming it controlls also
to which backfill target the push is sent while `recover_object()`
calculated the set on its own.
Fixing this is the reason why `enqueue_push()` loses the `const
pg_shard_t& target` parameter.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/tests: add simple multi-replica test for backfill.
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:01:45 +0000 (17:01 +0100)]
crimson/tests: add simple multi-replica test for backfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: adhere to aliasing of a variable in BackfillState::Enqueuing.
Radoslaw Zarzynski [Thu, 19 Nov 2020 15:53:42 +0000 (16:53 +0100)]
crimson: adhere to aliasing of a variable in BackfillState::Enqueuing.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/tests: implement randomized testing for backfill.
Radoslaw Zarzynski [Thu, 30 Jul 2020 14:46:17 +0000 (16:46 +0200)]
crimson/tests: implement randomized testing for backfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agotests: modernize all occurrences of rand_choose().
Radoslaw Zarzynski [Thu, 30 Jul 2020 14:41:48 +0000 (16:41 +0200)]
tests: modernize all occurrences of rand_choose().

We should consider deduplication as well.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/tests: add unittesting for backfill.
Radoslaw Zarzynski [Tue, 9 Jun 2020 16:03:49 +0000 (18:03 +0200)]
crimson/tests: add unittesting for backfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: drop unnecessary includes from backfill_state.{cc,h}.
Radoslaw Zarzynski [Tue, 14 Jul 2020 13:03:00 +0000 (15:03 +0200)]
crimson/osd: drop unnecessary includes from backfill_state.{cc,h}.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: do not refence PGLog in BackfillState.
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:43:33 +0000 (14:43 +0200)]
crimson/osd: do not refence PGLog in BackfillState.

This commit makes the backfill code unware about pg log
implementation details. The benefit is easier unit testing.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: drop the depedency on pg_info_t from PGFacade.
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:34:11 +0000 (14:34 +0200)]
crimson/osd: drop the depedency on pg_info_t from PGFacade.

`get_info()` gets replaced with `get_last_update() and
`get_log_tail()`. This entirely removes the awareness of
`pg_info_t` in the backfill code.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: replace get_peer_info() in BackfillState::PGFacade.
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:23:49 +0000 (14:23 +0200)]
crimson/osd: replace get_peer_info() in BackfillState::PGFacade.

`get_peer_info()` gets replaced with `get_peer_last_backfill()`.
The benefit is no need to mock peer's `pg_info_t` in unit test.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agodoc/conf: find the latest stable release in releases.yml
Kefu Chai [Tue, 1 Dec 2020 06:49:56 +0000 (14:49 +0800)]
doc/conf: find the latest stable release in releases.yml

instead of hardwiring the "|stable-release|" to "octopus" use the latest
release name found in 'doc/releases/releases.yml'

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/conf: read version and release from src/ceph_release
Kefu Chai [Tue, 1 Dec 2020 06:46:19 +0000 (14:46 +0800)]
doc/conf: read version and release from src/ceph_release

instead of hardwiring them to 'dev' and 'dev', use the src/ceph_release
as the source of truth.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: remove edit_on_github sphinx extension
Kefu Chai [Tue, 1 Dec 2020 05:43:40 +0000 (13:43 +0800)]
doc: remove edit_on_github sphinx extension

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/mds: fix the default value for mds_dir_max_commit_size 38365/head
Xiubo Li [Tue, 1 Dec 2020 05:31:21 +0000 (13:31 +0800)]
doc/mds: fix the default value for mds_dir_max_commit_size

The default value has changed to 10MB.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge PR #38093 into master
Patrick Donnelly [Tue, 1 Dec 2020 04:04:18 +0000 (20:04 -0800)]
Merge PR #38093 into master

* refs/pull/38093/head:
qa: add debug information for client address for kclient
qa/kernel_mount.py: rename _read_debug_file to read_debug_file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38083 into master
Patrick Donnelly [Tue, 1 Dec 2020 03:46:03 +0000 (19:46 -0800)]
Merge PR #38083 into master

* refs/pull/38083/head:
mds: don't access mds->mdsmap without holding mds_lock

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #38315 from badone/wip-mon-scrub-testing
Brad Hubbard [Tue, 1 Dec 2020 01:59:47 +0000 (11:59 +1000)]
Merge pull request #38315 from badone/wip-mon-scrub-testing

Test mon scrub and exercise mon scrub error injectors

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agocrimson/net: ms_dispatch() use ConnectionRef
Yingxin Cheng [Mon, 30 Nov 2020 07:53:46 +0000 (15:53 +0800)]
crimson/net: ms_dispatch() use ConnectionRef

The future returned by ms_dispatch() is only for throttling, not for
Connection lifecycle management. And Messenger may not hold the
connection reference once it is closed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/test: implement get_server_addr()
Yingxin Cheng [Mon, 30 Nov 2020 06:17:10 +0000 (14:17 +0800)]
crimson/test: implement get_server_addr()

So we can distinguish which messenger test is still pending when we have
bind failure.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/net: avoid using finally
Yingxin Cheng [Mon, 30 Nov 2020 05:28:28 +0000 (13:28 +0800)]
crimson/net: avoid using finally

Messenger will only throw unexpected exceptions when there is a bug. In
that case, we should not do any further operations which may result in
segmentation fault and hide the original exception.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/net: make bind()/try_bind() return errorated future
Yingxin Cheng [Mon, 30 Nov 2020 03:50:36 +0000 (11:50 +0800)]
crimson/net: make bind()/try_bind() return errorated future

Also fixed callers to handle the error: abort immediately upon bind
failure and report error. Previously, these callers didn't handle bind
failures correctly and would result in misleading undefined behaviors.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/osd: fix incorrect header
Yingxin Cheng [Mon, 30 Nov 2020 03:44:42 +0000 (11:44 +0800)]
crimson/osd: fix incorrect header

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/net: cleanup interfaces to start and stop a messenger
Yingxin Cheng [Fri, 27 Nov 2020 06:03:43 +0000 (14:03 +0800)]
crimson/net: cleanup interfaces to start and stop a messenger

There is no on-going iterations in the new
ChainedDispatchers::ms_dispatch() implementation, so we no longer need
to worry about removing dispatchers when stopping the messenger. So the
""boost::intrusive::slist" is not needed, and we can use cleaner
interfaces to start and stop the messenger.

Also fixed an regression issue in perf_crimson_msgr caused by
ChainedDispatchers.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agodoc/rados/operations: typo in stretch-mode.rst 38311/head
Anthony D'Atri [Thu, 26 Nov 2020 19:32:33 +0000 (11:32 -0800)]
doc/rados/operations: typo in stretch-mode.rst

4 years agoMerge pull request #38127 from tchaikov/wip-crimson-client-request-wait
Kefu Chai [Mon, 30 Nov 2020 23:15:49 +0000 (07:15 +0800)]
Merge pull request #38127 from tchaikov/wip-crimson-client-request-wait

crimson/osd: do not wait for sent epoch

Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #38203 from tchaikov/wip-doc-build-releases.yaml
Kefu Chai [Mon, 30 Nov 2020 23:13:34 +0000 (07:13 +0800)]
Merge pull request #38203 from tchaikov/wip-doc-build-releases.yaml

doc/conf: generate releases.json in conf.py and cleanups

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #38239 from tchaikov/wip-48320
Kefu Chai [Mon, 30 Nov 2020 23:13:12 +0000 (07:13 +0800)]
Merge pull request #38239 from tchaikov/wip-48320

mon/OSDMonitor: drop osd_epoch of manually marked out osd

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #38281 from tchaikov/wip-mgr-no-kv-options
Kefu Chai [Mon, 30 Nov 2020 23:12:43 +0000 (07:12 +0800)]
Merge pull request #38281 from tchaikov/wip-mgr-no-kv-options

mgr: do not migrate conf from config-key store to new-style conf

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #38305 from tchaikov/wip-crimson-finally
Kefu Chai [Mon, 30 Nov 2020 23:11:51 +0000 (07:11 +0800)]
Merge pull request #38305 from tchaikov/wip-crimson-finally

crimson: fix finally and erroratorize PG::with_*_obc()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge PR #38248 into master
Patrick Donnelly [Mon, 30 Nov 2020 22:02:36 +0000 (14:02 -0800)]
Merge PR #38248 into master

* refs/pull/38248/head:
doc: Adding missing Ceph Foundation board members

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #38313 from wjwithagen/wjw-fix-src-HttpClient.h
Jason Dillaman [Mon, 30 Nov 2020 15:51:20 +0000 (10:51 -0500)]
Merge pull request #38313 from wjwithagen/wjw-fix-src-HttpClient.h

librbd: fix Clang warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
4 years agoMerge pull request #38113 from rhcs-dashboard/login-name-cleanup
Ernesto Puerta [Mon, 30 Nov 2020 11:15:56 +0000 (12:15 +0100)]
Merge pull request #38113 from rhcs-dashboard/login-name-cleanup

mgr/dashboard: Change the text 'Login' to 'Log in'

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #38209 from votdev/issue_44404_placement_column
Ernesto Puerta [Mon, 30 Nov 2020 10:33:07 +0000 (11:33 +0100)]
Merge pull request #38209 from votdev/issue_44404_placement_column

mgr/dashboard: display placement column in service table

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #38163 from bk201/wip-48245
Ernesto Puerta [Mon, 30 Nov 2020 10:26:38 +0000 (11:26 +0100)]
Merge pull request #38163 from bk201/wip-48245

mgr/dashboard: fix exception in get_smart_data_by_daemon

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: p-se <pseidensal@suse.com>
4 years agoMerge pull request #38330 from tchaikov/wip-librados-no-reuse
Kefu Chai [Mon, 30 Nov 2020 10:24:07 +0000 (18:24 +0800)]
Merge pull request #38330 from tchaikov/wip-librados-no-reuse

include/rados/librados.h: note that {read,write}_op cannot be reused

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoMerge pull request #37994 from s0nea/wip-dashboard-button-panel
Ernesto Puerta [Mon, 30 Nov 2020 10:22:56 +0000 (11:22 +0100)]
Merge pull request #37994 from s0nea/wip-dashboard-button-panel

mgr/dashboard: refactor the order of buttons shown in forms

Reviewed-by: Courtney Caldwell <ccaldwel@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoinclude/rados/librados.h: note that {read,write}_op cannot be reused 38330/head
Kefu Chai [Mon, 30 Nov 2020 07:01:37 +0000 (15:01 +0800)]
include/rados/librados.h: note that {read,write}_op cannot be reused

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/net: make Dispatcher::ms_dispatch() a pure virtual interface
Yingxin Cheng [Fri, 27 Nov 2020 05:43:14 +0000 (13:43 +0800)]
crimson/net: make Dispatcher::ms_dispatch() a pure virtual interface

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/net: link the throttling future in both v1 and v2
Yingxin Cheng [Fri, 27 Nov 2020 05:38:12 +0000 (13:38 +0800)]
crimson/net: link the throttling future in both v1 and v2

The current implementations are correct and will not link the
throttleing future with unrelated futures.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoMerge pull request #37503 from TRYTOBE8TME/wip-rgw-sts-web-identity
Ali Maredia [Sun, 29 Nov 2020 16:24:05 +0000 (11:24 -0500)]
Merge pull request #37503 from TRYTOBE8TME/wip-rgw-sts-web-identity

Wip rgw sts web identity

4 years agoqa: STS Web Identity task files 37503/head
Kalpesh Pandya [Fri, 22 May 2020 20:58:53 +0000 (02:28 +0530)]
qa: STS Web Identity task files

This commit comprises of 3 things:
1) Keycloak task (to bring up keycloak in teuthology inorder to execute Assume_Role_With_Web_Identity tests).
2) The required changes for this in s3tests.py which consists of writing some parameters to configuration file.
3) The yaml files which executes these tasks.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
4 years agoMerge pull request #38277 from b-ranto/wip-prom-fixes
Kefu Chai [Sat, 28 Nov 2020 08:15:30 +0000 (16:15 +0800)]
Merge pull request #38277 from b-ranto/wip-prom-fixes

mgr/prometheus: Make module more stable

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38286 from votdev/issue_48360_disable_tlsv1
Kefu Chai [Sat, 28 Nov 2020 08:14:03 +0000 (16:14 +0800)]
Merge pull request #38286 from votdev/issue_48360_disable_tlsv1

mgr/dashboard: Disable TLS 1.0 and 1.1

Reviewed-by: Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38321 from rhcs-dashboard/add-dashboard-master
Kefu Chai [Sat, 28 Nov 2020 01:26:20 +0000 (09:26 +0800)]
Merge pull request #38321 from rhcs-dashboard/add-dashboard-master

mailmap: add dashboard contributors

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #38221 into master
Patrick Donnelly [Fri, 27 Nov 2020 21:38:44 +0000 (13:38 -0800)]
Merge PR #38221 into master

* refs/pull/38221/head:
.github: add mon and mgr labelers

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agomailmap: add dashboard contributors 38321/head
Ernesto Puerta [Fri, 27 Nov 2020 19:01:36 +0000 (20:01 +0100)]
mailmap: add dashboard contributors

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agomgr/dashboard: Change the text 'Login' to 'Log in' 38113/head
Nizamudeen A [Mon, 16 Nov 2020 18:27:12 +0000 (23:57 +0530)]
mgr/dashboard: Change the text 'Login' to 'Log in'

Fixes: https://tracker.ceph.com/issues/48253
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38304 from sebastian-philipp/cephadm-inventory-cache-docstring
Sebastian Wagner [Fri, 27 Nov 2020 10:10:46 +0000 (11:10 +0100)]
Merge pull request #38304 from sebastian-philipp/cephadm-inventory-cache-docstring

mgr/cephadm: add docstring describing the HostCache

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoMerge pull request #38078 from zdover23/wip-doc-docs-style-guide-prompts-nov-2020
Kefu Chai [Fri, 27 Nov 2020 06:47:06 +0000 (14:47 +0800)]
Merge pull request #38078 from zdover23/wip-doc-docs-style-guide-prompts-nov-2020

doc/start: update prompts in documenting-ceph.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38303 from aclamk/wip-bs-types-test-leak
Kefu Chai [Fri, 27 Nov 2020 06:35:04 +0000 (14:35 +0800)]
Merge pull request #38303 from aclamk/wip-bs-types-test-leak

os/bluestore: Fixed memory leak in test

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #38058 from lxbsz/rbd_expand11
Kefu Chai [Fri, 27 Nov 2020 06:30:28 +0000 (14:30 +0800)]
Merge pull request #38058 from lxbsz/rbd_expand11

global: reexpand the config meta just after the fork() is done

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38240 from ifed01/wip-ifed-is-valid-io-log
Kefu Chai [Fri, 27 Nov 2020 06:23:27 +0000 (14:23 +0800)]
Merge pull request #38240 from ifed01/wip-ifed-is-valid-io-log

blk: log is_valid_io() parameters when unsuccessful.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
4 years agoMerge pull request #38262 from tchaikov/wip-librbd-gcc-10
Kefu Chai [Fri, 27 Nov 2020 06:22:12 +0000 (14:22 +0800)]
Merge pull request #38262 from tchaikov/wip-librbd-gcc-10

neorados: use lambda instead of std::mem_fn()

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38278 from votdev/fix_cephadm_typo
Kefu Chai [Fri, 27 Nov 2020 06:21:25 +0000 (14:21 +0800)]
Merge pull request #38278 from votdev/fix_cephadm_typo

pybind/mgr/cephadm: Fix various typos

Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agoMerge pull request #38211 from ricardoasmarques/sort-host-device-ls
Kefu Chai [Fri, 27 Nov 2020 06:19:39 +0000 (14:19 +0800)]
Merge pull request #38211 from ricardoasmarques/sort-host-device-ls

mgr/orchestrator: Sort 'ceph orch device ls' by host

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
4 years agoMerge pull request #38138 from batrick/centos-8.2
Kefu Chai [Fri, 27 Nov 2020 06:18:29 +0000 (14:18 +0800)]
Merge pull request #38138 from batrick/centos-8.2

qa: update centos release to 8.2

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
4 years agoMerge pull request #38224 from Rethan/fix_pg_dump_json
Kefu Chai [Fri, 27 Nov 2020 06:17:23 +0000 (14:17 +0800)]
Merge pull request #38224 from Rethan/fix_pg_dump_json

mgr: fix "ceph pg dump_json/dump_pools_json" format error

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38206 from dvanders/dvanders_upmap
Kefu Chai [Fri, 27 Nov 2020 06:15:47 +0000 (14:15 +0800)]
Merge pull request #38206 from dvanders/dvanders_upmap

mgr/balancer: fix available pgs sent to calc_pg_upmaps

Reviewed-by: David Zafman <dzafman@redhat.com>
4 years agoMerge pull request #38264 from tchaikov/wip-mgr-prometheus-cleanups
Kefu Chai [Fri, 27 Nov 2020 06:13:36 +0000 (14:13 +0800)]
Merge pull request #38264 from tchaikov/wip-mgr-prometheus-cleanups

pybind/mgr/prometheus: cleanups

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #38241 from Rethan/update_url_from_master_to_lastest
Kefu Chai [Fri, 27 Nov 2020 06:00:12 +0000 (14:00 +0800)]
Merge pull request #38241 from Rethan/update_url_from_master_to_lastest

doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
4 years agoMerge pull request #38306 from wjwithagen/wjw-fix-uring-functype
Kefu Chai [Fri, 27 Nov 2020 05:54:03 +0000 (13:54 +0800)]
Merge pull request #38306 from wjwithagen/wjw-fix-uring-functype

blk: fix parameters for non native uring

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/net: return tuple<bool, future<>> from ms_dispatch()
Yingxin Cheng [Fri, 27 Nov 2020 04:53:24 +0000 (12:53 +0800)]
crimson/net: return tuple<bool, future<>> from ms_dispatch()

Return a boolean to notify whether the Dispatcher has claimed the
message. And fix all the ms_dispatch() to return future only for
throttling purposes, which is currently always seastar::now().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson/net: isolate exceptions from dispatcher implementations
Yingxin Cheng [Fri, 27 Nov 2020 03:30:40 +0000 (11:30 +0800)]
crimson/net: isolate exceptions from dispatcher implementations

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agocrimson: add a missing header to admin_socket.cc
Yingxin Cheng [Fri, 27 Nov 2020 03:16:22 +0000 (11:16 +0800)]
crimson: add a missing header to admin_socket.cc

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoqa/suites/rados/monthrash: Exercise mon scrub error injectors 38315/head
Brad Hubbard [Wed, 11 Nov 2020 01:58:01 +0000 (11:58 +1000)]
qa/suites/rados/monthrash: Exercise mon scrub error injectors

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoqa/config/rados.yaml: Test mon scrub
Brad Hubbard [Wed, 11 Nov 2020 01:49:41 +0000 (11:49 +1000)]
qa/config/rados.yaml: Test mon scrub

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agolibrbd: remove unwanted std::move 38313/head
Willem Jan Withagen [Fri, 27 Nov 2020 00:17:05 +0000 (01:17 +0100)]
librbd: remove unwanted std::move

Clang argues:
```
/home/jenkins/workspace/ceph-master-compile/src/librbd/migration/HttpClient.cc:463:16: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    response = std::move(m_parser->release());
               ^
/home/jenkins/workspace/ceph-master-compile/src/librbd/migration/HttpClient.cc:463:16: note: remove std::move call here
    response = std::move(m_parser->release());
               ^~~~~~~~~~                   ~
1 warning generated.

```

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>