Commit Graph

162069 Commits

Author SHA1 Message Date
Xiubo Li
a2f175f677 common/options: mark client_force_lazyio as not runtime updatable
The client_force_lazyio option is currently marked as supporting
runtime updates in the configuration schema, but this is misleading.

The value is read once during each file open/create and stored in
the file flags. There is no config observer registered to handle
dynamic updates, and there is no logic to propagate changes to the
already opened file handles.

This patch adds the NO_RUNTIME flag to the option definition to
correctly reflect reality.

Fixes: https://tracker.ceph.com/issues/77451
Signed-off-by: Xiubo Li <xiubo.li@clyso.com>
2026-06-18 14:19:10 +08:00
Vallari Agrawal
3c5295cccb
Merge pull request #69297 from VallariAg/wip-prometheus-rados-ns-fix
monitoring: fix NVMeoFMultipleNamespacesOfRBDImage for different rados_namespace_name
2026-06-17 12:43:44 +05:30
Kefu Chai
4cd080d6f3
Merge pull request #69515 from tchaikov/wip-rocksdb-fix-ftbfs-gcc-16
rocksdb: update submodule to fix FTBFS due to missing <cstdint>

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-06-17 11:17:35 +08:00
Kefu Chai
1999afb8e5
Merge pull request #69509 from sunyuechi/wip-fix-unused-warnings
crimson,mgr,test: fix unused variable/function warnings

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-06-17 10:07:27 +08:00
John Mulligan
1f70d69341
Merge pull request #69419 from Sodani/shsodani_mac_support
mgr/smb: Added a Mac client support for samba cluster

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Sachin Prabhu <sp@spui.uk>
2026-06-16 18:50:31 -04:00
Hezko
38ef9bc6b9
Merge pull request #69339 from Hezko/clis-alignment
mgr/dashboard: align nvmeof cli with missing parameters and commands from the old nvmeof cli
2026-06-17 00:11:23 +03:00
Oguzhan Ozmen
29e0d6104f
Merge pull request #69132 from BBoozmen/wip-sync-err-log-76950
rgw/multisite: do not log transient per-object EBUSY/EAGAIN errors in sync error log
2026-06-16 15:11:24 -04:00
Patrick Donnelly
bfff14c222
Merge PR #69498 into main
* refs/pull/69498/head:
	doc/releases/tentacle: scope wording to package installs
	doc/releases/tentacle: remove bogus notable changes
	doc/releases/tentacle: add more v20.2.2 blocker fixes
	doc: tentacle 20.2.2 release notes

Reviewed-by: Adam King <adking@redhat.com>
2026-06-16 14:51:39 -04:00
Patrick Donnelly
1578756c74
doc/releases/tentacle: scope wording to package installs
Resolves: https://tracker.ceph.com/issues/77357
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-16 14:16:32 -04:00
Patrick Donnelly
f78b44aba3
doc/releases/tentacle: remove bogus notable changes
Resolves: https://tracker.ceph.com/issues/77357
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-16 14:16:32 -04:00
Oguzhan Ozmen
63b7f7430b
Merge pull request #68881 from jacquesh/fix-rgw-log-merging
rgw: Fix ops logs sometimes having several entries per line.
2026-06-16 13:37:14 -04:00
Shweta Sodani
23c910f52a doc/mgr/smb: document client compatibility mode
Add documentation for --client-compat parameter in 'cluster create'
command and new 'cluster update client-compat' command. This feature
enables macOS-specific SMB optimizations (fruit VFS, streams_xattr)
and can be set during cluster creation or updated for existing clusters.

Signed-off-by: Shweta Sodani <shsodani@redhat.com>
2026-06-16 22:20:37 +05:30
Sridhar Seshasayee
2ccd861d04
Merge pull request #69366 from sseshasa/wip-fix-ok-to-upgrade-osd-sort-order
mgr/DaemonServer: Aggregate and globally sort OSDs for ok-to-upgrade

Reviewed-by: Radoslaw Zarzynski <rzarzynski@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@ibm.com>
2026-06-16 21:46:13 +05:30
Adam Kupczyk
daf1e89117
Merge pull request #69395 from aclamk/aclamk-doc-bs-fast-recovery
doc, bluestore: Documentation for Fast Onode Recovery feature
2026-06-16 15:03:31 +02:00
Shweta Sodani
6f59987690 mgr/smb: add tests for client compatibility mode
Add comprehensive test coverage for the new client compatibility
feature that enables macOS-specific SMB optimizations:

- test_enums.py: Add tests for ClientSupportMode enum values
  (DEFAULT and MACOS) and string representation
- test_resources.py: Add tests for cluster client_compat field,
  effective_client_compat property, and is_macos_compatibility_enabled
  property with different mode configurations
- test_smb.py: Add integration tests for cluster_update_client_compat
  CLI command including successful updates and error handling for
  non-existent clusters

These tests ensure the client compatibility mode can be properly
set, retrieved, and updated at the cluster level.

Signed-off-by: Shweta Sodani <shsodani@redhat.com>
2026-06-16 15:58:05 +05:30
Shweta Sodani
45f943ddb8 mgr/smb: Add client support mode for macOS-specific SMB features
This commit introduces a new cluster-level configuration option to enable
client-specific SMB optimizations, starting with macOS support.

Usage:
  ceph smb cluster create <cluster-id> --client-compat macos
  ceph smb cluster update client-compat macos <cluster-id>

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
2026-06-16 15:58:05 +05:30
Kefu Chai
59afb3d661 rocksdb: update submodule to fix FTBFS due to missing <cstdint>
43dd4cbd37 bumped the rocksdb submodule to v7.10.2 for CVE-2022-23476,
dropping the <cstdint> includes the v7.9.2 pin carried.
db/blob/blob_file_meta.h uses uint64_t but no longer includes <cstdint>,
so it compiles only where another header pulls <cstdint> in transitively.
GCC with libstdc++ 16.1.0 no longer does, so the build fails:

    db/blob/blob_file_meta.h: error: 'uint64_t' has not been declared

our targeted distros still pull it in, so the failure went unnoticed
there: ubuntu jammy (GCC 11.2.0) and noble (GCC 13.2).

bump the submodule to a cherry-pick of upstream rocksdb 72c3887167,
which fixes the same FTBFS.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-16 17:07:55 +08:00
Tomer Haskalovitch
e3d9ebb50e mgr/dashboard: align nvmeof cli with missing parameters and functions from the old nvmeof cli
fixes: https://tracker.ceph.com/issues/77108
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
2026-06-16 10:41:53 +03:00
Sun Yuechi
d3c8d3fc65 crimson,mgr: mark assert-only variables [[maybe_unused]]
These variables are only read inside assert(), which is compiled out
under NDEBUG. Mark them [[maybe_unused]] to silence the warnings while
keeping the debug-only assert() style used by the surrounding code:

  src/crimson/os/seastore/lba/btree_lba_manager.cc:1078: unused variable 'orig_len' [-Wunused-variable]
  src/crimson/os/seastore/omap_manager/log/log_manager.cc:73: variable 'ret' set but not used [-Wunused-but-set-variable]
  src/crimson/os/seastore/transaction_manager.cc:382: variable 'intermediate_key' set but not used [-Wunused-but-set-variable]
  src/mgr/PyModule.cc:166,186: unused variable 'r' [-Wunused-variable]

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2026-06-16 15:24:26 +08:00
Sun Yuechi
1265c6b5cd test/crimson/seastore: use gtest assertion macros instead of assert()
Plain assert() is compiled out under NDEBUG, leaving the checked
variables unused. Use the always-evaluated gtest macros instead.

  src/test/crimson/seastore/test_cbjournal.cc:586: variable 'old_written_to' set but not used [-Wunused-but-set-variable]
  src/test/crimson/seastore/test_btree_lba_manager.cc:345: unused structured binding declaration [-Wunused-variable]

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2026-06-16 15:24:26 +08:00
Sun Yuechi
0b8c738927 crimson,test: remove unused functions and dead variable
Fixing these warnings:

  src/crimson/os/seastore/seastore.cc:83: 'omaptree_initialize' defined but not used [-Wunused-function]
  src/crimson/osd/replicated_recovery_backend.cc:733: 'nullopt_if_empty' defined but not used [-Wunused-function]
  src/test/rgw/test_rgw_kms_cache.cc:63: 'rethrow' defined but not used [-Wunused-function]
  src/test/librados/test_cxx.cc:215: variable 'cmd' set but not used [-Wunused-but-set-variable]

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2026-06-16 12:36:11 +08:00
SrinivasaBharathKanta
2286265c0a
Merge pull request #69106 from bigjust/upgrade-rocksdb-7.10.2-cve-2022-23476
rocksdb: upgrade submodule to v7.10.2 to address CVE-2022-23476
2026-06-16 09:54:11 +05:30
SrinivasaBharathKanta
958cd0bbb1
Merge pull request #68662 from kamoltat/wip-ksirivad-stretch-crush-experiment
src/script: init test_stretch_crush_collisions.sh
2026-06-16 09:53:01 +05:30
SrinivasaBharathKanta
7d8bada343
Merge pull request #68425 from dheart-joe/pretty-kvtool-output
tool/ceph-kvstore-tool: add --pretty-binary-key option
2026-06-16 09:52:07 +05:30
SrinivasaBharathKanta
e2c6862ce9
Merge pull request #67747 from indirasawant/wip-isawant-mgr-standby-details
mon/mgr: include standby manager details in ceph mgr stat
2026-06-16 09:51:26 +05:30
Patrick Donnelly
b52f7f53ae
doc/releases/tentacle: add more v20.2.2 blocker fixes
Resolves: https://tracker.ceph.com/issues/77357
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-15 22:52:47 -04:00
Yuri Weinstein
35447386ba
doc: tentacle 20.2.2 release notes
Resolves: https://tracker.ceph.com/issues/77357
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-06-15 22:52:47 -04:00
Kotresh HR
fcf6891875
Merge pull request #69467 from kotreshhr/mirror-handle-dup-add-directory-notification
tools/cephfs_mirror: Ignore duplicate directory acquire notifications

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2026-06-16 08:18:44 +05:30
Patrick Donnelly
c580421359
Merge PR #69494 into main
* refs/pull/69494/head:
	doc: Document restarting failed release builds

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-15 21:25:50 -04:00
Patrick Donnelly
854f5340ad
Merge PR #69492 into main
* refs/pull/69492/head:
	doc/dev/release-process: update according to supported releases

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2026-06-15 21:22:38 -04:00
Patrick Donnelly
8a2cbbd4f8
doc/dev/release-process: update according to supported releases
From: https://docs.ceph.com/en/latest/start/os-recommendations/

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2026-06-15 18:41:25 -04:00
David Galloway
937ffe0d03 doc: Document restarting failed release builds
Signed-off-by: David Galloway <david.galloway@ibm.com>
2026-06-15 17:37:51 -04:00
Patrick Donnelly
cf5b149eec
Merge PR #69446 into main
* refs/pull/69446/head:
	python-common/cryptotools: stop using the removed X509Req API

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2026-06-15 16:14:23 -04:00
John Mulligan
d14e816a13
Merge pull request #69289 from anoopcs9/fix-run-samba-perms
cephadm/smb: Bind mount /run with 0755

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Xavi Hernandez <xhernandez@gmail.com>
2026-06-15 15:42:48 -04:00
Ericmzhang
69c30a7d54
Merge pull request #68532 from Ericmzhang/wip-overlapped-roots-autoscale
Mgr: Allow autoscaling for overlapped roots
2026-06-15 10:28:56 -07:00
Kefu Chai
3d0188f3c6
Merge pull request #68856 from tchaikov/wip-ceph-dencoder-dlclose
ceph-dencoder: skip dlclose under ASan so leaks symbolise

Reviewed-by: Nitzan Mordechai <nmordec@ibm.com>
2026-06-15 20:14:23 +08:00
Ronen Friedman
b77ff53605
Merge pull request #69415 from ronen-fr/wip-rf-clsrefcount
crimson/osd: fix PGBackend::remove() to return ENOENT on no-op deletes

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-06-15 14:31:57 +03:00
Kotresh HR
e74f11546a tools/cephfs_mirror: Ignore duplicate directory acquire notifications
Make PeerReplayer::add_directory() idempotent when the mgr re-sends
acquire for a directory already in the replayer list.

Fixes: https://tracker.ceph.com/issues/77398
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-15 16:15:37 +05:30
Kotresh HR
28a2a2c882 qa/cephfs: Add test for duplicate directory acquire notify
Verify that reloading the mirroring module and removing a directory
does not leave a ghost replayer entry that keeps syncing snapshots.

Fixes: https://tracker.ceph.com/issues/77398
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-15 16:15:33 +05:30
Matan Breizman
123fa4ca39
Merge pull request #69281 from Matan-B/wip-matanb-seastore-p95
seastore: add latency distribution (p95/p99) support

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
2026-06-15 12:11:08 +03:00
Shweta Bhosale
8da5a001d6
Merge pull request #66864 from ShwetaBhosale1/fix_issue_74045_ssh_hardning_feature
mgr/cephadm: Cephadm hardening (SSH channel)
2026-06-15 11:03:35 +05:30
SrinivasaBharathKanta
ca0bc48a2a
Merge pull request #69005 from Jayaprakash-ibm/wip-jaya-mon-features-test-fix
qa: fix TEST_mon_features feature checks in mon/misc.sh
2026-06-14 04:24:52 +05:30
SrinivasaBharathKanta
7ab948826e
Merge pull request #68650 from leonidc/fix_force_exit_gw
nvmeofgw:fix forcing unavalable gw exit by sending
2026-06-14 04:24:33 +05:30
SrinivasaBharathKanta
ab5937a491
Merge pull request #68435 from stzuraski898/wip-sz-76048
mgr: ActivePyModules does not set Description in labeled get_perf_schema_python
2026-06-14 04:23:49 +05:30
Kotresh HR
5bfb9a8db3
Merge pull request #68018 from kotreshhr/mirror-asok-metrics
tools/cephfs_mirror: Add metrics
2026-06-13 23:59:00 +05:30
Kefu Chai
1dda56b1a0 python-common/cryptotools: stop using the removed X509Req API
pyOpenSSL deprecated OpenSSL.crypto.X509Req in 24.2.0 (2024-07-20) and
removed it in 26.3.0 (2026-06-12). as we don't pin pyopenssl, CI picked
up the new release, and create_self_signed_cert() started failing with:

  AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'

this took down run-tox-mgr, run-tox-mgr-dashboard-py3 and the mypy check.

we only used X509Req to build a subject name and then copied it into the
X509 cert. so drop it, and set the subject on the cert directly. the
resulting cert stays the same: subject from dname, issuer set to the same
subject, self-signed.

Fixes: https://tracker.ceph.com/issues/77391
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-06-13 10:05:28 +08:00
Kefu Chai
84ac1de643
Merge pull request #69421 from ShwetaBhosale1/fix_issue_77340_remove_-P_from_shebang_flags
ceph.spec.in: disable -P in python shebang for cephadm binary

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-06-13 09:13:48 +08:00
Kotresh HR
1d676c2455 qa: Add mirror metrics testcases
Add testcases for newly introduced mirror
metrics and validate it via 'fs mirror peer status'
asok interface.

Fixes: https://tracker.ceph.com/issues/73453
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-13 00:45:31 +05:30
Kotresh HR
55eceaae3d doc: Update the mirroring doc with new metrics fields
Update the mirroring documentation and also the
release notes with new metrics introduced and it's
availability via 'fs mirror peer status' asok
interface.

Fixes: https://tracker.ceph.com/issues/73453
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-13 00:44:20 +05:30
Kotresh HR
75093b138e qa: Fix the mirroring tests with new nested peer_status output
Fixes: https://tracker.ceph.com/issues/73453
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2026-06-13 00:43:15 +05:30