]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 days agomgr/cephadm: bump Python version path mapped in kcli dev env 69808/head
Redouane Kachach [Mon, 29 Jun 2026 12:20:22 +0000 (14:20 +0200)]
mgr/cephadm: bump Python version path mapped in kcli dev env

Bump Python version path mapped in kcli dev env from 3.9 to 3.12

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
10 days agoMerge pull request #69794 from tchaikov/wip-crimson-test-thrash-teardown
Kefu Chai [Mon, 29 Jun 2026 08:32:57 +0000 (16:32 +0800)]
Merge pull request #69794 from tchaikov/wip-crimson-test-thrash-teardown

crimson/test: stop the messenger-thrash config on every exit path

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 days agoMerge pull request #69755 from tchaikov/wip-mgr-remote-pyunicode-leak
Kefu Chai [Mon, 29 Jun 2026 08:29:57 +0000 (16:29 +0800)]
Merge pull request #69755 from tchaikov/wip-mgr-remote-pyunicode-leak

mgr: fix PyObject leak in the remote() pickle calls

Reviewed-by: Matthew N. Heler <matthew.heler@hotmail.com>
10 days agoMerge pull request #69413 from rhcs-dashboard/fix-3958-autofetch
Nizamudeen A [Mon, 29 Jun 2026 08:22:34 +0000 (13:52 +0530)]
Merge pull request #69413 from rhcs-dashboard/fix-3958-autofetch

mgr/dashboard: Add auto-fetch listeners option in subsystem page

Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
Reviewed-by: Naman Munet <nmunet@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
10 days agoMerge pull request #69550 from rhcs-dashboard/fix-5059
Nizamudeen A [Mon, 29 Jun 2026 08:07:10 +0000 (13:37 +0530)]
Merge pull request #69550 from rhcs-dashboard/fix-5059

mgr/dashboard: "Any" initiator entry appears in the Initiator table after selecting "All Hosts Allowed" during subsystem creation

Reviewed-by: Naman Munet <nmunet@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
10 days agoMerge pull request #69424 from rhcs-dashboard/fix-4075
Nizamudeen A [Mon, 29 Jun 2026 08:06:27 +0000 (13:36 +0530)]
Merge pull request #69424 from rhcs-dashboard/fix-4075

mgr/dashboard: NVME- Remove block pool from create gateway page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
10 days agoMerge pull request #69675 from NitzanMordhai/wip-nitzan-config-trim-key-trail-lead...
NitzanMordhai [Mon, 29 Jun 2026 08:02:24 +0000 (11:02 +0300)]
Merge pull request #69675 from NitzanMordhai/wip-nitzan-config-trim-key-trail-lead-spaces

mon/config: trim whitespace in config target

10 days agocrimson/test: stop the messenger-thrash config on every exit path 69794/head
Kefu Chai [Mon, 29 Jun 2026 01:19:02 +0000 (09:19 +0800)]
crimson/test: stop the messenger-thrash config on every exit path

test_messenger_thrash put sharded_conf().stop() in the success
continuation, so an exception from the tests skipped it and left the
static sharded<ConfigProxy> holding live instances. its destructor then
asserts. a tester hit this when the run went OOM at --memory 256M:

  ERROR [shard 0:main] test - Test failed: got exception
    ceph::buffer::v15_2_0::bad_alloc (Bad allocation [buffer:1])
  /ceph/src/seastar/include/seastar/core/sharded.hh:573:
    seastar::sharded<Service>::~sharded()
    [with Service = crimson::common::ConfigProxy]:
    Assertion `_instances.empty()' failed.
  terminate called without an active exception

run the body in seastar::async and stop the config through
seastar::deferred_stop, as crimson/osd/main.cc already does. the guard
is constructed only after start() succeeds, and its destructor stops the
config on any exit path, so a failing test exits cleanly instead of
aborting.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
11 days agoMerge pull request #69617 from xxhdx1985126/wip-77549
Xuehan Xu [Sun, 28 Jun 2026 06:33:03 +0000 (14:33 +0800)]
Merge pull request #69617 from xxhdx1985126/wip-77549

crimson/os/seastore/random_block_manager/avlallocator: avoid directly modifying avl_set elements

Reviewed-by: Myoungwon Oh <ohmyoungwon@gmail.com>
11 days agoMerge pull request #69456 from NitzanMordhai/wip-nitzan-mgr-signals-standby-handle
NitzanMordhai [Sun, 28 Jun 2026 06:12:01 +0000 (09:12 +0300)]
Merge pull request #69456 from NitzanMordhai/wip-nitzan-mgr-signals-standby-handle

mgr: handle SIGTERM/SIGINT in standby mgr to avoid CEPHADM_FAILED_DAEMON

11 days agoMerge pull request #69618 from tchaikov/wip-mgr-exclude-tests-ci
Kefu Chai [Sat, 27 Jun 2026 23:04:48 +0000 (07:04 +0800)]
Merge pull request #69618 from tchaikov/wip-mgr-exclude-tests-ci

cmake,deb,rpm: exclude CI and test directories from installed modules

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 days agoMerge pull request #69453 from tchaikov/wip-dashboard-fix-e2e
Kefu Chai [Sat, 27 Jun 2026 22:32:09 +0000 (06:32 +0800)]
Merge pull request #69453 from tchaikov/wip-dashboard-fix-e2e

mgr/dashboard: fix "welcome" page reference in add-host e2e feature

Reviewed-by: Afreen Misbah <afreen@ibm.com>
12 days agoMerge pull request #68836 from nh2/balancer-docs-average
Kefu Chai [Sat, 27 Jun 2026 13:24:38 +0000 (21:24 +0800)]
Merge pull request #68836 from nh2/balancer-docs-average

docs: balancer: Explain PG shard count based balancing in more detail

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
12 days agodocs: balancer: Explain limitations of PG shard count balancing 68836/head
Niklas Hambüchen [Sun, 10 May 2026 03:35:52 +0000 (03:35 +0000)]
docs: balancer: Explain limitations of PG shard count balancing

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
12 days agodocs: balancer: Elaborate what "average" means.
Niklas Hambüchen [Sun, 10 May 2026 03:04:13 +0000 (03:04 +0000)]
docs: balancer: Elaborate what "average" means.

The wording "average" so far suggested a simple mean count, which it isn't.

It is important to document this, so that the user can follow
why the balancer is active or not.

Source for the logic (deviation computation and threshold check)
in `src/osd/OSDMap.cc`:

`calc_deviations()` - computes per-OSD deviation:

    float target = osd_weight.at(oid) * pgs_per_weight;
    float deviation = (float)opgs.size() - target;

Where `pgs_per_weight` is computed in `calc_pg_upmaps()`:

    float pgs_per_weight = total_pgs / osd_weight_total;

This also has the early threshold + early return:

    if (cur_max_deviation <= max_deviation) {
        ldout(cct, 10) << __func__ << " distribution is almost perfect" << dendl;
        return 0;
    }

`fill_overfull_underfull()` classifies OSDs using `max_deviation`:

    if (odev > max_deviation) {
        overfull.insert(oid);        // deviation > +5 -> source candidate
    }
    if (odev < -(int)max_deviation) {
        underfull.push_back(oid);    // deviation < -5 -> target candidate
    }

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
12 days agoMerge pull request #69568 from xxhdx1985126/wip-77485
Xuehan Xu [Sat, 27 Jun 2026 07:44:20 +0000 (15:44 +0800)]
Merge pull request #69568 from xxhdx1985126/wip-77485

crimson/os/seastore/transaction_manager: refresh `indirect_cursor` after the `direct_cursor` is removed in `TM::_remove()`

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 days agoMerge pull request #68792 from MaxKellermann/nvmeof__missing_includes
Kefu Chai [Sat, 27 Jun 2026 06:13:23 +0000 (14:13 +0800)]
Merge pull request #68792 from MaxKellermann/nvmeof__missing_includes

nvmeof: add missing includes

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
12 days agoMerge pull request #69528 from mheler/wip-bug-77278
mheler [Sat, 27 Jun 2026 05:50:33 +0000 (00:50 -0500)]
Merge pull request #69528 from mheler/wip-bug-77278

rgw/lc: warn against changing rgw_lc_max_objs once lifecycle is in use

12 days agoMerge pull request #69699 from avanthakkar/fix-mgr-recoverdb
Kefu Chai [Sat, 27 Jun 2026 00:44:47 +0000 (08:44 +0800)]
Merge pull request #69699 from avanthakkar/fix-mgr-recoverdb

mgr: fix MgrModuleRecoverDB to honor its retry budget on db cleanup failure

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
12 days agoMerge pull request #67255 from Vivek-tgmc/wip-71716-setting_nodown_flag_reporting_iss...
SrinivasaBharathKanta [Fri, 26 Jun 2026 23:35:28 +0000 (05:05 +0530)]
Merge pull request #67255 from Vivek-tgmc/wip-71716-setting_nodown_flag_reporting_issue_in_ceph_status_and_health

osd: Rephrase unclear OSD_FLAGS warning message

12 days agoMerge pull request #69745 from sunyuechi/wip-fio-riscv-upstream
Kefu Chai [Fri, 26 Jun 2026 22:33:09 +0000 (06:33 +0800)]
Merge pull request #69745 from sunyuechi/wip-fio-riscv-upstream

cmake: upgrade to upstream fio

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
13 days agoMerge pull request #69663 from aainscow/wip-truncate-write-io-sequence
Laura Flores [Fri, 26 Jun 2026 22:02:33 +0000 (17:02 -0500)]
Merge pull request #69663 from aainscow/wip-truncate-write-io-sequence

osd/ECTransaction: fix truncate+write planning for EC shard sizes

Reviewed-by: Radoslaw Zarzynski <Radoslaw.Adam.Zarzynski@ibm.com>
13 days agoMerge pull request #68912 from adamemerson/wip-cls-timeindex-build
Adam Emerson [Fri, 26 Jun 2026 21:52:44 +0000 (17:52 -0400)]
Merge pull request #68912 from adamemerson/wip-cls-timeindex-build

build: Add `cls_timeindex_types` to `cls_timeindex` objclass

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
Reviewed-by: Jesse F. Williamson <jfw@ibm.com>
13 days agomgr/dashboard: "Any" initiator entry appears in the Initiator table after selecting... 69550/head
pujashahu [Wed, 17 Jun 2026 13:07:24 +0000 (18:37 +0530)]
mgr/dashboard: "Any" initiator entry appears in the Initiator table after selecting "All Hosts Allowed" during subsystem creation

Fixes: https://tracker.ceph.com/issues/77467
Signed-off-by: pujaoshahu <pshahu@redhat.com>
13 days agomgr/dashboard: Add auto-fetch listeners option in subsystem page 69413/head
pujashahu [Thu, 11 Jun 2026 10:29:51 +0000 (15:59 +0530)]
mgr/dashboard: Add auto-fetch listeners option in subsystem page

Fixes: https://tracker.ceph.com/issues/77083
Signed-off-by: pujaoshahu <pshahu@redhat.com>
13 days agoMerge pull request #69426 from rhcs-dashboard/fix-77361
Afreen Misbah [Fri, 26 Jun 2026 17:07:32 +0000 (22:37 +0530)]
Merge pull request #69426 from rhcs-dashboard/fix-77361

mgr/dashboard: NVMe-oF – Updated subtitle text on the Create Gateway page

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 days agoMerge pull request #69768 from MaxKellermann/rgw__missing_includes
Casey Bodley [Fri, 26 Jun 2026 16:58:06 +0000 (12:58 -0400)]
Merge pull request #69768 from MaxKellermann/rgw__missing_includes

rgw: add missing include

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 days agoMerge pull request #69769 from idryomov/wip-ptl-tool-multiple-source-prs
Ilya Dryomov [Fri, 26 Jun 2026 14:42:07 +0000 (16:42 +0200)]
Merge pull request #69769 from idryomov/wip-ptl-tool-multiple-source-prs

script/ptl-tool: fix redmine_linkage_correct case in _get_active_issues()

Reviewed-by: John Mulligan <jmulligan@redhat.com>
13 days agoMerge pull request #69660 from tchaikov/wip-cmake-boost-with-asan
Kefu Chai [Fri, 26 Jun 2026 14:00:46 +0000 (22:00 +0800)]
Merge pull request #69660 from tchaikov/wip-cmake-boost-with-asan

cmake/boost: build libboost_context with BOOST_USE_ASAN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 days agoMerge pull request #69103 from Sodani/shsodani_ceph_rgw_new_module
John Mulligan [Fri, 26 Jun 2026 13:40:04 +0000 (09:40 -0400)]
Merge pull request #69103 from Sodani/shsodani_ceph_rgw_new_module

mgr/smb: add RGW-backed SMB share support

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
13 days agoMerge pull request #69598 from aclamk/aclamk-doc-fcm-plugin
Jaya Prakash [Fri, 26 Jun 2026 11:48:40 +0000 (17:18 +0530)]
Merge pull request #69598 from aclamk/aclamk-doc-fcm-plugin

doc/rados/bluestore: ExtBlkDev, FCM plugin

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Jaya Prakash <jayaprakash@ibm.com>
13 days agoMerge pull request #69605 from sunyuechi/wip-readable-sliding-window
Kefu Chai [Fri, 26 Jun 2026 11:26:10 +0000 (19:26 +0800)]
Merge pull request #69605 from sunyuechi/wip-readable-sliding-window

test/encoding: run readable.sh with a sliding window of jobs

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
13 days agoscript/ptl-tool: fix redmine_linkage_correct case in _get_active_issues() 69769/head
Ilya Dryomov [Fri, 26 Jun 2026 10:56:27 +0000 (12:56 +0200)]
script/ptl-tool: fix redmine_linkage_correct case in _get_active_issues()

If redmine_linkage_correct is True, _get_active_issues() is supposed to
ignore issues with "Multiple Source PRs" category.  However that doesn't
happen because the category string is compared against (category, text)
pair.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
13 days agorgw: add missing include 69768/head
Max Kellermann [Thu, 25 Jun 2026 19:34:27 +0000 (21:34 +0200)]
rgw: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
13 days agomgr/dashboard: NVME- Remove block pool from create gateway page 69424/head
pujashahu [Thu, 11 Jun 2026 18:05:20 +0000 (23:35 +0530)]
mgr/dashboard: NVME- Remove block pool from create gateway page

Adds unit test for creating gateway service with encryption when enabled.

Fixes: https://tracker.ceph.com/issues/77359
Signed-off-by: pujashahu <pshahu@redhat.com>
13 days agomgr/dashboard: NVMe-oF – Updated subtitle text on the Create Gateway page 69426/head
pujashahu [Thu, 11 Jun 2026 18:49:40 +0000 (00:19 +0530)]
mgr/dashboard: NVMe-oF – Updated subtitle text on the Create Gateway page

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

Signed-off-by: pujaoshahu <pshahu@redhat.com>
13 days agoMerge pull request #69008 from MaxKellermann/tools__missing_includes
Ilya Dryomov [Fri, 26 Jun 2026 08:04:15 +0000 (10:04 +0200)]
Merge pull request #69008 from MaxKellermann/tools__missing_includes

tools: add missing includes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 days agoMerge pull request #69736 from gbregman/main
Gil Bregman [Fri, 26 Jun 2026 07:18:04 +0000 (10:18 +0300)]
Merge pull request #69736 from gbregman/main

nvmeof: Change the NVMEOF image version to 1.9

13 days agocmake: build fio from upstream 3.42 69745/head
Sun Yuechi [Thu, 25 Jun 2026 11:50:36 +0000 (19:50 +0800)]
cmake: build fio from upstream 3.42

fio-3.42 is the latest stable release. We switched to the ceph/fio fork in
10baab3fc8293b8c30ca90a4acd76f70d011f1b5 to pick up a clang build fix; that
fix has since landed upstream, so switch back. This also gives riscv64
proper arch support (arch-riscv64.h, added in fio-3.36), which the fork's
fio-3.27-cxx lacks.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
13 days agoMerge pull request #69510 from tchaikov/wip-cryptotools-sans-pyopenssl
Kefu Chai [Fri, 26 Jun 2026 06:29:38 +0000 (14:29 +0800)]
Merge pull request #69510 from tchaikov/wip-cryptotools-sans-pyopenssl

python-common/cryptotools: reimplement on top of cryptography

Reviewed-by: John Mulligan <jmulligan@redhat.com>
13 days agomgr: fix PyObject leak in the remote() pickle calls 69755/head
Kefu Chai [Fri, 26 Jun 2026 00:44:35 +0000 (08:44 +0800)]
mgr: fix PyObject leak in the remote() pickle calls

dispatch_remote() and ceph_dispatch_remote() invoke pickle.loads/dumps via
PyObject_CallMethodObjArgs(pmodule, PyUnicode_FromString("loads"), ...). The
method-name string created by PyUnicode_FromString is a new reference that
CallMethodObjArgs does not steal, and it was never released, so every cross
-module remote() call leaked three PyUnicode objects on the active mgr.

Use PyObject_CallMethod(pmodule, "loads", "(O)", arg), which takes the method
name as a C string and manages it internally, so there is nothing to leak.
The "(O)" format wraps the argument in a one-tuple so it reaches the callee as
a single object. A bare "O" passes the argument through directly, and when it
is a tuple (as remote()'s *args always is, including the empty tuple from a
no-argument call) PyObject_CallMethod unpacks it and calls dumps() with the
wrong arguments, e.g. dumps() with none.

Fixes: https://tracker.ceph.com/issues/77724
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agotools: add missing includes 69008/head
Max Kellermann [Tue, 14 Apr 2026 16:13:59 +0000 (18:13 +0200)]
tools: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2 weeks agoMerge pull request #69620 from tchaikov/wip-rbd-fix-uaf
Ilya Dryomov [Thu, 25 Jun 2026 18:08:52 +0000 (20:08 +0200)]
Merge pull request #69620 from tchaikov/wip-rbd-fix-uaf

librbd: fix use-after-free releasing object map locks in deep copy

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 weeks agoMerge pull request #69140 from MaxKellermann/CompatSet_optimizations
Yuri Weinstein [Thu, 25 Jun 2026 17:24:00 +0000 (10:24 -0700)]
Merge pull request #69140 from MaxKellermann/CompatSet_optimizations

CompatSet optimizations

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 weeks agoMerge pull request #68738 from aainscow/dout-hacks
Yuri Weinstein [Thu, 25 Jun 2026 17:23:20 +0000 (10:23 -0700)]
Merge pull request #68738 from aainscow/dout-hacks

test/osd: Improve test logging with OSD identification

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
2 weeks agomgr/smb: add RGW credentials resource and store in priv_stor 69103/head
Avan Thakkar [Thu, 11 Jun 2026 09:55:33 +0000 (15:25 +0530)]
mgr/smb: add RGW credentials resource and store in priv_stor

Refactored RGW credential management to use dedicated RGWCredential
resources instead of embedding credentials directly in Share resources.
This will help to reuse the same credential across multiple shares using
same user.

RGW credentials must not appear in the public RADOS store, which any
client with pool caps can read. Instead, write a config:merge stub
containing only the credential fields to the private mon config-key
store, and pass its URI to the container alongside the primary config
URI via extra_config_uris.

- Public config: ceph_rgw:access_key / secret_access_key are empty strings
- Private stub: stored under smb/config/<cluster_id>/config.smb.rgw,
  contains only the real credential values via config:merge
- extra_config_uris: new Config field carrying supplementary URIs
  appended to SAMBACC_CONFIG after the primary config_uri

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agodoc/mgr/smb: document new options for smb share create rgw
Shweta Sodani [Wed, 27 May 2026 08:02:27 +0000 (13:32 +0530)]
doc/mgr/smb: document new options for smb share create rgw

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agomgr/smb: Add test coverage for RGW share functionality
Shweta Sodani [Tue, 26 May 2026 14:27:42 +0000 (19:57 +0530)]
mgr/smb: Add test coverage for RGW share functionality

Add test cases for RGW-backed SMB shares

Key changes:
- RGWStorage creation, validation, and serialization
- Edge cases: None values, mutual exclusion

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2 weeks agomgr/smb: Update handler to process RGW shares, added validation and error handling
Shweta Sodani [Mon, 20 Apr 2026 09:17:35 +0000 (14:47 +0530)]
mgr/smb: Update handler to process RGW shares, added validation and error handling

- Add _generate_rgw_share() function for RGW share configuration
- Skip CephFS authorization for RGW shares in cluster assembly
- Configure Samba VFS with RGW-specific parameters:
  - rgw_bucket, rgw_user_id, rgw_access_key, rgw_secret_key
- Validate bucket accessibility using radosgw-admin
- Ensure proper error handling in share creation flow

This enables the handler to generate proper Samba configuration for
RGW-backed shares along with validation and error handling.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agomgr/smb: Add CLI command for RGW share creation
Shweta Sodani [Mon, 20 Apr 2026 09:14:01 +0000 (14:44 +0530)]
mgr/smb: Add CLI command for RGW share creation

- Add 'smb share create rgw' CLI command
- Import rgw module for credential management
- Fetch RGW credentials using radosgw-admin
- Create Share resource with RGWStorage backend
- Handle errors from credential fetching

This enables users to create SMB shares backed by RGW buckets,
similar to 'nfs export create rgw' functionality.

Example usage:
  ceph smb share create rgw mysmb share1 mybucket

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agomgr/smb: Add RGW credential management utilities
Shweta Sodani [Mon, 20 Apr 2026 09:07:54 +0000 (14:37 +0530)]
mgr/smb: Add RGW credential management utilities

- Add rgw.py module for RGW integration
- Implement fetch_rgw_credentials() to get user credentials from radosgw-admin
- Implement validate_rgw_bucket() to check bucket existence
- Handle bucket owner lookup when user_id not provided
- Add proper error handling and logging

This provides the foundation for RGW authentication in SMB shares,
similar to the NFS RGW export implementation.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agomgr/smb: Add RGWStorage resource class and update Share to support RGW
Shweta Sodani [Mon, 20 Apr 2026 09:03:15 +0000 (14:33 +0530)]
mgr/smb: Add RGWStorage resource class and update Share to support RGW

- Add RGWStorage component class for RGW bucket storage backend
- Include fields: bucket, user_id, access_key_id, secret_access_key
- Add password conversion support for credentials
- Update Share class to accept optional rgw field and added convert
  defination
- Update Share validation to support both cephfs and rgw backends
- Ensure exactly one storage backend (cephfs or rgw) is specified

This is the first step in implementing RGW storage support for SMB
shares, similar to the existing NFS RGW export functionality.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2 weeks agoMerge pull request #57167 from mkogan1/wip-rgw-thread-pool-size
Adam Emerson [Thu, 25 Jun 2026 16:08:16 +0000 (12:08 -0400)]
Merge pull request #57167 from mkogan1/wip-rgw-thread-pool-size

rgw: reduce default thread pool size

Reviewed-by: Mark Nelson <mark.a.nelson@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 weeks agoMerge pull request #69314 from smanjara/wip-76725-test
Casey Bodley [Thu, 25 Jun 2026 14:51:28 +0000 (10:51 -0400)]
Merge pull request #69314 from smanjara/wip-76725-test

common/async: wake async_cond waiters on their associated executor

Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 weeks agonvmeof: Change the NVMEOF image version to 1.9 69736/head
Gil Bregman [Thu, 25 Jun 2026 14:33:21 +0000 (17:33 +0300)]
nvmeof: Change the NVMEOF image version to 1.9
Fixes: https://tracker.ceph.com/issues/77709
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 weeks agoMerge pull request #68675 from smanjara/wip-archive-bucket-timestamp
J. Eric Ivancich [Thu, 25 Jun 2026 14:27:29 +0000 (10:27 -0400)]
Merge pull request #68675 from smanjara/wip-archive-bucket-timestamp

rgw/multisite: record the bucket creation time at archive zone

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 weeks agoMerge pull request #69084 from linuxbox2/wip-76790
J. Eric Ivancich [Thu, 25 Jun 2026 14:09:27 +0000 (10:09 -0400)]
Merge pull request #69084 from linuxbox2/wip-76790

rgwlc: fix a likely null dereference in LCObjsLister::get_obj()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 weeks agoMerge pull request #69449 from sunyuechi/wip-protobuf-config-mode
Kefu Chai [Thu, 25 Jun 2026 11:05:47 +0000 (19:05 +0800)]
Merge pull request #69449 from sunyuechi/wip-protobuf-config-mode

cmake: find Protobuf via cmake config before module mode

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #68500 from abitdrag/wip-non-prim-demote-img-snap-removal
Ilya Dryomov [Thu, 25 Jun 2026 10:33:51 +0000 (12:33 +0200)]
Merge pull request #68500 from abitdrag/wip-non-prim-demote-img-snap-removal

rbd-mirror: Remove old non-primary demoted image snapshots on the local cluster

Reviewed-by: VinayBhaskar-V <vvarada@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 weeks agoMerge pull request #69658 from sunyuechi/test_encoding
Kefu Chai [Thu, 25 Jun 2026 08:46:19 +0000 (16:46 +0800)]
Merge pull request #69658 from sunyuechi/test_encoding

test/encoding: disable LeakSanitizer in readable.sh and check-generated.sh

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #69674 from sunyuechi/wip-bufferlist-asan
Kefu Chai [Thu, 25 Jun 2026 08:11:11 +0000 (16:11 +0800)]
Merge pull request #69674 from sunyuechi/wip-bufferlist-asan

test/bufferlist: fix BenchDeref overrun and shrink benchmarks under ASan

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #69279 from xxhdx1985126/wip-seastore-pessimistic-cc-mutation...
Xuehan Xu [Thu, 25 Jun 2026 07:31:28 +0000 (15:31 +0800)]
Merge pull request #69279 from xxhdx1985126/wip-seastore-pessimistic-cc-mutation-pending-crc-fix

crimson/os/seastore/cached_extent: renew mutation_pending extents' last_committed_crc when committing rewrite transactions

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agoMerge pull request #69431 from xxhdx1985126/wip-seastore-fix-update_copied_lba_keys
Xuehan Xu [Thu, 25 Jun 2026 07:30:30 +0000 (15:30 +0800)]
Merge pull request #69431 from xxhdx1985126/wip-seastore-fix-update_copied_lba_keys

crimson/os/seastore/transaction: clear copied_lba_keys on reset

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 weeks agoMerge pull request #69447 from xxhdx1985126/wip-seastore-update-sync-fix
Xuehan Xu [Thu, 25 Jun 2026 07:29:57 +0000 (15:29 +0800)]
Merge pull request #69447 from xxhdx1985126/wip-seastore-update-sync-fix

crimson/os/seastore/lba: don't update the lba mapping if its child is an initial pending one.

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 weeks agomon/config: trim whitespace in config target 69675/head
Nitzan Mordechai [Tue, 23 Jun 2026 10:23:54 +0000 (10:23 +0000)]
mon/config: trim whitespace in config target

When set\get\rm config values with leading or trailing spaces,
those spaces need to be removed before we are trying to get\set\rm
those keys.
add trim code before each approch and also for exist keys in config.

Fixes: https://tracker.ceph.com/issues/77598
Signed-off-by: Nitzan Mordechai <nmordech@ibm.com>
2 weeks agoMerge pull request #69691 from guits/fix-staggered-upgrade
Guillaume Abrioux [Thu, 25 Jun 2026 06:37:46 +0000 (08:37 +0200)]
Merge pull request #69691 from guits/fix-staggered-upgrade

cephadm: fix staggered upgrade

2 weeks agoMerge pull request #69687 from tchaikov/wip-cpatch-esc-seq
Kefu Chai [Thu, 25 Jun 2026 06:37:33 +0000 (14:37 +0800)]
Merge pull request #69687 from tchaikov/wip-cpatch-esc-seq

script: fix invalid escape sequences

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #69451 from ronen-fr/wip-rf-getxa
Ronen Friedman [Thu, 25 Jun 2026 05:00:41 +0000 (08:00 +0300)]
Merge pull request #69451 from ronen-fr/wip-rf-getxa

crimson/osd: return ENOENT from EC getxattr for non-existent objects

Reviewed-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
2 weeks agorbd-mirror: Remove old non-primary demoted image snapshots on the local cluster 68500/head
Miki Patel [Tue, 21 Apr 2026 11:53:29 +0000 (17:23 +0530)]
rbd-mirror: Remove old non-primary demoted image snapshots on the local cluster

When an image is demoted on primary cluster and later promoted again,
a non-primary demoted image snapshot is created on the peer (secondary)
cluster. Each such promote/demote cycle on same cluster results in an
additional non-primary demoted snapshot being created on peer.
As a result, repeated promote/demote cycles on the same cluster can
lead to accumulation of stale non-primary demoted snapshots on the
secondary cluster. These snapshots are not removed immediately because
cleanup is only triggered when peer (secondary) is promoted and then
demoted.

The proposed changes ensures that such snapshots are proactively identified
and removed, preventing unbounded buildup. Also added test coverage to
verify cleanup behavior.

Fixes: https://tracker.ceph.com/issues/76155
Signed-off-by: Miki Patel <miki.patel132@gmail.com>
2 weeks agodoc/rados/bluestore: ExtBlkDev, FCM plugin 69598/head
Adam Kupczyk [Fri, 19 Jun 2026 13:02:16 +0000 (15:02 +0200)]
doc/rados/bluestore: ExtBlkDev, FCM plugin

Add new page about 2 topics:
- EXTBLKDEV
- FCM plugin

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2 weeks agocrimson/osd: return ENOENT from EC getxattr for non-existent objects 69451/head
Ronen Friedman [Thu, 11 Jun 2026 12:32:34 +0000 (12:32 +0000)]
crimson/osd: return ENOENT from EC getxattr for non-existent objects

PGBackend::getxattr() for EC pools reads from the attr_cache and
returns ENODATA when an attr is not found, without distinguishing
between "object exists but attr not set" and "object doesn't exist".
This causes cls methods like cls_refcount_get() to proceed as if the
object exists, enter the EC RMW pipeline, and hang.

Add an os.exists check in the EC path so non-existent objects return
ENOENT, matching the behavior of the replicated path which goes to
the object store and gets ENOENT directly.

Fixes: https://tracker.ceph.com/issues/77335
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 weeks agoMerge pull request #69462 from sunyuechi/wip-sy-run-make-sccache-stats
Zack Cerza [Wed, 24 Jun 2026 15:46:19 +0000 (09:46 -0600)]
Merge pull request #69462 from sunyuechi/wip-sy-run-make-sccache-stats

build/script: print sccache stats alongside ccache

2 weeks agoMerge pull request #69574 from rhcs-dashboard/dash-binding
Afreen Misbah [Wed, 24 Jun 2026 15:43:56 +0000 (21:13 +0530)]
Merge pull request #69574 from rhcs-dashboard/dash-binding

mgr/dashboard: fix bind address regression from CherryPy isolation

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 weeks agoMerge pull request #69390 from rhcs-dashboard/fix-feedback-module
Afreen Misbah [Wed, 24 Jun 2026 15:34:45 +0000 (21:04 +0530)]
Merge pull request #69390 from rhcs-dashboard/fix-feedback-module

mgr/dashoard : Fix feedback module enablement

Reviewed-by: Naman Munet <nmunet@redhat.com>
2 weeks agoMerge pull request #69298 from rhcs-dashboard/fix-77129-main
Aashish Sharma [Wed, 24 Jun 2026 15:25:47 +0000 (20:55 +0530)]
Merge pull request #69298 from rhcs-dashboard/fix-77129-main

mgr/dashboard: Fix username validation for special characters by URL-encoding user lookup requests

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 weeks agoMerge pull request #69497 from kamoltat/wip-ksirivad-DFBUGS-7044
Kamoltat (Junior) Sirivadhna [Wed, 24 Jun 2026 15:02:15 +0000 (11:02 -0400)]
Merge pull request #69497 from kamoltat/wip-ksirivad-DFBUGS-7044

mon: fix ConnectionTracker::notify_rank_removed
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #65724 from adamemerson/wip-include-s3tests
Casey Bodley [Wed, 24 Jun 2026 14:12:54 +0000 (10:12 -0400)]
Merge pull request #65724 from adamemerson/wip-include-s3tests

Include s3-tests in ceph repo

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 weeks agoMerge pull request #69438 from kginonredhat/issue-77374-orchestrator_cli-test_mds_rm...
Redouane Kachach [Wed, 24 Jun 2026 13:43:58 +0000 (15:43 +0200)]
Merge pull request #69438 from kginonredhat/issue-77374-orchestrator_cli-test_mds_rm-fails-missingforce-_delete_data-kwarg

mgr/test_orchestrator: accept force_delete_data in remove_daemons

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2 weeks agoMerge pull request #69477 from guits/node-proxy-atollon
Guillaume Abrioux [Wed, 24 Jun 2026 12:58:59 +0000 (14:58 +0200)]
Merge pull request #69477 from guits/node-proxy-atollon

node-proxy: atollon hardware monitoring (FCM stats, temperatures, fan speed..)

2 weeks agomgr: fix MgrModuleRecoverDB to honor its retry budget on db cleanup failure 69699/head
Avan Thakkar [Wed, 24 Jun 2026 11:15:51 +0000 (16:45 +0530)]
mgr: fix MgrModuleRecoverDB to honor its retry budget on db cleanup failure

Both close_db() and open_db() during retry were unguarded, so a failure
in either escaped the decorator immediately instead of retrying up to
MAX_DBCLEANUP_RETRIES.

Wrapped both in the same try/except, and logged the
failed attempt.

Fixes: https://tracker.ceph.com/issues/77635
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2 weeks agotest/encoding: run readable.sh with a sliding window of jobs 69605/head
Sun Yuechi [Sun, 14 Jun 2026 12:43:50 +0000 (20:43 +0800)]
test/encoding: run readable.sh with a sliding window of jobs

The old scheduler spawned nproc jobs, then waited for the whole batch to
finish before starting the next, so cores that finished early sat idle
waiting on the slowest type in the batch. Keep a sliding window instead:
once the window is full, reap a single finished job before spawning the
next, which keeps the cores busy when per-type runtimes vary widely.

While here, pass vdir/arversion into test_object explicitly instead of
reading the loop globals, and give each job its own result file instead
of reusing slot-numbered files that the sliding window would otherwise
hand out to overlapping jobs.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2 weeks agoMerge pull request #69569 from guits/fix-77486
Guillaume Abrioux [Wed, 24 Jun 2026 11:43:44 +0000 (13:43 +0200)]
Merge pull request #69569 from guits/fix-77486

ceph-volume: skip internal raid mirror LVs in inventory

2 weeks agorgw: reduce default thread pool size 57167/head
Mark Kogan [Tue, 30 Apr 2024 14:22:29 +0000 (17:22 +0300)]
rgw: reduce default thread pool size

Fixes: https://tracker.ceph.com/issues/65656
Signed-off-by: Mark Kogan <mkogan@redhat.com>
2 weeks agocrimson/os/seastore/lba: non-existing LBACursors are strictly forbidden 69568/head
Xuehan Xu [Mon, 22 Jun 2026 12:47:39 +0000 (20:47 +0800)]
crimson/os/seastore/lba: non-existing LBACursors are strictly forbidden
to refresh

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 weeks agoMerge pull request #69526 from rzarzynski/wip-bug-77417
Radoslaw Zarzynski [Wed, 24 Jun 2026 07:41:29 +0000 (09:41 +0200)]
Merge pull request #69526 from rzarzynski/wip-bug-77417

tests/neorados: fix ceph_test_neorados_completions being not installed

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
Reviewed-by: Adarsha Dinda <adarshadinda@Adarshas-MacBook-Pro.local>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agomgr/dashboard : Fix feedback module enablement 69390/head
Abhishek Desai [Wed, 10 Jun 2026 10:43:16 +0000 (16:13 +0530)]
mgr/dashboard : Fix feedback module enablement
fixes : https://tracker.ceph.com/issues/75734
Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
2 weeks agocrimson/os/seastore/random_block_manager/avlallocator: avoid directly modifying avl_s... 69617/head
Xuehan Xu [Sun, 21 Jun 2026 11:59:46 +0000 (19:59 +0800)]
crimson/os/seastore/random_block_manager/avlallocator: avoid directly modifying avl_set elements

Fixes: https://tracker.ceph.com/issues/77549
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 weeks agoMerge pull request #69517 from sunyuechi/fix-ctest-resource-online-cpus
Kefu Chai [Wed, 24 Jun 2026 06:10:32 +0000 (14:10 +0800)]
Merge pull request #69517 from sunyuechi/fix-ctest-resource-online-cpus

run-make-check.sh: build ctest cpu resource pool from sched_getaffinity

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #69157 from sunyuechi/wip-mds-quiesce-test-evaluate-await-idle
Kefu Chai [Wed, 24 Jun 2026 06:01:41 +0000 (14:01 +0800)]
Merge pull request #69157 from sunyuechi/wip-mds-quiesce-test-evaluate-await-idle

test/mds: don't drop await_idle_v under NDEBUG

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2 weeks agoMerge pull request #69162 from sunyuechi/wip-cephadm-tests-mock-find-program-lvcreate
Kefu Chai [Wed, 24 Jun 2026 06:01:00 +0000 (14:01 +0800)]
Merge pull request #69162 from sunyuechi/wip-cephadm-tests-mock-find-program-lvcreate

cephadm/tests: mock find_program in test_container_engine

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agocephadm: fix staggered upgrade 69691/head
Guillaume Abrioux [Tue, 23 Jun 2026 12:36:22 +0000 (14:36 +0200)]
cephadm: fix staggered upgrade

Do not mark an upgrade complete until daemons in the filtered scope
match the target image. Limited (--limit) upgrades still complete
when remaining_count reaches zero.

Fixes: https://tracker.ceph.com/issues/62959
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agotest/bufferlist: shrink benchmark iterations under ASan 69674/head
Sun Yuechi [Tue, 23 Jun 2026 06:16:38 +0000 (14:16 +0800)]
test/bufferlist: shrink benchmark iterations under ASan

The pure-timing *_bench/BenchAlloc loops repeat a stateless path millions of
times. Under ASan that adds no memory-error coverage but inflates the run from
minutes to hours, so cut the iteration counts when built with ASan.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2 weeks agotest/bufferlist: avoid BenchDeref iterator overrun past end
Sun Yuechi [Tue, 23 Jun 2026 10:18:25 +0000 (18:18 +0800)]
test/bufferlist: avoid BenchDeref iterator overrun past end

Drive the deref loop by get_remaining() >= step instead of comparing to
end(), so a total length that is not a multiple of step no longer lets
`iter += step` run past the end and throw "End of buffer".

The original counts were always a multiple of step, so the overrun only
showed up once the following commit shrinks the rounds under ASan -- a
false alarm rather than a real regression, which is why it went unnoticed
until now.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2 weeks agoMerge pull request #68827 from kotreshhr/mirror-metrics-new-mgr-interface
Kotresh HR [Wed, 24 Jun 2026 02:48:37 +0000 (08:18 +0530)]
Merge pull request #68827 from kotreshhr/mirror-metrics-new-mgr-interface

tools/cephfs_mirror: Mirror metrics via  new mgr interface

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agonode-proxy: expose FCM stats 69477/head
Guillaume Abrioux [Thu, 18 Jun 2026 14:54:38 +0000 (16:54 +0200)]
node-proxy: expose FCM stats

Collect FCM stats locally from NVMe drives (vendor log page 0xCA)
and expose them via node-proxy, the cephadm agent, and
`ceph orch hardware status --category fcm`.

Introduce a node backend that aggregates Redfish data with
node-local collectors, since FCM metrics are not available
from the BMC.

Fixes: https://tracker.ceph.com/issues/77521
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agonode-proxy: rename firmwares to firmware with legacy aliases
Guillaume Abrioux [Mon, 15 Jun 2026 13:18:48 +0000 (15:18 +0200)]
node-proxy: rename firmwares to firmware with legacy aliases

Let's use 'firmware' as the standard name in node-proxy, cephadm,
and orch hardware status.

We still accept 'firmwares' as a deprecated alias and read legacy
cache payloads transparently for backward compatibility.

Fixes: https://tracker.ceph.com/issues/77410
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agonode-proxy: override with atollon specific
Guillaume Abrioux [Wed, 10 Jun 2026 10:51:47 +0000 (12:51 +0200)]
node-proxy: override with atollon specific

This adds AtollonSystem for AMI/Atollon BMCs:
- memory Id mapping,
- storage description fixes,
- StorageControllers based drive enrichment

It also wires vendor selection through cephadm (hw_monitoring_vendor)
and show slot/firmware in hardware status storage output.

Fixes: https://tracker.ceph.com/issues/77408
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agonode-proxy: add temperatures and fan speed
Guillaume Abrioux [Wed, 10 Jun 2026 10:51:14 +0000 (12:51 +0200)]
node-proxy: add temperatures and fan speed

This adds the temperatures category and fan speed information.

Fixes: https://tracker.ceph.com/issues/77408
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 weeks agoMerge pull request #69664 from tchaikov/wip-asan-options
Kefu Chai [Wed, 24 Jun 2026 00:53:07 +0000 (08:53 +0800)]
Merge pull request #69664 from tchaikov/wip-asan-options

cmake,ceph,qa: update and populate ASan options to ceph cli

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agoscript: fix invalid escape sequences 69687/head
Kefu Chai [Tue, 23 Jun 2026 23:11:24 +0000 (07:11 +0800)]
script: fix invalid escape sequences

Python 3.12 warns on invalid escape sequences in non-raw strings:
```
  ceph-release-notes:45: SyntaxWarning: invalid escape sequence '\d'
  cpatch.py:465: SyntaxWarning: invalid escape sequence '\;'
```

In `cpatch.py`, use raw strings for the two Dockerfile RUN lines so
their find -exec ... \; keeps the literal backslash-semicolon.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>