]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agolibrbd: disallow "rbd trash mv" if image is in a group 62921/head
Ilya Dryomov [Wed, 16 Apr 2025 11:15:19 +0000 (13:15 +0200)]
librbd: disallow "rbd trash mv" if image is in a group

Removing an image that is a member of a group has always been
disallowed.  However, moving an image that is a member of a group to
trash is currently allowed and this is deceptive -- the only reason for
a user to move an image to trash should be the intent to remove it.

More importantly, group APIs operate in terms of image names -- there
are no corresponding variants that would operate in terms of image IDs.
For example, even though internally GroupImageSpec struct stores an
image ID, the public rbd_group_image_info_t struct insists on an image
name.  When rbd_group_image_list() encounters a trashed member image
(i.e. one that doesn't have a name), it just fails with ENOENT and no
listing gets produced at all until the offending image is restored from
trash.  Something like this can be very hard to debug for an average
user, so let's make rbd_trash_move() fail with EMLINK the same way as
rbd_remove() does in this scenario.

The one case where moving a member image to trash makes sense is live
migration where the source image gets trashed to be almost immediately
replaced by the destination image as part of preparing migration.

Fixes: https://tracker.ceph.com/issues/71026
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 months agopybind/rbd: add ImageMemberOfGroup exception
Ilya Dryomov [Mon, 21 Apr 2025 15:11:17 +0000 (17:11 +0200)]
pybind/rbd: add ImageMemberOfGroup exception

EMLINK is returned by rbd_remove() if the image is a member of a group.
Add a dedicated exception similar to ImageBusy or ImageHasSnapshots and
a test for it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 months agorbd: don't print "image will expire at" message when trash_move() fails
Ilya Dryomov [Mon, 21 Apr 2025 14:52:02 +0000 (16:52 +0200)]
rbd: don't print "image will expire at" message when trash_move() fails

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 months agoMerge pull request #61800 from MaxKellermann/blk_includes
Max Kellermann [Fri, 18 Apr 2025 08:48:08 +0000 (10:48 +0200)]
Merge pull request #61800 from MaxKellermann/blk_includes

blk: add missing includes

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
3 months agoMerge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash
Ilya Dryomov [Fri, 18 Apr 2025 08:37:56 +0000 (10:37 +0200)]
Merge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash

rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 months agoMerge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps
Casey Bodley [Thu, 17 Apr 2025 16:54:21 +0000 (12:54 -0400)]
Merge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps

rgw/iam: correcting the caps for OIDC Provider for a user.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs
Rishabh Dave [Thu, 17 Apr 2025 16:19:55 +0000 (21:49 +0530)]
Merge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs

doc/cephfs: link section for pausing async threads in section for...

Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge pull request #62766 from adamemerson/wip-70864
Casey Bodley [Thu, 17 Apr 2025 16:03:31 +0000 (12:03 -0400)]
Merge pull request #62766 from adamemerson/wip-70864

rgw: Don't print spurious error on `radosgw-admin` exit

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agoMerge pull request #62793 from BBoozmen/wip-oozmen-70270
Casey Bodley [Thu, 17 Apr 2025 16:00:27 +0000 (12:00 -0400)]
Merge pull request #62793 from BBoozmen/wip-oozmen-70270

rgw: metadata and data sync notification to retry upon any failure case

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62828 from ifed01/wip-ifed-fix-70802
Igor Fedotov [Thu, 17 Apr 2025 15:05:02 +0000 (18:05 +0300)]
Merge pull request #62828 from ifed01/wip-ifed-fix-70802

os/bluestore: eliminate build warning

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Adam Kupczyk<akupczyk@ibm.com>
3 months agoMerge pull request #62859 from bluikko/doc-fixes-radosgw
Anthony D'Atri [Thu, 17 Apr 2025 15:02:29 +0000 (11:02 -0400)]
Merge pull request #62859 from bluikko/doc-fixes-radosgw

doc/radosgw: Fix formatting, cosmetic issues, typos

3 months agodoc/radosgw: Fix formatting, cosmetic issues, typos 62859/head
Ville Ojamo [Thu, 17 Apr 2025 04:05:30 +0000 (11:05 +0700)]
doc/radosgw: Fix formatting, cosmetic issues, typos

Fix stray example command block leftover from rebase in
cloud-transition.rst.
Remove extra character > in cloud-sync-module.rst.
Add missing formatting char ` in cloud-sync-module.rst.
Remove extra empty line between example commands that
resulted in a line with just a "#" prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agorbd-mirror: release lock before calling m_async_op_tracker.finish_op() 62849/head
VinayBhaskar-V [Wed, 16 Apr 2025 15:52:21 +0000 (21:22 +0530)]
rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

m_async_op_tracker.finish_op() in InstanceReplayer::start_image_replayers
may invoke a completion that re-enters code paths that attempt to acquire
the same mutex (m_lock), violating the non-recursive lock constraint.
This can be fixed by releasing the lock before calling
m_async_op_tracker.finish_op().

Fixes: https://tracker.ceph.com/issues/70951
Signed-off-by: VinayBhaskar-V <vvarada@redhat.com>
3 months agoMerge pull request #61936 from xxhdx1985126/wip-seastore-omap-tree-pointer
Yingxin Cheng [Thu, 17 Apr 2025 07:05:06 +0000 (15:05 +0800)]
Merge pull request #61936 from xxhdx1985126/wip-seastore-omap-tree-pointer

crimson/os/seastore/omap_manager: apply linked tree nodes to omap trees

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 months agoMerge pull request #62769 from ronen-fr/wip-rf-delayready
Ronen Friedman [Thu, 17 Apr 2025 05:03:01 +0000 (08:03 +0300)]
Merge pull request #62769 from ronen-fr/wip-rf-delayready

osd/scrub: discard delay_ready_t

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 months agoMerge pull request #62858 from bluikko/doc-fix-radosgw
Anthony D'Atri [Thu, 17 Apr 2025 03:46:28 +0000 (23:46 -0400)]
Merge pull request #62858 from bluikko/doc-fix-radosgw

doc/radosgw: Remove extra literal blocks in cloud-transition.rst

3 months agodoc/radosgw: Remove extra literal blocks in cloud-transition.rst 62858/head
Ville Ojamo [Thu, 17 Apr 2025 03:35:32 +0000 (10:35 +0700)]
doc/radosgw: Remove extra literal blocks in cloud-transition.rst

Fix double-colon literal blocks before blocks with
prompts, missed in rebase.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agoMerge pull request #62763 from bluikko/doc-prompts-radosgw
Zac Dover [Thu, 17 Apr 2025 02:55:27 +0000 (12:55 +1000)]
Merge pull request #62763 from bluikko/doc-prompts-radosgw

doc/radosgw: Promptify CLI, cosmetic fixes

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62754 from cbodley/wip-64895
Casey Bodley [Wed, 16 Apr 2025 19:45:32 +0000 (15:45 -0400)]
Merge pull request #62754 from cbodley/wip-64895

common: CephContext::_refresh_perf_values() checks for null _mempool_perf

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge pull request #62775 from bluikko/doc-releases-codeblocks
Anthony D'Atri [Wed, 16 Apr 2025 13:59:21 +0000 (09:59 -0400)]
Merge pull request #62775 from bluikko/doc-releases-codeblocks

doc/releases: Fix invalid triple backticks in reef.rst squid.rst

3 months agoMerge pull request #62818 from ronen-fr/wip-rf-iocnt-plus
Ronen Friedman [Wed, 16 Apr 2025 12:44:20 +0000 (15:44 +0300)]
Merge pull request #62818 from ronen-fr/wip-rf-iocnt-plus

osd/scrub: performance counters: count I/Os, use unlabeled counters

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 months agodoc/radosgw: Promptify CLI, cosmetic fixes 62763/head
Ville Ojamo [Thu, 10 Apr 2025 10:34:57 +0000 (17:34 +0700)]
doc/radosgw: Promptify CLI, cosmetic fixes

Use the more modern prompt block for CLI commands
and use right one $ vs #.
Fix indentation on JSON example outputs and
some CLI command switches.
Add some arguably missing comma in JSON example output.
Add a full stop at the end of a one-sentence paragraph.
Remove extra comma mid-sentence in another.
Fix missing backslashes or typo at end of multiline commands.
Lines under section headings as long as heading text.
Fix hyperlinks. Fix list items prefixed with - insted of *.
Format configuration syntax in the middle of text as code.
Fix typo "PI" to "API" and remove extra space.
Remove colons at the end of section headers in a few places.
Use Title Case in section titles consistently with short words lowercase.
Possibly controversial: don't add whitespace before and
after main title section header text.
Possibly controversial: don't indent line continuation
backslashes, leave only 1 space before them.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agoblk/kernel: add missing includes 61800/head
Max Kellermann [Tue, 5 Nov 2024 11:49:31 +0000 (12:49 +0100)]
blk/kernel: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agoextblkdev/vdo: add missing includes
Max Kellermann [Fri, 25 Oct 2024 09:08:58 +0000 (11:08 +0200)]
extblkdev/vdo: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
3 months agocrimson/os/seastore/logical_child_node: drop unnecessary 61936/head
Xuehan Xu [Thu, 3 Apr 2025 06:31:42 +0000 (14:31 +0800)]
crimson/os/seastore/logical_child_node: drop unnecessary
"has_parent_tracker()" check

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/logical_child_node: rename child_node_t to
Xuehan Xu [Sun, 30 Mar 2025 08:23:10 +0000 (16:23 +0800)]
crimson/os/seastore/logical_child_node: rename child_node_t to
lba_child_node_t

To be distinguished with omap nodes' child_node_t

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/linked_tree_node: move "account_absent_access()" out
Xuehan Xu [Thu, 6 Mar 2025 08:29:54 +0000 (16:29 +0800)]
crimson/os/seastore/linked_tree_node: move "account_absent_access()" out
of ExtentTransViewRetriever

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/onode: increase the default inline snapset size to
Xuehan Xu [Mon, 24 Feb 2025 02:07:06 +0000 (10:07 +0800)]
crimson/os/seastore/onode: increase the default inline snapset size to
35

So that snapsets for un-snapshoted objects can be store inline with the
onode.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/omap_manager: apply linked_tree_node to omap trees
Xuehan Xu [Fri, 14 Feb 2025 07:48:01 +0000 (15:48 +0800)]
crimson/os/seastore/omap_manager: apply linked_tree_node to omap trees

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agoMerge pull request #62795 from laimis9133/main
Zac Dover [Tue, 15 Apr 2025 19:52:49 +0000 (05:52 +1000)]
Merge pull request #62795 from laimis9133/main

doc/radosgw/cloud-transition: use reStructuredText for code

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning
Zac Dover [Tue, 15 Apr 2025 19:32:04 +0000 (05:32 +1000)]
Merge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning

doc/releases: Direct users to upgrade to 19.2.2

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62792 from prik73/70719-fix-user-form-login-typo
afreen23 [Tue, 15 Apr 2025 18:54:58 +0000 (00:24 +0530)]
Merge pull request #62792 from prik73/70719-fix-user-form-login-typo

mgr/dashboard: fix typo in User Management form (logon → login)

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 months agoMerge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck
Matan Breizman [Tue, 15 Apr 2025 15:24:42 +0000 (18:24 +0300)]
Merge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck

crimson/osd: fix do_recovery returned boolean

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
3 months agoos/bluestore: eliminate build warning 62828/head
Igor Fedotov [Tue, 15 Apr 2025 13:47:49 +0000 (16:47 +0300)]
os/bluestore: eliminate build warning

Fixes: https://tracker.ceph.com/issues/70802
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
3 months agoMerge pull request #62744 from rhcs-dashboard/accounts-e2e
Nizamudeen A [Tue, 15 Apr 2025 13:42:41 +0000 (19:12 +0530)]
Merge pull request #62744 from rhcs-dashboard/accounts-e2e

mgr/dashboard: rgw accounts UI e2e tests

3 months agoosd/scrub: fixing scrub reservation process counters 62818/head
Ronen Friedman [Mon, 14 Apr 2025 16:22:27 +0000 (11:22 -0500)]
osd/scrub: fixing scrub reservation process counters

Using regular (unlabeled) OSD performance counters for
tracking the scrub reservation performance.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: turning additional counters into unlabeled
Ronen Friedman [Mon, 14 Apr 2025 09:47:24 +0000 (04:47 -0500)]
osd/scrub: turning additional counters into unlabeled

i.e. - moving counters from the 'scrbcnt_' enums into
the ScrubCounterSet object.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: a single counters selection mechanism - step 1
Ronen Friedman [Sun, 13 Apr 2025 17:53:12 +0000 (12:53 -0500)]
osd/scrub: a single counters selection mechanism - step 1

Following the preceeding PR, the Scrubber now employs
two methods for selecting the specific subset of performance
counters to update (the replicated pool set or the EC one).
The first method is using labeled counters, with 4 optional labels
(Primary/Replica X Replicated/EC Pool). The second method
is by naming the specific OSD counters to use in ScrubIoCounterSet
objects, then selecting the appropriate set based on the pool type.

This commit is the first step on the path to unifying the two
methods - discarding the use of labeled counters, and only
naming OSD counters.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoosd/scrub: perf-counters for I/O performed by the scrubber
Ronen Friedman [Thu, 3 Apr 2025 07:55:23 +0000 (02:55 -0500)]
osd/scrub: perf-counters for I/O performed by the scrubber

Define two sets of performance counters to track I/O performed
by the scrubber - one set to be used when scrubbing a PG
in a replicated pool, and one - for EC PGs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agorgw/iam: correcting the caps for OIDC Provider for a user. 62819/head
Pritha Srivastava [Tue, 15 Apr 2025 09:43:18 +0000 (15:13 +0530)]
rgw/iam: correcting the caps for OIDC Provider for a user.

Fixes: https://tracker.ceph.com/issues/70926
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 months agocrimson/osd: fix stuck recovery 62812/head
Matan Breizman [Tue, 15 Apr 2025 07:35:31 +0000 (07:35 +0000)]
crimson/osd: fix stuck recovery

https://github.com/ceph/ceph/pull/62080 tested version was **different**
from the one that got merged.
The untested change was changing the boolean returned from start_recovery_ops.
While the seastar::repeat loop in BackgroundRecoveryT<T>::start() was changed accordingly,
other do_recovery() return cases were not considered.

See Tested / Merged here: https://github.com/Matan-B/ceph/pull/2/files

start_recovery_ops used by do_recovery should return whether the iteration (i.e recovery) keep going.

_Note: This has caused a regression in our suite_

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agoMerge pull request #61992 from dparmar18/ib61357
Venky Shankar [Tue, 15 Apr 2025 09:26:34 +0000 (14:56 +0530)]
Merge pull request #61992 from dparmar18/ib61357

qa: add parallelized cleanup step in _rebuild_metadata()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge PR #62259 into main
Venky Shankar [Tue, 15 Apr 2025 09:25:21 +0000 (14:55 +0530)]
Merge PR #62259 into main

* refs/pull/62259/head:
qa/tasks/cephfs/mount: introduce _default_gateway method
qa/tasks/cephfs/mount: use 'ip r' instead 'route'

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge PR #62553 into main
Venky Shankar [Tue, 15 Apr 2025 09:23:39 +0000 (14:53 +0530)]
Merge PR #62553 into main

* refs/pull/62553/head:
mds: fix issues with use-after-free in C_Flush_Journal
mds: fix issues with use-after-free in C_Flush_Journal

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 months agoMerge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix
Pedro Gonzalez Gomez [Tue, 15 Apr 2025 09:19:51 +0000 (11:19 +0200)]
Merge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix

mgr/dashboard: bucket ratelimit API failing while changing owner with ratelimit config

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agoMerge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests
Igor Fedotov [Tue, 15 Apr 2025 08:53:25 +0000 (11:53 +0300)]
Merge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests

test/store_test: enforce sync compaction for spillover test cases.

Reviewed-by: Md Mahamudur Rahaman Sajib mahamudur.sajib@croit.io
3 months agoMerge pull request #62807 from ceph/wip-yuriw-release.pocess-main
Yuri Weinstein [Mon, 14 Apr 2025 23:42:39 +0000 (16:42 -0700)]
Merge pull request #62807 from ceph/wip-yuriw-release.pocess-main

doc: changed refs from quincy to squid

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61786 from Hezko/ns-create-size-fix
Hezko [Mon, 14 Apr 2025 22:19:29 +0000 (01:19 +0300)]
Merge pull request #61786 from Hezko/ns-create-size-fix

mgr/dashboard: Ns create size fix

3 months agodoc/releases: Direct users to upgrade to 19.2.2 62798/head
Zac Dover [Sun, 13 Apr 2025 23:49:16 +0000 (09:49 +1000)]
doc/releases: Direct users to upgrade to 19.2.2

Direct users to upgrade only to Squid v19.2.2, and warn readers not to
upgrade to Squid 19.2.1. This PR is raised in response to a request from
Neha Ojha.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 months agoMerge pull request #62799 from anthonyeleven/fix-formatting
Zac Dover [Mon, 14 Apr 2025 21:44:46 +0000 (07:44 +1000)]
Merge pull request #62799 from anthonyeleven/fix-formatting

doc/cephadm/services: Fix formatting in osd.rst

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
3 months agoMerge pull request #61610 from rzarzynski/wip-test-bl-lastp-on
Radoslaw Zarzynski [Mon, 14 Apr 2025 20:03:25 +0000 (22:03 +0200)]
Merge pull request #61610 from rzarzynski/wip-test-bl-lastp-on

test/bufferlist: turn the old last_p fix verification on

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoMerge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps
Igor Fedotov [Mon, 14 Apr 2025 18:06:45 +0000 (21:06 +0300)]
Merge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps

test/store_test: get rid off sleep() call wherever possible

Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com>
3 months agorgw: metadata and data sync fairness notifications to retry upon any error case 62793/head
Oguzhan Ozmen [Fri, 11 Apr 2025 21:45:19 +0000 (21:45 +0000)]
rgw: metadata and data sync fairness notifications to retry upon any error case

This is a complementary fix to the earlier one described at #62156.
When the sync shard notification fails due to any failures including timeout,
this change keeps the loop going for both metadata and data sync.

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

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
3 months agoMerge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in
Casey Bodley [Mon, 14 Apr 2025 15:56:31 +0000 (11:56 -0400)]
Merge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in

ceph.spec.in: package man/rgw-gap-list

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoMerge PR #62783 into main
Venky Shankar [Mon, 14 Apr 2025 15:49:08 +0000 (21:19 +0530)]
Merge PR #62783 into main

* refs/pull/62783/head:
libcephfs_proxy: fully initialize async I/O structure

Reviewed-by: Sachin Prabhu <sp@spui.uk>
Reviewed-by: Shwetha Acharya <sacharya@redhat.com>
3 months agodoc: changed refs from quincy to squid 62807/head
Yuri Weinstein [Mon, 14 Apr 2025 14:41:13 +0000 (07:41 -0700)]
doc: changed refs from quincy to squid

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62692 from ronen-fr/wip-rf-watch-ratiob
Ronen Friedman [Mon, 14 Apr 2025 13:24:45 +0000 (16:24 +0300)]
Merge pull request #62692 from ronen-fr/wip-rf-watch-ratiob

osd/scrub: additional configuration parameters to trigger scrub reschedule

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 months agoosd/scrub: discard delay_ready_t 62769/head
Ronen Friedman [Mon, 7 Apr 2025 09:45:58 +0000 (04:45 -0500)]
osd/scrub: discard delay_ready_t

The 'delay_ready_t' parameter was used in the past to
control whether, when a change in the scrub scheduling inputs
occurs (e.g. a configuration change), even those scheduling targets
that are already ripe for scrubbing will have their schedule recomputed.

This parameter, however, is ignored: all "regular-periodic"
scrubbing targets are always rescheduled when the scheduling inputs
change.
The commit removes the 'delay_ready_t' parameter from the codebase.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agolibcephfs_proxy: fully initialize async I/O structure 62783/head
Xavi Hernandez [Fri, 11 Apr 2025 14:15:05 +0000 (16:15 +0200)]
libcephfs_proxy: fully initialize async I/O structure

The ceph_ll_io_info structure has recently been extended to support
zerocopy operations. The proxy was initializing just the known members,
so, after the zerocopy support, it was passing garbage in some fields,
causing failures.

This patch completely clears the whole structure to be sure that
everything is initialized to its default value.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
3 months agoMerge pull request #62761 from rhcs-dashboard/tiering-fix
afreen23 [Mon, 14 Apr 2025 08:15:20 +0000 (13:45 +0530)]
Merge pull request #62761 from rhcs-dashboard/tiering-fix

mgr/dashboard: RGW - Reatin Head Object Fix

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 months agomgr/dashboard: fix bucket rate limit API on owner change 62764/head
Naman Munet [Thu, 10 Apr 2025 11:40:02 +0000 (17:10 +0530)]
mgr/dashboard: fix bucket rate limit API on owner change

Fixes: https://tracker.ceph.com/issues/70874
PR covers & fixes below scenarios:
Whenever we change the owner of bucket from non-tenanted to tenanted and
vice-versa with the rate-limit changes, there was issue in sending bucket name
Scenario 1: Changing the bucket owner from tenanted to non-tenanted
Scenario 2: Changing the bucket owner from non-tenanted to tenanted
Scenario 3: Keeping the owner(tenanted) same and changing only rate limit

Signed-off-by: Naman Munet <naman.munet@ibm.com>
3 months agoMerge pull request #61273 from rhcs-dashboard/topicmanagment-ui
afreen23 [Mon, 14 Apr 2025 07:44:48 +0000 (13:14 +0530)]
Merge pull request #61273 from rhcs-dashboard/topicmanagment-ui

mgr/dashboard: Add RGW topic listing in dashboard

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Naman Munet <nmunet@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agoceph.spec.in: add man/rgw-gap-list 62804/head
Matan Breizman [Mon, 14 Apr 2025 07:32:24 +0000 (07:32 +0000)]
ceph.spec.in: add man/rgw-gap-list

Introduced in https://github.com/ceph/ceph/pull/62749
Centos builds fail with:
```
error: Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/man/man8/rgw-gap-list.8.gz
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 months agodoc/radosgw/cloud-transition: fix details 62795/head
Laimis Juzeliūnas [Sun, 13 Apr 2025 20:14:55 +0000 (23:14 +0300)]
doc/radosgw/cloud-transition: fix details

Fix documentation on Ceph cloud storage transitions - broken link urls, returning back reStructuredText and some other details.

Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
Co-authored-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agoMerge pull request #62776 from rhcs-dashboard/tiering-secretKey-fix
afreen23 [Mon, 14 Apr 2025 05:34:53 +0000 (11:04 +0530)]
Merge pull request #62776 from rhcs-dashboard/tiering-secretKey-fix

mgr/dashboard: RGW - Tiering form - secret key fix

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 months agodoc/cephadm/services: Fix formatting in osd.rst 62799/head
Anthony D'Atri [Mon, 14 Apr 2025 05:18:03 +0000 (01:18 -0400)]
doc/cephadm/services: Fix formatting in osd.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agocrimson/os/seastore/transaction_manager: allow users of
Xuehan Xu [Mon, 7 Apr 2025 08:42:18 +0000 (16:42 +0800)]
crimson/os/seastore/transaction_manager: allow users of
TransactionManager to pass an initializer when loading logical extents
from disks

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/cache: do `prepare_commit` before retiring extents
Xuehan Xu [Thu, 27 Feb 2025 05:54:49 +0000 (13:54 +0800)]
crimson/os/seastore/cache: do `prepare_commit` before retiring extents

Linked tree nodes in logical trees need to take parents from the prior
instances when being rewritten, which has to be done before the prior
instances are retired.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/linked_tree_node: make interface required by the
Xuehan Xu [Thu, 20 Feb 2025 08:34:35 +0000 (16:34 +0800)]
crimson/os/seastore/linked_tree_node: make interface required by the
linked tree nodes more general

So that other btrees like the omap tree can adapt to it.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/btree: rename base_child_node_t to base_child_t
Xuehan Xu [Tue, 4 Mar 2025 09:05:57 +0000 (17:05 +0800)]
crimson/os/seastore/btree: rename base_child_node_t to base_child_t

To distinguish from child_node_t

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/omap_manager: rename StringKVNodeLayout::get_index
Xuehan Xu [Fri, 14 Feb 2025 08:57:59 +0000 (16:57 +0800)]
crimson/os/seastore/omap_manager: rename StringKVNodeLayout::get_index
to StringKVNodeLayout::get_offset

This is to be consistent with linked tree nodes

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/linked_tree_node: drop the need for extents to
Xuehan Xu [Thu, 13 Feb 2025 09:25:18 +0000 (17:25 +0800)]
crimson/os/seastore/linked_tree_node: drop the need for extents to
possess a field named "range"

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agocrimson/os/seastore/linked_tree_node: resize child pointer vector if
Xuehan Xu [Wed, 22 Jan 2025 09:44:13 +0000 (17:44 +0800)]
crimson/os/seastore/linked_tree_node: resize child pointer vector if
necessary

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
3 months agoMerge pull request #62784 from anthonyeleven/osd-restart-warn
Zac Dover [Sun, 13 Apr 2025 23:39:37 +0000 (09:39 +1000)]
Merge pull request #62784 from anthonyeleven/osd-restart-warn

doc/cephadm: Add admonition re restarting an OSD service

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 months agomgr/dashboard: fix typo in User Management form 62792/head
prik73 [Fri, 11 Apr 2025 23:21:51 +0000 (19:21 -0400)]
mgr/dashboard: fix typo in User Management form
Fixes: https://tracker.ceph.com/issues/70719
-Corrected the label from 'logon' to 'login' in the User Management form

Signed-off-by: prik73 <prinovac@gmail.com>
3 months agoosd/scrub: additional configuration params to trigger scrub reschedule 62692/head
Ronen Friedman [Sun, 6 Apr 2025 12:31:48 +0000 (07:31 -0500)]
osd/scrub: additional configuration params to trigger scrub reschedule

Adding the following parameters to the (small) set of configuration
options that, if changed, trigger re-computation of the next scrub
schedule:
- osd_scrub_interval_randomize_ratio,
- osd_deep_scrub_interval_cv, and
- osd_deep_scrub_interval (which was missing in the list of
  parameters watched by the OSD).

Fixes: https://tracker.ceph.com/issues/70806
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoMerge pull request #62732 from Hezko/nvmeof-cli-gw-addr
Hezko [Sat, 12 Apr 2025 01:00:28 +0000 (04:00 +0300)]
Merge pull request #62732 from Hezko/nvmeof-cli-gw-addr

mgr/dashboard: allow selecting target gw in nvmeof cli/api endpoints

3 months agoMerge pull request #62786 from ceph/wip-yuriw-release.pocess-main
Yuri Weinstein [Fri, 11 Apr 2025 22:38:07 +0000 (15:38 -0700)]
Merge pull request #62786 from ceph/wip-yuriw-release.pocess-main

doc: minor additions based on the latest mods

Reviewed-by: Dan Mick <dmick@redhat.com>
3 months agoMerge pull request #62490 from bill-scales/ec_select_primary
Laura Flores [Fri, 11 Apr 2025 21:28:07 +0000 (16:28 -0500)]
Merge pull request #62490 from bill-scales/ec_select_primary

osd: Restrict choice of primary shard for ec_optimizations pools

3 months agoMerge pull request #62757 from rhcs-dashboard/fix-70866-main
afreen23 [Fri, 11 Apr 2025 21:00:07 +0000 (02:30 +0530)]
Merge pull request #62757 from rhcs-dashboard/fix-70866-main

mgr/dashboard: add description for default Pool Application select options

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agodoc: minor additions based on the latest mods and updated example to squid 62786/head
Yuri Weinstein [Fri, 11 Apr 2025 15:21:13 +0000 (08:21 -0700)]
doc: minor additions based on the latest mods and updated example to squid

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
3 months agoMerge pull request #62704 from sseshasa/wip-fix-recovery-counters-calc
Laura Flores [Fri, 11 Apr 2025 19:31:32 +0000 (14:31 -0500)]
Merge pull request #62704 from sseshasa/wip-fix-recovery-counters-calc

osd/scheduler/OpSchedulerItem: Fix calculation of recovery latency counters

3 months agoMerge pull request #62749 from ivancich/wip-document-gap-list
J. Eric Ivancich [Fri, 11 Apr 2025 18:57:27 +0000 (14:57 -0400)]
Merge pull request #62749 from ivancich/wip-document-gap-list

rgw/doc: add man documentation for the rgw-gap-list tool

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agodoc/rgw: add man documentation for the rgw-gap-list tool 62749/head
J. Eric Ivancich [Wed, 9 Apr 2025 15:47:31 +0000 (11:47 -0400)]
doc/rgw: add man documentation for the rgw-gap-list tool

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 months agoMerge pull request #62780 from aainscow/sv_notify_fix
Casey Bodley [Fri, 11 Apr 2025 16:32:20 +0000 (12:32 -0400)]
Merge pull request #62780 from aainscow/sv_notify_fix

rgw: Fix compilation issue with clang on centos

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agodoc/cephadm: Add admonition re restarting an OSD service 62784/head
Anthony D'Atri [Fri, 11 Apr 2025 14:29:52 +0000 (10:29 -0400)]
doc/cephadm: Add admonition re restarting an OSD service

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 months agoMerge pull request #62771 from idryomov/wip-drop-remote-namespace-cls-err
Ilya Dryomov [Fri, 11 Apr 2025 12:58:29 +0000 (14:58 +0200)]
Merge pull request #62771 from idryomov/wip-drop-remote-namespace-cls-err

cls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get()

Reviewed-by: N Balachandran <nithya.balachandran@ibm.com>
3 months agoMerge pull request #62601 from rhcs-dashboard/smb-tabs-route
Nizamudeen A [Fri, 11 Apr 2025 12:11:23 +0000 (17:41 +0530)]
Merge pull request #62601 from rhcs-dashboard/smb-tabs-route

mgr/dashboard: make smb tabs routable

3 months agorgw: Fix compilation issue with clang on centos 62780/head
Alex Ainscow [Fri, 11 Apr 2025 09:41:37 +0000 (10:41 +0100)]
rgw: Fix compilation issue with clang on centos

We are getting a compilation issue with accessing an incomplete type.

This fix moves some code around to avoid this issue.

I don't fully understand why we don't see this issue everywhere!

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 months agomgr/dashboard: RGW - Reatin Head Object Fix 62761/head
Dnyaneshwari [Thu, 10 Apr 2025 08:22:47 +0000 (13:52 +0530)]
mgr/dashboard: RGW - Reatin Head Object Fix

Fixes: https://tracker.ceph.com/issues/70871
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
3 months agomgr/dashboard: RGW - Tiering form - secret key fix 62776/head
Dnyaneshwari [Fri, 11 Apr 2025 07:44:27 +0000 (13:14 +0530)]
mgr/dashboard: RGW - Tiering form - secret key fix

Fixes: https://tracker.ceph.com/issues/70888
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
3 months agoMerge pull request #62697 from Hezko/nvmeof-response-fix
Nizamudeen A [Fri, 11 Apr 2025 07:45:42 +0000 (13:15 +0530)]
Merge pull request #62697 from Hezko/nvmeof-response-fix

mgr/dashboard: fix subsystems list api response

3 months agodoc/releases: Fix invalid triple backticks in reef.rst squid.rst 62775/head
Ville Ojamo [Fri, 11 Apr 2025 05:04:52 +0000 (12:04 +0700)]
doc/releases: Fix invalid triple backticks in reef.rst squid.rst

Triple backtick does not create a code block in RST,
instead it renders as an inline code with the third
backtick rendered as-is.
This makes newlines in multiline code merged to a
single line and it makes the whole thing nonsense.

Change the second intended code block to use a code
block with a bash prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 months agotest: Add unittests for pgtemp_primaryfirst/pgtemp_undo_primaryfirst 62490/head
Bill Scales [Mon, 31 Mar 2025 08:17:35 +0000 (09:17 +0100)]
test: Add unittests for pgtemp_primaryfirst/pgtemp_undo_primaryfirst

Add unittests for pgtemp_primaryfirst and pgtemp_undo_primaryfirst
to prove the later is a reverse transform and that neither has any
effect until an optimized EC pool configures non-primary shards.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
3 months agoosd: Restrict choice of primary shard for ec_optimizations pools
Bill Scales [Thu, 6 Mar 2025 12:20:52 +0000 (12:20 +0000)]
osd: Restrict choice of primary shard for ec_optimizations pools

Pools with ec_optimizations enabled have restrictions on which
shards are permitted to become the primary because not all shards
are updated for every I/O.

To preserve backwards compatibility with downlevel clients
pg_temp is used as the method to override the selection of
primary by OSDMap. Directly changing the logic in OSDMap
would have meant that all clients need to be upgraded to
tentacle before using optimized EC pools, so was discounted.
Using primary_temp to set the primary for an EC pool is
not reliable because under error conditions an OSD can store
multiple shards for the same PG and primary_temp cannot
define which of these shards will be choosen.

For optimized EC pools pg_temp is shuffled so that the
non-primary shards are listed last. This means that the
existing logic in OSDMap that picks the first available
shard as the primary will avoid selecting a non-primary
shard. OSDMonitor applies the shuffle when pg_temp is set,
this is then reverted in PeeringState when initializing the
acting set after OSDMap has selected the primary.

PeeringState::choose_acting is modified to set pg_temp if
OSDMap has selected a non-primary shard, this will cause
a new OSDMAP to be published which will persuade
OSDMap to select a primary shard instead.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
3 months agomgr/dashboard: rgw accounts UI e2e tests 62744/head
Naman Munet [Wed, 9 Apr 2025 07:38:01 +0000 (13:08 +0530)]
mgr/dashboard: rgw accounts UI e2e tests

Fixes: https://tracker.ceph.com/issues/69674
Signed-off-by: Naman Munet <naman.munet@ibm.com>
3 months agoMerge pull request #62527 from rhcs-dashboard/smb-file-uploader
Pedro Gonzalez Gomez [Fri, 11 Apr 2025 04:11:17 +0000 (06:11 +0200)]
Merge pull request #62527 from rhcs-dashboard/smb-file-uploader

mgr/dashboard: add file uploader for smb usersandgroups

Reviewed-by: nizamial09 <nia@redhat.com>
3 months agoMerge pull request #62673 from adamemerson/wip-test-osd-signed-comparison
SrinivasaBharathKanta [Fri, 11 Apr 2025 02:22:32 +0000 (07:52 +0530)]
Merge pull request #62673 from adamemerson/wip-test-osd-signed-comparison

test/osd: Fix signed comparison warning

3 months agoMerge pull request #62163 from zmc/bwc-debs
Zack Cerza [Fri, 11 Apr 2025 01:22:32 +0000 (19:22 -0600)]
Merge pull request #62163 from zmc/bwc-debs

Enabling containerized debian pipeline builds

3 months agomgr/dashboard: add traddr param to nvmeof cli/api endpoints 62732/head
Tomer Haskalovitch [Mon, 7 Apr 2025 09:07:22 +0000 (12:07 +0300)]
mgr/dashboard: add traddr param to nvmeof cli/api endpoints

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>