]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agoMerge pull request #56163 from yuvalif/wip-64886-quincy
Shilpa Jagannath [Thu, 29 Aug 2024 15:34:13 +0000 (08:34 -0700)]
Merge pull request #56163 from yuvalif/wip-64886-quincy

quincy: rgw/kafka: set message timeout to 5 seconds

10 months agoMerge pull request #55882 from kamoltat/wip-64673-quincy
Kamoltat (Junior) Sirivadhna [Tue, 27 Aug 2024 01:12:46 +0000 (21:12 -0400)]
Merge pull request #55882 from kamoltat/wip-64673-quincy

quincy: qa/tasks/ceph_manager.py: Rewrite test_pool_min_size
Laura Flores <lflores@redhat.com>

10 months agoMerge pull request #59432 from zdover23/wip-doc-2024-08-26-backport-59428-to-quincy
Anthony D'Atri [Mon, 26 Aug 2024 13:23:42 +0000 (09:23 -0400)]
Merge pull request #59432 from zdover23/wip-doc-2024-08-26-backport-59428-to-quincy

quincy: doc/cephadm: how to get exact size_spec from device

10 months agoMerge pull request #59412 from adk3798/wip-67683-quincy
Adam King [Mon, 26 Aug 2024 11:55:47 +0000 (07:55 -0400)]
Merge pull request #59412 from adk3798/wip-67683-quincy

quincy: mgr/cephadm: add "original_weight" parameter to OSD class

Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agodoc/cephadm: how to get exact size_spec from device 59432/head
Zac Dover [Sun, 25 Aug 2024 20:03:34 +0000 (06:03 +1000)]
doc/cephadm: how to get exact size_spec from device

Add instructions for retrieving the exact size of block devices.

Fixes: https://tracker.ceph.com/issues/66754
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d00d1b52d50b5575d918c3be7b7a8249ef31f0a8)

10 months agoMerge pull request #59426 from zdover23/wip-doc-2024-08-25-backport-59418-to-quincy
Anthony D'Atri [Sat, 24 Aug 2024 22:31:31 +0000 (18:31 -0400)]
Merge pull request #59426 from zdover23/wip-doc-2024-08-25-backport-59418-to-quincy

quincy: doc/glossary: add "object storage"

10 months agodoc/glossary: add "object storage" 59426/head
Zac Dover [Fri, 23 Aug 2024 12:36:16 +0000 (22:36 +1000)]
doc/glossary: add "object storage"

Add a (very basic) definition of object storage.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 43057b88538e868b817acb04d5e6c4e95b4c716e)

10 months agoMerge pull request #59360 from k0ste/wip-67483-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:14:19 +0000 (13:14 -0700)]
Merge pull request #59360 from k0ste/wip-67483-quincy

quincy: rgw: catches nobjects_begin() exceptions

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59357 from k0ste/wip-64304-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:12:26 +0000 (13:12 -0700)]
Merge pull request #59357 from k0ste/wip-64304-quincy

quincy: rgw: fix issue with concurrent versioned deletes leaving behind olh entries

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59353 from k0ste/wip-63584-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:10:39 +0000 (13:10 -0700)]
Merge pull request #59353 from k0ste/wip-63584-quincy

quincy: rgw/notifications: cleanup all coroutines after sending the notification

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
10 months agoMerge pull request #59350 from k0ste/wip-63424-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:10:04 +0000 (13:10 -0700)]
Merge pull request #59350 from k0ste/wip-63424-quincy

quincy: rgwfile: fix lock_guard decl

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59347 from k0ste/wip-63404-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:09:34 +0000 (13:09 -0700)]
Merge pull request #59347 from k0ste/wip-63404-quincy

quincy: rgw/multisite: fix sync_error_trim command

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59345 from k0ste/wip-59605-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:08:58 +0000 (13:08 -0700)]
Merge pull request #59345 from k0ste/wip-59605-quincy

quincy: rgw/sts: changing identity to boost::none, when role policy

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59344 from k0ste/wip-59608-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:08:11 +0000 (13:08 -0700)]
Merge pull request #59344 from k0ste/wip-59608-quincy

quincy: rgw: add crypt attrs for iam policy to PostObj and Init/CompleteMultipart

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
10 months agoMerge pull request #59342 from k0ste/wip-61190-quincy
Yuri Weinstein [Fri, 23 Aug 2024 20:06:59 +0000 (13:06 -0700)]
Merge pull request #59342 from k0ste/wip-61190-quincy

quincy: rgw/lua: add lib64 to the package search path

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
10 months agoMerge pull request #59340 from k0sReviewed-by: Yuval Lifshitz <ylifshit@redhat.com...
Yuri Weinstein [Fri, 23 Aug 2024 20:06:12 +0000 (13:06 -0700)]
Merge pull request #59340 from k0sReviewed-by: Yuval Lifshitz <ylifshit@redhat.com>te/wip-61521-quincy

quincy: test/rgw/notifications: fix kafka consumer shutdown issue

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
10 months agoMerge pull request #59382 from zdover23/wip-doc-2024-08-21-backport-59348-to-quincy
Zac Dover [Fri, 23 Aug 2024 11:36:28 +0000 (21:36 +1000)]
Merge pull request #59382 from zdover23/wip-doc-2024-08-21-backport-59348-to-quincy

quincy: doc/rados: document unfound object cache-tiering scenario

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agomgr/cephadm: add "original_weight" parameter to OSD class 59412/head
Adam King [Mon, 19 Aug 2024 16:30:24 +0000 (12:30 -0400)]
mgr/cephadm: add "original_weight" parameter to OSD class

Fixes: https://tracker.ceph.com/issues/67329
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 04330f5df92994882efcd4879d5c37279138e97b)

10 months agoMerge pull request #54795 from k0ste/wip-62414-quincy
Yuri Weinstein [Thu, 22 Aug 2024 15:39:56 +0000 (08:39 -0700)]
Merge pull request #54795 from k0ste/wip-62414-quincy

quincy: rgw/auth: Fix the return code returned by AuthStrategy,

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #54792 from k0ste/wip-63625-quincy
Yuri Weinstein [Thu, 22 Aug 2024 15:39:13 +0000 (08:39 -0700)]
Merge pull request #54792 from k0ste/wip-63625-quincy

quincy: rgw: SignatureDoesNotMatch for certain RGW Admin Ops endpoints w/v4 auth

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #54170 from yuvalif/wip-57888-quincy
Yuri Weinstein [Thu, 22 Aug 2024 15:38:45 +0000 (08:38 -0700)]
Merge pull request #54170 from yuvalif/wip-57888-quincy

quincy: rgw/amqp: store CA location string in connection object

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #54128 from BBoozmen/wip-63256-quincy
Yuri Weinstein [Thu, 22 Aug 2024 15:38:01 +0000 (08:38 -0700)]
Merge pull request #54128 from BBoozmen/wip-63256-quincy

quincy: RGW/STS: when generating keys, take the trailing null character into account

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #54017 from k0ste/wip-57198-quincy
Yuri Weinstein [Thu, 22 Aug 2024 15:37:20 +0000 (08:37 -0700)]
Merge pull request #54017 from k0ste/wip-57198-quincy

quincy: rgw: 'bucket check' deletes index of multipart meta when its pending_map is nonempty

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #59330 from ljflores/wip-tracker-67562
Laura Flores [Thu, 22 Aug 2024 15:01:46 +0000 (10:01 -0500)]
Merge pull request #59330 from ljflores/wip-tracker-67562

quincy: qa/workunits/rados: enable crb and install generic package for c9

10 months agoMerge pull request #57407 from k0ste/wip-62926-quincy
Laura Flores [Wed, 21 Aug 2024 19:27:46 +0000 (14:27 -0500)]
Merge pull request #57407 from k0ste/wip-62926-quincy

quincy: mon: stuck peering since warning is misleading

10 months agoMerge pull request #55359 from ljflores/wip-revert-pr-55264
Laura Flores [Wed, 21 Aug 2024 19:04:43 +0000 (14:04 -0500)]
Merge pull request #55359 from ljflores/wip-revert-pr-55264

quincy: doc/rados: revert "doc/rados/operations: document `ceph balancer status detail`"

10 months agoMerge pull request #59076 from tobias-urdin/quincy-keystone-admin-token
Yuri Weinstein [Wed, 21 Aug 2024 18:14:33 +0000 (11:14 -0700)]
Merge pull request #59076 from tobias-urdin/quincy-keystone-admin-token

quincy: rgw: invalidate and retry keystone admin token

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 months agoMerge pull request #57899 from cbodley/wip-59357-quincy
Yuri Weinstein [Wed, 21 Aug 2024 18:14:01 +0000 (11:14 -0700)]
Merge pull request #57899 from cbodley/wip-59357-quincy

quincy: rgw/keystone: use secret key from EC2 for sigv4 streaming mode

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #57149 from k0ste/wip-57658-quincy
Yuri Weinstein [Wed, 21 Aug 2024 18:13:24 +0000 (11:13 -0700)]
Merge pull request #57149 from k0ste/wip-57658-quincy

quincy: rgw: set requestPayment in slave zone

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #57133 from k0ste/wip-59376-quincy
Yuri Weinstein [Wed, 21 Aug 2024 18:12:55 +0000 (11:12 -0700)]
Merge pull request #57133 from k0ste/wip-59376-quincy

quincy: rgw: handle old clients with transfer-encoding: chunked.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #57132 from k0ste/wip-59144-quincy
Yuri Weinstein [Wed, 21 Aug 2024 18:12:23 +0000 (11:12 -0700)]
Merge pull request #57132 from k0ste/wip-59144-quincy

quincy: Do not duplicate query-string in ops-log

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agoMerge pull request #57131 from k0ste/wip-58327-quincy
Yuri Weinstein [Wed, 21 Aug 2024 18:11:35 +0000 (11:11 -0700)]
Merge pull request #57131 from k0ste/wip-58327-quincy

quincy: rgw: fix ListOpenIDConnectProviders XML format

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agodoc/rados: Revert "doc/rados/operations: document `ceph balancer status detail`" 55359/head
Laura Flores [Mon, 29 Jan 2024 17:22:08 +0000 (11:22 -0600)]
doc/rados: Revert "doc/rados/operations: document `ceph balancer status detail`"

This reverts commit 7fff8e9a981c366390f61cf1eaeba6524fd6d365.

Signed-off-by: Laura Flores <lflores@ibm.com>
10 months agodoc/rados: document unfound object cache-tiering scenario 59382/head
Zac Dover [Tue, 20 Aug 2024 12:45:29 +0000 (22:45 +1000)]
doc/rados: document unfound object cache-tiering scenario

Explain how to deal with "unfound objects" when restarting OSDs in a
cache-tiered environment.

Fixes: https://tracker.ceph.com/issues/44286
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f01d7a8d5b85170c034acb962b9833913853a1c5)

11 months agorgw: RGWSI_RADOS::Pool::List::init() catches IoCtx::nobjects_begin() exceptions 59360/head
licc [Tue, 7 Feb 2023 08:02:19 +0000 (09:02 +0100)]
rgw: RGWSI_RADOS::Pool::List::init() catches IoCtx::nobjects_begin() exceptions

Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
(cherry picked from commit 63c7d2a44b421cb95bb62ec3db9b2ff84e72d059)

11 months agorgw:log_list_init() catches IoCtx::nobjects_begin() exceptions
licc [Tue, 7 Feb 2023 07:31:44 +0000 (08:31 +0100)]
rgw:log_list_init() catches IoCtx::nobjects_begin() exceptions

Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
(cherry picked from commit 14176f00f44d51b7ecbf9952a1fbbe056f7988eb)

11 months agorgw: fix issue with concurrent versioned deletes leaving behind olh entries 59357/head
Cory Snyder [Fri, 12 Jan 2024 14:51:14 +0000 (14:51 +0000)]
rgw: fix issue with concurrent versioned deletes leaving behind olh entries

Fixes a scenario where BI OLH entries were left behind after racing
delete requests for the same versioned object instance.

Fixes: https://tracker.ceph.com/issues/64014
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 66ac828f97c1b368e41c51be4e5699f3e92d47f9)

11 months agorgw: add reproducer for bug with concurrent versioned object deletes
Cory Snyder [Fri, 12 Jan 2024 14:41:31 +0000 (14:41 +0000)]
rgw: add reproducer for bug with concurrent versioned object deletes

Adds a test case to reproduce a scenario where concurrent versioned
object deletes can cause leftover OLH entries to be left behind.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit b65046e37f62f2c65b17ba6f3434a19d3d68c983)

11 months agorgw/notifications: cleanup all coroutines after sending the notification 59353/head
Yuval Lifshitz [Thu, 16 Nov 2023 15:47:06 +0000 (15:47 +0000)]
rgw/notifications: cleanup all coroutines after sending the notification

this is fixing a regression from: 6b6592f50b6b81fa13a330bcb91273ba7f25c0c9

Fixes: https://tracker.ceph.com/issues/63580
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 63e14893cc7dc6a3aec92c0867ce5e3e67f44b29)

11 months agorgwfile: fix lock_guard decl 59350/head
Matt Benjamin [Thu, 2 Nov 2023 17:45:12 +0000 (13:45 -0400)]
rgwfile: fix lock_guard decl

Reported by Leonid Usov <leonid.usov@ibm.com>.

Fixes: https://tracker.ceph.com/issues/63409
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit f637e53eb62f4f940918a793865db6629fc21275)

11 months agorgw/multisite: fix sync_error_trim command. 59347/head
Shilpa Jagannath [Wed, 4 Oct 2023 19:22:41 +0000 (15:22 -0400)]
rgw/multisite: fix sync_error_trim command.
without --marker option, we trim everthing.
if --marker option is passed in, we trim upto that marker.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit a0491a4f63885be9ea14a15c67cabd8903f19641)

11 months agorgw/sts: changing identity to boost::none, when role policy 59345/head
Pritha Srivastava [Thu, 2 Feb 2023 05:35:41 +0000 (11:05 +0530)]
rgw/sts: changing identity to boost::none, when role policy
is verified for putobj permissions, in case of renaming a
large file.

While renaming a large file, putobj is invoked as an intermediate
step, and role policy is verified for the source object if temp creds
are used. Since the role policy is attached to the identity (role)
itself and the role policy does not contain a Principal, there is no
need to verify the identity and hence boost::none is passed in place
of the identity.

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

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit c2f5716e5196073abfc50917e5f687888f6dff42)

11 months agorgw/op: Init/CompleteMultipart add crypt attrs for iam policy 59344/head
Casey Bodley [Thu, 6 Apr 2023 15:29:55 +0000 (11:29 -0400)]
rgw/op: Init/CompleteMultipart add crypt attrs for iam policy

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4cc6e05a7a550b277c22ac43f2088fe7a0423716)

11 months agorgw/op: RGWPostObj adds crypt attrs for iam policy
Casey Bodley [Thu, 6 Apr 2023 15:28:25 +0000 (11:28 -0400)]
rgw/op: RGWPostObj adds crypt attrs for iam policy

Fixes: https://tracker.ceph.com/issues/58594
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c224bae02218b574f360cb718feb8f2a50f7ac7e)

11 months agorgw/op: factor out rgw_iam_add_crypt_attrs()
Casey Bodley [Thu, 6 Apr 2023 14:53:52 +0000 (10:53 -0400)]
rgw/op: factor out rgw_iam_add_crypt_attrs()

make the iam environment variables for server-side encryption available
to other ops

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3b517a2679c62529950cd66136f9fb971ae612cc)

11 months agorgw/lua: add lib64 to the package search path 59342/head
Yuval Lifshitz [Thu, 11 May 2023 18:59:32 +0000 (21:59 +0300)]
rgw/lua: add lib64 to the package search path

Fixes: https://tracker.ceph.com/issues/59733
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 001e0c004ebb871fe09e70ba66fddbc545705c34)

11 months agotest/rgw/notifications: fix kafka consumer shutdown issue 59340/head
Yuval Lifshitz [Mon, 29 May 2023 11:54:00 +0000 (11:54 +0000)]
test/rgw/notifications: fix kafka consumer shutdown issue

Fixes: https://tracker.ceph.com/issues/61477
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit b00f92da9a6cf848705c0508c0166c12913731e1)

11 months agoqa/workunits/rados: enable crb and install generic package for c9 59330/head
Laura Flores [Mon, 19 Aug 2024 20:00:24 +0000 (20:00 +0000)]
qa/workunits/rados: enable crb and install generic package for c9

This workunit was still trying to enable
"codeready-builder-for-rhel-8-x86_64-rpms", which is a repo specific
to centos 8 stream. After changing the repo name, I found that there
is no libarchive-3.3.3 package available for centos 9 stream, so I
changed it to the generic version.

Fixes: https://tracker.ceph.com/issues/67562
Signed-off-by: Laura Flores <lflores@ibm.com>
11 months agoMerge pull request #54796 from k0ste/wip-59494-quincy
Yuri Weinstein [Mon, 19 Aug 2024 18:24:01 +0000 (11:24 -0700)]
Merge pull request #54796 from k0ste/wip-59494-quincy

quincy: cmake/rgw: librgw tests depend on ALLOC_LIBS

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #54695 from k0ste/wip-63662-quincy
Laura Flores [Mon, 19 Aug 2024 16:29:13 +0000 (11:29 -0500)]
Merge pull request #54695 from k0ste/wip-63662-quincy

quincy: doc/rados/configuration/bluestore-config-ref: Fix lowcase typo

11 months agoMerge pull request #59296 from zdover23/wip-doc-2024-08-19-backport-59256-to-quincy
Anthony D'Atri [Mon, 19 Aug 2024 12:54:28 +0000 (05:54 -0700)]
Merge pull request #59296 from zdover23/wip-doc-2024-08-19-backport-59256-to-quincy

quincy: doc/cephfs: s/mountpoint/mount point/

11 months agoMerge pull request #58558 from rishabh-d-dave/wip-66929-quincy
Xiubo Li [Mon, 19 Aug 2024 12:08:02 +0000 (20:08 +0800)]
Merge pull request #58558 from rishabh-d-dave/wip-66929-quincy

quincy: mgr/vol: handle case where clone index entry goes missing

11 months agoMerge pull request #55301 from neesingh-rh/wip-64143-quincy
Rishabh Dave [Mon, 19 Aug 2024 10:54:36 +0000 (16:24 +0530)]
Merge pull request #55301 from neesingh-rh/wip-64143-quincy

quincy: qa: fix rank_asok() to handle errors from asok commands

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #55916 from mchangir/wip-64224-quincy
Rishabh Dave [Mon, 19 Aug 2024 10:54:03 +0000 (16:24 +0530)]
Merge pull request #55916 from mchangir/wip-64224-quincy

quincy: qa: bump up scrub status command timeout

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #57526 from batrick/wip-66045-quincy
Rishabh Dave [Mon, 19 Aug 2024 10:53:19 +0000 (16:23 +0530)]
Merge pull request #57526 from batrick/wip-66045-quincy

quincy: qa: unmount clients before damaging the fs

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #57564 from dparmar18/wip-66062-quincy
Rishabh Dave [Mon, 19 Aug 2024 10:53:11 +0000 (16:23 +0530)]
Merge pull request #57564 from dparmar18/wip-66062-quincy

quincy: qa: add a YAML to ignore MGR_DOWN warning

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58278 from joscollin/wip-56590-quincy
Rishabh Dave [Mon, 19 Aug 2024 10:52:51 +0000 (16:22 +0530)]
Merge pull request #58278 from joscollin/wip-56590-quincy

quincy: qa/suites/fs: skip check-counters for iogen workload

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agodoc/cephfs: s/mountpoint/mount point/ 59296/head
Zac Dover [Sat, 17 Aug 2024 03:37:58 +0000 (13:37 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486
in which page 345 of The IBM Style Guide is referenced to back up this
change.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 57ed73eaa6945c69059d299ea5310eaac57e2299)

11 months agoMerge pull request #59144 from idryomov/wip-53674-quincy
Yuri Weinstein [Sun, 18 Aug 2024 17:46:59 +0000 (10:46 -0700)]
Merge pull request #59144 from idryomov/wip-53674-quincy

quincy: librbd/crypto: fix issue when live-migrating from encrypted export

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #59288 from zdover23/wip-doc-2024-08-18-backport-59257-to-quincy
Anthony D'Atri [Sat, 17 Aug 2024 21:20:28 +0000 (14:20 -0700)]
Merge pull request #59288 from zdover23/wip-doc-2024-08-18-backport-59257-to-quincy

quincy: doc/cephfs: s/mountpoint/mount point/

11 months agodoc/cephfs: s/mountpoint/mount point/ 59288/head
Zac Dover [Sat, 17 Aug 2024 03:44:30 +0000 (13:44 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486 in
which page 345 of The IBM Style Guide is referenced to back up this
change.

This commit alters only English-language text and example commands in
which the string "{mount point}" is meant to be replaced. No commands
meant for cutting-and-pasting have been altered in this commit.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a0f81cfb5094164630f55a717efbbcdce45bce58)

11 months agoMerge pull request #59252 from zdover23/wip-doc-2024-08-16-backport-59167-to-quincy
Anthony D'Atri [Fri, 16 Aug 2024 22:53:12 +0000 (15:53 -0700)]
Merge pull request #59252 from zdover23/wip-doc-2024-08-16-backport-59167-to-quincy

quincy: doc/cephfs: improve "layout fields" text

11 months agodoc/cephfs: improve "layout fields" text 59252/head
Zac Dover [Mon, 12 Aug 2024 12:38:14 +0000 (22:38 +1000)]
doc/cephfs: improve "layout fields" text

Improve "layout fields" text in doc/cephfs/file-layouts.rst, as suggesed
by Anthony D'Atri in these comments:

https://github.com/ceph/ceph/pull/59021#discussion_r1704108581
https://github.com/ceph/ceph/pull/59021#discussion_r1704112320

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0949b410433837f0509fb73169fa7f22c8f6c256)

11 months agoMerge pull request #59023 from zdover23/wip-doc-2024-08-05-backport-58891-to-quincy
Zac Dover [Fri, 16 Aug 2024 09:26:48 +0000 (19:26 +1000)]
Merge pull request #59023 from zdover23/wip-doc-2024-08-05-backport-58891-to-quincy

quincy: doc/cephfs: edit "Layout Fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #59235 from zdover23/wip-doc-2024-08-15-backport-59219-to-quincy
Anthony D'Atri [Thu, 15 Aug 2024 23:27:00 +0000 (16:27 -0700)]
Merge pull request #59235 from zdover23/wip-doc-2024-08-15-backport-59219-to-quincy

quincy: doc/rgw/notification: persistent notification queue full behavior

11 months agoMerge pull request #59230 from idryomov/wip-67353-quincy
Ilya Dryomov [Thu, 15 Aug 2024 22:26:44 +0000 (00:26 +0200)]
Merge pull request #59230 from idryomov/wip-67353-quincy

quincy: qa: adjust expected io_opt in krbd_discard_granularity.t

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #58284 from pponnuvel/wip-66700-quincy
Yuri Weinstein [Thu, 15 Aug 2024 16:08:02 +0000 (09:08 -0700)]
Merge pull request #58284 from pponnuvel/wip-66700-quincy

quincy: mgr/nfs: Don't crash ceph-mgr if NFS clusters are unavailable.

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
11 months agoMerge pull request #56201 from ifed01/wip-ifed-fix-64443-quincy
Yuri Weinstein [Thu, 15 Aug 2024 14:43:44 +0000 (07:43 -0700)]
Merge pull request #56201 from ifed01/wip-ifed-fix-64443-quincy

quincy: test/store_test: fix DeferredWrite test when prefer_deferred_size=0

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
11 months agoMerge pull request #55776 from ifed01/wip-ifed-fix-expand-with-ncb-qui
Yuri Weinstein [Thu, 15 Aug 2024 14:42:36 +0000 (07:42 -0700)]
Merge pull request #55776 from ifed01/wip-ifed-fix-expand-with-ncb-qui

quincy: os/bluestore: fix free space update after bdev-expand in NCB mode.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
11 months agoMerge pull request #54692 from Matan-B/wip-63650-quincy
Yuri Weinstein [Thu, 15 Aug 2024 14:40:41 +0000 (07:40 -0700)]
Merge pull request #54692 from Matan-B/wip-63650-quincy

quincy: tools/ceph_objectstore_tool: action_on_all_objects_in_pg to skip pgmeta

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
11 months agoMerge pull request #59057 from yuvalif/wip-67365-quincy
Yuval Lifshitz [Thu, 15 Aug 2024 08:08:47 +0000 (11:08 +0300)]
Merge pull request #59057 from yuvalif/wip-67365-quincy

quincy: common/dout: fix FTBFS on GCC 14

Reviewed-By: Yuri Weinstein <yweinste@ibm.com>, Radoslaw Zarzynski <Radoslaw.Adam.Zarzynski@ibm.com>, Pere Diaz Bou <pdiazbou@ibm.com>
11 months agodoc/rgw/notification: persistent notification queue full behavior 59235/head
Yuval Lifshitz [Wed, 14 Aug 2024 11:02:09 +0000 (11:02 +0000)]
doc/rgw/notification: persistent notification queue full behavior

Fixes: https://tracker.ceph.com/issues/50610
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit d12ba11741dc749bcce315bf467078595fa95b24)

11 months agoqa: cover a custom object size in krbd_discard_granularity.t 59230/head
Ilya Dryomov [Thu, 8 Aug 2024 20:01:47 +0000 (22:01 +0200)]
qa: cover a custom object size in krbd_discard_granularity.t

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit e8126bf2f6411069da5074ac3a5a2ea16c0bba0c)

11 months agoqa: adjust expected io_opt in krbd_discard_granularity.t
Ilya Dryomov [Thu, 8 Aug 2024 19:50:40 +0000 (21:50 +0200)]
qa: adjust expected io_opt in krbd_discard_granularity.t

With linux.git commit a00d4bfce7c6 ("rbd: increase io_opt again"),
io_opt is set to object set size.

Fixes: https://tracker.ceph.com/issues/67353
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 144270eb737850159614abd63c261baaa83a8afc)

11 months agoMerge pull request #58704 from kshtsk/wip-67064-quincy
kyr [Wed, 14 Aug 2024 17:59:11 +0000 (19:59 +0200)]
Merge pull request #58704 from kshtsk/wip-67064-quincy

quincy: common: fix compilation warnings in numa.cc

11 months agoMerge pull request #59042 from NitzanMordhai/wip-67350-quincy
Yuri Weinstein [Wed, 14 Aug 2024 14:11:54 +0000 (07:11 -0700)]
Merge pull request #59042 from NitzanMordhai/wip-67350-quincy

quincy: Test: osd-recovery-space.sh extends the wait time for "recovery toofull"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
11 months agoMerge pull request #58742 from ifed01/wip-ifed-async-compact-qui
Yuri Weinstein [Wed, 14 Aug 2024 14:08:18 +0000 (07:08 -0700)]
Merge pull request #58742 from ifed01/wip-ifed-async-compact-qui

quincy: os/bluestore: enable async manual compactions

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
11 months agoMerge pull request #59216 from zdover23/wip-doc-2024-08-14-backport-59168-to-quincy
Anthony D'Atri [Wed, 14 Aug 2024 13:18:13 +0000 (06:18 -0700)]
Merge pull request #59216 from zdover23/wip-doc-2024-08-14-backport-59168-to-quincy

quincy: doc/cephfs: improve cache-configuration.rst

11 months agodoc/cephfs: improve cache-configuration.rst 59216/head
Zac Dover [Mon, 12 Aug 2024 12:47:08 +0000 (22:47 +1000)]
doc/cephfs: improve cache-configuration.rst

Improve the text in the section about dealing with cache-pressure alerts
that was added in https://github.com/ceph/ceph/pull/59077. The changes
in this commit were suggested by Anthony D'Atri.

Co-authored-by: Patrick Donnelly <pdonnelly@redhat.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit aa3bdae2314fef2fca8fc12dca006af657235e17)

11 months agoMerge pull request #59150 from zdover23/wip-doc-2024-08-11-backport-59077-to-quincy
Anthony D'Atri [Sun, 11 Aug 2024 15:37:59 +0000 (08:37 -0700)]
Merge pull request #59150 from zdover23/wip-doc-2024-08-11-backport-59077-to-quincy

quincy: doc/cephfs: add cache pressure information

11 months agodoc/cephfs: add cache pressure information 59150/head
Zac Dover [Wed, 7 Aug 2024 13:11:11 +0000 (23:11 +1000)]
doc/cephfs: add cache pressure information

Add information to doc/cephfs/cache-configuration.rst about how to deal
with a message that reads "clients failing to respond to cache
pressure". This procedure explains how to slow the growth of the
recall_caps value so that it does not exceed the
mds_recall_warning_threshold.

The information in this commit was developed by Eugen Block. See
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/5ROH5CWKKOEIQMVXOVRT5OO7CWK2HPM3/#J65DFUPP4BY57MICPANXKI7KAXSZ5Z5P
and https://www.spinics.net/lists/ceph-users/msg73188.html.

Fixes: https://tracker.ceph.com/issues/57115
Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bf26274ae4737417193f8c2b56bea20eb2a358aa)

11 months agolibrbd/migration: make ImageDispatch handle encryption for non-native formats 59144/head
Ilya Dryomov [Fri, 2 Aug 2024 07:27:42 +0000 (09:27 +0200)]
librbd/migration: make ImageDispatch handle encryption for non-native formats

With NativeFormat now being handled via dispatch, handling encryption
for non-native formats (i.e. mapping to raw image extents and performing
decryption/mapping back on completion) in the migration layer is really
straightforward.

Note that alignment doesn't need to be performed in the migration layer
because it happens on the destination image -- the "align and resubmit"
logic in C_UnalignedObjectReadRequest should kick in before the call to
read_parent().

Fixes: https://tracker.ceph.com/issues/53674
Co-authored-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 0000c3447407772039121bb4499f243df1c889da)

Conflicts:
qa/workunits/rbd/luks-encryption.sh [
          - commit 9892ead7fcd9 ("librbd/crypto: allow loading luks
            format without specifying version") not in quincy -- pass
            through $format to test_migration_read_and_copyup() and
            test_migration_native_with_snaps()
          - commit 1d3de19c4005 ("tools/rbd: add encryption format
            support for cloned image") not in quincy -- drop
            test_migration_clone() ]
src/librbd/migration/ImageDispatch.cc [ ImageArea support and
  commit 20aee5bbbcb5 ("neorados: Make IOContext getters/setters
  less weird") not in quincy ]

11 months agolibrbd: don't make an extra copy of image_extents in C_ImageReadRequest ctor
Ilya Dryomov [Mon, 29 Jul 2024 09:01:17 +0000 (11:01 +0200)]
librbd: don't make an extra copy of image_extents in C_ImageReadRequest ctor

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b20a897061feabc4e22c339c4e7a8aa5155151e8)

11 months agoqa/workunits/rbd: perform cleanup in test_clone_encryption()
Ilya Dryomov [Tue, 6 Aug 2024 11:24:02 +0000 (13:24 +0200)]
qa/workunits/rbd: perform cleanup in test_clone_encryption()

... so that RAW_DEV can be unmapped and future tests can reuse testimg
and other image names without bumping into watchers and older snapshots.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 82d26909cb12b62d88f69f90eb8af692e497bddb)

 Conflicts:
qa/workunits/rbd/luks-encryption.sh [ commit 1d3de19c4005
  ("tools/rbd: add encryption format support for cloned image")
  not in quincy ]

11 months agoqa/workunits/rbd: no need to chmod in luks-encryption.sh
Ilya Dryomov [Sat, 3 Aug 2024 17:31:03 +0000 (19:31 +0200)]
qa/workunits/rbd: no need to chmod in luks-encryption.sh

Most workunits expect the user to be a member of "disk" group, so we
can pretty much rely on that being the case at this point.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 830cbee7a5f875af04f335266b02ad96e4cd71c4)

Conflicts:
qa/workunits/rbd/luks-encryption.sh [ commit 1d3de19c4005
  ("tools/rbd: add encryption format support for cloned image")
  not in quincy ]

11 months agolibrbd/migration: make FormatInterface::read() void again
Ilya Dryomov [Fri, 26 Jul 2024 14:54:31 +0000 (16:54 +0200)]
librbd/migration: make FormatInterface::read() void again

Now that NativeFormat is handled via dispatch, FormatInterface::read()
can be void again for consistency with FormatInterface::list_snaps().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b6c7f69b8044f9206aa982c2aba6466c49fd2bea)

Conflicts:
src/librbd/migration/ImageDispatch.cc [ commit 20aee5bbbcb5
  ("neorados: Make IOContext getters/setters less weird") not
  in quincy ]

11 months agolibrbd/migration: close source image in OpenSourceImageRequest
Ilya Dryomov [Fri, 26 Jul 2024 10:13:08 +0000 (12:13 +0200)]
librbd/migration: close source image in OpenSourceImageRequest

Currently, on errors in FormatInterface::open(), RawFormat disposes
of src_image_ctx, but QCOWFormat doesn't, which is a leak.  Rather than
having each format do it internally, do it in OpenSourceImageRequest.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 63159d6b431470f5edc4b110cebf46865c550689)

11 months agolibrbd/migration: don't instantiate NativeFormat, handle it via dispatch
Ilya Dryomov [Thu, 18 Jul 2024 16:11:18 +0000 (18:11 +0200)]
librbd/migration: don't instantiate NativeFormat, handle it via dispatch

Trying to shoehorn NativeFormat under FormatInterface doesn't really
work.  It fundamentally doesn't fit in:

- Unlike for RawFormat and QCOWFormat, src_image_ctx for NativeFormat
  is not dummy -- it's an ImageCtx for a real RBD image.  Pre-creating
  it in OpenSourceImageRequest with the expectation that placeholder
  values would be overridden later forces NativeFormat to reach into
  ImageCtx guts, duplicating the logic in the constructor.  This also
  necessitates calling snap_set() in a separate step, since snap_id
  isn't known at the time ImageCtx is created.

- Unlike for RawFormat and QCOWFormat, get_image_size() and
  get_snapshots() implementations for NativeFormat are dummy.

- read() and list_snaps() implementations for NativeFormat are
  inconsistent: read() passes through io::ImageDispatch layer, but
  list_snaps() doesn't.  Both can be passing through, meaning that in
  essence these are also dummy.

All of this is with today's code.  Additional complications arise with
planned support for migrating from external clusters where src_image_ctx
would require more invasive patching to "move" to an IoCtx belonging to
an external cluster's CephContext and also with other work.

With the above in mind, NativeFormat actually consists of:

1. Code that parses the "type: native" source spec
2. Code that patches ImageCtx, working around the fact that it's
   pre-created in OpenSourceImageRequest
3. A bunch of dummy implementations for FormatInterface

With this change, (1) is wrapped into a static method that also creates
ImageCtx after all required parameters are known and (2) and (3) go away
entirely.  NativeFormat no longer implements FormatInterface and doesn't
get instantiated at all.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit cacf7ca941876f64f9a04867ffc6cdcb484d89b9)

Conflicts:
src/librbd/migration/NativeFormat.cc [ ImageArea support not in
  quincy ]

11 months agolibrbd/migration/NativeFormat: refactor source spec parsing
Ilya Dryomov [Wed, 17 Jul 2024 19:11:51 +0000 (21:11 +0200)]
librbd/migration/NativeFormat: refactor source spec parsing

In preparation for not instantiating NativeFormat and losing a copy of
the source spec JSON object in m_json_object, refactor the parsing code
to use only const methods (which std::map's operator[] isn't) and local
variables where possible.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 3bbf1f5ddbaa4a8c252d70a384e23852f0c537c1)

11 months agolibrbd/migration/NativeFormat: do pool lookup instead of creating io_ctx
Ilya Dryomov [Wed, 17 Jul 2024 18:05:08 +0000 (20:05 +0200)]
librbd/migration/NativeFormat: do pool lookup instead of creating io_ctx

A Rados instance is sufficient to map the pool name to the pool ID,
no need to involve an IoCtx instance as well.  While at it, report
distinctive errors for a non-existing pool and an invalid JSON value
for pool_name key cases.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 1ba9a32598f50073b574b4649736d76b678a1c58)

11 months agolibrbd/migration: make SourceSpecBuilder::parse_source_spec() static
Ilya Dryomov [Wed, 17 Jul 2024 13:06:33 +0000 (15:06 +0200)]
librbd/migration: make SourceSpecBuilder::parse_source_spec() static

In preparation for divorcing NativeFormat from FormatInterface and
changing when/how src_image_ctx is created, make parse_source_spec()
independent of src_image_ctx.  The "invalid source-spec JSON" error is
duplicated by the "failed to parse migration source-spec" error, so
just get rid of the former to spare having to pass CephContext to
parse_source_spec().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit f172fb97be9a6129be7cdbaa87346dc6c8e8ccb1)

11 months agolibrbd/migration/OpenSourceImageRequest: rename io_ctx -> dst_io_ctx
Ilya Dryomov [Tue, 30 Jul 2024 20:56:17 +0000 (22:56 +0200)]
librbd/migration/OpenSourceImageRequest: rename io_ctx -> dst_io_ctx

For now, this is just slightly clearer.  The distinction would become
important with planned support for migrating from external clusters.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit c14356b1f9eea0988e071f40dc0df005f70edd4d)

11 months agolibrbd/migration: massage some error messages
Ilya Dryomov [Sun, 14 Jul 2024 17:48:33 +0000 (19:48 +0200)]
librbd/migration: massage some error messages

Add missing spaces, don't use the word stream when reporting errors
on POSIX file operations (open() and lseek64()) and fix a cut-and-paste
typo in RawSnapshot.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 789df2ce38f35ffb3e86974e02868e5fff71e72c)

11 months agolibrbd/api: clean up leftovers in Migration::prepare_import()
Ilya Dryomov [Sun, 14 Jul 2024 17:21:47 +0000 (19:21 +0200)]
librbd/api: clean up leftovers in Migration::prepare_import()

Dead code after return and an unused variable.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b92ad49a35536fff87d840ffbf171aee61b05424)

11 months agoMerge pull request #51136 from RaminNietzsche/wip-cloud-sync-fixes-to-the-quincy
Shilpa Jagannath [Fri, 9 Aug 2024 17:10:34 +0000 (10:10 -0700)]
Merge pull request #51136 from RaminNietzsche/wip-cloud-sync-fixes-to-the-quincy

cloud sync: fix crash due to objs on cr stack

11 months agoMerge pull request #56166 from vshankar/wip-64249-quincy
Rishabh Dave [Fri, 9 Aug 2024 06:49:38 +0000 (12:19 +0530)]
Merge pull request #56166 from vshankar/wip-64249-quincy

quincy: qa: correct usage of DEBUGFS_META_DIR in dedent

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #53626 from lxbsz/wip-62513
Rishabh Dave [Fri, 9 Aug 2024 06:48:47 +0000 (12:18 +0530)]
Merge pull request #53626 from lxbsz/wip-62513

quincy: qa/cephfs: switch to python3 for centos stream 9

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #53629 from lxbsz/wip-62867
Rishabh Dave [Fri, 9 Aug 2024 06:48:40 +0000 (12:18 +0530)]
Merge pull request #53629 from lxbsz/wip-62867

quincy: qa: increase the http postBuffer size and disable sslVerify

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #55392 from dparmar18/wip-64067-quincy
Rishabh Dave [Fri, 9 Aug 2024 06:48:27 +0000 (12:18 +0530)]
Merge pull request #55392 from dparmar18/wip-64067-quincy

quincy: qa: fix error reporting string in assert_cluster_log

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #55745 from lxbsz/wip-64221
Rishabh Dave [Fri, 9 Aug 2024 06:48:15 +0000 (12:18 +0530)]
Merge pull request #55745 from lxbsz/wip-64221

quincy: qa/tasks/cephfs/test_misc: switch duration to timeout

Reviewed-by: Rishabh Dave <ridave@redhat.com>