Commit Graph

117368 Commits

Author SHA1 Message Date
Ernesto Puerta
b23ab57b69
mgr/dashboard: fix wrong import in iscsi unit test
This commit bdf866e436 happened after the
last run of https://github.com/ceph/ceph/pull/37198 make check. That's
why that latter PR passed the tests then but failed when merged in
master.

Fixes: https://tracker.ceph.com/issues/48441
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-02 22:19:00 +01:00
Matt Benjamin
4172e29dce
Merge pull request #38369 from linuxbox2/wip-rgwfile-cporder
rgw_file: return common_prefixes in lexical order
2020-12-02 09:54:02 -05:00
Jason Dillaman
34c6ea7d4c
Merge pull request #38383 from shellwedance/doc_fix_typos
doc/rbd: fix doc typos

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-02 09:34:38 -05:00
Kefu Chai
a92a27a5b0
Merge pull request #38320 from tchaikov/wip-cmake-std-fs
cmake: do not always require extra link flags for std::filesystem

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-12-02 22:03:26 +08:00
Kefu Chai
ca42b2b011
Merge pull request #38390 from xxhdx1985126/wip-obc-related-issues
crimson/osd: fix several obc related issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-02 21:13:51 +08:00
Kefu Chai
cd1f9173a9
Merge pull request #38397 from tchaikov/wip-crimson-tests
test/crimson: adapt to the changes of messenger

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-02 21:10:19 +08:00
Matt Benjamin
f89d98320e
Merge pull request #38136 from yuvalif/wip-yuval-fix-47904
rgw/notification: trigger notifications on changes from any user
2020-12-02 07:43:12 -05:00
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
Xuehan Xu
fa27b6eb85 crimson/osd: drop redundant locking operations in ObjectContext::wait_recovery_read()
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2020-12-02 20:14:38 +08:00
Kefu Chai
48b3ef5c70 cmake: pass REQUIRED to find_package(StdFilesystem)
otherwise there is chance that we could link to
StdFilesystem::filesystem which is not defined anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:42:34 +08:00
Kefu Chai
6cf7ebd0ca cmake: do not always require extra link flags for std::filesystem
since GCC-9

> Using the types and functions in <filesystem> does not require linking
> with -lstdc++fs now.

see https://gcc.gnu.org/gcc-9/changes.html#libstdcxx

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:42:34 +08: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
2415168b99 test/crimson: adapt to the changes of messenger
the crimson::net::Messenger interface was changed in
44585adc78 and
ff2c3b597d, so need to change the tests
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-02 19:06:38 +08: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
Xuehan Xu
40e4cad551 crimson/osd: call ObjectContext::with_promoted_lock() with the currently demanding lock type
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2020-12-02 16:47:10 +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
Taeuk Kim
5b11688da1 doc/rbd: fix doc typos
fix typos in Ceph iSCSI manual

Signed-off-by: Taeuk Kim <taeuk_kim@tmax.co.kr>
2020-12-02 15:07:34 +09: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
Yuval Lifshitz
658993efc1 rgw/notification: trigger notifications on changes from any user
any user authorized to make changes to a bucket may trigger
notifications defined on that bucket.
manual test procedure of the fix is described here:
https://gist.github.com/yuvalif/39c183aa0f74d286ecef7844268817df

fixes: https://tracker.ceph.com/issues/47904

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-12-01 20:23:43 +02: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
Matt Benjamin
e561e98e5c rgw_file: return common_prefixes in lexical order
Since inception RGWReaddirRequest has sent all leaf objects first
(in lexical order), then common_prefixes (in lexical order). In
hindsight, an overall listing could trivially be returned out of
lexical order, which can cause continued listing of large, mixed
directories to fail.

RCA by Dan Gryniewicz.

Fixes: https://tracker.ceph.com/issues/48410

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-12-01 08:30:04 -05: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