]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 days agodebian: drop explicit libprotobuf dependency from ceph-osd-crimson 68857/head
Kefu Chai [Tue, 12 May 2026 09:17:56 +0000 (17:17 +0800)]
debian: drop explicit libprotobuf dependency from ceph-osd-crimson

The ceph-osd-crimson package already lists ${shlibs:Depends} in its
Depends field, which generates the correct libprotobuf dependency for
the target distribution at build time (e.g. libprotobuf32t64 on
Trixie/Noble). The hardcoded libprotobuf23 entry is redundant and
breaks installations on distributions where protobuf ships under a
different package name.

See also ab4c5daead7f26d41028625453d50bb58d3b02be which added this
runtime dep.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
7 days agoMerge pull request #68131 from rzarzynski/wip-ec-asserted-isa-prepare
SrinivasaBharathKanta [Mon, 11 May 2026 23:16:29 +0000 (04:46 +0530)]
Merge pull request #68131 from rzarzynski/wip-ec-asserted-isa-prepare

ec: validate tcache retrievals in ErasureCodeIsaDefault::prepare()

7 days agoMerge pull request #68609 from aainscow/attr_rollback_fix
SrinivasaBharathKanta [Mon, 11 May 2026 23:11:23 +0000 (04:41 +0530)]
Merge pull request #68609 from aainscow/attr_rollback_fix

osd: Fix incorrect rollback logic for partial write OI

7 days agoMerge pull request #67292 from JonBailey1993/stats_fix_part_2
SrinivasaBharathKanta [Mon, 11 May 2026 23:09:57 +0000 (04:39 +0530)]
Merge pull request #67292 from JonBailey1993/stats_fix_part_2

osd: Reduce pg_stats invalidations occurring in fast ec

7 days agoMerge pull request #66559 from timqn22/crash-dir-permission-setting
Redouane Kachach [Mon, 11 May 2026 19:29:37 +0000 (21:29 +0200)]
Merge pull request #66559 from timqn22/crash-dir-permission-setting

src/cephadm: updated crash dir creation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
7 days agoMerge pull request #68848 from rkachach/fix_issue_76511
Redouane Kachach [Mon, 11 May 2026 19:27:53 +0000 (21:27 +0200)]
Merge pull request #68848 from rkachach/fix_issue_76511

qa/cephadm: start upgrade tests from tentacle instead of reef on main

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
7 days agoMerge pull request #68365 from kamoltat/wip-ksirivad-fix-75418
Laura Flores [Mon, 11 May 2026 18:41:49 +0000 (13:41 -0500)]
Merge pull request #68365 from kamoltat/wip-ksirivad-fix-75418

qa/suites/upgrade: ignore PG_DAMAGED

Reviewed-by: Laura Flores <lflores@ibm.com>
7 days agoMerge pull request #67915 from falconlee236/fix-osd-df-sorting-main
Laura Flores [Mon, 11 May 2026 18:35:47 +0000 (13:35 -0500)]
Merge pull request #67915 from falconlee236/fix-osd-df-sorting-main

mon/PGMap: sort 'osd df' and 'osd perf' outputs by OSD ID

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
7 days agoMerge pull request #68326 from ljflores/wip-tracker-75763
Laura Flores [Mon, 11 May 2026 18:33:33 +0000 (13:33 -0500)]
Merge pull request #68326 from ljflores/wip-tracker-75763

qa/suites/rados/encoder: remove rocky from supported distros

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
7 days agoMerge pull request #67715 from NitzanMordhai/wip-nitzan-is_pg_clean-hang-after-teardown
Laura Flores [Mon, 11 May 2026 18:15:14 +0000 (13:15 -0500)]
Merge pull request #67715 from NitzanMordhai/wip-nitzan-is_pg_clean-hang-after-teardown

test/ceph-helpers: add timeout to ceph pg query

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
7 days agoMerge pull request #68847 from ceph/wip-doc-SageMcTSecurityCSC
Sage McTaggart [Mon, 11 May 2026 18:10:57 +0000 (14:10 -0400)]
Merge pull request #68847 from ceph/wip-doc-SageMcTSecurityCSC

docs/security: added workinggroup.rst and securitylead.rst

7 days agoMerge pull request #68401 from phlogistonjohn/jjm-pypkg
John Mulligan [Mon, 11 May 2026 17:10:50 +0000 (13:10 -0400)]
Merge pull request #68401 from phlogistonjohn/jjm-pypkg

build: Update python packaging for src/python-common

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
7 days agoMerge pull request #68747 from Kushal-deb/fix-nvmeof-apply-path
Redouane Kachach [Mon, 11 May 2026 16:32:31 +0000 (18:32 +0200)]
Merge pull request #68747 from Kushal-deb/fix-nvmeof-apply-path

mgr/cephadm: allow nvmeof group assignment for NVMe-oF services

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
7 days agodocs/security: added workinggroup.rst and securitylead.rst wip-doc-SageMcTSecurityCSC 68847/head
Sage McTaggart [Mon, 11 May 2026 14:58:57 +0000 (10:58 -0400)]
docs/security: added workinggroup.rst and securitylead.rst
Signed-off-by: Sage McTaggart <sagemct@ibm.com>
7 days agoMerge pull request #67344 from dermalikmann/fix-mgmt-gateway-use-vip
Redouane Kachach [Mon, 11 May 2026 16:27:57 +0000 (18:27 +0200)]
Merge pull request #67344 from dermalikmann/fix-mgmt-gateway-use-vip

mgr/cephadm: mgmt-gateway bind to virtual_ip

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
7 days agoqa/cephadm: start upgrade tests from tentacle instead of reef on main 68848/head
Adam King [Thu, 19 Feb 2026 16:12:49 +0000 (11:12 -0500)]
qa/cephadm: start upgrade tests from tentacle instead of reef on main

Since main is what will become umbrella at this point

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit a137bccbf4330a88f17588d465218165ec03b009)

8 days agoMerge pull request #67422 from MattyWilliams22/cls-fifo
Matty Williams [Mon, 11 May 2026 10:01:59 +0000 (11:01 +0100)]
Merge pull request #67422 from MattyWilliams22/cls-fifo

cls/test: Stop the cls_fifo.get_info test from Segmentation Faulting

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
8 days agoMerge pull request #68386 from tchaikov/wip-crimson-throttling
Matan Breizman [Mon, 11 May 2026 09:57:56 +0000 (12:57 +0300)]
Merge pull request #68386 from tchaikov/wip-crimson-throttling

crimson/osd: acquire throttle when scanning replica/primary for backfill

Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
8 days agoMerge pull request #68834 from tchaikov/rgw-d4n-boost-1.91
Kefu Chai [Mon, 11 May 2026 06:02:00 +0000 (14:02 +0800)]
Merge pull request #68834 from tchaikov/rgw-d4n-boost-1.91

rgw/d4n: fix deprecated async_run overload in RedisPool

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
8 days agoMerge pull request #68676 from JoshuaGabriel/msgr-activecon-perfcounter
Yuri Weinstein [Sun, 10 May 2026 18:39:24 +0000 (11:39 -0700)]
Merge pull request #68676 from JoshuaGabriel/msgr-activecon-perfcounter

msg/async: make msgr_active_connections counter a gauge to prevent underflow

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

8 days agoMerge pull request #53891 from Hu-Yuxuan/fix-bug-#63137
Yuri Weinstein [Sun, 10 May 2026 18:39:02 +0000 (11:39 -0700)]
Merge pull request #53891 from Hu-Yuxuan/fix-bug-#63137

osd: Improved pg-upmap computing speed

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

8 days agoMerge pull request #68489 from ronen-fr/wip-rf-pintest-crimson
Ronen Friedman [Sun, 10 May 2026 12:40:05 +0000 (15:40 +0300)]
Merge pull request #68489 from ronen-fr/wip-rf-pintest-crimson

crimson/tests: fix test_remap_pin_concurrent

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
9 days agoMerge pull request #68812 from tchaikov/wip-doc-lower-require-min-compat
Kefu Chai [Sun, 10 May 2026 11:21:51 +0000 (19:21 +0800)]
Merge pull request #68812 from tchaikov/wip-doc-lower-require-min-compat

doc/rados: warn against lowering require_min_compat_client in read-balancer

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
9 days agodoc/rados: warn against lowering require_min_compat_client in read-balancer 68812/head
Kefu Chai [Fri, 8 May 2026 01:34:12 +0000 (09:34 +0800)]
doc/rados: warn against lowering require_min_compat_client in read-balancer

Add a note that the value should not be lowered after being set, to
avoid accidentally breaking features that depend on a newer release.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
9 days agoMerge pull request #68750 from tchaikov/wip-crimson-merge-coll
Matan Breizman [Sun, 10 May 2026 08:03:49 +0000 (11:03 +0300)]
Merge pull request #68750 from tchaikov/wip-crimson-merge-coll

crimson/os: implement OP_MERGE_COLLECTION

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
9 days agoMerge pull request #67671 from bluikko/wip-doc-start-bg-improve
Anthony D'Atri [Sat, 9 May 2026 19:02:24 +0000 (12:02 -0700)]
Merge pull request #67671 from bluikko/wip-doc-start-bg-improve

doc/start: Improve beginners-guide.rst

10 days agoMerge pull request #68833 from tchaikov/wip-rgw-lua-5.5
Kefu Chai [Sat, 9 May 2026 08:20:48 +0000 (16:20 +0800)]
Merge pull request #68833 from tchaikov/wip-rgw-lua-5.5

rgw: fix build with Lua 5.5

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
10 days agorgw/d4n: fix deprecated async_run overload in RedisPool 68834/head
Kefu Chai [Sat, 9 May 2026 06:39:17 +0000 (14:39 +0800)]
rgw/d4n: fix deprecated async_run overload in RedisPool

The async_run overload taking a logger argument is deprecated since
Boost 1.89. Use the 2-arg async_run(config, token) overload when
building with Boost >= 1.89, and fall back to the 3-arg overload
for Boost 1.87-1.88.

See https://www.boost.org/doc/libs/1_89_0/libs/redis/doc/html/redis/reference/boost/redis/basic_connection/async_run-04.html

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
10 days agoMerge pull request #68628 from MaxKellermann/msg__includes2
Kefu Chai [Sat, 9 May 2026 05:45:32 +0000 (13:45 +0800)]
Merge pull request #68628 from MaxKellermann/msg__includes2

msg: include cleanup

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
10 days agorgw: fix build with Lua 5.5 68833/head
Kefu Chai [Sat, 9 May 2026 03:50:10 +0000 (11:50 +0800)]
rgw: fix build with Lua 5.5

Lua 5.5 added a `seed` parameter to `lua_newstate()`. Use a
preprocessor conditional to pass the extra argument when building
against Lua >= 5.5.

Since we require Lua >= 5.3 in src/CMakeLists.txt, we need to be
compatible with Lua 5.5 as well.

See https://www.lua.org/manual/5.5/manual.html#lua_newstate

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
10 days agoMerge pull request #68702 from nhoad/compiler-warning
Adam Emerson [Fri, 8 May 2026 15:46:48 +0000 (11:46 -0400)]
Merge pull request #68702 from nhoad/compiler-warning

rgw: Move declaration inline to solve compiler warning about an unused variable

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
10 days agoMerge pull request #68522 from phlogistonjohn/jjm-smb-rm-all
John Mulligan [Fri, 8 May 2026 14:02:04 +0000 (10:02 -0400)]
Merge pull request #68522 from phlogistonjohn/jjm-smb-rm-all

smb: wildcard deletion of smb shares and clusters

Reviewed-by: Xavi Hernandez <xhernandez@gmail.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
10 days agoMerge pull request #68711 from jamiepryde/isal-arm-build-typo
Jamie Pryde [Fri, 8 May 2026 13:52:54 +0000 (14:52 +0100)]
Merge pull request #68711 from jamiepryde/isal-arm-build-typo

cmake: Fix ISA-L build on arm

10 days agoMerge pull request #68422 from tchaikov/wip-speedy-backport
Kefu Chai [Fri, 8 May 2026 13:38:28 +0000 (21:38 +0800)]
Merge pull request #68422 from tchaikov/wip-speedy-backport

script/ceph-backport: skip fetch if merge commit already exists locally

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
11 days agomsg/async/Protocol: include cleanup 68628/head
Max Kellermann [Mon, 7 Oct 2024 02:59:38 +0000 (04:59 +0200)]
msg/async/Protocol: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
11 days agomsg/async/AsyncConnection: include cleanup
Max Kellermann [Mon, 7 Oct 2024 02:51:31 +0000 (04:51 +0200)]
msg/async/AsyncConnection: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
11 days agomsg/Connection: include cleanup
Max Kellermann [Mon, 7 Oct 2024 02:53:12 +0000 (04:53 +0200)]
msg/Connection: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
11 days agomon: add missing includes
Max Kellermann [Mon, 20 Apr 2026 10:07:09 +0000 (12:07 +0200)]
mon: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
11 days agoMerge pull request #68790 from MaxKellermann/crimson__missing_includes
Kefu Chai [Fri, 8 May 2026 07:09:19 +0000 (15:09 +0800)]
Merge pull request #68790 from MaxKellermann/crimson__missing_includes

crimson: add missing includes

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
11 days agoMerge pull request #68151 from bluikko/wip-doc-man-ceph-improvements1
bluikko [Fri, 8 May 2026 05:10:16 +0000 (12:10 +0700)]
Merge pull request #68151 from bluikko/wip-doc-man-ceph-improvements1

doc/man: improve ceph.rst

11 days agoMerge pull request #68156 from bluikko/wip-doc-man-spelling1
bluikko [Fri, 8 May 2026 05:09:43 +0000 (12:09 +0700)]
Merge pull request #68156 from bluikko/wip-doc-man-spelling1

doc/man: fix spelling etc errors (1 of 2)

11 days agoqa/suites/upgrade: ignore PG_DAMAGED 68365/head
Kamoltat (Junior) Sirivadhna [Tue, 17 Mar 2026 19:52:56 +0000 (19:52 +0000)]
qa/suites/upgrade: ignore PG_DAMAGED

we can simply ignore this warning that pops up temporary on the logs,
since do check for active+clean in ceph.healthy

Fixes: https://tracker.ceph.com/issues/72424
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
11 days agoMerge pull request #68637 from aainscow/do_read_assert
Laura Flores [Thu, 7 May 2026 18:22:15 +0000 (13:22 -0500)]
Merge pull request #68637 from aainscow/do_read_assert

osd: Avoid assertion on empty object read when reading multiple objects

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
11 days agoMerge pull request #68797 from JonBailey1993/fix-design-definition
Jon Bailey [Thu, 7 May 2026 13:49:42 +0000 (14:49 +0100)]
Merge pull request #68797 from JonBailey1993/fix-design-definition

doc: Clarification of text in ec stretch cluster design

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
11 days agoMerge pull request #68364 from linuxbox2/wip-complete-mpu-etag
Casey Bodley [Thu, 7 May 2026 12:42:46 +0000 (08:42 -0400)]
Merge pull request #68364 from linuxbox2/wip-complete-mpu-etag

rgw: return an etag header for all successful complete-multipart

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 days agoMerge pull request #68788 from cloudbehl/fix-Application-overview
Afreen Misbah [Thu, 7 May 2026 12:39:40 +0000 (18:09 +0530)]
Merge pull request #68788 from cloudbehl/fix-Application-overview

monitoring: Fix application overview to show Raw used

Reviewed-by: Afreen Misbah <afreen@ibm.com>
11 days agodoc: Clarification of text in ec stretch cluster design 68797/head
Jon Bailey [Thu, 7 May 2026 12:28:01 +0000 (13:28 +0100)]
doc: Clarification of text in ec stretch cluster design

Information regarding min_size in the EC Cluster Design doc was unclear in regards to the intention of what we want to develop. This commit is to clarify this so it is clear to readers.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 days agoMerge pull request #68735 from ronen-fr/wip-rf-scrubNtrim-crimson
Ronen Friedman [Thu, 7 May 2026 11:42:09 +0000 (14:42 +0300)]
Merge pull request #68735 from ronen-fr/wip-rf-scrubNtrim-crimson

crimson/osd: defer snap trimming while scrubbing

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 days agoMerge pull request #68614 from tchaikov/wip-test-osd-fix-leaks
Alex Ainscow [Thu, 7 May 2026 10:47:39 +0000 (11:47 +0100)]
Merge pull request #68614 from tchaikov/wip-test-osd-fix-leaks

test/osd: fix Message and Connection refcount leaks

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
12 days agocrimson/osd: acquire throttle when scanning replica/primary for backfill 68386/head
Kefu Chai [Sun, 29 Mar 2026 05:47:47 +0000 (13:47 +0800)]
crimson/osd: acquire throttle when scanning replica/primary for backfill

The backfill state machine called budget_available() before deciding to
scan, but request_primary_scan() and request_replica_scan() never
actually acquired the throttle slot.  This meant scans could proceed
without any resource reservation, defeating the QoS intent of the
throttler introduced in 791772f1c0.

In this change, we fix this by acquiring the throttle before initiating
each scan.

Fixes: https://tracker.ceph.com/issues/70808
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
12 days agocrimson: add missing includes 68790/head
Max Kellermann [Wed, 15 Apr 2026 06:09:26 +0000 (08:09 +0200)]
crimson: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
12 days agomonitoring: Fix application overview to show Raw used 68788/head
Ankush Behl [Thu, 7 May 2026 08:44:25 +0000 (14:14 +0530)]
monitoring: Fix application overview to show Raw used

- Updated capacity used to show Raw capacity
- Pool table shows Raw capacity
- Total used capacity graph shows raw capacity

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

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
12 days agoMerge pull request #66430 from NitzanMordhai/wip-nitzan-deadlock-eio
NitzanMordhai [Thu, 7 May 2026 07:39:06 +0000 (10:39 +0300)]
Merge pull request #66430 from NitzanMordhai/wip-nitzan-deadlock-eio

aio_cxx: Fix mutual deadlock and resolve test unreliability

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Laura Flores <lflores@ibm.com>
12 days agoMerge PR #68634 into main
Venky Shankar [Thu, 7 May 2026 05:26:03 +0000 (10:56 +0530)]
Merge PR #68634 into main

* refs/pull/68634/head:
mgr: change cleanup and scanning cephfs connection logs to be less noisy

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: anuragbandhu <anuragbandhu007@gmail.com>
12 days agodoc: document new options for smb share rm and cluster rm 68522/head
John Mulligan [Tue, 21 Apr 2026 20:36:18 +0000 (16:36 -0400)]
doc: document new options for smb share rm and cluster rm

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add test cases for cluster rm w/ wildcard/recursive
John Mulligan [Mon, 20 Apr 2026 20:11:51 +0000 (16:11 -0400)]
mgr/smb: add test cases for cluster rm w/ wildcard/recursive

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add --wildcard and --recursive to smb cluster rm
John Mulligan [Mon, 20 Apr 2026 20:07:19 +0000 (16:07 -0400)]
mgr/smb: add --wildcard and --recursive to smb cluster rm

Add new --wildcard and --recursive flags to the smb cluster rm
subcommands. These allow deleting clusters in bulk.  The --wildcard
option works like the same option for share rm in that it allows the use
of globbing for the cluster IDs, this includes '*' to delete all
clusters. The --recursive option tells the command to also delete all
child resources (shares) when deleting a cluster.

This was previously doable by streaming the output of `ceph smb show
...` through (sed or) jq and flipping the intent to removed and piping
that to `ceph smb apply` - but this is clearly not obvious nor easy to
document versus  these new options.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add unit tests to verify deleting shares by wildcard
John Mulligan [Mon, 20 Apr 2026 19:17:47 +0000 (15:17 -0400)]
mgr/smb: add unit tests to verify deleting shares by wildcard

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add a --wildcard option to the smb share rm subcommand
John Mulligan [Mon, 20 Apr 2026 19:16:34 +0000 (15:16 -0400)]
mgr/smb: add a --wildcard option to the smb share rm subcommand

The new wildcard option will enable matching multiple shares to delete
or even all shares in a cluster using '*'.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add a new error type to reflect non-matching inputs
John Mulligan [Tue, 21 Apr 2026 18:30:13 +0000 (14:30 -0400)]
mgr/smb: add a new error type to reflect non-matching inputs

It's not that the input was bad, it just reflects that nothing
matching the input value was found.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agomgr/smb: add glob style wildcard support to matcher object
John Mulligan [Mon, 20 Apr 2026 19:14:56 +0000 (15:14 -0400)]
mgr/smb: add glob style wildcard support to matcher object

Add glob/wildcard support to the matcher type in the handler.py file.
This will be used in future changes to make matching shares and/or
clusters easier by supporting glob style wildcards on some commands.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agoMerge pull request #68257 from avanthakkar/add-cluster-qos-cmd
John Mulligan [Wed, 6 May 2026 19:15:39 +0000 (15:15 -0400)]
Merge pull request #68257 from avanthakkar/add-cluster-qos-cmd

mgr/smb: add cluster-level QoS update command for CephFS shares

Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: Shwetha Acharya <sacharya@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 days agoMerge pull request #68653 from rhcs-dashboard/76293-read-only-user-access-denied...
Afreen Misbah [Wed, 6 May 2026 18:51:30 +0000 (00:21 +0530)]
Merge pull request #68653 from rhcs-dashboard/76293-read-only-user-access-denied-for-overview-page-fix

mgr/dashboard: "Access Denied" being shown on overview page for read-only user

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 days agoMerge pull request #68755 from shraddhaag/wip-shraddhaag-reinstate-rocky10
Shraddha Agrawal [Wed, 6 May 2026 15:43:13 +0000 (21:13 +0530)]
Merge pull request #68755 from shraddhaag/wip-shraddhaag-reinstate-rocky10

qa/distros/crimson-supported-all-distros: remove centos 9

12 days agoMerge pull request #67729 from adamemerson/wip-neorados-watch-notify
Adam Emerson [Wed, 6 May 2026 15:19:14 +0000 (11:19 -0400)]
Merge pull request #67729 from adamemerson/wip-neorados-watch-notify

neorados: Various Fixes to Watch/Notify

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 days agoMerge pull request #68659 from BBoozmen/wip-oozmen-76308
Adam Emerson [Wed, 6 May 2026 15:11:43 +0000 (11:11 -0400)]
Merge pull request #68659 from BBoozmen/wip-oozmen-76308

RGW/Multisite: fix uninitialized LatencyMonitor causing spurious "OSD cluster is overloaded" warning

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
12 days agomsgr/async: make msgr_active_connections counter a gauge 68676/head
Joshua Blanch [Wed, 29 Apr 2026 23:06:48 +0000 (23:06 +0000)]
msgr/async: make msgr_active_connections counter a gauge

msgr_active_connections tracks the current number of active connections
rather than a monotonic total. Register it as a gauge so perf reset does
not zero it while live connections may still later decrement the value.

Fixes: https://tracker.ceph.com/issues/76339
Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
12 days agoMerge pull request #68274 from ShreeJejurikar/wip-bucket-logging-journal-mode
Yuval Lifshitz [Wed, 6 May 2026 14:23:32 +0000 (17:23 +0300)]
Merge pull request #68274 from ShreeJejurikar/wip-bucket-logging-journal-mode

rgw/test: add Journal mode support to bucket logging test suite

12 days agoceph.spec.in: add new --with pypkg to be passed on to cmake 68401/head
John Mulligan [Thu, 16 Apr 2026 17:47:04 +0000 (13:47 -0400)]
ceph.spec.in: add new --with pypkg to be passed on to cmake

Add a new --with pypkg option that passes WITH_PYPKG to cmake.
This allows building with the new (experimental) python packaging
support. If this proves useful a future change can consider enabling
by default in some conditions.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agopython-common: update CMakeLists.txt to optionally use new packaging
John Mulligan [Mon, 13 Apr 2026 21:24:39 +0000 (17:24 -0400)]
python-common: update CMakeLists.txt to optionally use new packaging

Add support for invoking the new pep517 based packaging mode added
in a previous commit. Because this approach will not work on older
distros and there seems to be spotty support for the new packging
form on debian/ubuntu (when nested within a additional layer like
CMake) I am choosing not to enable the new stuff by default.

View with `git diff -w`

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agosrc: add a new cmake flag WITH_PYPKG
John Mulligan [Wed, 15 Apr 2026 18:09:28 +0000 (14:09 -0400)]
src: add a new cmake flag WITH_PYPKG

This flag will allow builds to opt-in to using the new python packaging
support in subtrees in ceph that add support for it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agopython-common: add a pyproject.toml file
John Mulligan [Mon, 13 Apr 2026 21:24:46 +0000 (17:24 -0400)]
python-common: add a pyproject.toml file

In order to support the current python packaging standards we need
to have a pyproject.toml [1] file. This file defines the project's
metadata and build tool.

For continuity, I have left setuptools in place as the build backend
so the existing steup.py is still in play. I also experimented with
flit as a back-end. Flit seemed to work OK but I was a bit unsure
how distro support for it would be when we started to roll out this
option. Thus, to be safe I decided to stay with setuptools for now.

[1] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/

See Also:
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://flit.pypa.io/en/stable/pyproject_toml.html

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agocmake/modules: add PythonPackage.cmake
John Mulligan [Mon, 13 Apr 2026 21:24:24 +0000 (17:24 -0400)]
cmake/modules: add PythonPackage.cmake

Time is marching on and the state of the art with python packaging has
not stood still. In Python 3.12, distutils has been removed after being
deprecated for a couple of versions. According to the Python Packaging
User Guide [1]: "However, `python setup.py` and the use of `setup.py` as a
command line tool are deprecated."

Currently, ceph provides a decent sized and growing library of python
code in `src/python-common/ceph`. It currently relies on `setup.py` and
the deprecated `python setup.py install` command. This change aims to be
the first step in moving toward a more contemporary approach so that we
don't get caught late when the older approaches really stop working.

Because ceph's primary diver of "build stuff" is CMake, there was an
existing `cmake/modules/Distutils.cmake` that invokes a `python setup.py
install` command. Rather than risk breaking older distros we add a new
`cmake/modules/PythonPackage.cmake` file that uses the PEP 517/518
[2][3] style

of packaging. I could not find some existing CMake support for this
so unfortunately I had to write this.

The approach taken is loosely based on what the rpm build process does.
It invokes pip's wheel subcommand to build a wheel (during the build
phase) and then uses pip to install the wheel to install the content
to the system.

A future commit will add conditional support for using this approach
in src/python-common.

[1] https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
[2] https://peps.python.org/pep-0517/
[3] https://peps.python.org/pep-0518/

Signed-off-by: John Mulligan <jmulligan@redhat.com>
12 days agoMerge pull request #68404 from ifed01/wip-fix-isal-build
Kefu Chai [Wed, 6 May 2026 12:47:30 +0000 (20:47 +0800)]
Merge pull request #68404 from ifed01/wip-fix-isal-build

cmake/isal-l: explicitly configure libdir to avoid wrong libisal.a

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
13 days agocmake: Fix ISA-L build on arm 68711/head
Jamie Pryde [Fri, 1 May 2026 09:45:42 +0000 (10:45 +0100)]
cmake: Fix ISA-L build on arm

A typo in CFLAGS means we're passing an empty string to configure_cmd.
We are then overwriting the build environment CFLAGS with our empty string CFLAGS,
which can result in build failures in certain environments, as seen in the tracker.
This fix gets any build environment CFLAGS and appends the other flags
we want to use when building ISA-L 2.32.0

Fixes: https://tracker.ceph.com/issues/76389
Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
13 days agomgr/dashboard: "Access Denied" being shown on overview page for read-only user 68653/head
Devika Babrekar [Tue, 28 Apr 2026 13:13:42 +0000 (18:43 +0530)]
mgr/dashboard: "Access Denied" being shown on overview page for read-only user
Fix: https://tracker.ceph.com/issues/76293
Signed-off-by: Devika Babrekar <devika.babrekar@ibm.com>
13 days agoosd: Fix incorrect rollback logic for partial write OI 68609/head
Alex Ainscow [Fri, 24 Apr 2026 14:57:55 +0000 (15:57 +0100)]
osd: Fix incorrect rollback logic for partial write OI

Before this fix, when rolling back an OI, the system used the OI
from the primary to rollback to. This is wrong if the previous
write was a partial write. This may have a few consequences
during recovery (although its not clear any are serious) and in
EC direct reads, where a false-positive version mismatch will be
detected.

The test provided recreates the issue.

The fix provided modifies the rollback as it is being written.

Fixes: https://tracker.ceph.com/issues/76213
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
# Conflicts:
# src/test/osd/TestECFailoverWithPeering.cc

13 days agoosd: Avoid assertion on empty object read when reading multiple objects 68637/head
Alex Ainscow [Mon, 27 Apr 2026 16:46:40 +0000 (17:46 +0100)]
osd: Avoid assertion on empty object read when reading multiple objects

Tracker 75432 hits an assert which is attempting to protect the system
against hanging, due to generating a read request which sends no messages.

The assert fired because recovery was attempting to read multiple objects
in a single read request. One object did not require any further shard
reads in order to recover, while the other did.  The consequence is that
the assert fired on one of the objects.

The problem is simply that the assert is in the wrong place.

Fixes: https://tracker.ceph.com/issues/75432
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
13 days agoMerge pull request #67870 from aainscow/fix_75211
Alex Ainscow [Wed, 6 May 2026 08:01:50 +0000 (09:01 +0100)]
Merge pull request #67870 from aainscow/fix_75211

osd: PGLog Attach correct version to missing list when ignoring log entries

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
13 days agoMerge pull request #68707 from ronen-fr/wip-rf-smapper-addoid
Ronen Friedman [Wed, 6 May 2026 07:18:24 +0000 (10:18 +0300)]
Merge pull request #68707 from ronen-fr/wip-rf-smapper-addoid

osd/SnapMapper::update_snaps() to handle a missing OBJ_ record

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
13 days agoMerge pull request #66373 from mheler/target_path_by_bucket
anrao19 [Wed, 6 May 2026 06:14:40 +0000 (11:44 +0530)]
Merge pull request #66373 from mheler/target_path_by_bucket

rgw/cloud-transition: add per-bucket target options

13 days agoMerge pull request #68629 from MaxKellermann/osdc_includes2
Kefu Chai [Wed, 6 May 2026 05:44:54 +0000 (13:44 +0800)]
Merge pull request #68629 from MaxKellermann/osdc_includes2

osdc: add missing include

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
13 days agotest/osd: add perf test for calc_pg_upmaps with mutual overfull upmap pairs 53891/head
Kefu Chai [Wed, 6 May 2026 03:32:03 +0000 (11:32 +0800)]
test/osd: add perf test for calc_pg_upmaps with mutual overfull upmap pairs

Reproduces the scenario from https://tracker.ceph.com/issues/63137: 500
cohort OSDs all at deviation +2, linked by pg_upmap_items rings with R=5
pairs each.  Before the fix, every incoming pair triggered a test_change
call that got rejected -- calc_pg_upmaps took ~11 minutes.  After, it
exits in ~200ms.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
13 days agoosd/OSDMap: skip upmap-items drop when um_from would become equally overfull
Hu-Yuxuan [Mon, 9 Oct 2023 09:49:54 +0000 (17:49 +0800)]
osd/OSDMap: skip upmap-items drop when um_from would become equally overfull

Improves pg-upmap balancer convergence speed on clusters where many OSDs
are mutually overfull and linked by pg_upmap_items -- a common pattern
after a scale-up that increases replica count.

When try_drop_remap_overfull finds an incoming [um_from -> osd] pair on an
overfull osd, it called test_change to check whether dropping the pair would
improve distribution.  If um_from carries the same excess load as osd,
though, dropping just returns the PG to an equally crowded OSD -- test_change
rejects the move anyway.  With many such mutual pairs, the wasted calls add
up to minutes before the balancer gives up.

This adds an early check: skip test_change when um_from would end up at
least as overfull as osd after receiving the PG back.  This eliminates
O(n_cohort * R) wasted test_change calls per balancer pass and reduces
calc_pg_upmaps from minutes to milliseconds in the affected scenario.

Fixes: https://tracker.ceph.com/issues/63137
Signed-off-by: Hu-Yuxuan <1024252105@qq.com>
Co-authored-by: Kefu Chai <k.chai@proxmox.com>
13 days agoqa/distros/crimson-supported-all-distros 68755/head
Shraddha Agrawal [Tue, 5 May 2026 16:45:36 +0000 (22:15 +0530)]
qa/distros/crimson-supported-all-distros

This commit removes centos9 from crimson's supported distros. This is in
line with the wider ceph moving on to rocky10 from centos9. We have
established that crimson is compatible with rocky10. More details can be
found in this tracker: https://tracker.ceph.com/issues/75823.
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
13 days agocrimson/osd: defer snap trimming while scrubbing 68735/head
Ronen Friedman [Sat, 2 May 2026 15:53:49 +0000 (15:53 +0000)]
crimson/osd: defer snap trimming while scrubbing

Classic OSD enforces mutual exclusion between scrubbing and snap
trimming via the WaitScrub state in the snap trim state machine.
Crimson was missing this, allowing both to run concurrently on the
same PG (visible as active+clean+scrubbing+deep+snaptrim), which
could prevent snap trimming from completing within the expected
timeout.

Defer snap trim initiation while PG_STATE_SCRUBBING is set, and
re-trigger it from notify_scrub_end() via kick_snap_trim().

This is a temporary fix until the full scrub scheduling code,
including is_scrub_queued_or_active(), is merged.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
13 days agoMerge pull request #68677 from ronen-fr/wip-rf-seastorerst
Ronen Friedman [Tue, 5 May 2026 16:26:01 +0000 (19:26 +0300)]
Merge pull request #68677 from ronen-fr/wip-rf-seastorerst

crimson/doc/seastore: document device super-block structure

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 days agoMerge pull request #67531 from tchaikov/wip-encoding-with-asan
Kefu Chai [Tue, 5 May 2026 13:20:09 +0000 (21:20 +0800)]
Merge pull request #67531 from tchaikov/wip-encoding-with-asan

test/encoding: use setarch -R for ASAN builds in readable.sh

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
13 days agoMerge pull request #68259 from anoopcs9/update-samba-container-tags
John Mulligan [Tue, 5 May 2026 13:18:09 +0000 (09:18 -0400)]
Merge pull request #68259 from anoopcs9/update-samba-container-tags

cephadm/images: Update tags for samba and smbmetrics containers

Reviewed-by: John Mulligan <jmulligan@redhat.com>
13 days agoMerge pull request #68749 from gbregman/main
Gil Bregman [Tue, 5 May 2026 12:57:52 +0000 (15:57 +0300)]
Merge pull request #68749 from gbregman/main

mgr/dashboard: Allow empty port value when adding a listener in NVMEoF CLI

13 days agoMerge pull request #68615 from tchaikov/wip-lasan-supp
Kefu Chai [Tue, 5 May 2026 12:17:21 +0000 (20:17 +0800)]
Merge pull request #68615 from tchaikov/wip-lasan-supp

qa/lsan.supp: suppress CPython 3.10 interpreter shutdown leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 days agocrimson/os/seastore: implement OP_MERGE_COLLECTION 68750/head
Kefu Chai [Tue, 5 May 2026 06:53:54 +0000 (14:53 +0800)]
crimson/os/seastore: implement OP_MERGE_COLLECTION

Add a handler for Transaction::OP_MERGE_COLLECTION in SeaStore's
_do_transaction_step() and the corresponding _merge_collection()
implementation. Since coll_t is not part of the onode key, no
onode re-keying is needed: the operation updates the destination
collection's split_bits and removes the source collection from the
collection B-tree, all within a single transaction.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
13 days agocrimson/os/cyanstore: implement OP_MERGE_COLLECTION
Kefu Chai [Tue, 5 May 2026 06:53:48 +0000 (14:53 +0800)]
crimson/os/cyanstore: implement OP_MERGE_COLLECTION

Add a handler for Transaction::OP_MERGE_COLLECTION in CyanStore's
do_transaction_no_callbacks() and the corresponding _merge_collection()
implementation. Moves all objects from the source collection into the
destination, updates the destination's split_bits, and removes the
source collection from the store's collection map.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoosd/SnapMapper::update_snaps() to handle a missing OBJ_ record 68707/head
Ronen Friedman [Thu, 30 Apr 2026 16:46:58 +0000 (16:46 +0000)]
osd/SnapMapper::update_snaps() to handle a missing OBJ_ record

by falling back to add_oid() instead of silently creating an
inconsistent state (OBJ_ without matching SNA_ entries). This
was observed on replicas that had recently recovered objects:
the snap mapper entries created during recovery were not visible
to a subsequent snap-trim repop's update_snaps() call, leaving
the clone with no snap mapper entries. Scrub would then detect
and report the inconsistency as an error.

Promote snap mapper remove_oid/clear_snaps logging to dout(10)
and add apply_op_stats tracing to aid diagnosis of any remaining
stat or snap mapper drift.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 weeks agomgr/dashboard: Allow empty port value when adding a listener in NVMEoF CLI 68749/head
Gil Bregman [Tue, 5 May 2026 08:53:25 +0000 (11:53 +0300)]
mgr/dashboard: Allow empty port value when adding a listener in NVMEoF CLI
Fixes: https://tracker.ceph.com/issues/76410
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 weeks agomgr/cephadm: allow nvmeof group assignment for NVMe-oF services 68747/head
Kushal Deb [Tue, 5 May 2026 05:30:12 +0000 (11:00 +0530)]
mgr/cephadm: allow nvmeof group assignment for NVMe-oF services

NVMe-oF services created in older releases may have a service_id that does
not include the gateway group name, because those services could be created
without a group.
The current validation requires an NVMe-oF service_id to end with
the configured group name when spec.group is set. This is correct for new
services, but it blocks the documented upgrade flow for existing legacy
services where the user exports the existing spec, adds spec.group, and
applies it back.

Allow this narrow update path when the service already exists, the stored
spec has no group, and the incoming spec keeps the same service_id while
adding a non-empty group. Keep the existing validation for new services and
for services that already have a group, so duplicate or misleading group
configurations are still rejected.

Signed-off-by: Kushal Deb <Kushal.Deb@ibm.com>
2 weeks agoMerge pull request #59650 from xsuchy/patch-2
Kefu Chai [Tue, 5 May 2026 06:44:51 +0000 (14:44 +0800)]
Merge pull request #59650 from xsuchy/patch-2

rpm: Migrate license in ceph.spec to SPDX

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agorgw/test: add Journal mode support to bucket logging test suite 68274/head
ShreeJejurikar [Thu, 9 Apr 2026 08:48:24 +0000 (14:18 +0530)]
rgw/test: add Journal mode support to bucket logging test suite

Add --logging-type flag to run the Python bucket logging test suite
in either Standard or Journal mode. The same tests run against both
logging types with no changes to test logic or assertions.

- Add --logging-type pytest CLI option (Standard default, Journal opt-in)
- Detect boto3 LoggingType extension availability at session startup
- Thread logging_type through helpers and test functions
- Add teuthology task YAML for Journal mode suite runs
- Install service-2.sdk-extras.json in the teuthology task when
  logging_type is Journal (s3tests cleans it up after its own run,
  so the file isn't available by the time our Journal job runs)
- Document Journal mode local usage in the test suite README

Signed-off-by: Shree Jejurikar <shree.jejurikar@gmail.com>
2 weeks agomgr: change cleanup and scanning cephfs connection logs to be less noisy 68634/head
Omid Yoosefi [Mon, 15 Dec 2025 19:47:59 +0000 (14:47 -0500)]
mgr: change cleanup and scanning cephfs connection logs to be less noisy

Fixes: https://tracker.ceph.com/issues/76278
Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
2 weeks agoMerge pull request #68473 from ljflores/wip-tracker-73147
SrinivasaBharathKanta [Tue, 5 May 2026 04:15:18 +0000 (09:45 +0530)]
Merge pull request #68473 from ljflores/wip-tracker-73147

qa/suites/rados/thrash-old-clients: ignore "Reduced data availability" warning