]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agomgr/cephadm/nvmeof: Add fields for prometheus frequency to NVMEOF spec file. 65436/head
Gil Bregman [Mon, 8 Sep 2025 16:29:46 +0000 (19:29 +0300)]
mgr/cephadm/nvmeof: Add fields for prometheus frequency to NVMEOF spec file.

Fixes: https://tracker.ceph.com/issues/72805
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 months agoMerge pull request #62747 from bill-scales/issue70844
Jon Bailey [Mon, 8 Sep 2025 11:01:39 +0000 (12:01 +0100)]
Merge pull request #62747 from bill-scales/issue70844

test: add replica pool support to ceph_test_rados_io_sequence

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Connor Fawcett <connorfa@uk.ibm.com>
2 months agoMerge pull request #65281 from nbalacha/wip-nbalacha-72740
Yuval Lifshitz [Mon, 8 Sep 2025 08:06:10 +0000 (11:06 +0300)]
Merge pull request #65281 from nbalacha/wip-nbalacha-72740

rgw/logging: fixes data loss during rollover

2 months agoMerge pull request #65231 from anthonyeleven/improve-osd-dot-cc
Anthony D'Atri [Mon, 8 Sep 2025 06:19:02 +0000 (01:19 -0500)]
Merge pull request #65231 from anthonyeleven/improve-osd-dot-cc

src/osd: Improve message in OSD.cc

2 months agorgw/logging: fixes data loss during rollover 65281/head
N Balachandran [Thu, 28 Aug 2025 06:22:23 +0000 (11:52 +0530)]
rgw/logging: fixes data loss during rollover

Multiple threads attempting to roll over the same log object can result
in the creation of numerous orphan tail objects, each with a single record.
This occurs when a NULL RGWObjVersionTracker is used during the creation of
a new logging object. These records are inaccessible, leading to data loss,
which is particularly critical in Journal mode.
Furthermore, valid log tail objects may be added to the Garbage Collection (GC)
list, exacerbating data loss.

Fixes: https://tracker.ceph.com/issues/72740
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agoMerge pull request #65421 from ronen-fr/wip-rf-ec72898
Ronen Friedman [Sun, 7 Sep 2025 14:44:10 +0000 (17:44 +0300)]
Merge pull request #65421 from ronen-fr/wip-rf-ec72898

osd/scrub: clear m_ec_digest_map between objects

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
2 months agoMerge pull request #62106 from rkachach/fix_certmgr_v2
Redouane Kachach [Sun, 7 Sep 2025 10:49:23 +0000 (12:49 +0200)]
Merge pull request #62106 from rkachach/fix_certmgr_v2

Add cephadm-signed certificate support for all services

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agotest: add replica pool support to ceph_test_rados_io_sequence 62747/head
Bill Scales [Wed, 9 Apr 2025 09:58:15 +0000 (10:58 +0100)]
test: add replica pool support to ceph_test_rados_io_sequence

Make 'ceph_test_rados_io_sequenece --pool rbd' work, replica
pools don't have an erausre code profile and do not have the
ec_allow_overwrites or ec_allow_optimizations flags

Fixes: https://tracker.ceph.com/issues/70844
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2 months agocommon: Added values to json::OSDPoolGetReply
Jon Bailey [Mon, 14 Jul 2025 12:52:28 +0000 (13:52 +0100)]
common: Added values to json::OSDPoolGetReply

OSDPoolGetReply actually returns a lot more values than what is currently supplied. These have been added in as optionals (as they can not be give as well) so its possible to query them to find out if they exist and use them if they do.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2 months agoosd/scrub: clear m_ec_digest_map between objects 65421/head
Ronen Friedman [Sun, 7 Sep 2025 07:19:52 +0000 (02:19 -0500)]
osd/scrub: clear m_ec_digest_map between objects

Fixing a bug introduced by commit 4c61079e931
("caluculate EC digest map size only once").

Fixes: https://tracker.ceph.com/issues/72897
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #65150 from rkachach/fix_issue_nvmeof_prometheus
Redouane Kachach [Sun, 7 Sep 2025 07:18:06 +0000 (09:18 +0200)]
Merge pull request #65150 from rkachach/fix_issue_nvmeof_prometheus

mgr/cepahdm: fixing nvmeof scraping Prometheus config generation

Reviewed-by: Kushal Deb <Kushal.Deb@ibm.com>
2 months agoMerge pull request #65338 from ronen-fr/wip-rf-be-st3
Ronen Friedman [Sun, 7 Sep 2025 05:44:04 +0000 (08:44 +0300)]
Merge pull request #65338 from ronen-fr/wip-rf-be-st3

osd/scrub: modify OMAP stats collection

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #65193 from tchaikov/wip-osd-scrub-fix-buffer-overflow
Kefu Chai [Sun, 7 Sep 2025 03:05:39 +0000 (11:05 +0800)]
Merge pull request #65193 from tchaikov/wip-osd-scrub-fix-buffer-overflow

osd/scrub: fix heap-buffer-overflow when checking digest emptiness

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 months agomgr/cepahdm: fixing nvmeof scraping Prometheus config generation 65150/head
Redouane Kachach [Wed, 20 Aug 2025 12:01:28 +0000 (14:01 +0200)]
mgr/cepahdm: fixing nvmeof scraping Prometheus config generation

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agodoc/cephadm: updating certmgr docs to reflects new changes 62106/head
Redouane Kachach [Tue, 15 Jul 2025 13:50:45 +0000 (15:50 +0200)]
doc/cephadm: updating certmgr docs to reflects new changes

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: Adding RGW migration for the new certmgr certs format
Redouane Kachach [Wed, 20 Aug 2025 13:54:51 +0000 (15:54 +0200)]
mgr/cephadm: Adding RGW migration for the new certmgr certs format

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: removing call to previous method to storing all certs
Redouane Kachach [Tue, 29 Apr 2025 11:02:47 +0000 (13:02 +0200)]
mgr/cephadm: removing call to previous method to storing all certs

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: fixing nvmeof section in cert_mgr UT + new UT
Redouane Kachach [Thu, 7 Aug 2025 13:57:41 +0000 (15:57 +0200)]
mgr/cephadm: fixing nvmeof section in cert_mgr UT + new UT

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting UT after all the changes
Redouane Kachach [Tue, 12 Aug 2025 15:26:01 +0000 (17:26 +0200)]
mgr/cepahdm: adapting UT after all the changes

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: using 5 years for service-discovery internal certs
Redouane Kachach [Wed, 20 Aug 2025 13:55:24 +0000 (15:55 +0200)]
mgr/cephadm: using 5 years for service-discovery internal certs

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adding self-signed certifiactes support for nvmeof svc
Redouane Kachach [Tue, 12 Aug 2025 13:53:38 +0000 (15:53 +0200)]
mgr/cephadm: adding self-signed certifiactes support for nvmeof svc

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting node-proxy service to use the new cert mgmt
Redouane Kachach [Wed, 11 Jun 2025 13:46:51 +0000 (15:46 +0200)]
mgr/cepahdm: adapting node-proxy service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting agent service to use the new cert mgmt
Redouane Kachach [Wed, 11 Jun 2025 10:30:46 +0000 (12:30 +0200)]
mgr/cepahdm: adapting agent service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting node-exporter service to use the new cert mgmt
Redouane Kachach [Mon, 31 Mar 2025 13:02:36 +0000 (15:02 +0200)]
mgr/cepahdm: adapting node-exporter service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting Prometheus service to use the new cert mgmt
Redouane Kachach [Wed, 13 Aug 2025 17:14:06 +0000 (19:14 +0200)]
mgr/cepahdm: adapting Prometheus service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting alertmanager service to use the new cert mgmt
Redouane Kachach [Wed, 13 Aug 2025 17:13:11 +0000 (19:13 +0200)]
mgr/cepahdm: adapting alertmanager service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting oauth2-proxy service to use the new cert mgmt
Redouane Kachach [Fri, 25 Apr 2025 07:38:46 +0000 (09:38 +0200)]
mgr/cepahdm: adapting oauth2-proxy service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adapting Grafana service to use the new cert mgmt
Redouane Kachach [Fri, 7 Mar 2025 08:56:12 +0000 (09:56 +0100)]
mgr/cepahdm: adapting Grafana service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adapting mgmt-gateway service to use the new cert mgmt
Redouane Kachach [Fri, 25 Apr 2025 07:38:22 +0000 (09:38 +0200)]
mgr/cephadm: adapting mgmt-gateway service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adapting iscsi service to use the new cert mgmt
Redouane Kachach [Fri, 7 Mar 2025 08:55:08 +0000 (09:55 +0100)]
mgr/cephadm: adapting iscsi service to use the new cert mgmt

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adapting ingress svc to use the new cert mgmt approach
Redouane Kachach [Fri, 5 Sep 2025 08:42:10 +0000 (10:42 +0200)]
mgr/cephadm: adapting ingress svc to use the new cert mgmt approach

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adding automated certificates mgmt for cephadmservice
Redouane Kachach [Wed, 13 Aug 2025 17:11:44 +0000 (19:11 +0200)]
mgr/cephadm: adding automated certificates mgmt for cephadmservice

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adding new filtring options and certificate ref checks
Redouane Kachach [Tue, 12 Aug 2025 14:12:27 +0000 (16:12 +0200)]
mgr/cepahdm: adding new filtring options and certificate ref checks

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adding support to prevent editing readonly certs
Redouane Kachach [Tue, 12 Aug 2025 14:37:47 +0000 (16:37 +0200)]
mgr/cephadm: adding support to prevent editing readonly certs

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adding enahanced support for self-signed certs
Redouane Kachach [Tue, 12 Aug 2025 14:37:32 +0000 (16:37 +0200)]
mgr/cephadm: adding enahanced support for self-signed certs

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: add support for custom duration when generating certs
Redouane Kachach [Tue, 12 Aug 2025 12:34:10 +0000 (14:34 +0200)]
mgr/cepahdm: add support for custom duration when generating certs

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cepahdm: adding support to extract ips and fqdns from cert
Redouane Kachach [Wed, 19 Mar 2025 11:09:17 +0000 (12:09 +0100)]
mgr/cepahdm: adding support to extract ips and fqdns from cert

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adapting python-common UT to the spec changes
Redouane Kachach [Tue, 12 Aug 2025 15:29:53 +0000 (17:29 +0200)]
mgr/cephadm: adapting python-common UT to the spec changes

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agomgr/cephadm: adding new spec generic fields fo ssl/certifiactes
Redouane Kachach [Fri, 25 Apr 2025 07:37:38 +0000 (09:37 +0200)]
mgr/cephadm: adding new spec generic fields fo ssl/certifiactes

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
2 months agoosd/scrub: reinstate one-warning-per-chunk behaviour 65338/head
Ronen Friedman [Tue, 2 Sep 2025 17:52:53 +0000 (12:52 -0500)]
osd/scrub: reinstate one-warning-per-chunk behaviour

Modify collect_omap_stats() to guarantee that only
one 'large omap entry' warning message is logged
per chunk, thus maintaining the existing behaviour.

Unlike the existing behaviour - all 'large omap'
entries are counted.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: modify OMAP stats collection
Ronen Friedman [Tue, 2 Sep 2025 15:52:48 +0000 (10:52 -0500)]
osd/scrub: modify OMAP stats collection

Replace the separate all-chunk loop with object-by-object
handling. Use the selected authoritative version of the object
as the info source.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #64859 from ronen-fr/wip-rf-72426movedref
Ronen Friedman [Sat, 6 Sep 2025 07:21:59 +0000 (10:21 +0300)]
Merge pull request #64859 from ronen-fr/wip-rf-72426movedref

osd/scrub: avoid using moved-from auth_n_errs

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 months agoMerge pull request #64963 from edwinzrodriguez/ceph-wip-72452
anrao19 [Sat, 6 Sep 2025 04:59:14 +0000 (10:29 +0530)]
Merge pull request #64963 from edwinzrodriguez/ceph-wip-72452

test/rgw: Refactor CORS configuration handling for S3

2 months agoMerge pull request #64801 from JoshuaGabriel/wip-jblanch/rgw-reindex
anrao19 [Sat, 6 Sep 2025 04:58:52 +0000 (10:28 +0530)]
Merge pull request #64801 from JoshuaGabriel/wip-jblanch/rgw-reindex

rgw: auto-create missing bucket index shards during reindex operations

2 months agoMerge pull request #65414 from ceph/fix-api-tests
Dan Mick [Sat, 6 Sep 2025 00:41:21 +0000 (17:41 -0700)]
Merge pull request #65414 from ceph/fix-api-tests

pybind/mgr/dashboard: Use teuthology's actual requirements

2 months agopybind/mgr/dashboard: Use teuthology's actual requirements 65414/head
David Galloway [Fri, 5 Sep 2025 17:58:43 +0000 (13:58 -0400)]
pybind/mgr/dashboard: Use teuthology's actual requirements

Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #65011 from irq0/pr/fix-barbican-deprecated-call
Marcel Lauhoff [Fri, 5 Sep 2025 15:39:28 +0000 (17:39 +0200)]
Merge pull request #65011 from irq0/pr/fix-barbican-deprecated-call

rgw: Replace deprecated Barbican payload endpoint with alternative

2 months agoMerge pull request #65376 from phlogistonjohn/jjm-bwc-npmdir-fix 65382/head
David Galloway [Thu, 4 Sep 2025 17:56:10 +0000 (13:56 -0400)]
Merge pull request #65376 from phlogistonjohn/jjm-bwc-npmdir-fix

build-with-container: ensure npm dir is set up before configure

2 months agoMerge pull request #65062 from adamemerson/wip-redirect-error
Adam Emerson [Thu, 4 Sep 2025 17:52:24 +0000 (13:52 -0400)]
Merge pull request #65062 from adamemerson/wip-redirect-error

common/async: improved `redirect_error`, `run_coro`, and tests

Reviewed-by: Anthony D'Atri anthony.datri@gmail.com
Reviewed-by: Casey Bodley cbodley@redhat.com
Reviewed-by: Jesse F. Williamson jfw@ibm.com
2 months agoMerge pull request #64997 from AliMasarweh/wip-alimasa-72398
Ali Masarwa [Thu, 4 Sep 2025 13:17:24 +0000 (16:17 +0300)]
Merge pull request #64997 from AliMasarweh/wip-alimasa-72398

RGW | fixed enqueueing the overwritten object for gc

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 months agoMerge pull request #64977 from MaxKellermann/includes3
Max Kellermann [Thu, 4 Sep 2025 12:53:26 +0000 (14:53 +0200)]
Merge pull request #64977 from MaxKellermann/includes3

Add missing includes to many subsystems

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 months agoMerge pull request #65120 from leiwen2025/wip-add-rv64-high-precision-counter-support
Kefu Chai [Thu, 4 Sep 2025 05:44:30 +0000 (13:44 +0800)]
Merge pull request #65120 from leiwen2025/wip-add-rv64-high-precision-counter-support

common/Cycles: Add high-precision counter support for riscv64

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #65325 from zdover23/wip-doc-2025-09-02-cephfs-troubleshooting...
Zac Dover [Thu, 4 Sep 2025 02:31:55 +0000 (12:31 +1000)]
Merge pull request #65325 from zdover23/wip-doc-2025-09-02-cephfs-troubleshooting-consistent-cache

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #65215 from athanatos/sjust/wip-store-bench-3
Samuel Just [Thu, 4 Sep 2025 01:28:09 +0000 (18:28 -0700)]
Merge pull request #65215 from athanatos/sjust/wip-store-bench-3

crimson: further improvements to store-bench

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #65016 from jamiepryde/isal-auto-switch-to-cauchy
SrinivasaBharathKanta [Wed, 3 Sep 2025 23:23:51 +0000 (04:53 +0530)]
Merge pull request #65016 from jamiepryde/isal-auto-switch-to-cauchy

erasure-code: Use ISA-L cauchy if reed_sol_van does not support the specified K and M values

2 months agoMerge pull request #64845 from ljflores/wip-tracker-70468
SrinivasaBharathKanta [Wed, 3 Sep 2025 23:22:31 +0000 (04:52 +0530)]
Merge pull request #64845 from ljflores/wip-tracker-70468

qa/suites/orch/cephadm: ignore intentional OSD_DOWN warning from test_host_drain task

2 months agoMerge pull request #65371 from cbodley/wip-72361
David Galloway [Wed, 3 Sep 2025 21:57:03 +0000 (17:57 -0400)]
Merge pull request #65371 from cbodley/wip-72361

cmake: remove _FORTIFY_SOURCE define

2 months agobuild-with-container: ensure npm dir is set up before configure 65376/head
John Mulligan [Thu, 28 Aug 2025 23:39:06 +0000 (19:39 -0400)]
build-with-container: ensure npm dir is set up before configure

When the npm cache path option is passed the npm cache dir is passed
to all container `run` commands, ensure the dir has been created
before the first container command (configure) is used.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #64863 from leonidc/cleanup_pending_map
Yuri Weinstein [Wed, 3 Sep 2025 18:36:58 +0000 (11:36 -0700)]
Merge pull request #64863 from leonidc/cleanup_pending_map

nvmeofgw: cleanup pending map upon monitor restart

Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #64764 from badone/wip-tracker-72337-mgr-drop-daemonstateindex...
Yuri Weinstein [Wed, 3 Sep 2025 18:34:32 +0000 (11:34 -0700)]
Merge pull request #64764 from badone/wip-tracker-72337-mgr-drop-daemonstateindex-lock

mgr/DaemonState: Minimise time we hold the DaemonStateIndex lock

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 months agocmake: remove _FORTIFY_SOURCE define 65371/head
Casey Bodley [Wed, 3 Sep 2025 17:22:30 +0000 (13:22 -0400)]
cmake: remove _FORTIFY_SOURCE define

according to `dpkg-buildflags`, ubuntu 24 raised this value to
`-D_FORTIFY_SOURCE=3` which causes `error: "_FORTIFY_SOURCE" redefined`
compilation failures because Ceph itself adds `-D_FORTIFY_SOURCE=2`

`_FORTIFY_SOURCE` is a hardening option. both our rpm and debian builds
already specify that via environment variables, so Ceph's cmake should
leave it alone

Fixes: https://tracker.ceph.com/issues/72361
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #65313 from zmc/debs-nproc
David Galloway [Wed, 3 Sep 2025 15:00:41 +0000 (11:00 -0400)]
Merge pull request #65313 from zmc/debs-nproc

make-debs.sh: Avoid OOM errors during build

2 months agoMerge PR #64957 into main
Patrick Donnelly [Wed, 3 Sep 2025 13:31:45 +0000 (09:31 -0400)]
Merge PR #64957 into main

* refs/pull/64957/head:
os: Page class: disable move operations and improve custom delete operator for proper memory management

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #64627 into main
Venky Shankar [Wed, 3 Sep 2025 10:30:44 +0000 (16:00 +0530)]
Merge PR #64627 into main

* refs/pull/64627/head:

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agoMerge pull request #65061 from zhscn/wip-replay-backref-retire
Xuehan Xu [Wed, 3 Sep 2025 08:13:08 +0000 (16:13 +0800)]
Merge pull request #65061 from zhscn/wip-replay-backref-retire

crimson/os/seastore: add retire alloc remarks for backref extents to skip replay invalid deltas

Reviewed-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
2 months agodoc/cephfs: edit troubleshooting.rst 65325/head
Zac Dover [Tue, 2 Sep 2025 00:31:41 +0000 (10:31 +1000)]
doc/cephfs: edit troubleshooting.rst

Update the "Disconnected+Remounted FS" section in
doc/cephfs/troubleshooting.rst, as suggested by Venky Shankar in https://github.com/ceph/ceph/pull/65129/files#r2312903062

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoosd/scrub: avoid using moved-from auth_n_errs 64859/head
Ronen Friedman [Wed, 6 Aug 2025 10:32:16 +0000 (05:32 -0500)]
osd/scrub: avoid using moved-from auth_n_errs

... in ScrubBackend::inconsistents()

Existing code was using a reference to a moved-from
`auth_and_obj_errs_t` object, which is undefined behavior.

The change here was tested locally. No noticeable performance
degradation was observed, and the code is now more robust.

Fixes: https://tracker.ceph.com/issues/72426
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #64553 from jamiepryde/teuthology-ec-op-on-off
SrinivasaBharathKanta [Wed, 3 Sep 2025 05:53:30 +0000 (11:23 +0530)]
Merge pull request #64553 from jamiepryde/teuthology-ec-op-on-off

qa: Add a config setting to the teuthology erasure code tests so that we can test with EC optimizations on and/or off

2 months agoMerge pull request #64458 from linuxkidd/add-bluestore-frag-warning-desc
SrinivasaBharathKanta [Wed, 3 Sep 2025 05:33:38 +0000 (11:03 +0530)]
Merge pull request #64458 from linuxkidd/add-bluestore-frag-warning-desc

mon/PGmap: Add warn description for bluestore fragmentation

2 months agoMerge pull request #64995 from ifed01/wip-ifed-fix-snapdiff-fragment
Venky Shankar [Tue, 2 Sep 2025 18:20:54 +0000 (23:50 +0530)]
Merge pull request #64995 from ifed01/wip-ifed-fix-snapdiff-fragment

mds: fix snapdiff result fragmentation

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #65316 from dmick/uadk-ftbfs
David Galloway [Tue, 2 Sep 2025 17:45:41 +0000 (13:45 -0400)]
Merge pull request #65316 from dmick/uadk-ftbfs

Fix uadk build (arm64 only) on debian (conflict with DESTDIR)

2 months agoMerge PR #65331 into main
Patrick Donnelly [Tue, 2 Sep 2025 16:27:56 +0000 (12:27 -0400)]
Merge PR #65331 into main

* refs/pull/65331/head:
script/redmine-upkeep: fix formatting of comment

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #65101 from spuiuk/smb_lazy_init
John Mulligan [Tue, 2 Sep 2025 15:26:26 +0000 (11:26 -0400)]
Merge pull request #65101 from spuiuk/smb_lazy_init

mgr/smb: use lazy_init to create the rados store

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 months agoMerge pull request #64603 from Naveenaidu/wip-naveen-fix-70972
Naveen Naidu [Tue, 2 Sep 2025 14:46:00 +0000 (20:16 +0530)]
Merge pull request #64603 from Naveenaidu/wip-naveen-fix-70972

qa/suites/rados/thrash-old-clients: Add OSD warnings to ignore list

2 months agoMerge pull request #63687 from samarahu/wip-samarahu-standalone-user
Samarah Uriarte [Tue, 2 Sep 2025 13:59:06 +0000 (08:59 -0500)]
Merge pull request #63687 from samarahu/wip-samarahu-standalone-user

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 months agoMerge pull request #64717 from abitdrag/tracker_72265
Ilya Dryomov [Tue, 2 Sep 2025 13:38:14 +0000 (15:38 +0200)]
Merge pull request #64717 from abitdrag/tracker_72265

auth: msgr2 can return incorrect allowed_modes through AuthBadMethodFrame

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 months agoscript/redmine-upkeep: fix formatting of comment 65331/head
Patrick Donnelly [Tue, 2 Sep 2025 13:08:20 +0000 (09:08 -0400)]
script/redmine-upkeep: fix formatting of comment

The update log link would appear as preformatted text.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge pull request #64550 from kotreshhr/multifs-authcaps
Venky Shankar [Tue, 2 Sep 2025 12:57:42 +0000 (18:27 +0530)]
Merge pull request #64550 from kotreshhr/multifs-authcaps

Fix multifs auth caps check

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #64273 from tchaikov/wip-ceph-mutex-atomic
SrinivasaBharathKanta [Mon, 1 Sep 2025 23:43:42 +0000 (05:13 +0530)]
Merge pull request #64273 from tchaikov/wip-ceph-mutex-atomic

common/mutex_debug: fix arm64 SIGBUS/segfault due to data race

2 months agoMerge pull request #64696 from rzarzynski/wip-bug-71966
Radoslaw Zarzynski [Mon, 1 Sep 2025 14:34:00 +0000 (16:34 +0200)]
Merge pull request #64696 from rzarzynski/wip-bug-71966

tools: make rados ls aware about the locator concept

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge PR #64663 into main
Venky Shankar [Mon, 1 Sep 2025 12:07:06 +0000 (17:37 +0530)]
Merge PR #64663 into main

* refs/pull/64663/head:

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge pull request #65079 from rhcs-dashboard/img-summary-mirroring
Nizamudeen A [Mon, 1 Sep 2025 10:40:20 +0000 (16:10 +0530)]
Merge pull request #65079 from rhcs-dashboard/img-summary-mirroring

mgr/dashboard: expose image summary API

2 months agoMerge pull request #65240 from knrt10/test-crimson-librbd-reenable
Matan Breizman [Sun, 31 Aug 2025 11:06:51 +0000 (14:06 +0300)]
Merge pull request #65240 from knrt10/test-crimson-librbd-reenable

qa/suites/crimson-rados: run full librbd test suite

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #64554 from jamiepryde/teuthology-ec-more-configs
SrinivasaBharathKanta [Sun, 31 Aug 2025 00:17:08 +0000 (05:47 +0530)]
Merge pull request #64554 from jamiepryde/teuthology-ec-more-configs

qa: Add cauchy and 16K chunk size profiles to rados erasure code teuthology suites

2 months agoMerge pull request #64577 from rzarzynski/wip-ec-shuffling-for-crimson
SrinivasaBharathKanta [Sun, 31 Aug 2025 00:16:34 +0000 (05:46 +0530)]
Merge pull request #64577 from rzarzynski/wip-ec-shuffling-for-crimson

osd: shuffle FastEC code needed by crimson from ECBackend to ECCommon

2 months agoMerge pull request #65192 from tchaikov/wip-cmake-silence-lsan
Kefu Chai [Sat, 30 Aug 2025 08:29:27 +0000 (16:29 +0800)]
Merge pull request #65192 from tchaikov/wip-cmake-silence-lsan

cmake: disable LeakSanitizer suppression output to fix CLI tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agocmake/modules/Builduadk.cmake: fix build 65316/head
Dan Mick [Sat, 30 Aug 2025 07:40:24 +0000 (00:40 -0700)]
cmake/modules/Builduadk.cmake: fix build

DESTDIR should not be set when building.

Fixes: https://tracker.ceph.com/issues/72722
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agocmake/modules/Builduadk.cmake: fix tabs/spaces
Dan Mick [Sat, 30 Aug 2025 07:34:55 +0000 (00:34 -0700)]
cmake/modules/Builduadk.cmake: fix tabs/spaces

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge PR #65276 into main
Patrick Donnelly [Sat, 30 Aug 2025 01:27:25 +0000 (21:27 -0400)]
Merge PR #65276 into main

* refs/pull/65276/head:
.github/workflows: run redmine-upkeep for release branches

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agomake-debs.sh: Avoid OOM errors during build 65313/head
Zack Cerza [Fri, 29 Aug 2025 17:38:40 +0000 (11:38 -0600)]
make-debs.sh: Avoid OOM errors during build

This uses the logic from: https://github.com/ceph/ceph-build/blob/f074f1ce7fc05a5ac69e06fa9fa7ae45858b0110/scripts/build_utils.sh#L1411-L1435

Signed-off-by: Zack Cerza <zack@cerza.org>
CEPH-BUILD-JOB: ceph-dev-pipeline
ARCHS: x86_64
DISTROS: jammy noble
FLAVORS: default

2 months agoMerge pull request #65285 from rhcs-dashboard/table-actions
afreen23 [Fri, 29 Aug 2025 17:36:17 +0000 (23:06 +0530)]
Merge pull request #65285 from rhcs-dashboard/table-actions

mgr/dashboard: add customizations to table-actions

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #65246 from afreen23/remove-old-dash
afreen23 [Fri, 29 Aug 2025 13:02:31 +0000 (18:32 +0530)]
Merge pull request #65246 from afreen23/remove-old-dash

Drop support for older version of dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63641 from anushruti10116/add-bucket-notification-dashboard
Aashish Sharma [Fri, 29 Aug 2025 10:51:08 +0000 (16:21 +0530)]
Merge pull request #63641 from anushruti10116/add-bucket-notification-dashboard

mgr/dashboard: Adding RGW Bucket Notification Dashboard for Grafana

2 months agoosd/scrub: fix heap-buffer-overflow when checking digest emptiness 65193/head
Kefu Chai [Sat, 23 Aug 2025 08:13:13 +0000 (16:13 +0800)]
osd/scrub: fix heap-buffer-overflow when checking digest emptiness

Replace unsafe string construction with bufferlist::length() to avoid
reading beyond buffer boundaries.

In commit 92ccbff1, we introduced a bug when checking if a digest was
empty by constructing a std::string from bufferlist:

```
std::string(digest.second.c_str()).empty()
```

This is unsafe because bufferlist data is not guaranteed to be null-
terminated. The std::string constructor searches for a null terminator
and may read beyond the bufferlist's allocated memory, causing a
heap-buffer-overflow detected by AddressSanitizer:

```
==66092==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7e0c65215004 at pc 0x7fbc6e27c597 bp 0x7ffe29fb6100 sp 0x7ffe29fb58b8
READ of size 5 at 0x7e0c65215004 thread T0
    #0 0x7fbc6e27c596 in strlen /usr/src/debug/gcc/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:425
    #1 0x562c75fad91a in std::char_traits<char>::length(char const*) /usr/include/c++/15.2.1/bits/char_traits.h:393
    #2 0x562c75fb4222 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&) /usr/include/c++/15.2.1/bits/b
asic_string.h:713
    #3 0x562c761b81ae in operator() /home/kefu/dev/ceph/src/osd/scrubber/scrub_backend.cc:1300
    #4 0x562c761d7d53 in operator()<mini_flat_map<shard_id_t, ceph::buffer::v15_2_0::list, signed char>::_iterator<false> > /usr/include/c++/15.2.1/bits/predefined_ops.h:318
    #5 0x562c761d789c in __find_if<mini_flat_map<shard_id_t, ceph::buffer::v15_2_0::list, signed char>::_iterator<false>, __gnu_cxx::__ops::_Iter_pred<ScrubBackend::match_in_shards(const hobject_t&, auth_selection_
t&, inconsistent_obj_wrapper&, std::stringstream&)::<lambda(const std::pair<const shard_id_t, ceph::buffer::v15_2_0::list&>&)> > > /usr/include/c++/15.2.1/bits/stl_algobase.h:2095
    #6 0x562c761d72b2 in find_if<mini_flat_map<shard_id_t, ceph::buffer::v15_2_0::list, signed char>::_iterator<false>, ScrubBackend::match_in_shards(const hobject_t&, auth_selection_t&, inconsistent_obj_wrapper&,
std::stringstream&)::<lambda(const std::pair<const shard_id_t, ceph::buffer::v15_2_0::list&>&)> > /usr/include/c++/15.2.1/bits/stl_algo.h:3921
    #7 0x562c761d5f6f in none_of<mini_flat_map<shard_id_t, ceph::buffer::v15_2_0::list, signed char>::_iterator<false>, ScrubBackend::match_in_shards(const hobject_t&, auth_selection_t&, inconsistent_obj_wrapper&,
std::stringstream&)::<lambda(const std::pair<const shard_id_t, ceph::buffer::v15_2_0::list&>&)> > /usr/include/c++/15.2.1/bits/stl_algo.h:431
    #8 0x562c761d4a50 in any_of<mini_flat_map<shard_id_t, ceph::buffer::v15_2_0::list, signed char>::_iterator<false>, ScrubBackend::match_in_shards(const hobject_t&, auth_selection_t&, inconsistent_obj_wrapper&, s
td::stringstream&)::<lambda(const std::pair<const shard_id_t, ceph::buffer::v15_2_0::list&>&)> > /usr/include/c++/15.2.1/bits/stl_algo.h:450
    #9 0x562c761bb84b in ScrubBackend::match_in_shards(hobject_t const&, auth_selection_t&, inconsistent_obj_wrapper&, std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&) /home/k
efu/dev/ceph/src/osd/scrubber/scrub_backend.cc:1297
    #10 0x562c761b4282 in ScrubBackend::compare_obj_in_maps[abi:cxx11](hobject_t const&) /home/kefu/dev/ceph/src/osd/scrubber/scrub_backend.cc:941
    #11 0x562c761d44af in operator()<hobject_t> /home/kefu/dev/ceph/src/osd/scrubber/scrub_backend.cc:887
    #12 0x562c761d4836 in for_each<std::_Rb_tree_const_iterator<hobject_t>, ScrubBackend::compare_smaps()::<lambda(const auto:422&)> > /usr/include/c++/15.2.1/bits/stl_algo.h:3798
    #13 0x562c761b3259 in ScrubBackend::compare_smaps() /home/kefu/dev/ceph/src/osd/scrubber/scrub_backend.cc:884
    #14 0x562c761a478d in ScrubBackend::update_authoritative() /home/kefu/dev/ceph/src/osd/scrubber/scrub_backend.cc:315`
```

Fix by using bufferlist::length() which tells if the given buffer is
empty instead of converting the buffer content to a string.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #65284 from pritha-srivastava/wip-rgw-d4n-centos9-build-failure
Casey Bodley [Thu, 28 Aug 2025 19:14:48 +0000 (15:14 -0400)]
Merge pull request #65284 from pritha-srivastava/wip-rgw-d4n-centos9-build-failure

rgw/d4n: removing fmt related code as it is

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agomgr/dashboard: Update release notes and doc 65246/head
Afreen Misbah [Thu, 28 Aug 2025 07:36:04 +0000 (13:06 +0530)]
mgr/dashboard: Update release notes and doc

-  for removal of old dashoard support

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #65176 from phlogistonjohn/jjm-cephadm-build-el10rpm
Adam King [Thu, 28 Aug 2025 14:47:04 +0000 (10:47 -0400)]
Merge pull request #65176 from phlogistonjohn/jjm-cephadm-build-el10rpm

cephadm: fix building rpm-sourced cephadm zippapp on el10

Reviewed-by: Adam King <adking@redhat.com>
2 months agorgw/d4n: removing fmt related code as it is 65284/head
Pritha Srivastava [Thu, 28 Aug 2025 09:13:58 +0000 (14:43 +0530)]
rgw/d4n: removing fmt related code as it is
causing centos 9 build failure and is debug
only code.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2 months agomgr/dashboard: add customizations to table-actions 65285/head
Naman Munet [Thu, 28 Aug 2025 09:12:00 +0000 (14:42 +0530)]
mgr/dashboard: add customizations to table-actions

https://tracker.ceph.com/issues/72764

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 months agoMerge pull request #65029 from guits/drop-udevadm-subprocess-calls
Adam King [Thu, 28 Aug 2025 12:22:03 +0000 (08:22 -0400)]
Merge pull request #65029 from guits/drop-udevadm-subprocess-calls

ceph-volume: drop udevadm subprocess calls

Reviewed-by: Adam King <adking@redhat.com>