]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Radoslaw Zarzynski [Wed, 2 Dec 2020 09:26:29 +0000 (10:26 +0100)]
crimson: use explicit, abstract interfaces for backfill's facades.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Willem Jan Withagen [Fri, 27 Nov 2020 00:15:45 +0000 (01:15 +0100)]
librbd: remove double declaration
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Volker Theile [Wed, 25 Nov 2020 16:57:13 +0000 (17:57 +0100)]
mgr/dashboard: Disable TLS 1.0 and 1.1
Disable these TLS versions because of security issues.
Fixes: https://tracker.ceph.com/issues/48360
Signed-off-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Thu, 26 Nov 2020 13:34:46 +0000 (21:34 +0800)]
Merge pull request #38297 from badone/wip-make-sure--e-actually-works
run-make-check.sh: Make sure a build failure will exit
Reviewed-by: Kefu Chai <kchai@redhat.com>
Willem Jan Withagen [Thu, 26 Nov 2020 13:02:41 +0000 (14:02 +0100)]
blk: fix parameters for non native uring
The parameterlist used when uring is availble needs
to be equal to the case where no uring is available.
fixes: https://github.com/ceph/ceph/pull/38257
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Wed, 18 Nov 2020 10:34:38 +0000 (18:34 +0800)]
crimson/osd: wait for min_epoch instead of map_epoch
osdmap_epoch is the latest osdmap of the client, it is not the minimum
osdmap epoch required to serve the request from the client with this
osdmap.
as a matter of fact, `MOSDOp` inherits from `MOSDFastDispatchOp`.
the `MOSDFastDispatchOp::get_min_epoch()` returns `get_map_epoch()`, and
`MOSDOp` does not override `get_min_epoch()`.
`ClientRequest` is designed to handle `MOSDOp`. so, there is no need
to wait for `m->get_map_epoch()` osdmap before moving further, and more
importantly, we should wait until PG is updated with min_epoch osdmap.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 Nov 2020 11:52:10 +0000 (19:52 +0800)]
Merge pull request #38265 from Rethan/doc-prometheus-config-key
doc/mgr/prometheus: update 'config-key set' to 'config set' for consistency
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 Nov 2020 10:39:15 +0000 (18:39 +0800)]
crimson/osd: errororize PG::with_*_obc methods()
they all use `seastar::with_lock()` to ensure the obc lock is released
in the error handling path. but we cannot assume that
`seastar::with_lock()` always return `seastar::future<>`, so propogate
the error returned by the function passed to `with_lock()` using
errorator.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Mon, 28 Sep 2020 20:48:27 +0000 (13:48 -0700)]
crimson/common/errorator: fix finally
We need to specify the return type here to ensure we don't lose
the errorator properties.
Signed-off-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Thu, 26 Nov 2020 10:19:45 +0000 (18:19 +0800)]
Merge pull request #38257 from lnsyyj/wip-iouring-poll
blk/kernel: expose IORING_SETUP_{IOPOLL,SQPOLL} as options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 Nov 2020 10:18:22 +0000 (18:18 +0800)]
Merge pull request #38263 from tchaikov/wip-boost-1.74-asio
src,cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for Boost.Asio users and cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Sebastian Wagner [Thu, 26 Nov 2020 10:03:00 +0000 (11:03 +0100)]
mgr/cephadm: add docstring describing the HostCache
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Adam Kupczyk [Thu, 26 Nov 2020 09:51:31 +0000 (04:51 -0500)]
os/bluestore: Fixed memory leak in test
This is only unittest issue. This (potential) problems do not appear is BlueStore itself.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Jan Fajerski [Thu, 26 Nov 2020 07:14:25 +0000 (08:14 +0100)]
Merge PR #38149 into master
* refs/pull/38149/head:
ceph-volume inventory: make libstoragemgmt data retrieval optional
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
haoyixing [Tue, 24 Nov 2020 03:16:29 +0000 (11:16 +0800)]
doc/mgr/prometheus: update 'config-key set' to 'config set' for consistency
Elsewere in mgr/prometheus use the 'config set' way, so update the only 'config-key set'
to make it consistent.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Brad Hubbard [Thu, 26 Nov 2020 05:30:55 +0000 (15:30 +1000)]
run-make-check.sh: Make sure a build failure will exit
We 'set -e' but that is ignored because 'build tests' is executed in a
'&&' list (see 'man set') so move the echo to the following line.
Follow-up to
03ff2146f95
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Brad Hubbard [Thu, 26 Nov 2020 03:33:46 +0000 (13:33 +1000)]
Merge pull request #38292 from badone/wip-dont-run-tests-if-build-fails
run-make-check.sh: Don't run tests if build fails
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Thu, 26 Nov 2020 01:18:02 +0000 (11:18 +1000)]
run-make-check.sh: Don't run tests if build fails
When run-make was taken out we lost the 'set -e' call and therefore
continue after an error.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Patrick Donnelly [Wed, 25 Nov 2020 21:30:04 +0000 (13:30 -0800)]
Merge PR #38121 into master
* refs/pull/38121/head:
client: do not unset the client_debug_inject_tick_delay
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 25 Nov 2020 21:29:16 +0000 (13:29 -0800)]
Merge PR #38109 into master
* refs/pull/38109/head:
mds: dir->mark_new() should together with dir->mark_dirty()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 25 Nov 2020 21:28:25 +0000 (13:28 -0800)]
Merge PR #38031 into master
* refs/pull/38031/head:
client: check rdonly file handle on truncate
test/libcephfs: test truncate on rdonly fd
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Wed, 25 Nov 2020 21:27:19 +0000 (13:27 -0800)]
Merge PR #38104 into master
* refs/pull/38104/head:
client: dump which fs is used by client for multiple-fs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jan Fajerski [Wed, 18 Nov 2020 08:37:48 +0000 (09:37 +0100)]
ceph-volume inventory: make libstoragemgmt data retrieval optional
Default to not retrieving libstoragemgmt data since it seems this can
cause serious issues on older hardware. Safest way is to only retrieve
lsm data when the user opts in..
Fixes: https://tracker.ceph.com/issues/48270
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Boris Ranto [Wed, 25 Nov 2020 19:49:48 +0000 (20:49 +0100)]
mgr/prometheus: use threading.Event instead of sleep
This allows us to avoid waiting for the sleep to finish when waiting for
the thread to finish.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Wed, 25 Nov 2020 09:32:35 +0000 (10:32 +0100)]
mgr/prometheus: Log collection issues
Log any issues encountered during the data collection and continue to
collect the data anyway (after a sleep).
Signed-off-by: Boris Ranto <branto@redhat.com>
Mykola Golub [Wed, 25 Nov 2020 15:30:54 +0000 (17:30 +0200)]
Merge pull request #38068 from dillaman/wip-librbd-migration-4
librbd: S3-based migration source
Reviewed-by: Mykola Golub <mgolub@suse.com>
Boris Ranto [Wed, 25 Nov 2020 09:27:25 +0000 (10:27 +0100)]
mgr/prometheus: Use mgr.release_name for always on modules
The host_version is not populated properly in the early stages of ceph
mgr start up process. We can use mgr.release_name instead. It is more
stable and it provides the data even if mgr_map does not contain the
versions, yet.
Signed-off-by: Boris Ranto <branto@redhat.com>
meh
Kefu Chai [Wed, 25 Nov 2020 10:44:04 +0000 (18:44 +0800)]
mgr: do not migrate conf from config-key store to new-style conf
since all module options are using the new-style config framework.
the migration is offered for the use case of upgrade from luminous to mimic,
since pacific can only be upgraded from octopus. the mimic monitors are alreay
able to populate the configurations to mgr, not to mention the octopus
monitors, so there is no need to migrate the options stored in config-key
store anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
zdover23 [Wed, 25 Nov 2020 15:27:06 +0000 (01:27 +1000)]
Merge pull request #38195 from anthonyeleven/anthonyeleven/docs-14730
doc/rados/troubleshooting: description of upgrade procedure - stopping/starting OSDs
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Wed, 25 Nov 2020 15:03:02 +0000 (23:03 +0800)]
Merge pull request #38276 from tchaikov/wip-labeler
github/labeler: add "rgw" label to rgw related changes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Wed, 25 Nov 2020 09:08:48 +0000 (09:08 +0000)]
librbd: reserve async request id globally
We don't want it to be reset after an image is reopen as it may
cause requests being treated as duplicate.
Signed-off-by: Mykola Golub <mgolub@suse.com>
zdover23 [Wed, 25 Nov 2020 14:19:38 +0000 (00:19 +1000)]
Merge pull request #38091 from anthonyeleven/anthonyeleven/docs-46367
doc/dev/developer_guide: verb disagreement on "Testing: Unit Tests" page
Reviewed-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Wed, 25 Nov 2020 14:16:51 +0000 (00:16 +1000)]
Merge pull request #38143 from anthonyeleven/anthonyeleven/docs-46364
doc/dev/developer_guide: What Is Merged and When?" could be less colloquial
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Volker Theile [Wed, 25 Nov 2020 09:57:45 +0000 (10:57 +0100)]
mgr: Fix various typos
Signed-off-by: Volker Theile <vtheile@suse.com>
zdover23 [Wed, 25 Nov 2020 14:14:51 +0000 (00:14 +1000)]
Merge pull request #38079 from anthonyeleven/anthonyeleven/docs-24143
doc/rados/configuration/common.rst: enhance the running multiple clusters section
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Boris Ranto [Wed, 25 Nov 2020 09:25:49 +0000 (10:25 +0100)]
mgr/prometheus: Clean up collection thread
We need to clean up the metrics collection thread.
Signed-off-by: Boris Ranto <branto@redhat.com>
Augustinas [Fri, 20 Nov 2020 14:24:01 +0000 (16:24 +0200)]
doc: Remove duplicate sentence in sync module documentation
Signed-off-by: Augustinas Šimelionis <augustinas.simelionis@gmail.com>