Commit Graph

117352 Commits

Author SHA1 Message Date
Matt Benjamin
146a8e5543
Merge pull request #38171 from yuvalif/wip-yuval-fix-46296
rgw/notification: support GetTopicAttributes API
2020-12-02 07:42:03 -05:00
Ernesto Puerta
c82876e292
Merge pull request #38300 from rhcs-dashboard/fix-saml2-endpoint
mgr/dashboard: SSO not working after REST API versioning

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-02 12:26:20 +01:00
Ernesto Puerta
a5c685cb06
Merge pull request #38154 from votdev/issue_48181_pipe_function
mgr/dashboard: Use pipe instead of calling function within template wherever possible

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2020-12-02 12:25:39 +01:00
Ernesto Puerta
76ee317dad
Merge pull request #38019 from bk201/wip-48176
mgr/dashboard: allow selecting all daemons for Orchestrator NFS clusters

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-12-02 12:25:03 +01:00
Ernesto Puerta
ec419e6971
Merge pull request #37198 from tspmelo/wip-iscsi-fix-frontend
mgr/dashboard: Allow managing iSCSI Initiator after removing from group

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-12-02 12:24:13 +01:00
Kefu Chai
22e63b72de
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>
2020-12-02 17:31:08 +08:00
Kefu Chai
37d24ac4c8
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>
2020-12-02 16:04:10 +08:00
Kefu Chai
3429c2b586
Merge pull request #38380 from lixiaoy1/pkg_fix
cmake: fix unknown pkg_search_module

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 15:38:31 +08:00
lixiaoy1
e8fd8a31b2 cmake: fix unknown pkg_search_module
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-12-02 06:18:52 -05:00
JiangYu
0fd8f769b3 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>
2020-12-02 04:01:16 +00:00
Yingxin Cheng
66d17ffa9c crimson/net: make ms_dispatch() return optional<future<>>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2020-12-02 11:25:10 +08:00
Kefu Chai
406fd1a80a
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>
2020-12-02 11:19:25 +08:00
Yingxin Cheng
a5a77b5187 crimson/net: use boost::container::small_vector in ChainedDispatchers
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2020-12-02 10:34:52 +08:00
Xuehan Xu
d629f18088 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>
2020-12-02 10:34:48 +08:00
J. Eric Ivancich
9d973a0553
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>
2020-12-01 16:55:10 -05:00
J. Eric Ivancich
fe054e0a2b
Merge pull request #35511 from yehudasa/wip-rgw-cr-drain
rgw: refactor boilerplate coroutine drain callers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-12-01 16:54:48 -05:00
J. Eric Ivancich
5ba09563e9
Merge pull request #37733 from orztt/master
cls/rgw/cls_rgw.cc: fix multiple lastest version problem

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-12-01 16:54:27 -05:00
J. Eric Ivancich
3d6b04a9bf
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>
2020-12-01 16:53:49 -05:00
J. Eric Ivancich
0c3d5ecca2
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>
2020-12-01 16:52:49 -05:00
J. Eric Ivancich
bd075b7437
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>
2020-12-01 16:52:02 -05:00
zdover23
c0f1c56cf5
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>
2020-12-02 04:03:26 +10:00
Kefu Chai
3a2822ed75
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>
2020-12-02 00:57:26 +08:00
Jan Fajerski
faba0c3638 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>
2020-12-01 17:38:25 +01:00
Kefu Chai
7a62303b57 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>
2020-12-02 00:25:16 +08:00
Kefu Chai
448800d300 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>
2020-12-02 00:25:16 +08:00
Kefu Chai
7edd8dd0d0 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>
2020-12-02 00:25:16 +08:00
Kefu Chai
02c06942f4
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>
2020-12-01 23:58:45 +08:00
Kefu Chai
ec1b78a871
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>
2020-12-01 23:34:31 +08:00
Kefu Chai
52c9525385
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>
2020-12-01 23:00:06 +08:00
Patrick Donnelly
96bc10822b
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>
2020-12-01 06:56:38 -08:00
Kefu Chai
a6eb62e107
Merge pull request #38218 from aaugustinas/patch-1
doc: Remove duplicate sentence in sync module documentation

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-12-01 22:38:43 +08:00
Radoslaw Zarzynski
72454ef712 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>
2020-12-01 15:20:58 +01:00
Radoslaw Zarzynski
9945dd5876 crimson: conditionally reload ObjectState if execution fails.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 15:08:53 +01:00
Radoslaw Zarzynski
61ca0c1271 crimson: unify error handling paths in PG::do_osd_ops().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 15:08:52 +01:00
Jason Dillaman
4e9da32ab7
Merge pull request #38008 from trociny/wip-47388
librbd: serialize maintenance operations by type

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-01 08:24:45 -05:00
Radoslaw Zarzynski
2c2062cfca 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>
2020-12-01 13:55:27 +01:00
Radoslaw Zarzynski
e681ffb72f 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>
2020-12-01 13:22:16 +01:00
Radoslaw Zarzynski
ea3515ded7 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>
2020-12-01 13:22:16 +01:00
Radoslaw Zarzynski
0a6b5767f0 crimson/tests: add simple multi-replica test for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:16 +01:00
Radoslaw Zarzynski
0f738f1a93 crimson: adhere to aliasing of a variable in BackfillState::Enqueuing.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:16 +01:00
Radoslaw Zarzynski
30258bc14d crimson/tests: implement randomized testing for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:15 +01:00
Radoslaw Zarzynski
a44b937b2c tests: modernize all occurrences of rand_choose().
We should consider deduplication as well.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:15 +01:00
Radoslaw Zarzynski
d3e4e6ca0e crimson/tests: add unittesting for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:15 +01:00
Radoslaw Zarzynski
b34647b18c crimson/osd: drop unnecessary includes from backfill_state.{cc,h}.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-01 13:22:15 +01:00
Radoslaw Zarzynski
670c433050 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>
2020-12-01 13:22:15 +01:00
Radoslaw Zarzynski
eaa1e967da 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>
2020-12-01 13:21:56 +01:00
Radoslaw Zarzynski
649e83e2ec 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>
2020-12-01 13:20:15 +01:00
Kefu Chai
94488f911a 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>
2020-12-01 15:41:45 +08:00
Kefu Chai
beb218c41d 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>
2020-12-01 15:41:45 +08:00
Kefu Chai
be26c566e5 doc: remove edit_on_github sphinx extension
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-01 15:41:45 +08:00