]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 months agorgw_cksum: permit fallback to checksum-type from create-multipart, in upload-part
Matt Benjamin [Sat, 12 Oct 2024 17:49:29 +0000 (13:49 -0400)]
rgw_cksum: permit fallback to checksum-type from create-multipart, in upload-part

There appear to be workloads that provide a checksum algorithm in
create-multipart-upload, but do not provide (what must be) the
corresponding algorithm when uploading the parts.  (complete-multipart-upload
has no checksum argument, the value is implicit.)

This behavior is inconsistent with at least some SDKs, but it is
possibly accepted behavior in AWS S3, and is not logically necessary,
since the originally supplied checksum type is already known.

Therefore, change the behavior of upload-part to fall back to a
checksum type that was sent with the corresponding create-multipart-upload
request, if one is present, rather than failing with InvalidRequest.

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

6 months agorgw: defensive check for part cksum in try_sum_part_cksums
Matt Benjamin [Fri, 30 Aug 2024 13:34:18 +0000 (09:34 -0400)]
rgw: defensive check for part cksum in try_sum_part_cksums

If a create-multipart-upload requested additional checksum but a
part upload omits it, fail gracefully.

Possibly we can fixup the checksum uploads and remove this scenario,
but coding defensively would still be correct.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 months agorgw_cksum: don't display nil checksums in get-object-attributes (parts)
Matt Benjamin [Fri, 11 Oct 2024 19:46:30 +0000 (15:46 -0400)]
rgw_cksum: don't display nil checksums in get-object-attributes (parts)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 months agorgw: GetObjectAttributes iam policy policy hooks
Matt Benjamin [Tue, 10 Sep 2024 18:59:51 +0000 (14:59 -0400)]
rgw: GetObjectAttributes iam policy policy hooks

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 months agorgw_cksum: zero-initialize GetObjAttrs integral members
Matt Benjamin [Sat, 12 Oct 2024 14:01:57 +0000 (10:01 -0400)]
rgw_cksum: zero-initialize GetObjAttrs integral members

(code review)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 months agorgw: implement GetObjectAttributes
Matt Benjamin [Mon, 8 Jan 2024 02:33:07 +0000 (21:33 -0500)]
rgw: implement GetObjectAttributes

Implements the corresponding S3 operation, and
introduces a new Object::list_parts SAL interface to support it.

Includes Casey Bodley <cbodley@redhat.com>:
  * use uncompressed part size
  * local variable shadowed a member variable and broke handling of
      PartNumberMarker in request and response

Fixes: https://tracker.ceph.com/issues/64109
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 months agoMerge pull request #61213 from Matan-B/wip-matanb-crimson-shared-lru-dtor
Matan Breizman [Tue, 7 Jan 2025 14:44:32 +0000 (16:44 +0200)]
Merge pull request #61213 from Matan-B/wip-matanb-crimson-shared-lru-dtor

crimson/common/shared_lru: invalidate Deleter's cache

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agoMerge pull request #60666 from ThomasLamprecht/debian-fix-librgw2-lua-dependencies
Kefu Chai [Tue, 7 Jan 2025 14:19:43 +0000 (22:19 +0800)]
Merge pull request #60666 from ThomasLamprecht/debian-fix-librgw2-lua-dependencies

debian/control: fix overly broad lua dependency declaration for librgw2 package

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
6 months agoMerge pull request #60118 from kshtsk/wip-refactor-make-check
kyr [Tue, 7 Jan 2025 13:36:51 +0000 (14:36 +0100)]
Merge pull request #60118 from kshtsk/wip-refactor-make-check

script/run-make: stop args duplication

6 months agoMerge pull request #61241 from guits/ceph-volume-69430
Guillaume Abrioux [Tue, 7 Jan 2025 12:53:57 +0000 (13:53 +0100)]
Merge pull request #61241 from guits/ceph-volume-69430

ceph-volume: fix Zap.ensure_associated_raw()

6 months agoMerge pull request #61240 from neesingh-rh/wip-68974
Zac Dover [Tue, 7 Jan 2025 06:28:34 +0000 (16:28 +1000)]
Merge pull request #61240 from neesingh-rh/wip-68974

doc: add snapshots under cephfs concepts

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoceph-volume: fix Zap.ensure_associated_raw() 61241/head
Guillaume Abrioux [Mon, 6 Jan 2025 16:12:22 +0000 (16:12 +0000)]
ceph-volume: fix Zap.ensure_associated_raw()

When an OSD creation fails, ceph-volume can zaps unrelated
existing raw based OSD as part of the 'rollback step'.

Fixes: https://tracker.ceph.com/issues/69430
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
6 months agoMerge pull request #61243 from anthonyeleven/etags-fix
Anthony D'Atri [Mon, 6 Jan 2025 18:27:06 +0000 (13:27 -0500)]
Merge pull request #61243 from anthonyeleven/etags-fix

doc/radosgw/s3: correct eTag op match tables

6 months agodoc/radosgw/s3: correct eTag op match tables 61243/head
Anthony D'Atri [Mon, 6 Jan 2025 17:48:04 +0000 (12:48 -0500)]
doc/radosgw/s3: correct eTag op match tables

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
6 months agodoc: add snapshots in docs under Cephfs concepts 61240/head
neeraj pratap singh [Mon, 6 Jan 2025 11:00:32 +0000 (16:30 +0530)]
doc: add snapshots in docs under Cephfs concepts

Fixes: https://tracker.ceph.com/issues/68974
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
6 months agoMerge pull request #60720 from batrick/i68913
Venky Shankar [Mon, 6 Jan 2025 07:00:03 +0000 (12:30 +0530)]
Merge pull request #60720 from batrick/i68913

qa: write out ESubtreeMap more frequently to find large events

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge pull request #59593 from xxhdx1985126/wip-67888
Matan Breizman [Sun, 5 Jan 2025 14:35:42 +0000 (16:35 +0200)]
Merge pull request #59593 from xxhdx1985126/wip-67888

crimson/osd/backfill_state: treat `Cancelled` as a pause of the ongoing backfilling

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #60597 from xxhdx1985126/wip-68806
Matan Breizman [Sun, 5 Jan 2025 11:47:12 +0000 (13:47 +0200)]
Merge pull request #60597 from xxhdx1985126/wip-68806

crimson/osd/replicated_recovery_backend: call on_global_recover() only when all replicas and the primary have been recovered

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #60041 from xxhdx1985126/wip-68286
Matan Breizman [Sun, 5 Jan 2025 11:46:39 +0000 (13:46 +0200)]
Merge pull request #60041 from xxhdx1985126/wip-68286

crimson/osd/pg_shard_manager: discard outdated operations when the corresponding pgs are already removed

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #61216 from athanatos/sjust/wip-crimson-backfill-teuth
Matan Breizman [Sun, 5 Jan 2025 11:07:28 +0000 (13:07 +0200)]
Merge pull request #61216 from athanatos/sjust/wip-crimson-backfill-teuth

qa/suites/crimson-rados: enable short_pg_log

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #61227 from zdover23/wip-doc-2024-01-05-README
Zac Dover [Sun, 5 Jan 2025 09:38:45 +0000 (19:38 +1000)]
Merge pull request #61227 from zdover23/wip-doc-2024-01-05-README

doc: README.md - improve "Tshooting" and "Tips & Tricks"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61148 from ronen-fr/wip-rf-abortReserv
Ronen Friedman [Sun, 5 Jan 2025 06:41:13 +0000 (08:41 +0200)]
Merge pull request #61148 from ronen-fr/wip-rf-abortReserv

osd/scrub: abort running scrub in replica-reservation if an operator-initiated scrub is requested

Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agodoc: README.md - improve "Tshooting" and "Tips & Tricks" 61227/head
Zac Dover [Sat, 4 Jan 2025 20:54:48 +0000 (06:54 +1000)]
doc: README.md - improve "Tshooting" and "Tips & Tricks"

Improve the formatting and English language in the sections
"Troubleshooting" and "Tips and Tricks", and move those sections to a
place where they don't interrupt the flow of the vstart cluster
installation instructions. Some of the strings in "Tips and Tricks" are
not yet unambiguous sentences that will make sense to the uninitiated,
but this PR represents a step in that direction.

This PR is part of a series of PRs meant to preserve the integrity of
the README.md file after some recent additions that break the flow of
the document.

This PR follows https://github.com/ceph/ceph/pull/61226 and
https://github.com/ceph/ceph/pull/61221.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61226 from zdover23/wip-doc-2025-01-04-README
Zac Dover [Sat, 4 Jan 2025 19:56:07 +0000 (05:56 +1000)]
Merge pull request #61226 from zdover23/wip-doc-2025-01-04-README

doc: README.md - format "Troubleshooting"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61086 from athanatos/sjust/wip-rep-pipeline
Samuel Just [Fri, 3 Jan 2025 20:16:50 +0000 (12:16 -0800)]
Merge pull request #61086 from athanatos/sjust/wip-rep-pipeline

crimson: allow replica side write commits to pipeline

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agodoc: README.md - format "Troubleshooting" 61226/head
Zac Dover [Fri, 3 Jan 2025 19:52:24 +0000 (05:52 +1000)]
doc: README.md - format "Troubleshooting"

Format "Troubleshooting" into its own section so that it doesn't confuse
readers of the vstart installation procedure.

This PR is part of a series of PRs meant to preserve the integrity of
the README.md file after some recent additions that break the flow of
the document.

This PR follows https://github.com/ceph/ceph/pull/61221.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61221 from zdover23/wip-doc-2025-01-03-README
Zac Dover [Fri, 3 Jan 2025 19:16:24 +0000 (05:16 +1000)]
Merge pull request #61221 from zdover23/wip-doc-2025-01-03-README

doc: README.md - format "Tips and Tricks"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #60832 from clwluvw/bucket-delete-meta
J. Eric Ivancich [Fri, 3 Jan 2025 17:17:30 +0000 (12:17 -0500)]
Merge pull request #60832 from clwluvw/bucket-delete-meta

rgw: consider multi zonegroup for is_syncing_bucket_meta

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #60685 from clwluvw/data-sync-perm
J. Eric Ivancich [Fri, 3 Jan 2025 17:16:39 +0000 (12:16 -0500)]
Merge pull request #60685 from clwluvw/data-sync-perm

rgw: respect policies in data sync in user mode

Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #61217 from gbregman/main
Gil Bregman [Fri, 3 Jan 2025 10:12:08 +0000 (12:12 +0200)]
Merge pull request #61217 from gbregman/main

mgr/cephadm/nvmeof: Add key verification field to NVMeOF configuration

6 months agodoc: README.md - format "Tips and Tricks" 61221/head
Zac Dover [Fri, 3 Jan 2025 09:23:54 +0000 (19:23 +1000)]
doc: README.md - format "Tips and Tricks"

Format "Tips and Tricks" into its own section so that it doesn't confuse
readers of the vstart installation procedure.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agomgr/cephadm/nvmeof: Add key verification field to NVMeOF configuration 61217/head
Gil Bregman [Thu, 2 Jan 2025 21:08:00 +0000 (23:08 +0200)]
mgr/cephadm/nvmeof: Add key verification field to NVMeOF configuration
Fixes https://tracker.ceph.com/issues/69413

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
6 months agoMerge pull request #59980 from kchheda3/wip-fix-v1-v2-notification
J. Eric Ivancich [Thu, 2 Jan 2025 19:31:41 +0000 (14:31 -0500)]
Merge pull request #59980 from kchheda3/wip-fix-v1-v2-notification

rgw/notification: Forward Topic & Notification creation request to master when notification_v2 enabled

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agoMerge pull request #60430 from ivancich/wip-fix-multipart-empty-storage-class
J. Eric Ivancich [Thu, 2 Jan 2025 19:30:51 +0000 (14:30 -0500)]
Merge pull request #60430 from ivancich/wip-fix-multipart-empty-storage-class

rgw: fix empty storage class on display of multipart uploads

Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 months agoMerge pull request #59631 from thotz/create-user-without-creds-cli
J. Eric Ivancich [Thu, 2 Jan 2025 19:29:13 +0000 (14:29 -0500)]
Merge pull request #59631 from thotz/create-user-without-creds-cli

radosgw-admin: create user without creds cli

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agocrimson/common/shared_lru: rename Deleter::cache 61213/head
Matan Breizman [Thu, 2 Jan 2025 15:12:31 +0000 (15:12 +0000)]
crimson/common/shared_lru: rename Deleter::cache

to not be confused with SharedLRU::cache

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agocrimson/common/shared_lru: invalidate Deleter's cache
Matan Breizman [Tue, 24 Dec 2024 11:22:58 +0000 (11:22 +0000)]
crimson/common/shared_lru: invalidate Deleter's cache

Once we destruct SharedLRU, SharedLRU::weak_refs map is destroyed.
As a weak refernce might outlive the SharedLRU itself, when destroying
the object via the custom Deleter, we try to access the already
destroyed SharedLRU instance's weak ref map.

Instead, invalidate the custom Deleter (Deleter::cache), when
destructing the SharedLRU.

Fixes: https://tracker.ceph.com/issues/66478
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge PR #60411 into main
Venky Shankar [Thu, 2 Jan 2025 06:45:55 +0000 (12:15 +0530)]
Merge PR #60411 into main

* refs/pull/60411/head:
client: Fix a deadlock when osd is full

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
6 months agoMerge pull request #61103 from yuvalif/wip-yuval-fix-test-names
Yuval Lifshitz [Wed, 1 Jan 2025 09:03:41 +0000 (11:03 +0200)]
Merge pull request #61103 from yuvalif/wip-yuval-fix-test-names

test/rgw/noitifications: fix test names

Reviewed-By: Ali Masarwe <ali.masarwa@ibm.com>
6 months agoqa/standalone/scrub: osd-scrub-test.sh - test operator overrides 61148/head
Ronen Friedman [Wed, 25 Dec 2024 13:02:13 +0000 (07:02 -0600)]
qa/standalone/scrub: osd-scrub-test.sh - test operator overrides

verify that an operator scrub aborts a reserving scrub of the
same PG.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: reset m_active_target when the scrub ends
Ronen Friedman [Sun, 29 Dec 2024 11:44:47 +0000 (05:44 -0600)]
osd/scrub: reset m_active_target when the scrub ends

... as it is now queried to determine whever we are scrubbing,
but not yet 'm_active', as the scrubber is in ReservingReplicas.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: convey 'reserving replicas' status in query results
Ronen Friedman [Wed, 25 Dec 2024 15:12:10 +0000 (09:12 -0600)]
osd/scrub: convey 'reserving replicas' status in query results

... and not just in 'pg dump' output.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoqa/standalone/scrub: add build_pg_dicts()
Ronen Friedman [Sun, 29 Dec 2024 11:26:28 +0000 (05:26 -0600)]
qa/standalone/scrub: add build_pg_dicts()

a helper function that builds bash dictionaries:
pg to acting set, pg to primary & pg to pool.

Also added are two helper functions that make use of the dictionaries:

count_common_active() to count the number of common OSDs
in the acting set of two PGs, and find_disjoint_but_primary()
to find a PG that is disjoint from the first PG, apart from
possibly having the same primary OSD.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #61197 from bebehei/fix-haproxy-dashboard-docs
Anthony D'Atri [Mon, 30 Dec 2024 15:05:10 +0000 (10:05 -0500)]
Merge pull request #61197 from bebehei/fix-haproxy-dashboard-docs

doc/mgr/dashboard: Fix HAProxy TLS example

6 months agodoc/mgr/dashboard: Fix HAProxy TLS example 61197/head
Benedikt Heine [Mon, 30 Dec 2024 14:26:16 +0000 (15:26 +0100)]
doc/mgr/dashboard: Fix HAProxy TLS example

With `ssl` set on the `server` option, HAProxy strips the TLS protocol
for all clients. You would need to connect to it with `http://<ip>:443`.

To have an active health check, which uses SSL, but does not strip it
for clients, you'd need to add:

- `check` to enable active health checks.
- `check-ssl` to instruct the health check to use TLS
- `verify none` to skip verification on the health check requests from
  HAProxy
- _REMOVE_ `ssl` to stop stripping TLS

The active health checks are required to not route any requests to the
inactive managers. These would redirect to any unusable IP from the
active mgr.

---

Alternatively you could add another certificate in the frontend and then
re-encrypt the traffic. But this would require tracking the certs also
in HAProxy.

Signed-off-by: Benedikt Heine <bebe@bebehei.de>
6 months agotest/rgw/noitifications: fix test names 61103/head
Yuval Lifshitz [Mon, 16 Dec 2024 17:16:36 +0000 (17:16 +0000)]
test/rgw/noitifications: fix test names

for persistent topic stats tests

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agoMerge pull request #60794 from dparmar18/wip-68571
Zac Dover [Mon, 30 Dec 2024 07:26:45 +0000 (17:26 +1000)]
Merge pull request #60794 from dparmar18/wip-68571

doc/cephfs: document purge queue and its perf counters

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoqa: write out ESubtreeMap more frequently to find large events 60720/head
Patrick Donnelly [Wed, 13 Nov 2024 03:29:19 +0000 (22:29 -0500)]
qa: write out ESubtreeMap more frequently to find large events

With the trimming changes by 9d2b3aa, ESubtreeMap wasn't written reliably often
enough to pass the test.

Fixes: https://tracker.ceph.com/issues/68913
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge pull request #61191 from zdover23/wip-doc-2024-12-29-README-cleanup
Zac Dover [Sun, 29 Dec 2024 19:21:39 +0000 (05:21 +1000)]
Merge pull request #61191 from zdover23/wip-doc-2024-12-29-README-cleanup

doc: README.md - format admonition

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agodoc: README.md - format admonition 61191/head
Zac Dover [Sun, 29 Dec 2024 13:24:46 +0000 (23:24 +1000)]
doc: README.md - format admonition

Format an admonition correctly. This commit is a prelude to a cleanup of
a recent addition to README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoosd/scrub: abort reserving scrub if an operator-initiated scrub is
Ronen Friedman [Thu, 19 Dec 2024 16:02:08 +0000 (10:02 -0600)]
osd/scrub: abort reserving scrub if an operator-initiated scrub is
requested

Handling the case of receiving an operator command while the PG is
scrubbing, but
is waiting for replicas' reservations:

Now that the reservations are queued, the wait may be a very prolonged
one.
Usually - an operator direct scrub command has a priority high enough
to not require waiting for reservations. But in the current
implementation,
it would wait until the running scrub session terminates, and only then
will rerun at that high priority. This is not the intended behavior.

The solution is to abort the existing scrub session, and start the new
one.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: register for 'osd_max_scrubs' config changes
Ronen Friedman [Thu, 26 Dec 2024 13:06:10 +0000 (07:06 -0600)]
osd/scrub: register for 'osd_max_scrubs' config changes

Since https://github.com/ceph/ceph/pull/55340, the
osd_max_scrubs (also) affects the parameters of the
async scrub reserver used by the replicas. Thus,
the code must notice and acknowledge changes to this config.

Fixes: https://tracker.ceph.com/issues/69362
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #61142 from Dedsec0098/wip-doc-shrish
Zac Dover [Sat, 28 Dec 2024 15:32:26 +0000 (01:32 +1000)]
Merge pull request #61142 from Dedsec0098/wip-doc-shrish

doc: Update vstart section in readme.md

Reviewed-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61156 from zdover23/wip-doc-2024-12-20-radosgw-uadk-accel
Zac Dover [Sat, 28 Dec 2024 09:38:26 +0000 (19:38 +1000)]
Merge pull request #61156 from zdover23/wip-doc-2024-12-20-radosgw-uadk-accel

doc/radosgw: line edit uadk-accel.rst (1st half)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61184 from ronen-fr/wip-rf-watch-scrubmax
Ronen Friedman [Fri, 27 Dec 2024 13:29:57 +0000 (15:29 +0200)]
Merge pull request #61184 from ronen-fr/wip-rf-watch-scrubmax

osd/scrub: register for 'osd_max_scrubs' config changes

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
6 months agoMerge PR #55616 into main
Venky Shankar [Fri, 27 Dec 2024 11:06:10 +0000 (16:36 +0530)]
Merge PR #55616 into main

* refs/pull/55616/head:
PendingReleaseNotes: add note for replay completion warning
qa: test to verify `MDS_ESTIMATED_REPLAY_TIME` warning
doc: add a note for `MDS_ESTIMATED_REPLAY_TIME` MDS warning
mds: emit warning for estinated replay time

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
6 months agoMerge PR #60640 into main
Venky Shankar [Fri, 27 Dec 2024 06:40:08 +0000 (12:10 +0530)]
Merge PR #60640 into main

* refs/pull/60640/head:
qa: use a larger timeout for kernel_untar_build workunit

Reviewed-by: Milind Changire <mchangir@redhat.com>
6 months agoosd/scrub: register for 'osd_max_scrubs' config changes 61184/head
Ronen Friedman [Thu, 26 Dec 2024 13:06:10 +0000 (07:06 -0600)]
osd/scrub: register for 'osd_max_scrubs' config changes

Since https://github.com/ceph/ceph/pull/55340, the
osd_max_scrubs (also) affects the parameters of the
async scrub reserver used by the replicas. Thus,
the code must notice and acknowledge changes to this config.

Fixes: https://tracker.ceph.com/issues/69362
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #60988 from thuvh/feat/kafka_multiple_brokers
Yuval Lifshitz [Thu, 26 Dec 2024 10:48:54 +0000 (12:48 +0200)]
Merge pull request #60988 from thuvh/feat/kafka_multiple_brokers

rgw: allow bucket notification send message to kafka with multiple brokers

6 months agoMerge pull request #61144 from cyx1231st/wip-seastore-improve-backref
Yingxin Cheng [Thu, 26 Dec 2024 07:27:28 +0000 (15:27 +0800)]
Merge pull request #61144 from cyx1231st/wip-seastore-improve-backref

crimson/os/seastore/cache: improve committing allocations by backref entries

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Zhang Song <zhangsong02@qianxin.com>
6 months agodoc/cephfs: document purge queue and its perf counters 60794/head
Dhairya Parmar [Thu, 21 Nov 2024 22:10:33 +0000 (03:40 +0530)]
doc/cephfs: document purge queue and its perf counters

Fixes: https://tracker.ceph.com/issues/68571
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
6 months agoMerge PR #60653 into main
Venky Shankar [Thu, 26 Dec 2024 04:15:08 +0000 (09:45 +0530)]
Merge PR #60653 into main

* refs/pull/60653/head:
mds: do not process client metrics message with fast dispatch

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
6 months agoMerge pull request #61143 from kotreshhr/qa-nfsganesha-fio-test
Venky Shankar [Thu, 26 Dec 2024 04:11:58 +0000 (09:41 +0530)]
Merge pull request #61143 from kotreshhr/qa-nfsganesha-fio-test

qa: Add async io test to nfs ganesha using fio

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge pull request #55145 from mchangir/mgr-snap_schedule-handle-volume-delete
Venky Shankar [Thu, 26 Dec 2024 04:04:15 +0000 (09:34 +0530)]
Merge pull request #55145 from mchangir/mgr-snap_schedule-handle-volume-delete

mgr/snap_schedule: handle volume delete

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agorgw: allow bucket notification send message to kafka with multiple brokers 60988/head
Hoai-Thu Vuong [Tue, 9 Jul 2024 16:56:51 +0000 (23:56 +0700)]
rgw: allow bucket notification send message to kafka with multiple brokers

- add new parameter to define list of broker
- update document
- change nose to nose-py3
- add test case for multiple brokers (happy case)

Signed-off-by: Hoai-Thu Vuong <thuvh87@gmail.com>
6 months agoMerge pull request #61177 from Skalador/wip-doc-typo-hardware-controllers
Anthony D'Atri [Wed, 25 Dec 2024 23:57:46 +0000 (18:57 -0500)]
Merge pull request #61177 from Skalador/wip-doc-typo-hardware-controllers

doc/start: Fixes a typo in controllers section of hardware recommendations

6 months agodoc: Fixes a typo in controllers section of hardware recommendations 61177/head
Skalador [Wed, 25 Dec 2024 22:57:00 +0000 (23:57 +0100)]
doc: Fixes a typo in controllers section of hardware recommendations

Signed-off-by: Kevin Niederwanger <k.niederwanger@gmail.com>
6 months agoMerge pull request #59116 from rzarzynski/wip-constbl-compressor
Yuri Weinstein [Tue, 24 Dec 2024 19:08:30 +0000 (11:08 -0800)]
Merge pull request #59116 from rzarzynski/wip-constbl-compressor

compressor: switch out of get_current_ptr() for the sake of const-stricter bufferlist

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 months agoMerge pull request #60808 from ronen-fr/wip-rf-reservStat2
Ronen Friedman [Tue, 24 Dec 2024 18:32:39 +0000 (20:32 +0200)]
Merge pull request #60808 from ronen-fr/wip-rf-reservStat2

osd/scrub: show reservation status in 'pg dump' output

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 months agoosd/scrub: show reservation status in 'pg dump' output 60808/head
Ronen Friedman [Fri, 22 Nov 2024 18:00:50 +0000 (12:00 -0600)]
osd/scrub: show reservation status in 'pg dump' output

Whenever a PG is selected for scrubbing, and is waiting for
remote reservations, the 'pg dump' output will include the
following text (under the 'SCRUB_SCHEDULING' column):
Reserving. Waiting Ns for OSD.k (n/m)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agocrimson/os/seastore/cache: move committing existing blocks to prepare_record() 61144/head
Yingxin Cheng [Tue, 24 Dec 2024 02:29:42 +0000 (10:29 +0800)]
crimson/os/seastore/cache: move committing existing blocks to prepare_record()

So the 2 steps of remapping are atomically committed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
6 months agocrimson/os/seastore/journal: hide RBM specific finish_commit()
Yingxin Cheng [Fri, 20 Dec 2024 08:23:26 +0000 (16:23 +0800)]
crimson/os/seastore/journal: hide RBM specific finish_commit()

By introducing a callback upon completing submission.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agocrimson/os/seastore/cache: minor cleanup
Yingxin Cheng [Thu, 19 Dec 2024 07:13:38 +0000 (15:13 +0800)]
crimson/os/seastore/cache: minor cleanup

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agodoc: Update vstart section in readme.md 61142/head
Shrish0098 [Thu, 19 Dec 2024 03:57:56 +0000 (09:27 +0530)]
doc: Update vstart section in readme.md

Add guidance about vstart clusters to README.md.

Signed-off-by: Shrish Mishra <shrish409@gmail.com>
6 months agoMerge pull request #60821 from Matan-B/wip-matanb-crimson-seastore-deafult
Matan Breizman [Mon, 23 Dec 2024 09:02:04 +0000 (11:02 +0200)]
Merge pull request #60821 from Matan-B/wip-matanb-crimson-seastore-deafult

crimson: switch to SeaStore as default object store

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agoMerge pull request #61155 from idryomov/wip-69324
Ilya Dryomov [Sun, 22 Dec 2024 22:56:28 +0000 (23:56 +0100)]
Merge pull request #61155 from idryomov/wip-69324

rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agoMerge pull request #61150 from idryomov/wip-69319
Ilya Dryomov [Sun, 22 Dec 2024 22:56:09 +0000 (23:56 +0100)]
Merge pull request #61150 from idryomov/wip-69319

rbd: open images in read-only mode for "rbd mirror pool status --verbose"

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agoMerge pull request #61129 from idryomov/wip-68998
Ilya Dryomov [Sun, 22 Dec 2024 15:23:12 +0000 (16:23 +0100)]
Merge pull request #61129 from idryomov/wip-68998

librbd: avoid data corruption on flatten when object map is inconsistent

Reviewed-by: Ramana Raja <rraja@redhat.com>
6 months agoMerge pull request #61125 from ljflores/wip-release-note
Laura Flores [Sat, 21 Dec 2024 02:58:38 +0000 (20:58 -0600)]
Merge pull request #61125 from ljflores/wip-release-note

6 months agoMerge PR #61149 into main
Patrick Donnelly [Fri, 20 Dec 2024 16:05:57 +0000 (11:05 -0500)]
Merge PR #61149 into main

* refs/pull/61149/head:
script/ceph-backport: allow hyphen in project during ceph fork deduction

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
6 months agoMerge pull request #60777 from VallariAg/wip-nvmeof-prometheus-rbd-image-reused
afreen23 [Fri, 20 Dec 2024 13:16:48 +0000 (18:46 +0530)]
Merge pull request #60777 from VallariAg/wip-nvmeof-prometheus-rbd-image-reused

monitoring: Add prometheus alert NVMeoFMultipleNamespacesOfRBDImage

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agorbd: drop --pool option from "rbd group image {add,rm}" 61155/head
Ilya Dryomov [Fri, 20 Dec 2024 10:16:58 +0000 (11:16 +0100)]
rbd: drop --pool option from "rbd group image {add,rm}"

It stopped working with removal of get_special_pool_group_names() in
commit 3e8624f157a1 ("rbd: add support for namespaces") over six years
ago.  Given how much time has passed, stop accepting this option.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 months agodoc/radosgw: line edit uadk-accel.rst (1st half) 61156/head
Zac Dover [Fri, 20 Dec 2024 12:16:46 +0000 (22:16 +1000)]
doc/radosgw: line edit uadk-accel.rst (1st half)

Line edit the first half of doc/radosgw/uadk-accel.rst.

This is one of a series of pull requests intended to improve the content
of uadk-accel.rst. This series includes the following PRs:

https://github.com/ceph/ceph/pull/59514
https://github.com/ceph/ceph/pull/60953
https://github.com/ceph/ceph/pull/61128

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61146 from zdover23/wip-doc-2024-12-19-radosgw-uadk-accel
Zac Dover [Fri, 20 Dec 2024 12:13:35 +0000 (22:13 +1000)]
Merge pull request #61146 from zdover23/wip-doc-2024-12-19-radosgw-uadk-accel

doc/radosgw: edit uadk-accel.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agorbd: handle --{group,image}-namespace in "rbd group image {add,rm}"
Ilya Dryomov [Tue, 17 Dec 2024 15:06:17 +0000 (16:06 +0100)]
rbd: handle --{group,image}-namespace in "rbd group image {add,rm}"

Currently only passing the namespace as part of the group or image spec
works.  If --group-namespace or --image-namespace options are used, the
namespace isn't picked up.

Fixes: https://tracker.ceph.com/issues/69324
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 months agoPendingReleaseNotes: add note about tracker #69012 61125/head
Laura Flores [Tue, 17 Dec 2024 23:18:11 +0000 (17:18 -0600)]
PendingReleaseNotes: add note about tracker #69012

We merged a fix for v19.2.1 that helps alleviate
the worst of this problem (https://tracker.ceph.com/issues/68657),
but it still comes up on occasion. This release note addresses the
remaining issues tracked in https://tracker.ceph.com/issues/69012.

Signed-off-by: Laura Flores <lflores@ibm.com>
6 months agorbd: open images in read-only mode for "rbd mirror pool status --verbose" 61150/head
Ilya Dryomov [Tue, 17 Dec 2024 12:31:09 +0000 (13:31 +0100)]
rbd: open images in read-only mode for "rbd mirror pool status --verbose"

This is cleaner and makes the command run a bit faster because watches
won't be established.

Fixes: https://tracker.ceph.com/issues/69319
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 months agoscript/ceph-backport: allow hyphen in project during ceph fork deduction 61149/head
J. Eric Ivancich [Thu, 19 Dec 2024 17:11:06 +0000 (12:11 -0500)]
script/ceph-backport: allow hyphen in project during ceph fork deduction

This will allow the fork deduction code to recognize project names
that include a hyphen, such as:

    git@github.com:USERNAME/ceph-fork.git

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 months agoMerge pull request #61113 from leonidc/wip-leonidc_no_listener_fix
leonidc [Thu, 19 Dec 2024 15:57:25 +0000 (17:57 +0200)]
Merge pull request #61113 from leonidc/wip-leonidc_no_listener_fix

nvmeofgw*: fix no-listeners

6 months agoMerge pull request #61107 from cbodley/wip-69241
Casey Bodley [Thu, 19 Dec 2024 15:19:51 +0000 (10:19 -0500)]
Merge pull request #61107 from cbodley/wip-69241

rgw/posix: std::ignore return value of write()

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
6 months agoMerge pull request #59703 from rhcs-dashboard/usermanagement-form
afreen23 [Thu, 19 Dec 2024 15:16:59 +0000 (20:46 +0530)]
Merge pull request #59703 from rhcs-dashboard/usermanagement-form

mgr/dashboard: carbonize user management form

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #61130 from baum/wip-baum-20241218-00
baum [Thu, 19 Dec 2024 14:57:14 +0000 (16:57 +0200)]
Merge pull request #61130 from baum/wip-baum-20241218-00

src/nvmeof/NVMeofGwMonitorClient: remove MDS client, not needed

6 months agodoc/radosgw: edit uadk-accel.rst 61146/head
Zac Dover [Thu, 19 Dec 2024 13:19:22 +0000 (23:19 +1000)]
doc/radosgw: edit uadk-accel.rst

Edit the sections of doc/radosgw/uadk-accel.rst that concern the
automatic and manual building of UADK.

This is one in a series of uadk-accel.rst-related changes that includes
the following PRs:
https://github.com/ceph/ceph/pull/60953
https://github.com/ceph/ceph/pull/61128

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61128 from zdover23/wip-doc-2024-12-18-radosgw-uadk-accel
Zac Dover [Thu, 19 Dec 2024 13:13:14 +0000 (23:13 +1000)]
Merge pull request #61128 from zdover23/wip-doc-2024-12-18-radosgw-uadk-accel

doc/radosgw: edit uadk-accel.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agovstart: use crimson_osd_objectstore 60821/head
Matan Breizman [Mon, 16 Dec 2024 16:56:41 +0000 (16:56 +0000)]
vstart: use crimson_osd_objectstore

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agodoc/dev/crimson: update SeaStore as default backend
Matan Breizman [Mon, 25 Nov 2024 12:05:19 +0000 (12:05 +0000)]
doc/dev/crimson: update SeaStore as default backend

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agovstart.sh: set alien cores with bluestore only
Matan Breizman [Mon, 25 Nov 2024 12:04:18 +0000 (12:04 +0000)]
vstart.sh: set alien cores with bluestore only

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agoqa/suites/crimson-rados: make use of crimson_osd_objectstore
Matan Breizman [Mon, 25 Nov 2024 12:03:46 +0000 (12:03 +0000)]
qa/suites/crimson-rados: make use of crimson_osd_objectstore

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agocrimson/os/seastore: make the updates to backref_entry_mset be consistent with extents
Yingxin Cheng [Wed, 18 Dec 2024 09:09:54 +0000 (17:09 +0800)]
crimson/os/seastore: make the updates to backref_entry_mset be consistent with extents

Generally, make alloc/free be consistent with add/commit/retire extents
in Cache.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
6 months agoMerge pull request #60788 from oshrey16/tests-rgw-ps-list-topics-op
Yuval Lifshitz [Thu, 19 Dec 2024 06:18:42 +0000 (08:18 +0200)]
Merge pull request #60788 from oshrey16/tests-rgw-ps-list-topics-op

tests/rgw/notifications: Add tests for RGWPSListTopicsOp::execute()