Commit Graph

160843 Commits

Author SHA1 Message Date
Kefu Chai
62cf01d0de cmake,debian: enable ceph-mon-client-nvmeof on Debian derivatives
5843c6b04b gated the build on /etc/redhat-release because gRPC devel
libs weren't packaged on Debian yet. They are now (libgrpc++-dev,
protobuf-compiler-grpc), so we can finally bring Debian derivatives on
par with Fedora/RHEL and ship the NVMe-oF gateway monitor client there
too.

This change:

- drops the /etc/redhat-release sniff and unconditionally enables
  WITH_NVMEOF_GATEWAY_MONITOR_CLIENT.
- adds libgrpc++-dev and protobuf-compiler-grpc to debian/control's
  Build-Depends, plus a ceph-mon-client-nvmeof / -dbg pair so the
  binary actually gets packaged.
- adds a pkg-config fallback for gRPC discovery. Jammy's libgrpc++-dev
  (1.30.2) ships no cmake config files [1], so find_package(gRPC CONFIG
  REQUIRED) fails at configure time. Noble's libgrpc++-dev (1.51.1)
  does ship them [2], as do RHEL/Rocky packages. We now try cmake config
  first (QUIET) and fall back to pkg_check_modules(IMPORTED_TARGET
  grpc++) when it isn't found.
- patches PkgConfig::GRPCPP to carry protobuf::libprotobuf as an
  interface dependency. grpc++.pc omits protobuf from its Requires, so
  gateway.pb.cc (which calls GOOGLE_PROTOBUF_VERIFY_VERSION) would fail
  to link on the pkg-config path. The cmake-config gRPC::grpc++ declares
  this dependency properly; we match that behaviour with
  target_link_libraries(PkgConfig::GRPCPP INTERFACE protobuf::libprotobuf).
- applies HAVE_ABSEIL only on the cmake-config path (Noble, RHEL/Rocky),
  where gRPC links system absl. Without it, opentelemetry-cpp's private
  absl (inline namespace otel_v1) collides with system absl (inline
  namespace debian7) in any TU that includes both tracer.h and
  grpcpp/grpcpp.h, giving "reference to base_internal is ambiguous".
  On the pkg-config path (Jammy's gRPC 1.30.2) libabsl-dev is not
  installed, so HAVE_ABSEIL must be skipped there.

[1] https://packages.ubuntu.com/jammy/amd64/libgrpc-dev/filelist
[2] https://packages.ubuntu.com/noble/amd64/libgrpc-dev/filelist

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-05-08 21:28:41 +08:00
Kefu Chai
5eb650394b
Merge pull request #68790 from MaxKellermann/crimson__missing_includes
crimson: add missing includes

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-05-08 15:09:19 +08:00
bluikko
7705b39ade
Merge pull request #68151 from bluikko/wip-doc-man-ceph-improvements1
doc/man: improve ceph.rst
2026-05-08 12:10:16 +07:00
bluikko
f308c2b210
Merge pull request #68156 from bluikko/wip-doc-man-spelling1
doc/man: fix spelling etc errors (1 of 2)
2026-05-08 12:09:43 +07:00
Laura Flores
864bc518bb
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>
2026-05-07 13:22:15 -05:00
Jon Bailey
4f5791e0ff
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>
2026-05-07 14:49:42 +01:00
Casey Bodley
c56fecaa23
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>
2026-05-07 08:42:46 -04:00
Afreen Misbah
78d0c860b2
Merge pull request #68788 from cloudbehl/fix-Application-overview
monitoring: Fix application overview to show Raw used

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-05-07 18:09:40 +05:30
Jon Bailey
403be2a0ef 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>
2026-05-07 13:28:01 +01:00
Ronen Friedman
6975a8d909
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>
2026-05-07 14:42:09 +03:00
Alex Ainscow
66ba9b0c97
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>
2026-05-07 11:47:39 +01:00
Max Kellermann
7c6555c6d4 crimson: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2026-05-07 11:34:43 +02:00
Ankush Behl
6c1a17b666 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>
2026-05-07 14:54:29 +05:30
NitzanMordhai
19338a1cf0
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>
2026-05-07 10:39:06 +03:00
Venky Shankar
40954d04d3 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>
2026-05-07 10:56:03 +05:30
John Mulligan
8bb89be902
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>
2026-05-06 15:15:39 -04:00
Afreen Misbah
d60eb8be60
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>
2026-05-07 00:21:30 +05:30
Shraddha Agrawal
f56809d33a
Merge pull request #68755 from shraddhaag/wip-shraddhaag-reinstate-rocky10
qa/distros/crimson-supported-all-distros: remove centos 9
2026-05-06 21:13:13 +05:30
Adam Emerson
cf245d42ad
Merge pull request #67729 from adamemerson/wip-neorados-watch-notify
neorados: Various Fixes to Watch/Notify

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-05-06 11:19:14 -04:00
Adam Emerson
77159b71e6
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>
2026-05-06 11:11:43 -04:00
Yuval Lifshitz
b5d04adfa7
Merge pull request #68274 from ShreeJejurikar/wip-bucket-logging-journal-mode
rgw/test: add Journal mode support to bucket logging test suite
2026-05-06 17:23:32 +03:00
Kefu Chai
03bed028a9
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>
2026-05-06 20:47:30 +08:00
Devika Babrekar
4ebd2276bf 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>
2026-05-06 15:48:15 +05:30
Alex Ainscow
5994e2a7fa osd: Avoid assertion on empty object read when reading multiple objects
Tracker 75432 hits an assert which is attempting to protect the system
against hanging, due to generating a read request which sends no messages.

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

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

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

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2026-05-06 10:42:55 +01:00
Alex Ainscow
277f43c7f9
Merge pull request #67870 from aainscow/fix_75211
osd: PGLog Attach correct version to missing list when ignoring log entries

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2026-05-06 09:01:50 +01:00
Ronen Friedman
9bd2e14b3b
Merge pull request #68707 from ronen-fr/wip-rf-smapper-addoid
osd/SnapMapper::update_snaps() to handle a missing OBJ_ record

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-05-06 10:18:24 +03:00
anrao19
7f6c6003e7
Merge pull request #66373 from mheler/target_path_by_bucket
rgw/cloud-transition: add per-bucket target options
2026-05-06 11:44:40 +05:30
Kefu Chai
56f190165b
Merge pull request #68629 from MaxKellermann/osdc_includes2
osdc: add missing include

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-05-06 13:44:54 +08:00
Shraddha Agrawal
5088bfe2a8 qa/distros/crimson-supported-all-distros
This commit removes centos9 from crimson's supported distros. This is in
line with the wider ceph moving on to rocky10 from centos9. We have
established that crimson is compatible with rocky10. More details can be
found in this tracker: https://tracker.ceph.com/issues/75823.
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
2026-05-05 22:15:36 +05:30
Ronen Friedman
b6d39ff0a9 crimson/osd: defer snap trimming while scrubbing
Classic OSD enforces mutual exclusion between scrubbing and snap
trimming via the WaitScrub state in the snap trim state machine.
Crimson was missing this, allowing both to run concurrently on the
same PG (visible as active+clean+scrubbing+deep+snaptrim), which
could prevent snap trimming from completing within the expected
timeout.

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

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

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-05 16:41:37 +00:00
Ronen Friedman
6666bacf82
Merge pull request #68677 from ronen-fr/wip-rf-seastorerst
crimson/doc/seastore: document device super-block structure

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2026-05-05 19:26:01 +03:00
Kefu Chai
30fb45da6e
Merge pull request #67531 from tchaikov/wip-encoding-with-asan
test/encoding: use setarch -R for ASAN builds in readable.sh

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2026-05-05 21:20:09 +08:00
John Mulligan
3cb6975336
Merge pull request #68259 from anoopcs9/update-samba-container-tags
cephadm/images: Update tags for samba and smbmetrics containers

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2026-05-05 09:18:09 -04:00
Gil Bregman
01a87c0ae8
Merge pull request #68749 from gbregman/main
mgr/dashboard: Allow empty port value when adding a listener in NVMEoF CLI
2026-05-05 15:57:52 +03:00
Kefu Chai
27cd387bbd
Merge pull request #68615 from tchaikov/wip-lasan-supp
qa/lsan.supp: suppress CPython 3.10 interpreter shutdown leaks

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-05-05 20:17:21 +08:00
Ronen Friedman
ac06cb5a95 osd/SnapMapper::update_snaps() to handle a missing OBJ_ record
by falling back to add_oid() instead of silently creating an
inconsistent state (OBJ_ without matching SNA_ entries). This
was observed on replicas that had recently recovered objects:
the snap mapper entries created during recovery were not visible
to a subsequent snap-trim repop's update_snaps() call, leaving
the clone with no snap mapper entries. Scrub would then detect
and report the inconsistency as an error.

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

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-05 09:09:03 +00:00
Gil Bregman
92237ee484 mgr/dashboard: Allow empty port value when adding a listener in NVMEoF CLI
Fixes: https://tracker.ceph.com/issues/76410

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2026-05-05 11:53:25 +03:00
Kefu Chai
dacf8cbc90
Merge pull request #59650 from xsuchy/patch-2
rpm: Migrate license in ceph.spec to SPDX

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-05-05 14:44:51 +08:00
ShreeJejurikar
a50b342c76 rgw/test: add Journal mode support to bucket logging test suite
Add --logging-type flag to run the Python bucket logging test suite
in either Standard or Journal mode. The same tests run against both
logging types with no changes to test logic or assertions.

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

Signed-off-by: Shree Jejurikar <shree.jejurikar@gmail.com>
2026-05-05 11:45:14 +05:30
Omid Yoosefi
a0e6c3b075 mgr: change cleanup and scanning cephfs connection logs to be less noisy
Fixes: https://tracker.ceph.com/issues/76278
Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
2026-05-05 11:22:52 +05:30
SrinivasaBharathKanta
95401c7939
Merge pull request #68473 from ljflores/wip-tracker-73147
qa/suites/rados/thrash-old-clients: ignore "Reduced data availability" warning
2026-05-05 09:45:18 +05:30
SrinivasaBharathKanta
ff52650514
Merge pull request #68241 from ljflores/wip-tracker-75415
qa/suites/upgrade: ignore temporary OSD_HOST_DOWN health warning
2026-05-05 09:44:25 +05:30
Shraddha Agrawal
7fa364b13e
Merge pull request #68626 from shraddhaag/wip-shraddhaag-btree-node-courotuine
seastore/omap_manager/btree: change node insert/del funcs to coroutines
2026-05-04 23:57:57 +05:30
Shraddha Agrawal
dc26a6acfb
Merge pull request #68625 from shraddhaag/wip-shraddhaag-btree-manager-coroutine
seastore/omap_manager/btree: change omap manager funcs to coroutines
2026-05-04 23:57:44 +05:30
Ronen Friedman
f90b4dcf23 doc/crimson/seastore: document device super-block structure
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2026-05-04 19:48:12 +03:00
Venky Shankar
0bb56bbda4 Merge PR #68211 into main
* refs/pull/68211/head:
	doc/cephfs/fs-volumes.rst: Correct volume creation with pre-existing pools

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ville Ojamo <git2233+ceph@ojamo.eu>
2026-05-04 20:48:05 +05:30
Patrick Donnelly
16718094ee
Merge PR #64561 into main
* refs/pull/64561/head:
	ceph-exporter: fix systemd unit

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Kefu Chai <k.chai@proxmox.com>
2026-05-04 08:16:33 -07:00
Afreen Misbah
40ed90b3ef
Merge pull request #68694 from rhcs-dashboard/bump-lodash
mgr/dashboard: Bump lodash

Reviewed-by: Naman Munet <nmunet@redhat.com>
2026-05-04 19:53:31 +05:30
Nitzan Mordechai
257a357b69 aio_cxx: resolve test unreliability
The LibRadosAio.PoolEIOFlag test was unstable, skip due to:
 - Test Unreliability (Timing Dependency): The test used a fixed
   iteration count for IO submission and finished too quickly, missing the
   target error.
    * Fix: The submission loop now runs continuously (time-bounded)
           until the EIO error is reliably caught, eliminating the timing issue.

Fixes: https://tracker.ceph.com/issues/73946
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2026-05-04 12:46:50 +00:00
Nitzan Mordechai
9da2d94dd4 aio_cxx: Fix mutual deadlock in PoolEIOflag test
The LibRadosAio.PoolEIOFlag test was unstable, it was hanging due to:

 - Deadlock: The main thread held the shared mutex ('my_lock') while
   calling thread join. This created a mutual deadlock.
    * Fix: Mutex is unlocked before thread join using RAII scopes.
 - also convert to std::jthread and drop the join

Fixes: https://tracker.ceph.com/issues/73946
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2026-05-04 12:46:50 +00:00