Commit Graph

134731 Commits

Author SHA1 Message Date
Yingxin Cheng
9406c1ced6 crimson/net: hide peer_global_id from Connection class
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-13 17:51:52 +08:00
Yingxin Cheng
7c932c10a6 crimson/net: replace unnecessary ConnectionRef/AuthConnectionMetaRef
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-13 17:38:09 +08:00
Yingxin Cheng
7186dda8f2 crimson/net: drop Connection::get_messenger()
Simplify Connection interface for multi-core support.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-13 16:17:00 +08:00
Yingxin Cheng
a6089a49c3 crimson/net: drop require_authorizer feature
There is no need to consider the pre-nautilus scenario.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-13 16:11:54 +08:00
Yingxin Cheng
edd6504d87 crimson/net: drop the unused ProtocolV1
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-13 16:03:29 +08:00
myoungwon oh
51e6a8a67f crimson/os/seastore/rbm: remove bitmap related layout
Before introduceing new layout for metadatas to store existing btrees
(e.g., backrefs), this commit cleans bitmap related layout up.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-10-13 15:27:21 +09:00
Yongseok Oh
a1a14edd50 doc: describe bal_rank_mask configuration
Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
2022-10-13 05:40:22 +00:00
Tim Serong
6c2fd4267e ceph.spec.in: disable system_pmdk on s390x for SUSE distros
Fixes: https://tracker.ceph.com/issues/57860
Signed-off-by: Tim Serong <tserong@suse.com>
2022-10-13 15:30:19 +11:00
Yongseok Oh
10fb8f1377 qa/cephfs: add bal_rank_mask test cases
Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
2022-10-13 01:39:34 +00:00
Yongseok Oh
e134c89070 mds: add bal_rank_mask option for ceph fs set
fixes: https://tracker.ceph.com/issues/52720

Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
2022-10-13 01:39:18 +00:00
Samuel Just
5570c8c8cd
Merge pull request #48437 from rosinL/fix-vstart
src/vstart.sh: correct top_cpu's value

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-10-12 16:04:04 -07:00
Samuel Just
803574faef
Merge pull request #48457 from cyx1231st/wip-fix-msgr-test
test/crimson/test_messenger: add pause before marking down a connection

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-10-12 16:02:28 -07:00
zdover23
19969ad12e
Merge pull request #48463 from zdover23/wip-doc-2022-10-14-dev-dev-guide-basic-workflow-submodule-update-2
doc/dev: add submodule-update link to dev guide

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-13 03:42:54 +10:00
Zac Dover
e55c3b114b doc/dev: add submodule-update link to dev guide
This commit links to the procedure in install/clone-source.rst that
explains how to update submodules.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-13 03:30:42 +10:00
zdover23
1d710e0445
Merge pull request #48460 from zdover23/wip-doc-2022-10-14-install-clone-source-submodules
doc/install: improve updating submodules procedure

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-13 03:01:33 +10:00
Samuel Just
549eec0534 crimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object
librbd image diff seems to rely on this behavior to modify oi.size for
LIST_SNAPS.

Fixes: https://tracker.ceph.com/issues/57791
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-12 07:58:31 -07:00
Samuel Just
1e6985b9e0 crimson/osd: add CEPH_OSD_OP_LIST_SNAPS
Fixes: https://tracker.ceph.com/issues/57789
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-12 07:58:28 -07:00
Boris Ranto
1ba20407b2
Merge pull request #47853 from WOnder93/selinux-io_uring
selinux: prepare for anon inode controls enablement
2022-10-12 14:58:54 +02:00
Venky Shankar
c26e39ee48
Merge pull request #48427 from batrick/obsolete-comments
mds: remove obsolete comments

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2022-10-12 18:14:00 +05:30
Zac Dover
9382a90342 doc/install: improve updating submodules procedure
This commit beefs up the "Updating Submodules" procedure,
which (prior to this commit) was quite brief.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-12 18:27:42 +10:00
Yingxin Cheng
d1b638d15f crimson/net: print connection memory address as the identity
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-12 13:37:56 +08:00
Yingxin Cheng
e001303978 test/crimson/test_messenger: add pause before marking down a connection
To make sure the ACK messages are consumed, otherwise there can be
unexpected connect attempts to break the test.

Fixes: https://tracker.ceph.com/issues/57693
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-10-12 13:26:16 +08:00
Nizamudeen A
db090d73cb mgr/dashboard: enable cypress video on test fails
Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-10-12 10:47:17 +05:30
Justin Caratzas
189861f1b8
Merge pull request #48377 from ktdreyer/win-deps-clone
win32: speed up and simplify deps cloning
2022-10-11 14:45:34 -04:00
Samuel Just
2013ea32d0
Merge pull request #48406 from athanatos/sjust/wip-57798
qa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-10-11 11:36:03 -07:00
zdover23
f1910d8306
Merge pull request #48446 from zdover23/wip-doc-2022-10-12-glossary-ceph-monitor
doc/glossary: add "ceph monitor" entry

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-10-12 03:36:02 +10:00
Zac Dover
8f4ad5dc9d doc/glossary: add "ceph monitor" entry
This commit adds information to the "ceph monitor" entry in
glossary.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-12 03:20:07 +10:00
Radoslaw Zarzynski
2aa4d8ba3e crimson/osd: move ClientRequest::reply_op_error() up
It's because it's return type is `auto`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-11 14:40:59 +00:00
Radoslaw Zarzynski
ef2c2e78e8 crimson/osd: ClientRequest::reply_op_error() takes pgref by const
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-11 14:39:35 +00:00
Radoslaw Zarzynski
4b13d44e31 crimson/osd: return enoent when PG::resolve_oid() fails
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-10-11 14:39:35 +00:00
Yuval Lifshitz
97ef154636 rgw/amqp: store CA location string in connection object
Fixes: https://tracker.ceph.com/issues/57850

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-10-11 16:48:14 +03:00
Venky Shankar
296ba0641a
Merge pull request #48196 from neesingh-rh/wip-human-readable-volume-info
mgr/volumes: Add human-readable flag to volume info command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-10-11 16:48:19 +05:30
Ilya Dryomov
9db96c33d2
Merge pull request #48367 from stefan-chivu/namespace-optarg-fix
rbd: device map/unmap --namespace handling fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-10-11 11:58:15 +02:00
Marcus Watts
5deb213ae5
Merge pull request #45395 from tobias-urdin/rgw-keystone-service-token
rgw/auth: Add service token support for Keystone auth
2022-10-11 05:49:30 -04:00
Nizamudeen A
75868f12da
Merge pull request #48412 from rhcs-dashboard/fix-rgw-subuser-permissions
mgr/dashboard: Unable to change rgw subuser permission

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-10-11 15:11:07 +05:30
Venky Shankar
e87d8caec2 test: add test for checking snapdir attrs on parent inode updation
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-10-11 13:31:12 +05:30
Venky Shankar
ffc911de77 test: add test for checking snapdir acls
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-10-11 13:31:07 +05:30
Venky Shankar
0e2c94e669 test: cleanup files/dirs for some tests
Otherwise subsequent tests that use the same file/dir name may fail
on ceph_mkdir() expecting success.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-10-11 13:31:05 +05:30
Venky Shankar
794c74cebd client: refresh snapdir attrs on parent inode updation
Snapdir attrs (ui, gid, etc..) are set its respective parent attributes,
however, those are never updated when the attributes of the parent inode
get updated. There seems to be no reason to no to update snapdir attributes.

This change also updates POSIX ACLs.

Fixes: http://tracker.ceph.com/issues/57084
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-10-11 13:31:02 +05:30
Venky Shankar
09ad04d52e client: use parent directory POSIX ACLs for snaphot dir
Fixes: http://tracker.ceph.com/issues/57084
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-10-11 13:31:01 +05:30
luo rixin
0adc332981 src/vstart.sh: correct top_cpu's value
Signed-off-by: luo rixin <luorixin@huawei.com>
2022-10-11 15:44:20 +08:00
Nizamudeen A
c59ea549d5
Merge pull request #48415 from rhcs-dashboard/repaired-metric-name
mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects

Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-10-11 13:02:53 +05:30
Nizamudeen A
43919b4d8e
Merge pull request #47495 from rhcs-dashboard/rgw-s3-encryption
mgr/dashboard: add server side encryption to rgw/s3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-10-11 12:48:43 +05:30
Rishabh Dave
7d781fb4a2
Merge pull request #46331 from lxbsz/wip-55332
mds: wait unlink to finish to avoid conflict when creating same dentries

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2022-10-11 12:47:33 +05:30
Aashish Sharma
0b3bdbbc4a mgr/dashboard: Unable to change rgw subuser permission
Tried to edit the permission of a subuser but once changed the permission, edited permission not seen in user info of UI(ceph dashboard) and from CLI as well

Fixes:https://tracker.ceph.com/issues/57805
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2022-10-11 12:22:00 +05:30
Nizamudeen A
c882b1bf82
Merge pull request #48407 from rhcs-dashboard/fix-weird-data-osd
mgr/dashboard: fix weird data in osd details

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-10-11 10:39:15 +05:30
zdover23
a47109ffc5
Merge pull request #48429 from zdover23/wip-doc-2022-10-11-security-cve-2022-0670-grammar
doc/security: improve grammar in CVE-2022-0670.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-11 15:02:41 +10:00
Tim Serong
5ff9704d0c
Merge pull request #48418 from tchaikov/wip-ceph-dencoder
cmake: do not link ceph-dencoder against global

Reviewed-by: Tim Serong <tserong@suse.com>
2022-10-11 15:45:52 +11:00
Aashish Sharma
42aa2283c2 mgr/dashboard: add server side encryption to rgw/s3
Fixes:https://tracker.ceph.com/issues/57826
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2022-10-11 10:10:18 +05:30
Zac Dover
52971eb9ac doc/security: improve grammar in CVE-2022-0670.rst
This commit accepts the suggestions made by Cole Mitchell in
https://github.com/ceph/ceph/pull/48404.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-11 14:36:10 +10:00