]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
2 weeks agoMerge pull request #65185 from zdover23/wip-doc-2025-08-22-cephfs-troubleshooting
Zac Dover [Mon, 25 Aug 2025 09:42:13 +0000 (19:42 +1000)]
Merge pull request #65185 from zdover23/wip-doc-2025-08-22-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst (Slow MDS)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #65154 from chanyoung/fix-cbjournal-boundary-check
Matan Breizman [Mon, 25 Aug 2025 08:21:33 +0000 (11:21 +0300)]
Merge pull request #65154 from chanyoung/fix-cbjournal-boundary-check

crimson/.../circular_journal_space: fix boundary check

Reviewed-by: Myoungwon Oh <ohmyoungwon@gmail.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agoMerge pull request #65027 from Hezko/nvmeof-cli-71983-fix
afreen23 [Mon, 25 Aug 2025 08:20:23 +0000 (13:50 +0530)]
Merge pull request #65027 from Hezko/nvmeof-cli-71983-fix

mgr/dashboard: fix missing gw group error

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 weeks agoMerge pull request #65108 from zhscn/fix-assert
Matan Breizman [Mon, 25 Aug 2025 08:20:09 +0000 (11:20 +0300)]
Merge pull request #65108 from zhscn/fix-assert

crimson/os/seastore/CBJournal: correct needs_roll condition

Reviewed-by: Myoungwon Oh <ohmyoungwon@gmail.com>
2 weeks agoMerge pull request #65070 from chanyoung/remove-redundant-memset
Matan Breizman [Mon, 25 Aug 2025 08:19:48 +0000 (11:19 +0300)]
Merge pull request #65070 from chanyoung/remove-redundant-memset

crimson/.../rbm_device: remove unnecessary zero fill in anonymous mmap

Reviewed-by: Myoungwon Oh <ohmyoungwon@gmail.com>
2 weeks agoMerge pull request #65028 from Hezko/nvmeof-cli-72060-fix
afreen23 [Mon, 25 Aug 2025 08:19:14 +0000 (13:49 +0530)]
Merge pull request #65028 from Hezko/nvmeof-cli-72060-fix

mgr/dashboard: catch broader exception to show relevant cli output

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 weeks agoMerge pull request #64807 from myoungwon/wip-fix-report-rbm-block-size
Matan Breizman [Mon, 25 Aug 2025 08:18:40 +0000 (11:18 +0300)]
Merge pull request #64807 from myoungwon/wip-fix-report-rbm-block-size

crimson/os/seastore/rbm: fix incorrect reporting block size

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 weeks agoMerge pull request #65007 from Matan-B/wip-matanb-crimson-docs-aug25
Matan Breizman [Mon, 25 Aug 2025 07:39:37 +0000 (10:39 +0300)]
Merge pull request #65007 from Matan-B/wip-matanb-crimson-docs-aug25

crimson: Simplify first time deployments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 weeks agoMerge pull request #65161 from dmick/uadk-arm64-date-time
Dan Mick [Sat, 23 Aug 2025 18:43:44 +0000 (11:43 -0700)]
Merge pull request #65161 from dmick/uadk-arm64-date-time

uadk: remove __DATE__ and __TIME__ from compilation

2 weeks agoMerge pull request #64987 from aainscow/ceph-objectstore-tool-pgid-fix
SrinivasaBharathKanta [Fri, 22 Aug 2025 23:45:13 +0000 (05:15 +0530)]
Merge pull request #64987 from aainscow/ceph-objectstore-tool-pgid-fix

tools: ceph-objectstore-tool check for invalid pgid

2 weeks agoMerge pull request #65177 from idryomov/wip-72692
Ilya Dryomov [Fri, 22 Aug 2025 19:00:40 +0000 (21:00 +0200)]
Merge pull request #65177 from idryomov/wip-72692

mon/MonClient: post version request completions outside of monc_lock

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #65178 from dmick/make-debs-keep-debug-pkgs
John Mulligan [Fri, 22 Aug 2025 17:53:33 +0000 (13:53 -0400)]
Merge pull request #65178 from dmick/make-debs-keep-debug-pkgs

make-debs.sh: make "skip debug packages" conditional

Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 weeks agoMerge pull request #63910 from tchaikov/wip-generate-test-instances
Kefu Chai [Fri, 22 Aug 2025 12:57:40 +0000 (20:57 +0800)]
Merge pull request #63910 from tchaikov/wip-generate-test-instances

src: Fix memory leaks in generate_test_instance() by returning values instead of pointers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge pull request #65151 from ronen-fr/wip-rf-eccalc
Ronen Friedman [Fri, 22 Aug 2025 08:41:06 +0000 (11:41 +0300)]
Merge pull request #65151 from ronen-fr/wip-rf-eccalc

osd/scrub: calculate EC digest map size only once

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
3 weeks agodoc/cephfs: edit troubleshooting.rst (Slow MDS)
Zac Dover [Fri, 22 Aug 2025 08:39:29 +0000 (18:39 +1000)]
doc/cephfs: edit troubleshooting.rst (Slow MDS)

Move the "Slow requests (MDS)" section immediately after the first
section in this document ("Slow/Stuck Operations"), because the first
procedure on the page directs the reader to undertake the operation in
"Slow requests (MDS)" before trying anything else.

Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64726 from anthonyeleven/funkycat
Anthony D'Atri [Fri, 22 Aug 2025 04:19:35 +0000 (23:19 -0500)]
Merge pull request #64726 from anthonyeleven/funkycat

doc/man/8: Improve mount.ceph.rst

3 weeks agoMerge pull request #65018 from athanatos/sjust/wip-store-bench-2
Samuel Just [Thu, 21 Aug 2025 23:05:10 +0000 (16:05 -0700)]
Merge pull request #65018 from athanatos/sjust/wip-store-bench-2

crimson/tool/crimson-store-bench: rework command line parsing, other fixes

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #62017 from anthonyeleven/pg-target
Anthony D'Atri [Thu, 21 Aug 2025 21:22:22 +0000 (16:22 -0500)]
Merge pull request #62017 from anthonyeleven/pg-target

src/common/options: Clarify mon_target_pg_per_osd in mgr.yaml.in

3 weeks agoMerge pull request #65052 from anthonyeleven/pending
Anthony D'Atri [Thu, 21 Aug 2025 21:14:23 +0000 (16:14 -0500)]
Merge pull request #65052 from anthonyeleven/pending

doc: Improve PendingReleaseNotes

3 weeks agoMerge pull request #63858 from anthonyeleven/crimsoneye
Anthony D'Atri [Thu, 21 Aug 2025 21:12:20 +0000 (16:12 -0500)]
Merge pull request #63858 from anthonyeleven/crimsoneye

src/crimson: Improve message

3 weeks agoMerge pull request #64053 from anthonyeleven/oompaloompa
Anthony D'Atri [Thu, 21 Aug 2025 21:10:52 +0000 (16:10 -0500)]
Merge pull request #64053 from anthonyeleven/oompaloompa

doc: Improve central config log documentation

3 weeks agodoc: Improve PendingReleaseNotes
Anthony D'Atri [Thu, 14 Aug 2025 16:54:13 +0000 (09:54 -0700)]
doc: Improve PendingReleaseNotes

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
3 weeks agomake-debs.sh: make "skip debug packages" conditional
Dan Mick [Thu, 21 Aug 2025 20:00:43 +0000 (13:00 -0700)]
make-debs.sh: make "skip debug packages" conditional

Now that we're using make-debs.sh as a builder inside containers,
the default should be to build all the packages, including debug.
(Also, fix a typo.)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 weeks agomgr/dashboard: catch more exception to show relevant cli output
Tomer Haskalovitch [Tue, 12 Aug 2025 05:49:09 +0000 (08:49 +0300)]
mgr/dashboard: catch more exception to show relevant cli output

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
3 weeks agomgr/dashboard: fix missing gw group error
Tomer Haskalovitch [Mon, 11 Aug 2025 21:53:07 +0000 (00:53 +0300)]
mgr/dashboard: fix missing gw group error

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
3 weeks agomon/MonClient: post version request completions outside of monc_lock
Ilya Dryomov [Thu, 21 Aug 2025 19:39:29 +0000 (21:39 +0200)]
mon/MonClient: post version request completions outside of monc_lock

dispatch() is allowed to invoke the completion object in the current
thread, before control returns from dispatch().  This isn't desirable
when it comes to discarding version requests in MonClient::shutdown()
and MonClient::_reopen_session() because completion objects could then
be invoked under monc_lock.  In case of MonClient::_reopen_session() in
particular, this leads to an attempt to acquire monc_lock once again in
MonClient::get_version() on a retry due to monc_errc::session_reset
that is converted to errc::resource_unavailable_try_again:

  MonClient::ms_handle_reset
    < takes monc_lock >
    MonClient::_reopen_session
      < invokes the completion object via dispatch() with ec == monc_errc::session_reset >
      Objecter::CB_Objecter_GetVersion::operator() [ ec == errc::resource_unavailable_try_again ]
        Objecter::_wait_for_latest_osdmap
          MonClient::get_version
            < attempts to take monc_lock in the body of the lambda >

The end result is either a lockup or some form of undefined behavior.
The best possible outcome here is an exception (std::system_error with
"Resource deadlock avoided" error) and a successive call to
std::terminate().

This is a regression introduced in commit e81d4eae4e76 ("common/async:
Update `use_blocked` for newer asio").  Revert to posting version
request completions for the error cases in a way that is uniform with
the success case in MonClient::handle_get_version_reply().

Fixes: https://tracker.ceph.com/issues/72692
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agoMerge pull request #63594 from ifed01/wip-ifed-max-perf-count
Igor Fedotov [Thu, 21 Aug 2025 19:13:21 +0000 (22:13 +0300)]
Merge pull request #63594 from ifed01/wip-ifed-max-perf-count

common/perf_counters: track maximum increment value for LONGRUNAVG perf

Reviewed-by: Ronnen Friedman <rfriedma@ibm.com>
3 weeks agotest/osd/scrub: fix test_scrubber_be following EC Scrub b.e. changes wip-rf-eccalc
Ronen Friedman [Thu, 21 Aug 2025 14:40:13 +0000 (09:40 -0500)]
test/osd/scrub: fix test_scrubber_be following EC Scrub b.e. changes

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoosd/scrub: calculate EC digest map size only once
Ronen Friedman [Tue, 12 Aug 2025 11:59:02 +0000 (06:59 -0500)]
osd/scrub: calculate EC digest map size only once

... and place the map itself in the scrub_chunk_t object.
Additionally - move object-specific scrub info out
of that chunk object.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #65174 from JonBailey1993/fix-signed-compare-warning
Ronen Friedman [Thu, 21 Aug 2025 18:13:12 +0000 (21:13 +0300)]
Merge pull request #65174 from JonBailey1993/fix-signed-compare-warning

erasure-code/consistency: Fixed signed-compare warning in Consistency Checker

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agocrimson/.../store-bench: refactor arguments and workloads
Samuel Just [Tue, 12 Aug 2025 00:36:16 +0000 (17:36 -0700)]
crimson/.../store-bench: refactor arguments and workloads

- Adds a workload abstraction grouping arguments with associated
  workload.
- Reworks argument parsing to occur prior to seastar app, allows
  passing unparsed arguments to ceph.
- Refactors time usages as necessary to use std::chrono types.
- Removes LOG_PREFIX usages that don't currently have log lines.
- Other minor cleanups not worth separating out.

Signed-off-by: Samuel Just <sjust@redhat.com>
3 weeks agocrimson/tools/CMakeLists: store-bench to use lsan_suppressions
Matan Breizman [Mon, 11 Aug 2025 09:45:38 +0000 (09:45 +0000)]
crimson/tools/CMakeLists: store-bench to use lsan_suppressions

```
=================================================================
==598386==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fc37fefd578 in operator new(unsigned long) (/lib64/libasan.so.8+0xfd578) (BuildId: 8843146064a37d00e17ca27fd774b31ebc6d40e2)
    #1 0x7fc37fa2fb71 in MallocExtension::Register(MallocExtension*) (/lib64/libtcmalloc.so.4+0x2fb71) (BuildId: 5fec9a5a81e329ba0c333f14020599650d07af6f)

SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/tools/store_bench: bump up blocked_reactor_notify_ms
Matan Breizman [Mon, 11 Aug 2025 10:34:03 +0000 (10:34 +0000)]
crimson/tools/store_bench: bump up blocked_reactor_notify_ms

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #65017 from athanatos/sjust/wip-72579
Samuel Just [Thu, 21 Aug 2025 15:53:47 +0000 (08:53 -0700)]
Merge pull request #65017 from athanatos/sjust/wip-72579

crimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
3 weeks agoerasure-code/consistency: Fixed signed-compare warning in ConsistencyChecker
Jon [Thu, 21 Aug 2025 15:43:06 +0000 (16:43 +0100)]
erasure-code/consistency: Fixed signed-compare warning in ConsistencyChecker

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
3 weeks agoMerge pull request #64564 from JonBailey1993/ceph_test_rados_io_sequence_set_optimisa...
Jon Bailey [Thu, 21 Aug 2025 08:07:45 +0000 (09:07 +0100)]
Merge pull request #64564 from JonBailey1993/ceph_test_rados_io_sequence_set_optimisations_earlier

test/osd: Move initialisation of overwrites and optimisation earlier in ceph_test_rados_io_sequence

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #65139 from zdover23/wip-doc-2025-08-20-releases-squid-indentation
Zac Dover [Thu, 21 Aug 2025 07:50:56 +0000 (17:50 +1000)]
Merge pull request #65139 from zdover23/wip-doc-2025-08-20-releases-squid-indentation

doc/releases: remove RST-breaking indentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agosrc: Fix memory leaks in generate_test_instance() by returning values instead of...
Kefu Chai [Mon, 9 Jun 2025 12:35:44 +0000 (20:35 +0800)]
src: Fix memory leaks in generate_test_instance() by returning values instead of pointers

Problem:

The current `generate_test_instance()` function returns `std::list<T*>`,
which creates memory management issues:

- Inconsistent lifecycle management of test instances
- Callers don't always properly clean up allocated memory
- Results in ASan memory leak reports in unit tests and ceph-dencoder

Solution:

Change `generate_test_instance()` to return `std::list<T>` instead of `std::list<T*>`:

Core Changes:

- Modified all classes with `generate_test_instance()` to return `std::list<T>`
- Use `emplace_back()` without parameters** to avoid copy/move
  constructors for classes that don't define them
- Updated ceph-dencoder to handle the new return type

ceph-dencoder Adaptations:

Since `m_list` now holds `T` objects instead of `T*`, and we can't
assume `T` is copyable/moveable:

- Keep `m_object` as a pointer for flexibility
- Handle two scenarios:
  1. `m_object` points to an element in `m_list`
  2. `m_object` points to a decoded instance (requires manual cleanup)
- Introduce `make_ptr()` as a factory function to create a smart pointer
  to conditionally free the managed pointer.

Additional Cleanup:

- Simplify DencoderBase constructor from template to plain
  function (extra parameters were never used in derived classes)

With this change, object lifecycles are now managed by value semantics
instead of raw pointers, eliminating memory leaks.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge pull request #65075 from tchaikov/wip-transaction-set-unused
Kefu Chai [Thu, 21 Aug 2025 07:18:06 +0000 (15:18 +0800)]
Merge pull request #65075 from tchaikov/wip-transaction-set-unused

os/Transaction: initialize unused fields in TransactionData

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
3 weeks agoMerge pull request #64833 from exkson/wip-exkson-ignore-invalid-loop-devices
Guillaume Abrioux [Thu, 21 Aug 2025 06:51:42 +0000 (08:51 +0200)]
Merge pull request #64833 from exkson/wip-exkson-ignore-invalid-loop-devices

ceph-volume: avoid RuntimeError on ceph-volume raw list with non-existent loop devices

3 weeks agoMerge pull request #65156 from phlogistonjohn/jjm-make-rpm-nicer
Dan Mick [Wed, 20 Aug 2025 23:34:23 +0000 (16:34 -0700)]
Merge pull request #65156 from phlogistonjohn/jjm-make-rpm-nicer

build-with-container:  improve source rpm detection

3 weeks agouadk: build with ceph fork (fix for __DATE__ usage)
Dan Mick [Thu, 14 Aug 2025 19:04:39 +0000 (12:04 -0700)]
uadk: build with ceph fork (fix for __DATE__ usage)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 weeks agoMerge pull request #65055 from dmick/build-with-container-npmcache
John Mulligan [Wed, 20 Aug 2025 21:05:54 +0000 (17:05 -0400)]
Merge pull request #65055 from dmick/build-with-container-npmcache

pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 weeks agoMerge pull request #65069 from phlogistonjohn/jjm-fix-ports-remotectl
Adam King [Wed, 20 Aug 2025 20:55:33 +0000 (16:55 -0400)]
Merge pull request #65069 from phlogistonjohn/jjm-fix-ports-remotectl

smb: fix custom ports feature with remote-control sidecar

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
3 weeks agoMerge pull request #65147 from gbregman/main
Gil Bregman [Wed, 20 Aug 2025 19:22:25 +0000 (22:22 +0300)]
Merge pull request #65147 from gbregman/main

cephadm/cephadmlib: Eliminate false warnings about old sysctl conf files

3 weeks agoMerge pull request #65012 from aainscow/clang_signed_compare
Alex Ainscow [Wed, 20 Aug 2025 15:59:43 +0000 (16:59 +0100)]
Merge pull request #65012 from aainscow/clang_signed_compare

src: Add sign-compare warnings to clang

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agobuild-with-container: improve source rpm detection
John Mulligan [Tue, 19 Aug 2025 23:12:07 +0000 (19:12 -0400)]
build-with-container: improve source rpm detection

Improve source rpm detection by adding a new detection method that
executes and rpm command in a container to get exactly the version of
the source rpm that the ceph.spec file would have generated.  For
backwards compatibility and that I don't entirely trust myself to have
tested this the old methods are still available.

The old `--rpm-no-match-sha` is now an alias for `--srpm-match=any` to
cause it to build any (unique) ceph srpm it finds.
`--srpm-match=versionglob` retains the previous default behavior of
using a glob matching on the git id or ceph version value.  The new
default of `--srpm-match=auto` implements the rpm command based behavior
described above.

All of this is wrapped in a new step `find-rpm` but that's mostly an
implementation detail and for testing.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agomake-srpm.sh: don't shell out redundantly to pwd
John Mulligan [Tue, 19 Aug 2025 19:03:51 +0000 (15:03 -0400)]
make-srpm.sh: don't shell out redundantly to pwd

Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agocrimson/.../circular_journal_space: fix boundary check
Chanyoung Park [Tue, 19 Aug 2025 09:14:45 +0000 (09:14 +0000)]
crimson/.../circular_journal_space: fix boundary check

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>
3 weeks agoMerge pull request #65140 from rhcs-dashboard/shared-component-style-fixes
afreen23 [Wed, 20 Aug 2025 12:11:36 +0000 (17:41 +0530)]
Merge pull request #65140 from rhcs-dashboard/shared-component-style-fixes

mgr/dashboard: style fixes for shared components

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 weeks agocommon/options/crimson.yaml.in: Move options to sections
Matan Breizman [Sun, 17 Aug 2025 10:25:56 +0000 (10:25 +0000)]
common/options/crimson.yaml.in: Move options to sections

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocommon/options/crimson.yaml.in: Avoid "AlienStore" for user facing
Matan Breizman [Thu, 14 Aug 2025 09:01:25 +0000 (09:01 +0000)]
common/options/crimson.yaml.in: Avoid "AlienStore" for user facing
details

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/osd: Reduce no crimson_cpu_set usage to info
Matan Breizman [Thu, 14 Aug 2025 08:58:43 +0000 (08:58 +0000)]
crimson/osd: Reduce no crimson_cpu_set usage to info

Using a cpu set is yet to prove a distinct impact.
As first time users are likely to use the non cpu_set variant,
let's try to avoid "scary" warnings.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocommon/options/crimson.yaml.in: Rename crimson seastar cpu cores
Matan Breizman [Thu, 14 Aug 2025 08:52:44 +0000 (08:52 +0000)]
common/options/crimson.yaml.in: Rename crimson seastar cpu cores

Avoid confusing Ceph users with "seastar" terms when possible.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
3 weeks agocommon/options/crimson.yaml.in: Rename crimson seastar num threads
Matan Breizman [Thu, 14 Aug 2025 08:46:12 +0000 (08:46 +0000)]
common/options/crimson.yaml.in: Rename crimson seastar num threads

We want to avoid Ceph users using "seastar" term when possible.
This is an internal detail.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
3 weeks agodoc/dev/crimson: Update docs
Matan Breizman [Wed, 13 Aug 2025 08:11:30 +0000 (08:11 +0000)]
doc/dev/crimson: Update docs

* CPU allocation missed some information and was confusing.
* Drop alienized term when possible
* introdice release/debug builds

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocephadm/cephadmlib: Eliminate false warnings about old sysctl conf files.
Gil Bregman [Wed, 20 Aug 2025 09:48:54 +0000 (12:48 +0300)]
cephadm/cephadmlib: Eliminate false warnings about old sysctl conf files.

Fixes: https://tracker.ceph.com/issues/72657
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
3 weeks agoMerge pull request #64979 from zhscn/fix-2q-empty-extents
Matan Breizman [Wed, 20 Aug 2025 08:38:24 +0000 (11:38 +0300)]
Merge pull request #64979 from zhscn/fix-2q-empty-extents

crimson/os/seastore/2Q: don't add empty extents to the warm out queue

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agosrc: Add sign-compare warnings to clang
Alex Ainscow [Wed, 13 Aug 2025 11:03:21 +0000 (12:03 +0100)]
src: Add sign-compare warnings to clang

For a while, GCC has generated warnings about sign errors. A common
mistake if compiling with clang was to accidentally introduce signedness
errors, which were picked up by the GCC builds.

This occurs due to an inconsistency in -Wall implementation between clang
and gcc: gcc includes sign-compare, clang does not.

See:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wall
vs
https://clang.llvm.org/docs/DiagnosticsReference.html#wall

Note that sign-compare is included under -Wextra for clang:
https://clang.llvm.org/docs/DiagnosticsReference.html#wextra

Clang will now generate similar warnings with -Wsign-compare:
https://clang.llvm.org/docs/DiagnosticsReference.html#wsign-compare

Interestingly, if specified on its own, -Wsign-compare will include
C, whereas gcc -Wall affects C++ only. Therefore we must work around
this in the make file to emulate the GCC behaviour in clang builds.

Also fix a couple of warnings found in some tests.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
3 weeks agomgr/dashboard: style fixes for shared components
Naman Munet [Wed, 20 Aug 2025 06:11:20 +0000 (11:41 +0530)]
mgr/dashboard: style fixes for shared components

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

Signed-off-by: Naman Munet <naman.munet@ibm.com>
3 weeks agodoc/releases: remove RST-breaking indentation
Zac Dover [Wed, 20 Aug 2025 05:55:08 +0000 (15:55 +1000)]
doc/releases: remove RST-breaking indentation

Add a blank line before an unordered list so that Sphinx stops crying
every time we build the docs.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dd07927f789daef811a2df6b0923bc0eda949382)

3 weeks agoMerge pull request #65128 from zdover23/wip-doc-2025-08-19-rados-config-mon-config-ref
Zac Dover [Wed, 20 Aug 2025 05:45:18 +0000 (15:45 +1000)]
Merge pull request #65128 from zdover23/wip-doc-2025-08-19-rados-config-mon-config-ref

doc/rados: repair short underline

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoos/Transaction: initialize unused fields in TransactionData
Kefu Chai [Mon, 18 Aug 2025 02:41:07 +0000 (10:41 +0800)]
os/Transaction: initialize unused fields in TransactionData

Initialize unused1, unused2, and unused3 fields to zero in TransactionData
to ensure consistent encoding/decoding behavior.

Background:
In commit a0c9fec7, we updated TransactionData encoding/decoding and bumped
the Transaction encoding version from 9 to 10. As part of this change, we
renamed three fields to mark them as unused:
- largest_data_len → unused1
- largest_data_off → unused2
- largest_data_off_in_data_bl → unused3

The move constructor was also updated to stop setting these fields, leaving
them uninitialized after move operations.

Problem:
This worked with existing tests because check-generated.sh reused struct
instances, preserving stale values across encode/decode cycles. However,
an upcoming test change will stop reusing instances and compare hexdumps
of encoded/re-encoded values to verify consistency. Uninitialized fields
cause these comparisons to fail due to garbage values.

Solution:
Initialize the unused fields to zero in the move constructor. This preserves
existing behavior while ensuring consistent encoding. These fields can be
removed entirely in a future change.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge pull request #65103 from ljflores/wip-tracker-72594
Yuri Weinstein [Wed, 20 Aug 2025 01:50:33 +0000 (18:50 -0700)]
Merge pull request #65103 from ljflores/wip-tracker-72594

debian/control: install libnuma-dev unconditionally

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
3 weeks agoMerge pull request #64988 from joscollin/wip-update-mirror-doc
Jos Collin [Wed, 20 Aug 2025 00:37:34 +0000 (06:07 +0530)]
Merge pull request #64988 from joscollin/wip-update-mirror-doc

doc: update cephfs-mirror replication

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agocrimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty
Samuel Just [Wed, 13 Aug 2025 16:54:35 +0000 (09:54 -0700)]
crimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty

Cache::mark_transaction_conflicted calls get_delta(), which in turn
calls FixedKVNodeLayout::copy_out for lba nodes. If the mutation_pending
extent happens not to have any deltas, it'll fail in memcpy in
FixedKVNodeLayout::copy_out.

I think this is valid because a transaction may become conflicted
between when duplicate_for_write is called and when the actual mutation
is performed on the extent.

Fixes: https://tracker.ceph.com/issues/72579
Signed-off-by: Samuel Just <sjust@redhat.com>
3 weeks agoMerge pull request #64864 from chrisphoffman/wip-choffman-72355
Christopher Hoffman [Tue, 19 Aug 2025 14:07:28 +0000 (10:07 -0400)]
Merge pull request #64864 from chrisphoffman/wip-choffman-72355

client: use path supplied in statfs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
3 weeks agodoc/rados: repair short underline
Zac Dover [Tue, 19 Aug 2025 13:42:49 +0000 (23:42 +1000)]
doc/rados: repair short underline

Repair a too-short underline that was introduced in
https://github.com/ceph/ceph/commit/babd3c00341c59cb82e66f93f41c687ab4fc6928.

Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64929 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-2
Zac Dover [Tue, 19 Aug 2025 13:00:29 +0000 (23:00 +1000)]
Merge pull request #64929 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #65084 from avanthakkar/fix-smb-metadata-collection
Adam King [Tue, 19 Aug 2025 12:47:10 +0000 (08:47 -0400)]
Merge pull request #65084 from avanthakkar/fix-smb-metadata-collection

mgr/prometheus: fix enabled_modules check for smb metadata

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 weeks agocrimson/os/seastore/CBJournal: correct needs_roll condition
Zhang Song [Tue, 19 Aug 2025 11:41:11 +0000 (19:41 +0800)]
crimson/os/seastore/CBJournal: correct needs_roll condition

Fixes: https://tracker.ceph.com/issues/72611
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
3 weeks agoMerge pull request #65048 from ronen-fr/wip-rf-newdump
Ronen Friedman [Tue, 19 Aug 2025 11:38:25 +0000 (14:38 +0300)]
Merge pull request #65048 from ronen-fr/wip-rf-newdump

qa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
3 weeks agoMerge pull request #64835 from cloudbehl/rbd-metadata
Aashish Sharma [Tue, 19 Aug 2025 10:00:30 +0000 (15:30 +0530)]
Merge pull request #64835 from cloudbehl/rbd-metadata

prometheus: Add RBD image metadata to prometheus

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Sun, 10 Aug 2025 10:38:33 +0000 (20:38 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "ceph-fuse" in the file doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #65021 from zdover23/wip-doc-2025-08-14-cephfs-troubleshooting
Zac Dover [Tue, 19 Aug 2025 08:44:40 +0000 (18:44 +1000)]
Merge pull request #65021 from zdover23/wip-doc-2025-08-14-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoqa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair functionality.
Ronen Friedman [Thu, 7 Aug 2025 04:54:30 +0000 (23:54 -0500)]
qa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair functionality.

The new version of osd-scrub-dump.sh is designed to
allow multiple "corruption methods" on a subset of objects.
The functionality includes specifying:
- the number of objects created;
- the number to have their Primary version modified;
- the number to have their Replicas modified;
- the set of "manipulations" to perform on the objects.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agodebian/control: install libnuma-dev unconditionally
Dan Mick [Mon, 18 Aug 2025 19:15:42 +0000 (12:15 -0700)]
debian/control: install libnuma-dev unconditionally

The arm64-only module uadk needs numa.h to build; nothing else
ensures it's available.  Make it an unconditional ceph build
dependency on behalf of the arm64 build.

Fixes: https://tracker.ceph.com/issues/72594
Signed-off-by: Dan Mick <dan.mick@redhat.com>
3 weeks agoMerge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc wip-yuri-main-baseline
afreen23 [Mon, 18 Aug 2025 15:25:43 +0000 (20:55 +0530)]
Merge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc

mgr/dashboard: [RGW] - Target Storage Class in s3 tiering Config

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
3 weeks agoMerge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2
Zac Dover [Mon, 18 Aug 2025 13:50:53 +0000 (23:50 +1000)]
Merge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4
Zac Dover [Mon, 18 Aug 2025 13:48:36 +0000 (23:48 +1000)]
Merge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:45:42 +0000 (23:45 +1000)]
Merge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:43:05 +0000 (23:43 +1000)]
Merge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agotasks/cephfs: Use different errmsg for invalid dir wip-choffman-72355
Christopher Hoffman [Mon, 18 Aug 2025 13:02:59 +0000 (13:02 +0000)]
tasks/cephfs: Use different errmsg for invalid dir

During test_df_for_invalid_directory, path_walk is now called.
Use a more general error message as more errnos can be returned
and this will be a better catch all.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
3 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Thu, 14 Aug 2025 05:20:53 +0000 (15:20 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "In-memory log dumps" in
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bc1aa66f356981ed977ac96e7d235f4f9c43547b)

fixup

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agomgr/prometheus: fix enabled_modules check for smb metadata wip-athakkar-testing-2025-08-18-1527
Avan Thakkar [Mon, 18 Aug 2025 09:12:12 +0000 (14:42 +0530)]
mgr/prometheus: fix enabled_modules check for smb metadata

For get_smb_metadata check for enabled modules from mgr_map instead of available modules
to get list of mgr modules which are enabled on active mgr.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
3 weeks agoMerge pull request #64626 from xxhdx1985126/wip-72173
Matan Breizman [Mon, 18 Aug 2025 09:11:45 +0000 (12:11 +0300)]
Merge pull request #64626 from xxhdx1985126/wip-72173

crimson/os/seastore: add support for OP_SPLIT_COLLECTION2

Reviewed-by: Samuel Just <sjust@redhat.com>
3 weeks agoMerge pull request #64828 from xxhdx1985126/wip-71363
Matan Breizman [Mon, 18 Aug 2025 09:09:56 +0000 (12:09 +0300)]
Merge pull request #64828 from xxhdx1985126/wip-71363

crimson/os/seastore: link RetiredExtentPlaceholder up to lba leaf nodes

Reviewed-by: Samuel Just <sjust@redhat.com>
3 weeks agoMerge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable...
Nizamudeen A [Mon, 18 Aug 2025 09:04:27 +0000 (14:34 +0530)]
Merge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable-and-height-consistent

mgr/dashboard: Made expandable table row height consistent across the cluster

3 weeks agoMerge pull request #65051 from jannisspeer/patch-4
Zac Dover [Mon, 18 Aug 2025 08:53:12 +0000 (18:53 +1000)]
Merge pull request #65051 from jannisspeer/patch-4

doc/cephfs: Update quota.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64772 from rhcs-dashboard/form-and-style-fixes
afreen23 [Mon, 18 Aug 2025 07:40:03 +0000 (13:10 +0530)]
Merge pull request #64772 from rhcs-dashboard/form-and-style-fixes

mgr/dashboard: form and style fixes

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 weeks agodoc/cephfs: Update quota.rst
Jannis Speer [Thu, 14 Aug 2025 16:49:48 +0000 (18:49 +0200)]
doc/cephfs: Update quota.rst

Make the user aware to adapt the client capabilities to enable the configuration of quotas.

Signed-off-by: Jannis Speer <Jannis.speer@tutanota.com>
doc/cephfs: fix broken link

Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 06:26:47 +0000 (16:26 +1000)]
Merge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Mon, 11 Aug 2025 04:30:22 +0000 (14:30 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "Slow requests" in the file
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #65022 from gbregman/main
Ilya Dryomov [Sun, 17 Aug 2025 19:37:06 +0000 (21:37 +0200)]
Merge pull request #65022 from gbregman/main

pybind/rados: Add list_lockers() and break_lock() to Rados Python interface

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agoMerge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close
afreen23 [Sun, 17 Aug 2025 12:00:42 +0000 (17:30 +0530)]
Merge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close

mgr/dashboard: close token status subscription properly

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
3 weeks agoMerge pull request #64945 from afreen23/fix-cap-thresholds
afreen23 [Sun, 17 Aug 2025 11:58:22 +0000 (17:28 +0530)]
Merge pull request #64945 from afreen23/fix-cap-thresholds

Replace capacity threshold data with prometheus metrics

Reviewed-by: Nizamudeen A <nia@redhat.com>
3 weeks agoMerge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones
Venky Shankar [Sun, 17 Aug 2025 11:02:31 +0000 (16:32 +0530)]
Merge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones

qa/cephfs: increase clones for test_for_6_ongoing_clones

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agoMerge PR #64702 into main
Venky Shankar [Sun, 17 Aug 2025 10:57:43 +0000 (16:27 +0530)]
Merge PR #64702 into main

* refs/pull/64702/head:

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agoMerge pull request #64701 from izxl007/getattr
Venky Shankar [Sun, 17 Aug 2025 10:56:57 +0000 (16:26 +0530)]
Merge pull request #64701 from izxl007/getattr

fuse: improve error handling in fuse_ll_getattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agopybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc
Dan Mick [Wed, 13 Aug 2025 19:16:45 +0000 (12:16 -0700)]
pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Add an optional NPM_CACHEDIR environment variable to serve as the
cache parameter for npm in the dashboard frontend build.  The idea
is to allow it to persist across builds so that we decrease the load
on registry.npmjs.org, which has been throttling our requests when
using build-with-container.py, and also hopefully improve the time
of the frontend npm operations.

build-with-container.py also grows a --npm-cache-path option to allow
setting it for container builds and passing the envvar to the build.

Fixes: https://tracker.ceph.com/issues/72298
Signed-off-by: Dan Mick <dan.mick@redhat.com>