]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agomgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli
Afreen Misbah [Tue, 29 Apr 2025 10:47:37 +0000 (16:17 +0530)]
mgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli

- transifex-i18ntool is no longer maintained
- transifex officialy supports now a tool https://github.com/transifex/cli
- doc update

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 25fa4218f6263d5ea8130f75f264761c14cc5a36)

2 months agoMerge pull request #63272 from zdover23/wip-doc-2025-05-14-backport-63259-to-tentacle
Anthony D'Atri [Wed, 14 May 2025 10:54:20 +0000 (06:54 -0400)]
Merge pull request #63272 from zdover23/wip-doc-2025-05-14-backport-63259-to-tentacle

tentacle: doc/dev/cephfs-mirroring: edit file 2 of x

2 months agoMerge pull request #63245 from afreen23/wip-71290-tentacle
afreen23 [Wed, 14 May 2025 07:56:26 +0000 (13:26 +0530)]
Merge pull request #63245 from afreen23/wip-71290-tentacle

tentacle: mgr/dashboard: Add default state when gateway groups are empty

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63066 from mohit84/wip-71145-tentacle
Matan Breizman [Wed, 14 May 2025 07:48:27 +0000 (10:48 +0300)]
Merge pull request #63066 from mohit84/wip-71145-tentacle

tentacle: crimson: PG backfill is not showing any progress

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agodoc/dev/cephfs-mirroring: edit file 2 of x 63272/head
Zac Dover [Tue, 13 May 2025 06:58:39 +0000 (16:58 +1000)]
doc/dev/cephfs-mirroring: edit file 2 of x

Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in
https://github.com/ceph/ceph/pull/63237/files#r2085886075.

This commit edits the second quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.

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

2 months agoMerge pull request #63167 from aclamk/aclamk-bs-recomp-improve-is-worth-tentacle
Yuri Weinstein [Tue, 13 May 2025 20:43:33 +0000 (13:43 -0700)]
Merge pull request #63167 from aclamk/aclamk-bs-recomp-improve-is-worth-tentacle

[tentacle] os/bluestore: Do not recompress large compressed blobs

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #63263 from ronen-fr/wip-rf-63183-tentacle
Ronen Friedman [Tue, 13 May 2025 18:20:16 +0000 (21:20 +0300)]
Merge pull request #63263 from ronen-fr/wip-rf-63183-tentacle

tentacle: osd/scrub: remove (was: fix) deadline calculations

Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #63210 from ceph/tentacle-rtd
David Galloway [Tue, 13 May 2025 17:20:10 +0000 (13:20 -0400)]
Merge pull request #63210 from ceph/tentacle-rtd

tentacle: .github: Fix RTD build retrigger

2 months agoMerge pull request #63249 from zdover23/wip-doc-2025-05-13-backport-63237-to-tentacle
Anthony D'Atri [Tue, 13 May 2025 14:08:55 +0000 (10:08 -0400)]
Merge pull request #63249 from zdover23/wip-doc-2025-05-13-backport-63237-to-tentacle

tentacle: doc: fix formatting in cephfs_mirror dev doc

2 months agoMerge pull request #63246 from afreen23/wip-71289-tentacle
afreen23 [Tue, 13 May 2025 12:35:19 +0000 (18:05 +0530)]
Merge pull request #63246 from afreen23/wip-71289-tentacle

tentacle: mgr/dashboard: Fix delete listener

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoqa/standalone/scrub: no 'deadline' checks in osd-scrub-test.sh 63263/head
Ronen Friedman [Sun, 11 May 2025 12:22:58 +0000 (07:22 -0500)]
qa/standalone/scrub: no 'deadline' checks in osd-scrub-test.sh

As the 'deadline' attribute was removed from the scrub jobs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 8d99563fffd111d0c82b338524a5f304f8b71d5f)

2 months agoosd/scrub: remove the 'deadline' attribute from the scrub job
Ronen Friedman [Sun, 11 May 2025 05:24:33 +0000 (00:24 -0500)]
osd/scrub: remove the 'deadline' attribute from the scrub job

The scrub job's 'overdue' attribute is no longer calculated -
the only 'scrub is overdue' status remaining after latest
scheduling refactor, is the one performed in PGMap.cc (the
one affecting the 'health warning' status of the cluster).
Thus - there is no longer any reason to maintain any 'deadline'
attribute for the scrub scheduler.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 5f83bde31ebf51ab521a488444392d5ca05a09a0)

2 months agoosd/scrub: remove the deep-scrubs deadline attribute
Ronen Friedman [Fri, 9 May 2025 12:46:26 +0000 (07:46 -0500)]
osd/scrub: remove the deep-scrubs deadline attribute

As it is no longer meaningful in the context of the new
scrub scheduling design.

The change mandates fixes to the way 'schedule-[deeps]crub'
commands are implemented. The offset to use when forcing the
last-scrub timestamp to a new value in now calculated in
ScrubJob::guaranteed_offset(), as ScrubJob is where all
schedule adjustments (which employ the same logic) are
implemented.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 4e6323f894fcd96a3d6235451a7d54913e6a1d40)

2 months agodoc/rados/operations/pools.rst: changes to scrub parameters
Ronen Friedman [Thu, 8 May 2025 14:27:16 +0000 (09:27 -0500)]
doc/rados/operations/pools.rst: changes to scrub parameters

Following Tentacle changes to the operation of the cluster/pool
options that affect the determination of the 'max allowed time
to a scrub'.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 61673450ac68209f98dd91ef5667dd3f6dcaa481)

2 months agoosd/scrub: fix deadline calculations
Ronen Friedman [Thu, 8 May 2025 13:45:23 +0000 (08:45 -0500)]
osd/scrub: fix deadline calculations

The scrub scheduling deadlines are calculated based on pool and OSD
configuration parameters. The specifics of the calculations are
modified to match the new scrub scheduling design.

Comments and documentation are updated to reflect the fact that
the deadlines no longer have any meaningful effect on scrub
scheduling.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 170e9f75fd7bcfe2ab93a5ad2f28b2ea5955db48)

2 months agoMerge pull request #63104 from ronen-fr/wip-rf-63093-tentacle
Ronen Friedman [Tue, 13 May 2025 10:46:42 +0000 (13:46 +0300)]
Merge pull request #63104 from ronen-fr/wip-rf-63093-tentacle

tentacle: osd/scrub: check all(*) conditions in restrictions_on_scrubbing()

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2 months agodoc: fix formatting in cephfs_mirror dev doc 63249/head
Jos Collin [Mon, 12 May 2025 12:42:36 +0000 (18:12 +0530)]
doc: fix formatting in cephfs_mirror dev doc

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 8280d334b9b3ee98cb1372d91991fa476a89424b)

2 months agomgr/dashboard: Fix delete listener 63246/head
Afreen Misbah [Tue, 6 May 2025 14:27:03 +0000 (19:57 +0530)]
mgr/dashboard: Fix delete listener

- pass gw_group to delete API in frontend
- when more than one gw groups present delete listener failing with error message: Multiple NVMe-oF gateway groups are configured. Please specify the 'gw_group' parameter in the request.
- added missing types, i18n

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 87ff77183d84066378618939a0a357a80d773e34)

2 months agomgr/dashboard: Add default state when gateway groups are empty 63245/head
Afreen Misbah [Thu, 8 May 2025 04:09:59 +0000 (09:39 +0530)]
mgr/dashboard: Add default state when gateway groups are empty

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

- after upgrades the nvmeof service spec does not contain `group` field
- this causes UI combobox internal errors
- checking for `group` in spec and disabling the selector

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 9a7c907bfc2345a79ecc1f850cc851f21f74fca5)

2 months agoMerge pull request #63235 from nbalacha/wip-71241-tentacle
Ilya Dryomov [Mon, 12 May 2025 16:27:16 +0000 (18:27 +0200)]
Merge pull request #63235 from nbalacha/wip-71241-tentacle

tentacle: cls/rbd: write image mirror status if state is CREATING

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #63228 from zdover23/wip-doc-2025-05-12-backport-63209-to-tentacle
Anthony D'Atri [Mon, 12 May 2025 13:55:03 +0000 (09:55 -0400)]
Merge pull request #63228 from zdover23/wip-doc-2025-05-12-backport-63209-to-tentacle

tentacle: doc/radosgw: Cosmetic and formatting improvements in vault.rst

2 months agorbd: write image mirror status if state is CREATING 63235/head
N Balachandran [Wed, 30 Apr 2025 05:15:13 +0000 (10:45 +0530)]
rbd: write image mirror status if state is CREATING

It can take upto 30s for the image mirror status to be written
to rbd_mirroring on the secondary for a newly created image. This fix
attempts to reduce the time by writing the status to rbd_mirroring even
if the image state is set to CREATING.

Fixes: https://tracker.ceph.com/issues/71138
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit 25a8de9c3db8309387eed3502e781872bc1e035e)

2 months agodoc/radosgw: Cosmetic and formatting improvements in vault.rst 63228/head
Ville Ojamo [Fri, 9 May 2025 10:15:02 +0000 (17:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in vault.rst

Use generated "contents" instead of repeating section titles in an
ordered list.

Use Title Case for section titles.

Capitalize consistently "Ceph" and "Object Gateway", "Vault".

Use consistently all caps for acronyms.

Change one entry of "kms" to "SSE-KMS", seems obvious from the context.
Use "certificates" instead of "certs".

Use double backticks for file paths, commands, config options etc.

Improve language in one sentence, several words missing.

Call it consistently "the Object Gateway" and not sometimes "the
Gateway".

Add pre-formatted block for CLI command examples where missing (should
be promptified in the future).

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit aa2e91ff70ea37a56f4013e6087f7e790f527329)

2 months agoMerge pull request #63153 from NitzanMordhai/wip-71223-tentacle
SrinivasaBharathKanta [Mon, 12 May 2025 03:44:12 +0000 (09:14 +0530)]
Merge pull request #63153 from NitzanMordhai/wip-71223-tentacle

tentacle: osd_types: Restore new_object marking for delete missing entries

2 months agoMerge pull request #63213 from samarahu/remove-d4n-subsuite-temp
Casey Bodley [Fri, 9 May 2025 19:22:36 +0000 (15:22 -0400)]
Merge pull request #63213 from samarahu/remove-d4n-subsuite-temp

tentacle: qa/d4n: Temporarily remove subsuite

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
2 months agoqa/d4n: Temporarily remove subsuite 63213/head
Samarah [Fri, 9 May 2025 16:27:13 +0000 (16:27 +0000)]
qa/d4n: Temporarily remove subsuite

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 months ago.github: Fix RTD build retrigger 63210/head
David Galloway [Tue, 6 May 2025 21:31:03 +0000 (17:31 -0400)]
.github: Fix RTD build retrigger

Fixes: https://tracker.ceph.com/issues/70430
Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 27521bf5580d4f878fbf7cafbd854bc6ef94aed4)

2 months agoMerge pull request #63196 from zdover23/wip-doc-2025-05-09-backport-63172-to-tentacle
Anthony D'Atri [Fri, 9 May 2025 12:45:06 +0000 (08:45 -0400)]
Merge pull request #63196 from zdover23/wip-doc-2025-05-09-backport-63172-to-tentacle

tentacle: doc/mgr/ceph_api: edit index.rst

2 months agoMerge pull request #63199 from zdover23/wip-doc-2025-05-08-backport-63173-to-tentacle
Anthony D'Atri [Fri, 9 May 2025 12:43:49 +0000 (08:43 -0400)]
Merge pull request #63199 from zdover23/wip-doc-2025-05-08-backport-63173-to-tentacle

tentacle: doc/mgr: edit alerts.rst

2 months agoMerge pull request #63206 from zdover23/wip-doc-2025-05-09-backport-63084-to-tentacle
Anthony D'Atri [Fri, 9 May 2025 12:27:43 +0000 (08:27 -0400)]
Merge pull request #63206 from zdover23/wip-doc-2025-05-09-backport-63084-to-tentacle

tentacle: doc/mgr: edit administrator.rst

2 months agodoc/mgr: edit administrator.rst 63206/head
Zac Dover [Thu, 1 May 2025 04:12:45 +0000 (14:12 +1000)]
doc/mgr: edit administrator.rst

Edit doc/mgr/administrator.rst. Add prompts and correct some of the
inelegant English present in the file.

This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.

Credit for this initiative should go to Ville Ojamo.

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

2 months agoMerge pull request #63185 from rhcs-dashboard/wip-71256-tentacle
Nizamudeen A [Fri, 9 May 2025 07:30:54 +0000 (13:00 +0530)]
Merge pull request #63185 from rhcs-dashboard/wip-71256-tentacle

tentacle: mgr/dashboard: fix make check tests

2 months agodoc/mgr: edit alerts.rst 63199/head
Zac Dover [Thu, 8 May 2025 02:29:25 +0000 (12:29 +1000)]
doc/mgr: edit alerts.rst

Edit doc/mgr/alerts.rst as part of the project to determine where the
error is in https://github.com/ceph/ceph/pull/62782 that prevents the
Jenkins tests from passing.

This commit adds to the work done in
https://github.com/ceph/ceph/pull/62782 by correcting some of the
English that was present in that PR.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

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

2 months agodoc/mgr/ceph_api: edit index.rst 63196/head
Zac Dover [Thu, 8 May 2025 00:08:06 +0000 (10:08 +1000)]
doc/mgr/ceph_api: edit index.rst

Edit doc/mgr/ceph_api/index.rst as part of the project to determine
where the error is in https://github.com/ceph/ceph/pull/62782 that
prevents the Jenkins tests from passing.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

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

2 months agomgr/dashboard: fix make check tests 63185/head
Afreen Misbah [Thu, 8 May 2025 08:53:07 +0000 (14:23 +0530)]
mgr/dashboard: fix make check tests

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

Pr are failing with errors import errors running pylint

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 29f0f2914efacd2e6b9bc7115f5c2d3790bb12cc)

2 months agoMerge pull request #63094 from afreen23/wip-71158-tentacle
Yuri Weinstein [Thu, 8 May 2025 15:27:57 +0000 (08:27 -0700)]
Merge pull request #63094 from afreen23/wip-71158-tentacle

tentacle: mgr/dashboard: Bump grafana version to 11.6.0

Reviewed-by: Adam King adking@redhat.com
2 months agoMerge pull request #63082 from cbodley/wip-qa-rgw-tentacle
Casey Bodley [Thu, 8 May 2025 12:48:52 +0000 (08:48 -0400)]
Merge pull request #63082 from cbodley/wip-qa-rgw-tentacle

tentacle: qa/rgw: point tentacle qa suites at ceph-tentacle test branches

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 months agoos/bluestore/recompression: Estimator omits large compressed blobs 63167/head
Adam Kupczyk [Wed, 7 May 2025 08:30:11 +0000 (08:30 +0000)]
os/bluestore/recompression: Estimator omits large compressed blobs

The problem was that Estimator accepted large compressed blobs for
recompression. The fix is to discourage such actions by penalizing
compressed blobs based on their size. In effect small compressed
blob is likely to be recompressed, and large compressed blob will not.

Fixes: https://tracker.ceph.com/issues/71244
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit bbc9e961e9046949138bb3d70e8dd91761fcb088)

2 months agoos/bluestore/recompression: Now able to reach left boundary
Adam Kupczyk [Wed, 7 May 2025 08:25:19 +0000 (08:25 +0000)]
os/bluestore/recompression: Now able to reach left boundary

Bad comparision caused recompression range to exclude left boundary
point. In most cases it makes little difference, but it prevents from:
1) including extent starting at 0
2) including extent at begging of onode segment
Now fixed.

Fixes: https://tracker.ceph.com/issues/71244
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit acfe527d9bbe3364f9e321ce6e790f93eafe41df)

2 months agoosd_types: Restore new_object marking for delete missing entries 63153/head
Nitzan Mordechai [Wed, 26 Mar 2025 08:20:15 +0000 (08:20 +0000)]
osd_types: Restore new_object marking for delete missing entries

Recent changes (PR #29893) removed the “new_object” parameter from missing.add() and the
pg_missing_item constructor. As a result, when processing delete log entries,
if an object is found on disk, its on‑disk version is stored as “have” instead
of the default eversion_t() (0'0). The invariant in read_log_and_missing() then
fails because delete entries are expected to have “have” set to eversion_t().

This patch reintroduces the following check:
if (have == eversion_t())
    clean_regions.mark_object_new();

By doing so, we ensure that when the on‑disk “have” is default, the missing record
is marked as new—restoring the previous behavior and satisfying the invariant for
delete operations.

Fixes: https://tracker.ceph.com/issues/45702
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 4289371b20bb437ad38ded92bc53f5b192a8a16e)

2 months agoMerge pull request #63146 from zdover23/wip-doc-2025-05-07-backport-63139-to-tentacle
Anthony D'Atri [Wed, 7 May 2025 01:38:02 +0000 (21:38 -0400)]
Merge pull request #63146 from zdover23/wip-doc-2025-05-07-backport-63139-to-tentacle

tentacle: doc/cephadm: Correct formatting in upgrade.rst

2 months agodoc/cephadm: Correct formatting in upgrade.rst 63146/head
Anthony D'Atri [Tue, 6 May 2025 16:42:18 +0000 (12:42 -0400)]
doc/cephadm: Correct formatting in upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 0e1adc4ae69b9fdc8f4a8480f3e498efa06520f4)

2 months agoMerge pull request #63061 from Matan-B/wip-71137-tentacle
Matan Breizman [Tue, 6 May 2025 07:39:27 +0000 (10:39 +0300)]
Merge pull request #63061 from Matan-B/wip-71137-tentacle

tentacle: crimson: osd_operation cleanups and fix for MOSDRepOpReply ordering

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #63059 from Matan-B/wip-matanb-crimson-tentacle-62894
Matan Breizman [Tue, 6 May 2025 07:38:14 +0000 (10:38 +0300)]
Merge pull request #63059 from Matan-B/wip-matanb-crimson-tentacle-62894

crimson: fix unused variable warnings due to assert() and NDEBUG builds

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #63058 from Matan-B/wip-matanb-crimson-tentacle-63035
Matan Breizman [Tue, 6 May 2025 07:37:45 +0000 (10:37 +0300)]
Merge pull request #63058 from Matan-B/wip-matanb-crimson-tentacle-63035

tentacle: crimson/osd/recovery_backend: scan_for_backfill_primary correctly handle

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #63107 from zdover23/wip-doc-2025-05-05-backport-62860-to-tentacle
Zac Dover [Tue, 6 May 2025 00:07:05 +0000 (10:07 +1000)]
Merge pull request #63107 from zdover23/wip-doc-2025-05-05-backport-62860-to-tentacle

tentacle: doc: update cephfs-journal-tool docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agodoc: update cephfs-journal-tool docs 63107/head
Jos Collin [Thu, 17 Apr 2025 10:13:46 +0000 (15:43 +0530)]
doc: update cephfs-journal-tool docs

Fixes: https://tracker.ceph.com/issues/70953
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 7ae0c22dfd63d14773966ab3796c68f1be913534)

2 months agoosd/scrub: check all(*) conditions in restrictions_on_scrubbing() 63104/head
Ronen Friedman [Fri, 2 May 2025 08:03:15 +0000 (03:03 -0500)]
osd/scrub: check all(*) conditions in restrictions_on_scrubbing()

Modified OsdScrub::restrictions_on_scrubbing() to check all(*)
conditions, instead of stopping at the first one that is true.
The "new" (since Tentacle) scrub-type-to-conditions mapping is no
longer a simple one (is not "monotonic" in the sense of restrictions
always being removed as the scrub type is more important),
and the caller may want to know them all.

(*) The somewhat costly check for the random backoff is still only
    performed if the OSD is not already running too many scrubs.

Fixes: https://tracker.ceph.com/issues/71169
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 5a3a4f73476580b44442a30c8404a62b5055c96d)

2 months agomgr/dashboard: Bump grafana version to 11.6.0 63094/head
Afreen Misbah [Tue, 15 Apr 2025 13:05:50 +0000 (18:35 +0530)]
mgr/dashboard: Bump grafana version to 11.6.0

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 8fcb0b67409d4101de7d5a53c438df7c253db898)

2 months agoMerge pull request #63043 from cbodley/wip-71115-tentacle
Casey Bodley [Thu, 1 May 2025 19:57:36 +0000 (15:57 -0400)]
Merge pull request #63043 from cbodley/wip-71115-tentacle

tentacle: rgw/sts: correcting authentication in case s3 ops are directed to a primary from secondary after assumerole.

Reviewed-by: Seena Fallah <seenafallah@gmail.com>
2 months agoMerge pull request #63075 from cbodley/wip-71151-tentacle
Casey Bodley [Thu, 1 May 2025 19:55:03 +0000 (15:55 -0400)]
Merge pull request #63075 from cbodley/wip-71151-tentacle

tentacle: rgw/lc: stop using merge_and_store_attrs in remove_bucket_config

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 months agoMerge pull request #63051 from pritha-srivastava/wip-71108-tentacle
Casey Bodley [Thu, 1 May 2025 19:54:37 +0000 (15:54 -0400)]
Merge pull request #63051 from pritha-srivastava/wip-71108-tentacle

tentacle: rgw/sts: Implementation of validating JWT using modulus and exponent

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agoqa/rgw: point tentacle qa suites at ceph-tentacle test branches 63082/head
Casey Bodley [Wed, 30 Apr 2025 20:26:52 +0000 (16:26 -0400)]
qa/rgw: point tentacle qa suites at ceph-tentacle test branches

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoqa/rgw/upgrade: add upgrade from squid
Casey Bodley [Tue, 29 Apr 2025 13:39:43 +0000 (09:39 -0400)]
qa/rgw/upgrade: add upgrade from squid

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

2 months agoqa/rgw/upgrade: remove upgrade from quincy
Casey Bodley [Tue, 29 Apr 2025 13:36:16 +0000 (09:36 -0400)]
qa/rgw/upgrade: remove upgrade from quincy

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

2 months agorgw/lc: stop using merge_and_store_attrs in remove_bucket_config 63075/head
Casey Bodley [Fri, 25 Apr 2025 17:38:50 +0000 (13:38 -0400)]
rgw/lc: stop using merge_and_store_attrs in remove_bucket_config

merge_and_store_attrs() is no longer able to remove xattrs. change the
sal::Bucket's attrs manually and call put_info() to write them back

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

2 months agoMerge pull request #63070 from sseshasa/wip-71143-tentacle
Anthony D'Atri [Wed, 30 Apr 2025 13:28:26 +0000 (09:28 -0400)]
Merge pull request #63070 from sseshasa/wip-71143-tentacle

tentacle: doc/rados: Update mClock doc on steps to override OSD IOPS capacity config

2 months agodoc/rados: Update mClock doc on steps to override OSD IOPS capacity config 63070/head
Sridhar Seshasayee [Tue, 15 Apr 2025 13:01:50 +0000 (18:31 +0530)]
doc/rados: Update mClock doc on steps to override OSD IOPS capacity config

Describe the steps involved to
 - Specify a global value for osd_mclock_max_capacity_iops_{ssd,hdd}, and
 - Override existing individually scoped values for OSDs determined during
   start-up for osd_mclock_max_capacity_iops_{ssd,hdd}.

The above is to help with the following:
 - Steps to override existing setting with a global value.
 - reduce the number of entries in the mon store and instead use a single
   global specification for all OSDs in the cluster in case the underlying
   hardware is the same for all OSDs.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/70774
(cherry picked from commit 899da82ae2e857f2a769c08d6623e6da7678d16b)

2 months agocrimson: Create the shared promise before waited upon 63066/head
Mohit Agrawal [Mon, 14 Apr 2025 12:51:08 +0000 (18:21 +0530)]
crimson: Create the shared promise before waited upon

RecoveryBackend::pushes map creates each shared_promise
in wait_for_pushes call. There can be a situation where
set_pushed is called due to handled push reply (handle_push_reply)
before the shared_promise was even constructed due to backfill progress
is stuck.

Fixes: https://tracker.ceph.com/issues/70502
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
(cherry picked from commit 435f065a13c661c4f2439dee340a786ca4b5f31e)

2 months agocrimson: add operation wrapper for MOSDRepOpReply 63061/head
Samuel Just [Fri, 4 Apr 2025 02:13:58 +0000 (19:13 -0700)]
crimson: add operation wrapper for MOSDRepOpReply

This should avoid reordering between cores.

Fixes: https://tracker.ceph.com/issues/69439
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0c15eb5ca59c98d776091c5602888b0895df0a72)

2 months agocrimson: convert cross-core operations to use RemoteOperation
Samuel Just [Sat, 5 Apr 2025 02:12:33 +0000 (02:12 +0000)]
crimson: convert cross-core operations to use RemoteOperation

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b031373de33894e29fa4bf4d207b480a31431c08)

2 months agocrimson: fix DynamicPerfStats usage in ClientRequest
Samuel Just [Sat, 5 Apr 2025 01:57:33 +0000 (18:57 -0700)]
crimson: fix DynamicPerfStats usage in ClientRequest

ClientRequest::get_connection() return l_conn, which will be
null by the time PG::add_client_request_lat is called in
ClientRequest::do_process.  Modify get_connection() to
return a Connection& from whichever of l_conn or r_conn
isn't null.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 794bb024efa94cb2bb2a90df226bab05c8b9449b)

2 months agocrimson/.../osd_operation.h: add RemoteOperation
Samuel Just [Fri, 4 Apr 2025 01:34:50 +0000 (01:34 +0000)]
crimson/.../osd_operation.h: add RemoteOperation

Subsequent commits will switch various ops to inherit from
this thereby removing some boilerplate.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 6da6b0f83cbe18520566ca91fef609de23b399a5)

2 months agocrimson/.../osd.cc: convert active ops to start_pg_operation_active
Samuel Just [Fri, 4 Apr 2025 02:16:11 +0000 (19:16 -0700)]
crimson/.../osd.cc: convert active ops to start_pg_operation_active

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 607c773db36d98af65eca4df91f315782f0bb652)

2 months agocrimson/.../pg_shard_manager: add start_pg_operation_active
Samuel Just [Tue, 25 Mar 2025 21:02:03 +0000 (21:02 +0000)]
crimson/.../pg_shard_manager: add start_pg_operation_active

Messages between OSDs for PGs that have already completed peering
require fewer checks than otherwise.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 1a75da4b0d22a765eca4807252a0667c2a2266cc)

2 months agocrimson: remove CommonClientRequest, move do_recover_missing to PG
Samuel Just [Thu, 3 Apr 2025 03:42:11 +0000 (03:42 +0000)]
crimson: remove CommonClientRequest, move do_recover_missing to PG

do_recover_missing was the only thing left, and inheriting from a class
to get a static method is somewhat confusing.  Simply move
do_recover_missing to PG.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit ee11626dc7cb1b8719ba3ca41d3ca0ce6d3af1a0)

2 months agocrimson/.../client_request_common: convert do_recover_missing to use coroutine
Samuel Just [Thu, 3 Apr 2025 03:04:56 +0000 (03:04 +0000)]
crimson/.../client_request_common: convert do_recover_missing to use coroutine

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit a85888fa6939f9feb6b7307d2d30afe4a87c3e48)

2 months agocrimson/.../client_request_common: convert do_recover_missing to use log macros
Samuel Just [Thu, 3 Apr 2025 03:03:19 +0000 (03:03 +0000)]
crimson/.../client_request_common: convert do_recover_missing to use log macros

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 05230fc9bf097fecfe3cb948105277c2fc41ba63)

2 months agocrimson: finish_decode() of MOSDRepOp on target core
Samuel Just [Fri, 4 Apr 2025 02:12:33 +0000 (19:12 -0700)]
crimson: finish_decode() of MOSDRepOp on target core

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit bd95adc594908047afd8bb40328ff8dda4488908)

2 months agocrimson: handle_rep_op_reply downgrade stale message to debug
Samuel Just [Tue, 18 Mar 2025 19:34:53 +0000 (19:34 +0000)]
crimson: handle_rep_op_reply downgrade stale message to debug

This isn't actually unusual or alarming.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit d5f6d033b612a691d27b5b78cf2361180cda696c)

2 months agocrimson: fix unused variable warnings due to assert() and NDEBUG builds 63059/head
Radoslaw Zarzynski [Mon, 21 Apr 2025 07:39:23 +0000 (07:39 +0000)]
crimson: fix unused variable warnings due to assert() and NDEBUG builds

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 1cb23c32e65315235522365f281aa3f6811e160a)

2 months agocrimson/osd/recovery_backend: scan_for_backfill_primary correctly handle 63058/head
Matan Breizman [Tue, 29 Apr 2025 10:10:07 +0000 (10:10 +0000)]
crimson/osd/recovery_backend: scan_for_backfill_primary correctly handle
missing object

scan_for_backfill was seperated to scan_for_backfill_primary and
scan_for_backfill_replica.
The fix from:
https://github.com/ceph/ceph/pull/62837/commits/88432ebd7432c513ccd495e77425401beddb9953
was only copied to the replica version.

Fixes: https://tracker.ceph.com/issues/71124
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 2848bc8ce33bb786e4be3ea52559660282544881)

2 months agoMerge pull request #63013 from guits/wip-71109-tentacle
Guillaume Abrioux [Wed, 30 Apr 2025 07:23:15 +0000 (09:23 +0200)]
Merge pull request #63013 from guits/wip-71109-tentacle

tentacle: ceph-volume: Fix splitting with too many parts

2 months agorgw/sts: Use client_id for assumerolewithwebidentityresponse 63051/head
Pritha Srivastava [Mon, 17 Feb 2025 08:11:15 +0000 (13:41 +0530)]
rgw/sts: Use client_id for assumerolewithwebidentityresponse
if aud is not present in JWT.

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

2 months agorgw/sts: adding validation of jwks_uri cert according
Pritha Srivastava [Thu, 13 Feb 2025 11:18:43 +0000 (16:48 +0530)]
rgw/sts: adding validation of jwks_uri cert according
to https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html
for n&e which can be later used for all key types
(x5c, n&e).

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

2 months agorgw/sts: fix to pick jwk which is of type
Pritha Srivastava [Wed, 12 Feb 2025 08:06:20 +0000 (13:36 +0530)]
rgw/sts: fix to pick jwk which is of type
'sig' for signature validation of the token.

Fixes: https://tracker.ceph.com/issues/54562
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 4c08b48a655f549c0375b2ce728737647ec5cb31)

2 months agorgw/sts: adding code for JWT signature validation
Pritha Srivastava [Thu, 26 Dec 2024 08:56:30 +0000 (14:26 +0530)]
rgw/sts: adding code for JWT signature validation
using modulus and exponent for RSA group of algorithms.

A couple of issues and a fix have been suggested by
Pupu Toivonen (pupu.toivonen@csc.fi) in signature calculation
using modulus and exponent.

Fixes: https://tracker.ceph.com/issues/51018
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit b368cab8064925674c008c0e8c39d17fbf964ac6)

2 months agoMerge pull request #63036 from afreen23/wip-71123-tentacle
afreen23 [Tue, 29 Apr 2025 23:56:38 +0000 (05:26 +0530)]
Merge pull request #63036 from afreen23/wip-71123-tentacle

tentacle: mgr/dashboard: Update translations

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63037 from ronen-fr/wip-rf-63010-tentacle
Ronen Friedman [Tue, 29 Apr 2025 16:33:44 +0000 (19:33 +0300)]
Merge pull request #63037 from ronen-fr/wip-rf-63010-tentacle

tentacle: qa/standalone/scrub: fix expected outputs in repair tests

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
2 months agorgw: utilize is_impersonating for forwarded sts requests 63043/head
Seena Fallah [Mon, 28 Apr 2025 17:44:10 +0000 (19:44 +0200)]
rgw: utilize is_impersonating for forwarded sts requests

With the introduction of is_impersonating in SysReqApplier,
RoleApplier can now use the same mechanism to mark when a request
has been forwarded by a system user on behalf of another role (e.g.,
through STS) to mark it as a system request (s->system_request).

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 995dc6284ea32fb2c87fb8e1cf2001b0fe9f5f45)

2 months agorgw: dont rate limit forwarded requests
Seena Fallah [Wed, 23 Apr 2025 22:22:23 +0000 (00:22 +0200)]
rgw: dont rate limit forwarded requests

rely on s->system_request to skip rate limiting on forwarded requests
as well as normal system user requests.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 004ccc7a987c98b7eb87d698b8091ae95665fe7c)

2 months agorgw: use is_admin() for permission checks
Seena Fallah [Wed, 23 Apr 2025 22:22:08 +0000 (00:22 +0200)]
rgw: use is_admin() for permission checks

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit cc033cb16ff2971d215a92fab3038b185251cc22)

2 months agorgw: override perms for admin on data sync
Seena Fallah [Fri, 18 Apr 2025 14:42:24 +0000 (16:42 +0200)]
rgw: override perms for admin on data sync

If pipe is in user mode and the user is admin, don't check for perms
and let it go.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 97b4b608fba21bf2bac69ebcffca114484049680)

2 months agorgw: change is_admin_of() to is_admin()
Seena Fallah [Thu, 17 Apr 2025 22:09:12 +0000 (00:09 +0200)]
rgw: change is_admin_of() to is_admin()

As admin propery of a user is something global and nothing related
to any other owner, we don't need any comparision.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 1a253ea065a5de9636b769b41cc46a4fbc18c3f8)

2 months agorgw: make rgw_sync_pipe_params::user optional
Seena Fallah [Tue, 1 Apr 2025 15:28:10 +0000 (17:28 +0200)]
rgw: make rgw_sync_pipe_params::user optional

In rgw_sync_pipe_params, the mode can be either system or user.
When in system mode, no user is involved, but the current
implementation holds an empty rgw_user, which can cause confusion
in pipe_rules::find_basic_info_without_tags().

With this change, rgw_user is now optional, ensuring that when no
user is involved, it is explicitly nullopt rather than an empty object.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit c8aca216f7d186e4e8391a284d14948afd414957)

2 months agoqa/rgw: add perm check test for copy obj between zonegroups
Seena Fallah [Fri, 28 Mar 2025 23:00:02 +0000 (00:00 +0100)]
qa/rgw: add perm check test for copy obj between zonegroups

Make sure perms are evaluated properly for the source object.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 9523e15fb74e09718f5cc9c0bddf2492fc8d8128)

2 months agodoc: add release note for new policy actions on replication
Seena Fallah [Mon, 24 Feb 2025 15:47:50 +0000 (16:47 +0100)]
doc: add release note for new policy actions on replication

Fixes: https://tracker.ceph.com/issues/70093
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 8c15d4674f567c7b35d5aac0a9ac4e62306f7b13)

2 months agorgw: remote copy obj pass rgwx-perm-check-uid for perm evaluation
Seena Fallah [Fri, 28 Mar 2025 20:55:20 +0000 (21:55 +0100)]
rgw: remote copy obj pass rgwx-perm-check-uid for perm evaluation

When copying object from remote source (bucket from another zonegroup)
the perms of the source is not evaluated resulting in reading from
unauthorized buckets.
passing `rgwx-perm-check-uid` will let the source zone evaluates the
perm and close this bug.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 3c83520d3338e85e2219e34e77d1149033533a71)

2 months agorgw: RGWRadosPutObj evals source bucket perm for backward compatibility
Seena Fallah [Fri, 28 Mar 2025 20:52:47 +0000 (21:52 +0100)]
rgw: RGWRadosPutObj evals source bucket perm for backward compatibility

As of a3f40b4 we no longer evaluate perms locally for source bucket,
this could cause broken permission evaluation dusring upgrade as one
zone is not respecting the perm evaluation based on the `rgwx-perm-check-uid`
arg.

This can be dropped in T+2 release.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 926ed16c27c0625427ae04d7298a5e47c1aba22b)

2 months agorgw: make verify_bucket_permission functions const
Seena Fallah [Thu, 24 Apr 2025 19:02:08 +0000 (21:02 +0200)]
rgw: make verify_bucket_permission functions const

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit b0200c627b1c8cd8ac236119bd6db7b18abc89dc)

2 months agorgw: give hint via header for perm evaluation in GetObj
Seena Fallah [Fri, 28 Mar 2025 20:48:34 +0000 (21:48 +0100)]
rgw: give hint via header for perm evaluation in GetObj

Return `Rgwx-Perm-Checked` header as a hint for the destination zone
to know whether the perms where considered or not.
This is just a backward compatibility for upgrade and can be dropped
in T+2 release.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 84a8d1ba0ed4a9a1abc80c1b839f95aaeef5f27b)

2 months agorgw: rest client callback when all headers are passed
Seena Fallah [Fri, 28 Mar 2025 20:36:38 +0000 (21:36 +0100)]
rgw: rest client callback when all headers are passed

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 0a93e74a0476e80c51ce5ec23b2a5ca1b28a3996)

2 months agorgw: pass rgwx-perm-check-uid for multisite fetch object
Seena Fallah [Wed, 5 Mar 2025 19:52:48 +0000 (20:52 +0100)]
rgw: pass rgwx-perm-check-uid for multisite fetch object

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 86aa6d36e24b78604fd15ac52452ab2cfcc539a9)

2 months agorgw: GetObject(Version) not allowed to replicate sse-kms objects
Seena Fallah [Fri, 28 Feb 2025 16:07:32 +0000 (17:07 +0100)]
rgw: GetObject(Version) not allowed to replicate sse-kms objects

To replicate objects encrypted via sse-kms objects,
s3:GetObjectVersionForReplication is required.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 3024b70ad56a7733527be7bae53d0a19a368c45c)

2 months agorgw: take account GetObject(Version)Tagging when replicating
Seena Fallah [Thu, 27 Feb 2025 10:53:44 +0000 (11:53 +0100)]
rgw: take account GetObject(Version)Tagging when replicating

In case the uid has no permission to read tagging, the tags should
not be replicated.
Ref. https://docs.aws.amazon.com/AmazonS3/latest/userguide/setting-repl-config-perm-overview.html

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit ae8d7a97714faabe90d1e1660aacabe27e080e42)

2 months agoqa/rgw: add test for source object perm check in multisite
Seena Fallah [Mon, 24 Feb 2025 22:56:13 +0000 (23:56 +0100)]
qa/rgw: add test for source object perm check in multisite

Check whether the policies are honored on source object in source
zone when replicating.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit e4f44851b3c0b46528dea6104cf32d6898c711d4)

2 months agorgw: replication require lock perm if enabled
Seena Fallah [Fri, 28 Feb 2025 15:51:07 +0000 (16:51 +0100)]
rgw: replication require lock perm if enabled

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 4fde9dddb8c2732ecf95fa1d508ee7c91fc53e74)

2 months agorgw: check source object replication by replication actions
Seena Fallah [Mon, 24 Feb 2025 22:41:13 +0000 (23:41 +0100)]
rgw: check source object replication by replication actions

Check for permissions of `s3:GetObjectVersionForReplication` in
addition to `s3:GetObject` and `s3:GetObjectVersion` when fetching
the object for multisite.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 89d92dee29a15c5d1be71859be9a2b485236ef4b)

2 months agorgw: export action_bit_string through header file
Seena Fallah [Sat, 1 Mar 2025 00:22:07 +0000 (01:22 +0100)]
rgw: export action_bit_string through header file

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit f2ba4db7b2e57ac0a7166a11251c662c88701805)

2 months agorgw: only allow system override if identity is not impersonating
Seena Fallah [Mon, 24 Feb 2025 22:33:45 +0000 (23:33 +0100)]
rgw: only allow system override if identity is not impersonating

Since multisite now delegates permission checks for source objects
to the source zone (a3f40b4), we need to avoid allowing system-level
overrides when the request is impersonating another identity.

SysReqApplier should only grant override permission if the request
is truly system-authenticated and not acting on behalf of another
user or role (i.e., no rgwx-perm-check-uid or rgwx-perm-check-role
in the request).

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 2a0cb65076fa63439a5d4b7c8876fb551d7ab8ec)