]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocrimson/zns: refactor zone operation 48422/head
Aravind Ramesh [Mon, 10 Oct 2022 07:22:59 +0000 (07:22 +0000)]
crimson/zns: refactor zone operation

Moved all zone operations into one routine.

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
3 years agoMerge pull request #48475 from rzarzynski/wip-crimson-resolve_oid-clone_snaps-fix...
Samuel Just [Thu, 13 Oct 2022 20:56:07 +0000 (13:56 -0700)]
Merge pull request #48475 from rzarzynski/wip-crimson-resolve_oid-clone_snaps-fix-search

crimson/osd: resolve_oid() looks in clone_snaps by requested snap ID

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48405 from athanatos/sjust/wip-57759
Samuel Just [Thu, 13 Oct 2022 20:01:25 +0000 (13:01 -0700)]
Merge pull request #48405 from athanatos/sjust/wip-57759

crimson: tmap support, list_snaps support, fixes for zero and cmpext

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agocrimson/osd: resolve_oid() looks in clone_snaps by requested snap ID 48475/head
Radoslaw Zarzynski [Thu, 13 Oct 2022 11:22:32 +0000 (11:22 +0000)]
crimson/osd: resolve_oid() looks in clone_snaps by requested snap ID

Before the patch the method was looking for `lower_bound(oid.snap)`
from `SnapSet::clones` which leads to reading from head instead of
returning the `ENOENT` expected in `TestLibRBD.TestIOToSnapshot`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48437 from rosinL/fix-vstart
Samuel Just [Wed, 12 Oct 2022 23:04:04 +0000 (16:04 -0700)]
Merge pull request #48437 from rosinL/fix-vstart

src/vstart.sh: correct top_cpu's value

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #48457 from cyx1231st/wip-fix-msgr-test
Samuel Just [Wed, 12 Oct 2022 23:02:28 +0000 (16:02 -0700)]
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>
3 years agoMerge pull request #48463 from zdover23/wip-doc-2022-10-14-dev-dev-guide-basic-workfl...
zdover23 [Wed, 12 Oct 2022 17:42:54 +0000 (03:42 +1000)]
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>
3 years agodoc/dev: add submodule-update link to dev guide 48463/head
Zac Dover [Wed, 12 Oct 2022 12:39:36 +0000 (22:39 +1000)]
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>
3 years agoMerge pull request #48460 from zdover23/wip-doc-2022-10-14-install-clone-source-submo... 48461/head
zdover23 [Wed, 12 Oct 2022 17:01:33 +0000 (03:01 +1000)]
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>
3 years agocrimson/osd: CEPH_OSD_OP_ZERO should become truncate if past end of object 48405/head
Samuel Just [Thu, 6 Oct 2022 22:52:18 +0000 (15:52 -0700)]
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>
3 years agocrimson/osd: add CEPH_OSD_OP_LIST_SNAPS
Samuel Just [Thu, 6 Oct 2022 21:10:57 +0000 (21:10 +0000)]
crimson/osd: add CEPH_OSD_OP_LIST_SNAPS

Fixes: https://tracker.ceph.com/issues/57789
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #47853 from WOnder93/selinux-io_uring
Boris Ranto [Wed, 12 Oct 2022 12:58:54 +0000 (14:58 +0200)]
Merge pull request #47853 from WOnder93/selinux-io_uring

selinux: prepare for anon inode controls enablement

3 years agoMerge pull request #48427 from batrick/obsolete-comments
Venky Shankar [Wed, 12 Oct 2022 12:44:00 +0000 (18:14 +0530)]
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>
3 years agodoc/install: improve updating submodules procedure 48460/head
Zac Dover [Wed, 12 Oct 2022 08:27:42 +0000 (18:27 +1000)]
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>
3 years agocrimson/net: print connection memory address as the identity 48457/head
Yingxin Cheng [Wed, 12 Oct 2022 05:37:56 +0000 (13:37 +0800)]
crimson/net: print connection memory address as the identity

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agotest/crimson/test_messenger: add pause before marking down a connection
Yingxin Cheng [Wed, 12 Oct 2022 05:14:20 +0000 (13:14 +0800)]
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>
3 years agoMerge pull request #48377 from ktdreyer/win-deps-clone
Justin Caratzas [Tue, 11 Oct 2022 18:45:34 +0000 (14:45 -0400)]
Merge pull request #48377 from ktdreyer/win-deps-clone

win32: speed up and simplify deps cloning

3 years agoMerge pull request #48406 from athanatos/sjust/wip-57798
Samuel Just [Tue, 11 Oct 2022 18:36:03 +0000 (11:36 -0700)]
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>
3 years agoMerge pull request #48446 from zdover23/wip-doc-2022-10-12-glossary-ceph-monitor
zdover23 [Tue, 11 Oct 2022 17:36:02 +0000 (03:36 +1000)]
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>
3 years agodoc/glossary: add "ceph monitor" entry 48446/head
Zac Dover [Tue, 11 Oct 2022 16:49:13 +0000 (02:49 +1000)]
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>
3 years agoMerge pull request #48196 from neesingh-rh/wip-human-readable-volume-info
Venky Shankar [Tue, 11 Oct 2022 11:18:19 +0000 (16:48 +0530)]
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>
3 years agoMerge pull request #48367 from stefan-chivu/namespace-optarg-fix
Ilya Dryomov [Tue, 11 Oct 2022 09:58:15 +0000 (11:58 +0200)]
Merge pull request #48367 from stefan-chivu/namespace-optarg-fix

rbd: device map/unmap --namespace handling fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45395 from tobias-urdin/rgw-keystone-service-token
Marcus Watts [Tue, 11 Oct 2022 09:49:30 +0000 (05:49 -0400)]
Merge pull request #45395 from tobias-urdin/rgw-keystone-service-token

rgw/auth: Add service token support for Keystone auth

3 years agoMerge pull request #48412 from rhcs-dashboard/fix-rgw-subuser-permissions
Nizamudeen A [Tue, 11 Oct 2022 09:41:07 +0000 (15:11 +0530)]
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>
3 years agosrc/vstart.sh: correct top_cpu's value 48437/head
luo rixin [Tue, 11 Oct 2022 07:44:05 +0000 (15:44 +0800)]
src/vstart.sh: correct top_cpu's value

Signed-off-by: luo rixin <luorixin@huawei.com>
3 years agoMerge pull request #48415 from rhcs-dashboard/repaired-metric-name
Nizamudeen A [Tue, 11 Oct 2022 07:32:53 +0000 (13:02 +0530)]
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>
3 years agoMerge pull request #47495 from rhcs-dashboard/rgw-s3-encryption
Nizamudeen A [Tue, 11 Oct 2022 07:18:43 +0000 (12:48 +0530)]
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>
3 years agoMerge pull request #46331 from lxbsz/wip-55332
Rishabh Dave [Tue, 11 Oct 2022 07:17:33 +0000 (12:47 +0530)]
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>
3 years agomgr/dashboard: Unable to change rgw subuser permission 48412/head
Aashish Sharma [Mon, 10 Oct 2022 09:08:08 +0000 (14:38 +0530)]
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>
3 years agoMerge pull request #48407 from rhcs-dashboard/fix-weird-data-osd
Nizamudeen A [Tue, 11 Oct 2022 05:09:15 +0000 (10:39 +0530)]
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>
3 years agoMerge pull request #48429 from zdover23/wip-doc-2022-10-11-security-cve-2022-0670...
zdover23 [Tue, 11 Oct 2022 05:02:41 +0000 (15:02 +1000)]
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>
3 years agoMerge pull request #48418 from tchaikov/wip-ceph-dencoder
Tim Serong [Tue, 11 Oct 2022 04:45:52 +0000 (15:45 +1100)]
Merge pull request #48418 from tchaikov/wip-ceph-dencoder

cmake: do not link ceph-dencoder against global

Reviewed-by: Tim Serong <tserong@suse.com>
3 years agomgr/dashboard: add server side encryption to rgw/s3 47495/head
Aashish Sharma [Mon, 8 Aug 2022 12:35:02 +0000 (18:05 +0530)]
mgr/dashboard: add server side encryption to rgw/s3

Fixes:https://tracker.ceph.com/issues/57826
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agodoc/security: improve grammar in CVE-2022-0670.rst 48429/head
Zac Dover [Tue, 11 Oct 2022 04:36:10 +0000 (14:36 +1000)]
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>
3 years agoMerge pull request #48163 from rhcs-dashboard/refactor-cephadm-e2e
Nizamudeen A [Tue, 11 Oct 2022 04:30:16 +0000 (10:00 +0530)]
Merge pull request #48163 from rhcs-dashboard/refactor-cephadm-e2e

mgr/dashboard: refactor dashboard cephadm e2e tests

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #47812 from rishabh-d-dave/json-decode-error
Venky Shankar [Tue, 11 Oct 2022 04:02:42 +0000 (09:32 +0530)]
Merge pull request #47812 from rishabh-d-dave/json-decode-error

qa/cephfs: handle non-numeric values for json.loads()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #47982 from SUSE/wip-fix-57390-2
Tim Serong [Tue, 11 Oct 2022 03:00:23 +0000 (14:00 +1100)]
Merge pull request #47982 from SUSE/wip-fix-57390-2

ceph-dencoder: Add global to denc-mod-osd's target_link_libraries

Reviewed-by: Kefu Chai <tchaikov@gmail.com
3 years agoMerge pull request #48350 from athanatos/sjust/wip-57739
Liu-Chunmei [Tue, 11 Oct 2022 00:30:19 +0000 (17:30 -0700)]
Merge pull request #48350 from athanatos/sjust/wip-57739

crimson/.../replicated_request,logmissing_request: retain reference to req

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@redhat.com>
3 years agoMerge pull request #48308 from cyx1231st/wip-seastore-offset
Liu-Chunmei [Tue, 11 Oct 2022 00:26:54 +0000 (17:26 -0700)]
Merge pull request #48308 from cyx1231st/wip-seastore-offset

crimson/os/seastore: introduce (64-8)-bit signed device_off_t and 32-bit signed segment_off_t

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agoqa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env 48406/head
Samuel Just [Sun, 2 Oct 2022 18:08:40 +0000 (11:08 -0700)]
qa/suites/crimson-rados: add CRIMSON_COMPAT to workunit env

Fixes: https://tracker.ceph.com/issues/57798
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug
Liu-Chunmei [Mon, 10 Oct 2022 23:41:37 +0000 (16:41 -0700)]
Merge pull request #48349 from rzarzynski/wip-crimson-cltreq-errreply-debug

crimson/osd: introduce debug to ClientRequest::reply_op_error()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agomds: remove obsolete comments 48427/head
Patrick Donnelly [Mon, 10 Oct 2022 21:47:01 +0000 (17:47 -0400)]
mds: remove obsolete comments

It's no longer necessary to put messages.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #47754 from batrick/i57248
Rishabh Dave [Mon, 10 Oct 2022 18:42:24 +0000 (00:12 +0530)]
Merge pull request #47754 from batrick/i57248

qa: cleanup volumes on unwind

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
3 years agoMerge pull request #48064 from lxbsz/asok_fs
Rishabh Dave [Mon, 10 Oct 2022 18:41:08 +0000 (00:11 +0530)]
Merge pull request #48064 from lxbsz/asok_fs

qa: the default CEPH_ASOK_DIR is asok/ now

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #48161 from trociny/wip-57589
Rishabh Dave [Mon, 10 Oct 2022 18:37:20 +0000 (00:07 +0530)]
Merge pull request #48161 from trociny/wip-57589

cephfs-data-scan: make scan_links more verbose

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #48182 from lxbsz/wip-57580
Rishabh Dave [Mon, 10 Oct 2022 18:35:55 +0000 (00:05 +0530)]
Merge pull request #48182 from lxbsz/wip-57580

qa: make mount to be compatible with nautilus for blocklist

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
3 years agoMerge pull request #48421 from tchaikov/wip-cephadm-pyfakefs
Adam King [Mon, 10 Oct 2022 18:31:09 +0000 (14:31 -0400)]
Merge pull request #48421 from tchaikov/wip-cephadm-pyfakefs

cephadm: run tests as root

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoPendingReleaseNotes: add "rbd device unmap --namespace" note 48367/head
Ilya Dryomov [Mon, 10 Oct 2022 18:18:12 +0000 (20:18 +0200)]
PendingReleaseNotes: add "rbd device unmap --namespace" note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoqa/workunits/rbd-nbd: also test map/unmap with --namespace option
Ilya Dryomov [Sat, 8 Oct 2022 14:16:10 +0000 (16:16 +0200)]
qa/workunits/rbd-nbd: also test map/unmap with --namespace option

The entire script is using specs, let's cover non-spec syntax as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agowin32: speed up and simplify deps cloning 48377/head
Ken Dreyer [Fri, 30 Sep 2022 20:56:35 +0000 (16:56 -0400)]
win32: speed up and simplify deps cloning

Use --depth 1 for all the dependencies we clone to speed up the process.

Use the --branch argument for cloning all dependencies. This simplifies
the process and makes it easier to use other copies in an offline
environment where github.com is inaccessible.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
3 years agoMerge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar
zdover23 [Mon, 10 Oct 2022 16:38:44 +0000 (02:38 +1000)]
Merge pull request #48423 from zdover23/wip-doc-2022-10-11-releases-pacific-grammar

doc/releases: improve grammar in pacific.rst

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #48396 from rhcs-dashboard/fix-57792-main
Ernesto Puerta [Mon, 10 Oct 2022 15:34:46 +0000 (17:34 +0200)]
Merge pull request #48396 from rhcs-dashboard/fix-57792-main

mgr/dashboard: fix broken login links

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #48337 from batrick/first-python
Venky Shankar [Mon, 10 Oct 2022 15:28:47 +0000 (20:58 +0530)]
Merge pull request #48337 from batrick/first-python

tools/cephfs: convert first-damage.sh to python

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 years agoMerge pull request #46772 from cbodley/wip-rgw-doc-bucket-index
Casey Bodley [Mon, 10 Oct 2022 15:22:46 +0000 (11:22 -0400)]
Merge pull request #46772 from cbodley/wip-rgw-doc-bucket-index

doc/dev/radosgw: start describing the bucket index

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agocephadm: pin pyfakefs to 5.0 48421/head
Kefu Chai [Mon, 10 Oct 2022 15:19:27 +0000 (23:19 +0800)]
cephadm: pin pyfakefs to 5.0

so the test is more repeatable.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocephadm: fix the indent
Kefu Chai [Mon, 10 Oct 2022 14:43:23 +0000 (22:43 +0800)]
cephadm: fix the indent

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agocephadm: run tests as root
Kefu Chai [Mon, 10 Oct 2022 13:57:57 +0000 (21:57 +0800)]
cephadm: run tests as root

as we will be create/access directories which are only accessible by
root with pyfakefs, and pyfake respects the uid of current effective
user, so if we run the test using non-root user, these tests would fail
after the fix for https://github.com/pytest-dev/pyfakefs/issues/489
is addressed in the pyfakefs we are using.

in this change, we will run the test on behalf of root, so we can
create and access the directories as we did before.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agodoc/releases: improve grammar in pacific.rst 48423/head
Zac Dover [Mon, 10 Oct 2022 14:15:11 +0000 (00:15 +1000)]
doc/releases: improve grammar in pacific.rst

This commit accepts the grammar suggestions that were made by Cole
Mitchell in https://github.com/ceph/ceph/pull/48404.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agocmake: do not link ceph-dencoder against global 48418/head
Kefu Chai [Mon, 10 Oct 2022 12:22:55 +0000 (20:22 +0800)]
cmake: do not link ceph-dencoder against global

it does not use any symbol from global, so no need to link it
against global.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agomgr/prometheus: change pg_repaired_objects name to pool_repaired_objects 48415/head
Pere Diaz Bou [Mon, 10 Oct 2022 10:08:34 +0000 (12:08 +0200)]
mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects

Fixes: https://tracker.ceph.com/issues/57806
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoRevert "mgr/dashboard: unselect rows in datatables" 48163/head
Nizamudeen A [Thu, 6 Oct 2022 09:49:09 +0000 (15:19 +0530)]
Revert "mgr/dashboard: unselect rows in datatables"

This reverts commit b79e2a6c6a9368a4fc167b05970db463cd60edab.

Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agomgr/dashboard: refactor dashboard cephadm e2e tests
Nizamudeen A [Mon, 19 Sep 2022 08:45:52 +0000 (14:15 +0530)]
mgr/dashboard: refactor dashboard cephadm e2e tests

Fixes: https://tracker.ceph.com/issues/57511
Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agomgr/dashboard: fix weird data in osd details 48407/head
Nizamudeen A [Mon, 10 Oct 2022 05:41:18 +0000 (11:11 +0530)]
mgr/dashboard: fix weird data in osd details

The devices section in the OSD Details and Host Details shows more than
one daemon and device path in the column when you view the details of a
single osd details/host details. This is because more than one osd
is created on a device with same `deviceid`. I am not sure if this will
happen in the real environment but its mostly reproducible in
environments with QEMU emulated devices.

Fixes: https://tracker.ceph.com/issues/57803
Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #48331 from tchaikov/crimson-stop
Kefu Chai [Mon, 10 Oct 2022 04:51:33 +0000 (12:51 +0800)]
Merge pull request #48331 from tchaikov/crimson-stop

crimson/osd: shutdown on osdmaps' demand

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd/pg_backend: remove incorrect length limitation on CMPEXT
Samuel Just [Thu, 6 Oct 2022 01:56:26 +0000 (18:56 -0700)]
crimson/osd/pg_backend: remove incorrect length limitation on CMPEXT

We specifically send back errors < -MAX_ERRNO to indicate offset.

Fixes: https://tracker.ceph.com/issues/57773
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd: add tmap support
Samuel Just [Tue, 4 Oct 2022 20:55:52 +0000 (20:55 +0000)]
crimson/osd: add tmap support

rbdv1 headers use tmap, it's somewhat easier to add support to crimson
than to modify those tests to avoid rbdv1 on crimson.

Fixes: https://tracker.ceph.com/issues/57759
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2
Yuval Lifshitz [Sun, 9 Oct 2022 10:35:02 +0000 (13:35 +0300)]
Merge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2

rgw: fix rabbitmq version checking for AMQP_STATUS_SSL_SET_ENGINE_FAILED

3 years agoMerge pull request #48401 from zdover23/wip-doc-2022-10-09-crush-pdf-link-update
zdover23 [Sun, 9 Oct 2022 07:28:01 +0000 (17:28 +1000)]
Merge pull request #48401 from zdover23/wip-doc-2022-10-09-crush-pdf-link-update

doc/various: update link to CRUSH pdf

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
3 years agodoc/various: update link to CRUSH pdf 48401/head
Zac Dover [Sun, 9 Oct 2022 07:09:30 +0000 (17:09 +1000)]
doc/various: update link to CRUSH pdf

This commit updates link to the research paper that announces and
explains the CRUSH algorithm. This link was broken in the migration from
the old Ceph website to ceph.io.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #48399 from underacloud/wip-doc-spellin-errors
Anthony D'Atri [Sat, 8 Oct 2022 06:13:29 +0000 (02:13 -0400)]
Merge pull request #48399 from underacloud/wip-doc-spellin-errors

doc/radosgw: Fixes spelling errors in vault.rst

3 years agodoc: Fixes spelling errors in vault.rst 48399/head
Mary Frances [Sat, 8 Oct 2022 02:06:55 +0000 (19:06 -0700)]
doc: Fixes spelling errors in vault.rst

Signed-off-by: Mary Frances underacloud.tech@gmail.com
3 years agoMerge pull request #48393 from rzarzynski/wip-crimson-drop-omapiter
Samuel Just [Sat, 8 Oct 2022 01:25:19 +0000 (18:25 -0700)]
Merge pull request #48393 from rzarzynski/wip-crimson-drop-omapiter

crimson: drop OmapIterator, use omap_get_values() instead

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48073 from rzarzynski/wip-crimson-asok-dump_recovery_reservations
Liu-Chunmei [Fri, 7 Oct 2022 22:19:05 +0000 (15:19 -0700)]
Merge pull request #48073 from rzarzynski/wip-crimson-asok-dump_recovery_reservations

crimson/osd: bring the dump_recovery_reservations asok cmd

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
3 years agocrimson/os: drop the OmapIterator concept 48393/head
Radoslaw Zarzynski [Thu, 6 Oct 2022 19:34:17 +0000 (19:34 +0000)]
crimson/os: drop the OmapIterator concept

`get_omap_values()` is powerful enough to be used instead.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agotest/crimson: unittest-seastar uses omap_get_values() instead of OmapIterator
Radoslaw Zarzynski [Fri, 7 Oct 2022 17:49:02 +0000 (17:49 +0000)]
test/crimson: unittest-seastar uses omap_get_values() instead of OmapIterator

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: convert seastarized PGLog from OmapIterator to omap_get_values()
Radoslaw Zarzynski [Thu, 6 Oct 2022 20:27:47 +0000 (20:27 +0000)]
crimson/osd: convert seastarized PGLog from OmapIterator to omap_get_values()

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: read_omap_for_push_op() takes max_len as ref, not ptr
Radoslaw Zarzynski [Fri, 7 Oct 2022 11:12:24 +0000 (11:12 +0000)]
crimson/osd: read_omap_for_push_op() takes max_len as ref, not ptr

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/osd: ReplicatedRecoveryBackend uses omap_get_values() instead of OmapIterator
Radoslaw Zarzynski [Thu, 6 Oct 2022 19:24:16 +0000 (19:24 +0000)]
crimson/osd: ReplicatedRecoveryBackend uses omap_get_values() instead of OmapIterator

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #48374 from rkachach/fix_issue_57769
Adam King [Fri, 7 Oct 2022 16:30:31 +0000 (12:30 -0400)]
Merge pull request #48374 from rkachach/fix_issue_57769

doc/cephadm: fixing grafana cert/key generation documentation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 years agoMerge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add
Casey Bodley [Fri, 7 Oct 2022 16:25:02 +0000 (12:25 -0400)]
Merge pull request #48128 from alimaredia/wip-intrusive-lru-destructor-add

common:  intrusive_lru destructor add

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agodoc/cephadm: fixing grafana cet/key generation documentation 48374/head
Redouane Kachach [Wed, 5 Oct 2022 14:36:15 +0000 (16:36 +0200)]
doc/cephadm: fixing grafana cet/key generation documentation
Fixes: https://tracker.ceph.com/issues/57769
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomgr/dashboard: fix broken login links 48396/head
Ernesto Puerta [Fri, 7 Oct 2022 15:08:14 +0000 (17:08 +0200)]
mgr/dashboard: fix broken login links

Fixes: https://tracker.ceph.com/issues/57792
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48378 from ceph/wip-yuriw-crontab-master
Yuri Weinstein [Fri, 7 Oct 2022 14:53:30 +0000 (07:53 -0700)]
Merge pull request #48378 from ceph/wip-yuriw-crontab-master

qa/testing: added pacific-x and quincy-x for reef release

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agocrimson/osd: bring the dump_recovery_reservations asok cmd 48073/head
Radoslaw Zarzynski [Tue, 13 Sep 2022 17:22:03 +0000 (17:22 +0000)]
crimson/osd: bring the dump_recovery_reservations asok cmd

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agorbd: Removed device_name argument from wnbd unmap
Stefan Chivu [Tue, 4 Oct 2022 14:02:14 +0000 (14:02 +0000)]
rbd: Removed device_name argument from wnbd unmap

Right now, rbd-wnbd doesn't actually use disk path
identifiers such as "/dev/*" or "\\.\PhysicalDrive*".

So instead of accepting two arguments that are basically
handled more or less the same, we're dropping the device_name
argument and sticking to the image spec.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
3 years agorbd: Moved get_image_or_snap_spec and parse_options to utils
Stefan Chivu [Tue, 4 Oct 2022 12:25:45 +0000 (12:25 +0000)]
rbd: Moved get_image_or_snap_spec and parse_options to utils

At the moment, there are multiple copies of "get_image_or_snap_spec".

For this reason, we're moving it to Utils.cc so that all backends may
re-use it, also benefiting from the recent pool related fix.

We are also renaming parse_options to append_options_as_args and
changing its type to void

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
3 years agorbd: Added namespace optarg for rbd device unmap
Stefan Chivu [Mon, 3 Oct 2022 08:20:58 +0000 (08:20 +0000)]
rbd: Added namespace optarg for rbd device unmap

When executing rbd device unmap, an explicit namespace optarg wasn't available

Fixes: https://tracker.ceph.com/issues/57765
Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
3 years agoMerge pull request #48275 from liu-chunmei/rados-api-test
Samuel Just [Thu, 6 Oct 2022 23:39:53 +0000 (16:39 -0700)]
Merge pull request #48275 from liu-chunmei/rados-api-test

crimson/qa: add rados_api_tests.yaml for seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48162 from Matan-B/wip-matanb-c-rados-test
Samuel Just [Thu, 6 Oct 2022 23:35:10 +0000 (16:35 -0700)]
Merge pull request #48162 from Matan-B/wip-matanb-c-rados-test

qa/suites/crimson-rados/thrash: Adding workloads / Simplifying thrashers

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48277 from cyx1231st/wip-crimson-tools
Samuel Just [Thu, 6 Oct 2022 23:31:40 +0000 (16:31 -0700)]
Merge pull request #48277 from cyx1231st/wip-crimson-tools

crimson/net: fix msgr tools and test helpers

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #48351 from athanatos/sjust/wip-57738
Samuel Just [Thu, 6 Oct 2022 23:28:37 +0000 (16:28 -0700)]
Merge pull request #48351 from athanatos/sjust/wip-57738

crimson/osd/replicated_backend: block _submit_transaction on sending the messages

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #47934 from phlogistonjohn/jjm-nfs-sectype
Adam King [Thu, 6 Oct 2022 18:51:25 +0000 (14:51 -0400)]
Merge pull request #47934 from phlogistonjohn/jjm-nfs-sectype

mgr/nfs: add sectype option

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
3 years agoMerge pull request #48301 from PepperJo/cmp_write_C_vec
Ilya Dryomov [Thu, 6 Oct 2022 12:07:36 +0000 (14:07 +0200)]
Merge pull request #48301 from PepperJo/cmp_write_C_vec

librbd: add compare-and-write vector C API

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #48285 from adk3798/upgrade-start-version
Adam King [Thu, 6 Oct 2022 11:48:43 +0000 (07:48 -0400)]
Merge pull request #48285 from adk3798/upgrade-start-version

qa/cephadm: do not start upgrades from Octopus

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #47903 from rkachach/fix_issue_57366
Adam King [Thu, 6 Oct 2022 11:18:35 +0000 (07:18 -0400)]
Merge pull request #47903 from rkachach/fix_issue_57366

mgr/cephadm: reconfig prometheus when service-discovery port changes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #48372 from idryomov/wip-57766
Ilya Dryomov [Thu, 6 Oct 2022 10:43:13 +0000 (12:43 +0200)]
Merge pull request #48372 from idryomov/wip-57766

qa/tasks/rbd_fio: bump default to fio 3.32

Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
3 years agoPendingReleaseNotes: add rbd_aio_compare_and_writev note 48301/head
Ilya Dryomov [Thu, 6 Oct 2022 10:36:00 +0000 (12:36 +0200)]
PendingReleaseNotes: add rbd_aio_compare_and_writev note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #47731 from mjenglish/multiple-actuator-osd-specification
Guillaume Abrioux [Thu, 6 Oct 2022 07:09:29 +0000 (09:09 +0200)]
Merge pull request #47731 from mjenglish/multiple-actuator-osd-specification

python-common/ceph/deployment: filter drives by actuators when creating osds

3 years agoMerge pull request #48319 from gregsfortytwo/wip-57737-cephfs-doc
Venky Shankar [Thu, 6 Oct 2022 05:10:30 +0000 (10:40 +0530)]
Merge pull request #48319 from gregsfortytwo/wip-57737-cephfs-doc

doc: discuss the standard multi-tenant CephFS security model

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
3 years agoMerge pull request #48379 from zdover23/wip-doc-2022-10-06-install-clone-source-maste...
zdover23 [Thu, 6 Oct 2022 04:47:11 +0000 (14:47 +1000)]
Merge pull request #48379 from zdover23/wip-doc-2022-10-06-install-clone-source-master-to-main

doc/install: clone-source.rst s/master/main

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>