]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 days agopybind/mgr/status: drop asserts that fight the defaultdict defaults 68743/head
Kefu Chai [Tue, 5 May 2026 01:36:01 +0000 (09:36 +0800)]
pybind/mgr/status: drop asserts that fight the defaultdict defaults

The 'assert metadata' checks in the status module were actually fighting
against our own defaults. Since an empty defaultdict is falsy, these
asserts would blow up the whole command if a single daemon was down
after a mgr restart.

This drops those four grumpy asserts. Now, instead of a traceback,
`ceph osd status` and `ceph fs status` will just show a blank hostname
 or "unknown" version as intended.

The trigger is common in practice: any mgr restart leaves daemons
that are currently down without metadata in daemon_state, since
they never reconnect via MMgrOpen to repopulate it. After such a
restart, `ceph osd status` and `ceph fs status` blow up:
```
  Error EINVAL: Traceback (most recent call last):
    ...
    File ".../status/module.py", line 340, in handle_osd_status
      assert metadata
  AssertionError
```

The bug was introduced in 5ac2901f54ff

Fixes: https://tracker.ceph.com/issues/76416
Reported-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
6 days agomgr: narrow get_metadata return type with @overload
Kefu Chai [Tue, 5 May 2026 01:35:00 +0000 (09:35 +0800)]
mgr: narrow get_metadata return type with @overload

Enable type narrowing for get_metadata() when a non-None default is
provided. Previously, the return type was always `Optional[Dict[str, str]]`,
forcing callers to use defensive `assert metadata` checks even when
a result was guaranteed.

The wrapper returns either the metadata from `_ceph_get_metadata()` or the
caller-supplied default. Providing an `@overload` allows type checkers to
prove the result is non-None, avoiding invalid assertions for falsy
defaults (like an empty defaultdict).

This is a hygienic change with no runtime impact.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
7 days agoMerge pull request #68084 from tchaikov/osd-odr
Kefu Chai [Tue, 12 May 2026 09:28:13 +0000 (17:28 +0800)]
Merge pull request #68084 from tchaikov/osd-odr

osd: fix ASAN ODR violations in denc-mod-osd

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #66820 from Shubhaj1810/fix-hostname-case-insensitive-v2
Redouane Kachach [Tue, 12 May 2026 09:26:59 +0000 (11:26 +0200)]
Merge pull request #66820 from Shubhaj1810/fix-hostname-case-insensitive-v2

python-common/hostspec: normalize hostnames for case-insensitive matc…

Reviewed-by: John Mulligan <jmulligan@redhat.com>
7 days agoMerge pull request #67707 from Shubhaj1810/fix-upgrade-order-validation
Redouane Kachach [Tue, 12 May 2026 09:23:52 +0000 (11:23 +0200)]
Merge pull request #67707 from Shubhaj1810/fix-upgrade-order-validation

mgr/cephadm: Fix upgrade order validation when using daemon_types with hosts

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ashwin M. Joshi <ashjosh1@in.ibm.com>
7 days agoMerge pull request #66189 from timqn22/mon-public-network-updating
Redouane Kachach [Tue, 12 May 2026 09:20:19 +0000 (11:20 +0200)]
Merge pull request #66189 from timqn22/mon-public-network-updating

mgr/cephadm: mon public network updating

Reviewed-by: Adam King <adking@redhat.com>
7 days agoMerge pull request #68398 from ashjosh1git/ceph-tracker-75603-ok-to-upgrade-bucket...
Redouane Kachach [Tue, 12 May 2026 09:19:01 +0000 (11:19 +0200)]
Merge pull request #68398 from ashjosh1git/ceph-tracker-75603-ok-to-upgrade-bucket-params

mgr: Bucket scoped OSD upgrades using ok-to-upgrade

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
7 days agoMerge pull request #68484 from kginonredhat/issue-75967-ceph-orch-daemon-incorrectly...
Redouane Kachach [Tue, 12 May 2026 09:15:12 +0000 (11:15 +0200)]
Merge pull request #68484 from kginonredhat/issue-75967-ceph-orch-daemon-incorrectly-sets-container_image-to-force

Correct: ceph orch daemon incorrectly setting container image to force

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
7 days agoMerge pull request #68333 from lumir-sliva/crimson/fix-stat-enoent
Matan Breizman [Tue, 12 May 2026 09:01:50 +0000 (12:01 +0300)]
Merge pull request #68333 from lumir-sliva/crimson/fix-stat-enoent

crimson/os/seastore: handle enoent in SeaStore::Shard::stat

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68132 from myoungwon/wip-fastpath-logmanager
Matan Breizman [Tue, 12 May 2026 08:58:50 +0000 (11:58 +0300)]
Merge pull request #68132 from myoungwon/wip-fastpath-logmanager

crimson/os/seastore: make the common write case the fast path in logmanager

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 days agoMerge pull request #68630 from xxhdx1985126/wip-76268
Matan Breizman [Tue, 12 May 2026 08:56:29 +0000 (11:56 +0300)]
Merge pull request #68630 from xxhdx1985126/wip-76268

crimson/os/seastore: destroy Transaction only when no other reference exists

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68839 from tchaikov/crimson-get-segment-manager-cleanups
Matan Breizman [Tue, 12 May 2026 08:55:43 +0000 (11:55 +0300)]
Merge pull request #68839 from tchaikov/crimson-get-segment-manager-cleanups

crimson/os/seastore: SegmentManager::get_segment_manager() cleanups

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68534 from xxhdx1985126/wip-76197
Matan Breizman [Tue, 12 May 2026 08:54:39 +0000 (11:54 +0300)]
Merge pull request #68534 from xxhdx1985126/wip-76197

crimson/os/seastore/cache: conconrrent read of EXIST_CLEAN extents can

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68544 from myoungwon/wip-coroutine-cjs
Matan Breizman [Tue, 12 May 2026 08:54:00 +0000 (11:54 +0300)]
Merge pull request #68544 from myoungwon/wip-coroutine-cjs

crimson/os/seastore/journal: switch CircularJournalSpace to coroutines

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68340 from myoungwon/wip-avoid-continuation-delta-overwrite
Matan Breizman [Tue, 12 May 2026 08:53:23 +0000 (11:53 +0300)]
Merge pull request #68340 from myoungwon/wip-avoid-continuation-delta-overwrite

crimson/os/seastore: remove an extra continuation in delta-overwrite path

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68085 from tchaikov/mgr-python-cleanup
Kefu Chai [Tue, 12 May 2026 08:21:56 +0000 (16:21 +0800)]
Merge pull request #68085 from tchaikov/mgr-python-cleanup

mgr: replace deprecated PyImport_ImportModuleNoBlock with PyImport_ImportModule

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
7 days agoMerge pull request #68806 from rhcs-dashboard/db-sso-oauth2-fixes
Afreen Misbah [Tue, 12 May 2026 06:36:23 +0000 (12:06 +0530)]
Merge pull request #68806 from rhcs-dashboard/db-sso-oauth2-fixes

mgr/dashboard: add oauth2 sso prerequisites and fixes missing claims and expired token

Reviewed-by: Afreen Misbah <afreen@ibm.com>
7 days agocrimson: consolidate the return paths of get_segment_manager() 68839/head
Kefu Chai [Mon, 11 May 2026 05:46:25 +0000 (13:46 +0800)]
crimson: consolidate the return paths of get_segment_manager()

before this change, two branches both return `BlockSegmentManager`,
which is redundant. in this change, consolidate them so that the
`HAVE_ZNS` path becomes an early return. this improves readability.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
7 days agocrimson: abort on ioctl(BLKGETNRZONES) failure
Kefu Chai [Mon, 11 May 2026 05:27:42 +0000 (13:27 +0800)]
crimson: abort on ioctl(BLKGETNRZONES) failure

previously, we did not check the return value of ioctl(BLKGETNRZONES).

we query the number of zones of the storage device to determine which
seastore backend to use. the only possible error from this ioctl is
-EFAULT (invalid user pointer), which indicates a programming error
and should never happen in practice. use ceph_assert() to catch this.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
7 days agocrimson: use uint32_t when calling ioctl(BLKGETNRZONES)
Kefu Chai [Mon, 11 May 2026 05:07:25 +0000 (13:07 +0800)]
crimson: use uint32_t when calling ioctl(BLKGETNRZONES)

before this change, we pass a pointer to a `size_t` to
ioctl(BLKGETNRZONES), but in the Linux kernel,
include/uapi/linux/blkzoned.h:

```c
 #define BLKGETNRZONES _IOR(0x12, 133, __u32)
```
this API reads 32 bits of data into the pointer. on 64-bit
architectures, size_t is 64 bits. fortunately, we initialize
nr_zones with 0, so the upper 32 bits remain zero. this works
on little-endian systems, but not on big-endian systems. it is
also semantically wrong. we should pass a pointer to a 32-bit
value when calling ioctl(BLKGETNRZONES).

in this change, we change the type of nr_zones from size_t to
uint32_t to match what the Linux kernel expects.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
7 days agocrimson: coroutinize SegmentManager::get_segment_manager()
Kefu Chai [Mon, 11 May 2026 04:43:47 +0000 (12:43 +0800)]
crimson: coroutinize SegmentManager::get_segment_manager()

this change was inspired by following warning:

```
[1/3] Building CXX object src/crimson/os/seastore/CMakeFiles/crimson-seastore.dir/segment_manager.cc.o
/home/kefu/dev/ceph/src/crimson/os/seastore/segment_manager.cc:45:15: warning: lambda capture 'FNAME' is not used [-Wunused-lambda-capture]
   45 |       ).then([FNAME,
      |               ^
```

but we went further by coroutinize the whole method. because the return
value of ioctl() is not checked before this change, and clang correctly
flagged this with a warning, we marker it with `[[maybe_unused]]`, we
will fix it in a separate change.

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

8 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>
8 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>
8 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>
8 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>
8 days agomgr: add prerequisites check before enabling dashboard oauth2 sso 68806/head
Pedro Gonzalez Gomez [Thu, 7 May 2026 19:36:32 +0000 (21:36 +0200)]
mgr: add prerequisites check before enabling dashboard oauth2 sso

Assisted-by: Claude:claude-4.6-sonnet
Fixes: https://tracker.ceph.com/issues/76476
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
8 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 agomgr/dashboard: fix missing claims on oauth2 sso
Pedro Gonzalez Gomez [Thu, 7 May 2026 19:55:15 +0000 (21:55 +0200)]
mgr/dashboard: fix missing claims on oauth2 sso

Fixes: https://tracker.ceph.com/issues/76479
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
8 days agomgr/dashboard: raise exception on oauth2 sso expired token
Pedro Gonzalez Gomez [Thu, 7 May 2026 19:44:30 +0000 (21:44 +0200)]
mgr/dashboard: raise exception on oauth2 sso expired token

Fixes: https://tracker.ceph.com/issues/76478
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
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

9 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>
11 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>
11 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>
11 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

11 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 agomgr: Accept only osd daemon type for bucket params to adhere to upgrade sequence 68398/head
Ashwin M. Joshi [Fri, 8 May 2026 07:05:53 +0000 (12:35 +0530)]
mgr: Accept only osd daemon type for bucket params to adhere to upgrade sequence

Fixes: https://tracker.ceph.com/issues/75603
Signed-off-by: Ashwin M. Joshi <ashjosh1@in.ibm.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>
12 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>
12 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>
12 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>
12 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>
13 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

13 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>
13 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>
13 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>
13 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

13 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>
13 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>
13 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>
13 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>
13 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>
13 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>