]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 weeks agorbd: fix unused function warning when WITH_KRBD is disabled 64137/head
Kefu Chai [Tue, 24 Jun 2025 14:38:13 +0000 (22:38 +0800)]
rbd: fix unused function warning when WITH_KRBD is disabled

Guard print_error_description() and get_unsupported_features() with
`#ifdef WITH_KRBD` to prevent compiler warnings when KRBD support is
not enabled.

These functions are only called by do_kernel_map(), which is itself
conditionally compiled. When WITH_KRBD is not defined, the compiler
generates unused function warnings for these helper functions.

Fixes warning:

```
/home/kefu/dev/ceph/src/tools/rbd/action/Kernel.cc:305:13: warning: ‘void rbd::action::kernel::print_error_description(const char*, const char*, const char*, const char*, int)’ defined but not used [-Wunused-function]
  305 | static void print_error_description(const char *poolname,
      |             ^~~~~~~~~~~~~~~~~~~~~~~
```

this silences the warning.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge pull request #64072 from phlogistonjohn/jjm-wip-el10
Dan Mick [Mon, 23 Jun 2025 16:42:44 +0000 (09:42 -0700)]
Merge pull request #64072 from phlogistonjohn/jjm-wip-el10

script/build-with-container.: fixes and improvments towards el10

3 weeks agoMerge pull request #63883 from leonidc/fix_upgrade_gw_lost
SrinivasaBharathKanta [Mon, 23 Jun 2025 16:12:40 +0000 (21:42 +0530)]
Merge pull request #63883 from leonidc/fix_upgrade_gw_lost

nvmeofgw: fix sending acks during upgrade

3 weeks agoMerge pull request #63796 from tchaikov/wip-memstore-silence-warning
Kefu Chai [Mon, 23 Jun 2025 14:07:25 +0000 (22:07 +0800)]
Merge pull request #63796 from tchaikov/wip-memstore-silence-warning

cmake: suppress -Wmaybe-uninitialized warning in memstore PageSet

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #64075 from nh2/docs-balancer-variable-name
Zac Dover [Mon, 23 Jun 2025 14:02:25 +0000 (00:02 +1000)]
Merge pull request #64075 from nh2/docs-balancer-variable-name

doc/rados/operations: Actually mention `upmap_max_deviation` setting name

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64071 from tchaikov/wip-static_ptr-alignas
Casey Bodley [Mon, 23 Jun 2025 13:12:33 +0000 (09:12 -0400)]
Merge pull request #64071 from tchaikov/wip-static_ptr-alignas

common/static_ptr: pass an integer to alignas to fix GCC-11 build fai…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge pull request #64103 from zdover23/wip-doc-2025-06-23-tr71793-radosgw-notifications
Zac Dover [Mon, 23 Jun 2025 13:02:42 +0000 (23:02 +1000)]
Merge pull request #64103 from zdover23/wip-doc-2025-06-23-tr71793-radosgw-notifications

doc/radosgw: improve "pubsub_push_pending" info

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #63398 from NitzanMordhai/wip-nitzan-calc-pool-availability-valgri...
NitzanMordhai [Mon, 23 Jun 2025 12:20:14 +0000 (15:20 +0300)]
Merge pull request #63398 from NitzanMordhai/wip-nitzan-calc-pool-availability-valgrind-invalid-read

src/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability()

3 weeks agodoc/rados/operations: Actually mention `upmap_max_deviation` setting name 64075/head
Niklas Hambüchen [Sat, 21 Jun 2025 17:53:34 +0000 (19:53 +0200)]
doc/rados/operations: Actually mention `upmap_max_deviation` setting name

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
3 weeks agoMerge pull request #63425 from NitzanMordhai/wip-nitzan-osdmap-incremental-process...
NitzanMordhai [Mon, 23 Jun 2025 09:31:02 +0000 (12:31 +0300)]
Merge pull request #63425 from NitzanMordhai/wip-nitzan-osdmap-incremental-process-idle

objecter: request OSDMap after idle ticks

3 weeks agoMerge pull request #62916 from mohit84/tick_without_osd_crash
NitzanMordhai [Mon, 23 Jun 2025 09:30:34 +0000 (12:30 +0300)]
Merge pull request #62916 from mohit84/tick_without_osd_crash

osd: Access/Modify epoch maps under mutex in OSDSuperblock class

3 weeks agodoc/radosgw: improve "pubsub_push_pending" info 64103/head
Zac Dover [Mon, 23 Jun 2025 08:47:05 +0000 (18:47 +1000)]
doc/radosgw: improve "pubsub_push_pending" info

Explain in greater detail what the counter "pubsub_push_pending" counts.

Fixes: https://tracker.ceph.com/issues/71793
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64046 from JonBailey1993/ceph_test_rados_io_sequence_error_readab...
Jon Bailey [Mon, 23 Jun 2025 08:17:41 +0000 (09:17 +0100)]
Merge pull request #64046 from JonBailey1993/ceph_test_rados_io_sequence_error_readability

test/osd: Improve readability of errors in ceph_test_rados_io_sequence

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #64026 from zdover23/wip-doc-2025-06-19-tr-68619-radosgw-s3select
Zac Dover [Mon, 23 Jun 2025 07:01:50 +0000 (17:01 +1000)]
Merge pull request #64026 from zdover23/wip-doc-2025-06-19-tr-68619-radosgw-s3select

doc/radosgw: update aws specification link

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agosrc/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability() 63398/head
Nitzan Mordechai [Wed, 21 May 2025 11:41:01 +0000 (11:41 +0000)]
src/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability()

Erasing entries from `pool_availability` inside a range-for
loop invalidated the hidden iterator, triggering an
“Invalid read” under Valgrind.

- Use `std::erase_if(pool_availability, predicate)` for
  atomic removal.
- Refactor the stats-update loop to use structured bindings
  and a clear `++it` for readability.

Fixes: https://tracker.ceph.com/issues/71271
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
3 weeks agoMerge pull request #64019 from cyx1231st/wip-seastore-improve-ut
Yingxin Cheng [Mon, 23 Jun 2025 02:00:27 +0000 (10:00 +0800)]
Merge pull request #64019 from cyx1231st/wip-seastore-improve-ut

test/crimson/seastore/test_transaction_manager: improve check_available()

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
3 weeks agoMerge pull request #64006 from gbregman/main
Gil Bregman [Sat, 21 Jun 2025 19:39:40 +0000 (22:39 +0300)]
Merge pull request #64006 from gbregman/main

mgr/cephadm/nvmeof: Allow setting NVMEoF gateway notifications interval in the spec file

3 weeks agoMerge pull request #63247 from phlogistonjohn/jjm-cephadm-guess-name
Adam King [Sat, 21 Jun 2025 18:07:16 +0000 (14:07 -0400)]
Merge pull request #63247 from phlogistonjohn/jjm-cephadm-guess-name

cephadm: minor ergonomic improvements for hackers

Reviewed-by: Adam King <adking@redhat.com>
4 weeks agoMerge pull request #62445 from mchangir/mgr-bump-up-ref-count-for-MgrOpRequest
SrinivasaBharathKanta [Sat, 21 Jun 2025 05:05:31 +0000 (10:35 +0530)]
Merge pull request #62445 from mchangir/mgr-bump-up-ref-count-for-MgrOpRequest

mgr: avoid explicit dropping of ref

4 weeks agoscript/build-with-container: add rocky10 to built-in distros 64072/head
John Mulligan [Fri, 20 Jun 2025 23:03:22 +0000 (19:03 -0400)]
script/build-with-container: add rocky10 to built-in distros

Add "rocky10" (also aliased to "rockylinux10") to the known distro bases
so that the team can begin to experiment with the Rocky Linux 10 distro
for containerized builds.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoscript/build-with-container: support --build-arg arguments
John Mulligan [Fri, 20 Jun 2025 23:46:16 +0000 (19:46 -0400)]
script/build-with-container: support --build-arg arguments

Allow passing --build-arg arguments to build-with-container.py
which are passed directly to the container build command.
This allows a developer to toggle certain features of the build
container, however this should not be used in CI.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoDockerfile.build: make WITH_CRIMSON a build arg
John Mulligan [Fri, 20 Jun 2025 23:34:45 +0000 (19:34 -0400)]
Dockerfile.build: make WITH_CRIMSON a build arg

We've chosen to enable crimson by default to match the CI, but that
is not always something a developer may want, so make WITH_CRIMSON
a build argument that can be toggled off if necessary.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoinstall-deps.sh: enable crb for rocky 10
John Mulligan [Fri, 20 Jun 2025 23:25:53 +0000 (19:25 -0400)]
install-deps.sh: enable crb for rocky 10

Rocky Linux 10 has a CRB repo that must be enabled for a number of
Ceph's dependencies to be installed via dnf.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
4 weeks agobuildcontainer-setup.sh: allow testing with various ELish bases
John Mulligan [Mon, 16 Jun 2025 18:38:00 +0000 (14:38 -0400)]
buildcontainer-setup.sh: allow testing with various ELish bases

Allow testing with more RPM-based/EL style distros.
Simplify the centos selection as centos8 ought to always
be matched by the earlier block.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
4 weeks agocommon/static_ptr: pass an integer to alignas to fix GCC-11 build failure 64071/head
Kefu Chai [Fri, 20 Jun 2025 23:00:01 +0000 (07:00 +0800)]
common/static_ptr: pass an integer to alignas to fix GCC-11 build failure

GCC-11 fails to compile `alignas(std::bit_ceil(Size))` despite std::bit_ceil()
being marked constexpr in libstdc++11. The compiler doesn't recognize it as a
constant expression, while GCC-12+ and Clang-14+ handle it correctly.

Define the alignment value as a separate constexpr variable before passing it
to alignas() to ensure compatibility with GCC-11.

Fixes compilation issue introduced in commit 73399b05 when std::aligned_storage_t
was replaced with alignas.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agoMerge pull request #63561 from cbodley/wip-71479
J. Eric Ivancich [Fri, 20 Jun 2025 20:02:10 +0000 (14:02 -0600)]
Merge pull request #63561 from cbodley/wip-71479

rgw: RGWPostBucketLoggingOp uses yield context

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
4 weeks agoMerge pull request #63443 from ivancich/wip-dbr-versioned
J. Eric Ivancich [Fri, 20 Jun 2025 20:01:32 +0000 (14:01 -0600)]
Merge pull request #63443 from ivancich/wip-dbr-versioned

rgw: make sure max_objs_per_shard is appropriate in debugging scenarios

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 weeks agoMerge pull request #63271 from rafaelweingartner/parameter_to_externalize_secret_key_...
J. Eric Ivancich [Fri, 20 Jun 2025 20:00:54 +0000 (14:00 -0600)]
Merge pull request #63271 from rafaelweingartner/parameter_to_externalize_secret_key_ttl-upstream-2

rgw: Externalize Keystone secret key cache TTL

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Tobias Urdin <tobias.urdin@binero.com>
4 weeks agoMerge pull request #63212 from pritha-srivastava/wip-rgw-sts-key-default-val
J. Eric Ivancich [Fri, 20 Jun 2025 19:59:27 +0000 (13:59 -0600)]
Merge pull request #63212 from pritha-srivastava/wip-rgw-sts-key-default-val

rgw/sts: removing default value of rgw sts key and adding checks to return error when it is not set in config options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 weeks agoMerge pull request #63364 from batrick/mon-redundant
SrinivasaBharathKanta [Fri, 20 Jun 2025 15:42:39 +0000 (21:12 +0530)]
Merge pull request #63364 from batrick/mon-redundant

mon/MonMap: remove redundant method

4 weeks agoMerge pull request #63302 from VinayBhaskar-V/wip-sort-snaps-changes
Ilya Dryomov [Fri, 20 Jun 2025 15:09:10 +0000 (17:09 +0200)]
Merge pull request #63302 from VinayBhaskar-V/wip-sort-snaps-changes

librbd: retry list_snap_orders() once instead of failing sort_snaps()

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
4 weeks agoMerge pull request #64048 from ronen-fr/wip-rf-numerrors-doc
Ronen Friedman [Fri, 20 Jun 2025 12:53:32 +0000 (15:53 +0300)]
Merge pull request #64048 from ronen-fr/wip-rf-numerrors-doc

osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
4 weeks agoMerge pull request #63522 from connorfawcett/ec-tool-encode-fix
Alex Ainscow [Fri, 20 Jun 2025 11:41:45 +0000 (12:41 +0100)]
Merge pull request #63522 from connorfawcett/ec-tool-encode-fix

tools/ceph-erasure-code-tool: Fix issue stopping parity shards being generated when running encode.

4 weeks agoMerge pull request #63761 from aclamk/aclamk-bs-bluefs-various-fixes
Kefu Chai [Fri, 20 Jun 2025 10:27:53 +0000 (18:27 +0800)]
Merge pull request #63761 from aclamk/aclamk-bs-bluefs-various-fixes

os/bluestore: Set of various fixes to bluefs

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
4 weeks agoMerge pull request #63516 from mohit84/refactor_mclock
SrinivasaBharathKanta [Fri, 20 Jun 2025 08:24:54 +0000 (13:54 +0530)]
Merge pull request #63516 from mohit84/refactor_mclock

mclock : Refactor the mClock scheduler source code

4 weeks agoMerge pull request #62844 from MaxKellermann/auth_includes
SrinivasaBharathKanta [Fri, 20 Jun 2025 08:24:08 +0000 (13:54 +0530)]
Merge pull request #62844 from MaxKellermann/auth_includes

auth: add missing includes

4 weeks agoMerge PR #63517 into main
Venky Shankar [Fri, 20 Jun 2025 07:38:04 +0000 (13:08 +0530)]
Merge PR #63517 into main

* refs/pull/63517/head:
qa/cephfs: ignore `OSD_DOWN/osds down` warning

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 weeks agoMerge PR #63383 into main
Venky Shankar [Fri, 20 Jun 2025 07:04:07 +0000 (12:34 +0530)]
Merge PR #63383 into main

* refs/pull/63383/head:
test: multi client file read/write test for extending writes
client: do not check file size when inode does not have Fc caps

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
4 weeks agoMerge PR #63323 into main
Venky Shankar [Fri, 20 Jun 2025 06:54:44 +0000 (12:24 +0530)]
Merge PR #63323 into main

* refs/pull/63323/head:
Merge branch 'main' into main
qa/cephfs: replace deprecated assertEquals with assertEqual

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
4 weeks agoMerge pull request #64035 from joscollin/wip-mirroring-doc-fix
Jos Collin [Fri, 20 Jun 2025 06:09:25 +0000 (11:39 +0530)]
Merge pull request #64035 from joscollin/wip-mirroring-doc-fix

doc/qa: drop mentioning 'manual' in remote snapshotting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
4 weeks agoMerge pull request #64002 from xxhdx1985126/wip-seastore-cache-capture
Yingxin Cheng [Fri, 20 Jun 2025 01:33:22 +0000 (09:33 +0800)]
Merge pull request #64002 from xxhdx1985126/wip-seastore-cache-capture

crimson/os/seastore/cache: fix inappropriate lambda by-reference captures in get_extent_viewable_by_trans()

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 weeks agoMerge pull request #64040 from tchaikov/wip-static_ptr-no-aligned_storage
Kefu Chai [Fri, 20 Jun 2025 01:15:19 +0000 (09:15 +0800)]
Merge pull request #64040 from tchaikov/wip-static_ptr-no-aligned_storage

common/static_ptr: avoid using std::aligned_storage_t

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63988 from Hezko/nvmeof-cli-ns-cmnds
Hezko [Fri, 20 Jun 2025 00:51:17 +0000 (03:51 +0300)]
Merge pull request #63988 from Hezko/nvmeof-cli-ns-cmnds

mgr/dashboard: add missing namespace CLI commands

4 weeks agoMerge pull request #63486 from Matan-B/wip-matanb-ndebug-typo
SrinivasaBharathKanta [Thu, 19 Jun 2025 23:33:46 +0000 (05:03 +0530)]
Merge pull request #63486 from Matan-B/wip-matanb-ndebug-typo

src: fix NDEBUG typo

4 weeks agoMerge pull request #58881 from cbodley/wip-gcc-13-lto
SrinivasaBharathKanta [Thu, 19 Jun 2025 23:31:32 +0000 (05:01 +0530)]
Merge pull request #58881 from cbodley/wip-gcc-13-lto

rpm: reenable lto for gcc-toolset-13 by requiring 13.3

4 weeks agoMerge pull request #64037 from tchaikov/wip-neorados-alignedas
Kefu Chai [Thu, 19 Jun 2025 23:20:45 +0000 (07:20 +0800)]
Merge pull request #64037 from tchaikov/wip-neorados-alignedas

neorados: avoid using std::aligned_storage_t

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #64042 from tchaikov/wip-rgw-no-aligned_storage
Kefu Chai [Thu, 19 Jun 2025 23:20:11 +0000 (07:20 +0800)]
Merge pull request #64042 from tchaikov/wip-rgw-no-aligned_storage

rgw: avoid using std::aligned_storage_t

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63925 from athanatos/sjust/wip-71658
Samuel Just [Thu, 19 Jun 2025 23:17:44 +0000 (16:17 -0700)]
Merge pull request #63925 from athanatos/sjust/wip-71658

test/fs/CMakeLists.txt: add ceph-common to ceph_test_trim_caps and ceph_test_ino_release_cb

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks agoMerge pull request #62568 from Matan-B/wip-matanb-fmt-11.1.4
Kefu Chai [Thu, 19 Jun 2025 23:10:39 +0000 (07:10 +0800)]
Merge pull request #62568 from Matan-B/wip-matanb-fmt-11.1.4

fmt: bump up version to 11.1.4

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agoMerge pull request #64036 from tchaikov/wip-common-io-exerciser-fix-buffer-overread
Kefu Chai [Thu, 19 Jun 2025 22:57:52 +0000 (06:57 +0800)]
Merge pull request #64036 from tchaikov/wip-common-io-exerciser-fix-buffer-overread

common/io_exerciser: fix buffer overread in DataGenerator

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
4 weeks agoMerge pull request #63800 from tchaikov/wip-fmt-utime
Kefu Chai [Thu, 19 Jun 2025 22:52:17 +0000 (06:52 +0800)]
Merge pull request #63800 from tchaikov/wip-fmt-utime

include/utime_fmt.h: replace deprecated fmt::localtime() with localti…

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agoMerge pull request #63891 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
afreen23 [Thu, 19 Jun 2025 22:37:19 +0000 (04:07 +0530)]
Merge pull request #63891 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-multi-f14091dc8f

mgr/dashboard: bump vite and @angular-devkit/build-angular in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agomgr/dashboard: add missing ns commands 63988/head
Tomer Haskalovitch [Thu, 22 May 2025 10:35:26 +0000 (13:35 +0300)]
mgr/dashboard: add missing ns commands

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
4 weeks agoMerge pull request #64047 from kamoltat/wip-ksirivad-revert-pr-63413
Kamoltat (Junior) Sirivadhna [Thu, 19 Jun 2025 18:34:35 +0000 (14:34 -0400)]
Merge pull request #64047 from kamoltat/wip-ksirivad-revert-pr-63413

ProtocolV2: Revert "make handle_existing_connection check for cookie mismatch first"
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agoMerge pull request #63149 from ajarr/wip-ajarr-fix-mirror-image-get-mode
Ilya Dryomov [Thu, 19 Jun 2025 18:10:11 +0000 (20:10 +0200)]
Merge pull request #63149 from ajarr/wip-ajarr-fix-mirror-image-get-mode

librbd/api/Mirror: return EINVAL from image_get_mode() when the image is disabled for mirroring

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #63295 from tchaikov/rbd-cache-pwl-fix-leaks
Ilya Dryomov [Thu, 19 Jun 2025 18:08:17 +0000 (20:08 +0200)]
Merge pull request #63295 from tchaikov/rbd-cache-pwl-fix-leaks

librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup

Reviewed-by: Yin Congmin <congmin.yin@intel.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
4 weeks agoosd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects 64048/head
Ronen Friedman [Thu, 19 Jun 2025 15:27:38 +0000 (10:27 -0500)]
osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

'osd_scrub_auto_repair_num_errors' limits the number of damaged objects
that we will try to auto-repair during a scrub. Its documentation
referred to "number of errors", which did not fit the implementation.

Fixes: https://tracker.ceph.com/issues/71754
Fixes: Red Hat BZ2316244
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agoMerge pull request #63521 from mertsunacoglu/wip-url-decode-check
Casey Bodley [Thu, 19 Jun 2025 16:17:32 +0000 (12:17 -0400)]
Merge pull request #63521 from mertsunacoglu/wip-url-decode-check

fix: the RGW crash caused by special characters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 weeks agoMerge pull request #64000 from ronen-fr/wip-rf-testd4n
Ronen Friedman [Thu, 19 Jun 2025 16:05:12 +0000 (19:05 +0300)]
Merge pull request #64000 from ronen-fr/wip-rf-testd4n

test/rgw/test_d4n_filter: remove unused captures

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Samarah <samarah.uriarte@ibm.com>
4 weeks agoMerge pull request #63959 from yuvalif/wip-yuval-71608
Yuval Lifshitz [Thu, 19 Jun 2025 15:47:31 +0000 (18:47 +0300)]
Merge pull request #63959 from yuvalif/wip-yuval-71608

rgw/logging: make unique part of log file both random and incremental

4 weeks agotest/osd: Make error messages that occur based on configuration problems or user... 64046/head
Jon [Thu, 19 Jun 2025 14:16:36 +0000 (15:16 +0100)]
test/osd: Make error messages that occur based on configuration problems or user error more readable in ceph_test_rados_io_sequence

Move away from using ceph_abort for error messages that occur from configuration issues and user error to printing to std::error as it is not necissairy to produce a call stack and core dumps in these cases and much better to give an easily readable message to the user.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
4 weeks agoProtocolV2: Revert "make handle_existing_connection check for cookie mismatch first" 64047/head
Kamoltat Sirivadhna [Thu, 19 Jun 2025 14:44:59 +0000 (14:44 +0000)]
ProtocolV2: Revert "make handle_existing_connection check for cookie mismatch first"

Revert Commits of PR: #63413

Fixes: https://tracker.ceph.com/issues/71747
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
4 weeks agoMerge pull request #63931 from phlogistonjohn/jjm-mypy-py312-err
Adam King [Thu, 19 Jun 2025 15:03:44 +0000 (11:03 -0400)]
Merge pull request #63931 from phlogistonjohn/jjm-mypy-py312-err

pybind/mgr: disable mypy error in diskprediction_local module

Reviewed-by: Adam King <adking@redhat.com>
4 weeks agoMerge pull request #63413 from kamoltat/wip-ksirivad-fix-71344
Yuri Weinstein [Thu, 19 Jun 2025 14:16:16 +0000 (07:16 -0700)]
Merge pull request #63413 from kamoltat/wip-ksirivad-fix-71344

[DNM] ProtocolV2: make handle_existing_connection check for cookie mismatch first

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agotest/osd: Add erasure code plugins as a dependancy of ceph_test_rados_io_sequence
Jon [Thu, 19 Jun 2025 14:14:04 +0000 (15:14 +0100)]
test/osd: Add erasure code plugins as a dependancy of ceph_test_rados_io_sequence

ceph_test_rados_io_sequence uses the plugins for determining erasure code values for testing, so we want these to be built as a dependancy of the application when built in isolation

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
4 weeks agoqa: drop manual remote snapshotting from the comment 64035/head
Jos Collin [Thu, 19 Jun 2025 07:47:47 +0000 (13:17 +0530)]
qa: drop manual remote snapshotting from the comment

Drop the word 'manual' from the comment, as this could also happen via snap-schedule.

Signed-off-by: Jos Collin <jcollin@redhat.com>
4 weeks agodoc: drop manual remote snapshotting
Jos Collin [Thu, 19 Jun 2025 07:45:19 +0000 (13:15 +0530)]
doc: drop manual remote snapshotting

Drop the word 'manually' from the doc, as this could also happen
via snap-schedule.

Signed-off-by: Jos Collin <jcollin@redhat.com>
4 weeks agorgw: avoid using std::aligned_storage_t 64042/head
Kefu Chai [Thu, 19 Jun 2025 10:04:05 +0000 (18:04 +0800)]
rgw: avoid using std::aligned_storage_t

std::aligned_storage_t was deprecated in C++23, to be prepared for it,
let's use alignas for the same behavior. because the 3 * 8 (with LP64
data model) is not power-of-2, while `alignas()` requires an alignment
of power of 2. so we use `std::bit_ceil()` to calculate the minimum
alignment greater or equal to this number.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agocommon/static_ptr: avoid using std::aligned_storage_t 64040/head
Kefu Chai [Thu, 19 Jun 2025 09:50:15 +0000 (17:50 +0800)]
common/static_ptr: avoid using std::aligned_storage_t

std::aligned_storage_t was deprecated in C++23, to be prepared for it,
let's use alignas for the same behavior. because the size of `Base`
class is not always power-of-2, while `alignas()` requires an alignment
of power of 2. so we use `std::bit_ceil()` to calculate the minimum
alignment greater or equal to its size.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agoMerge pull request #64007 from tchaikov/wip-update-ceph-object-corpus 63896/head
Ilya Dryomov [Thu, 19 Jun 2025 09:38:21 +0000 (11:38 +0200)]
Merge pull request #64007 from tchaikov/wip-update-ceph-object-corpus

ceph-object-corpus: update submodule

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
4 weeks agoneorados: avoid using std::aligned_storage_t 64037/head
Kefu Chai [Thu, 19 Jun 2025 08:52:59 +0000 (16:52 +0800)]
neorados: avoid using std::aligned_storage_t

std::aligned_storage_t was deprecated in C++23, to be prepared for
it, let's use alignas for the same behavior. because we do not always
pass a power-of-2 number to `std::aligned_storage_t`, while `alignas()`
requires an alignment of power of 2. so we use `std::bit_ceil()` to
calculate the minimum alignment greater or equal to the given number.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agotest: multi client file read/write test for extending writes 63383/head
Venky Shankar [Tue, 20 May 2025 12:20:39 +0000 (12:20 +0000)]
test: multi client file read/write test for extending writes

Credit to @anoopcs9 for the reproducer.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
4 weeks agoclient: do not check file size when inode does not have Fc caps
Venky Shankar [Tue, 20 May 2025 12:19:41 +0000 (12:19 +0000)]
client: do not check file size when inode does not have Fc caps

Since the client is holding Fr caps, the read request can be
directly sent to the OSD. The offset/in->size comparison check
is causing the read request to return with no data since in->size
isn't yet updated when another client does an extending write.

Introduced-by: 942474c2f5b4c696364f3b7411ae7d96444edfa8
Fixes: http://tracker.ceph.com/issues/70726
Signed-off-by: Venky Shankar <vshankar@redhat.com>
4 weeks agocommon/io_exerciser: fix buffer overread in DataGenerator 64036/head
Kefu Chai [Thu, 19 Jun 2025 08:19:04 +0000 (16:19 +0800)]
common/io_exerciser: fix buffer overread in DataGenerator

Fix GCC-15 warning about reading uninitialized memory when copying
random data to fill remaining bytes in generated blocks.

The issue occurred when remainingBytes exceeded the 8-byte size of
the uint64_t rand1 variable, causing memcpy to read beyond the
variable's boundary. While this didn't cause crashes (reading from
stack) and the buffer was still properly filled with rand2, it
violated memory safety and generated compiler warnings.

Fixed by limiting the copy size to the actual size of the source
variable (sizeof(rand1)) to ensure we only read initialized memory.

Resolves GCC-15 warnings:

- DataGenerator.cc:76: memcpy reading 9-15 bytes from 8-byte region
- DataGenerator.cc:108: memcpy reading 9-15 bytes from 8-byte region

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agoMerge pull request #64015 from Naveenaidu/wip-naveen-introduce-config-ok-command
Naveen Naidu [Thu, 19 Jun 2025 07:56:30 +0000 (13:26 +0530)]
Merge pull request #64015 from Naveenaidu/wip-naveen-introduce-config-ok-command

.github/workflows/config-diff-post-comments.js: introduce "/config check ok" command

4 weeks agoMerge pull request #62241 from rhcs-dashboard/fix-70413-main
Aashish Sharma [Thu, 19 Jun 2025 07:14:50 +0000 (12:44 +0530)]
Merge pull request #62241 from rhcs-dashboard/fix-70413-main

mgr/dashboard: Show notification for multi-site sync status in case there is some error

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 weeks agoMerge pull request #63685 from anthonyeleven/eugen-block-april-1
Aashish Sharma [Thu, 19 Jun 2025 07:11:35 +0000 (12:41 +0530)]
Merge pull request #63685 from anthonyeleven/eugen-block-april-1

monitoring/ceph-mixin/dashboards_out: Correct panel title in ceph-cluster-advanced.json

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
4 weeks agoMerge pull request #63328 from bluikko/doc-fix-certmgr-cephadm
Zac Dover [Thu, 19 Jun 2025 06:30:55 +0000 (16:30 +1000)]
Merge pull request #63328 from bluikko/doc-fix-certmgr-cephadm

doc/cephadm: Fix automodule generation in certmgr.rst

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
4 weeks agodoc/radosgw: update aws specification link 64026/head
Zac Dover [Thu, 19 Jun 2025 06:24:24 +0000 (16:24 +1000)]
doc/radosgw: update aws specification link

Update the link to the AWS specification format.

Fixes: https://tracker.ceph.com/issues/68619
Signed-off-by: Zac Dover <zac.dover@proton.me>
4 weeks agoMerge pull request #63907 from zdover23/wip-doc-2025-06-12-radosgw-cloud-transition...
Zac Dover [Thu, 19 Jun 2025 04:53:44 +0000 (14:53 +1000)]
Merge pull request #63907 from zdover23/wip-doc-2025-06-12-radosgw-cloud-transition-1-of-x

doc/radosgw: edit cloud-transition (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #60440 from rhcs-dashboard/add-oauth2-sso-doc
Zac Dover [Thu, 19 Jun 2025 03:47:16 +0000 (13:47 +1000)]
Merge pull request #60440 from rhcs-dashboard/add-oauth2-sso-doc

doc: mgr/dashboard: add OAuth2 SSO documentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks ago.github/workflows/config-diff-post-comments.js: introduce "/config check ok" command 64015/head
Naveen Naidu [Wed, 18 Jun 2025 16:35:04 +0000 (22:05 +0530)]
.github/workflows/config-diff-post-comments.js: introduce "/config check ok" command

Currently, we use the "Check ceph config" CI check to remind users about
any configuration changes that were detected in the PR. There's no easy
way for the script to detect if the relevant docuemtations has been
updated for the config change that was detected.

Users might get confused to still see the CI check failing even after
updating the relevant docs. We update the text message to help diffuse
the confusion. If the users will still like to see the CI check go green
- they can comment `/config check ok` and re-run the failed test.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
4 weeks agoMerge pull request #63983 from hjk068/radosgw-quota
Zac Dover [Thu, 19 Jun 2025 03:07:29 +0000 (13:07 +1000)]
Merge pull request #63983 from hjk068/radosgw-quota

doc/radosgw/admin.rst: explain bucket and uid flags for bucket quota

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
4 weeks agoMerge pull request #63159 from shraddhaag/wip-shraddhaag-availability-2
Shraddha Agrawal [Thu, 19 Jun 2025 02:22:51 +0000 (07:52 +0530)]
Merge pull request #63159 from shraddhaag/wip-shraddhaag-availability-2

mon: add config option to toggle availability score feature

4 weeks agocrimson/os/seastore/cache: fix inappropriate lambda by-reference 64002/head
Xuehan Xu [Wed, 18 Jun 2025 10:09:22 +0000 (18:09 +0800)]
crimson/os/seastore/cache: fix inappropriate lambda by-reference
captures in get_extent_viewable_by_trans()

Fixes: https://tracker.ceph.com/issues/71719
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
4 weeks agotest/crimson/seastore/test_transaction_manager: improve check_available() 64019/head
Yingxin Cheng [Thu, 19 Jun 2025 01:52:34 +0000 (09:52 +0800)]
test/crimson/seastore/test_transaction_manager: improve check_available()

Locally, the test time has reduced by ~35% after the improvement.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 weeks agotest/crimson/gtest_seastar: account test time
Yingxin Cheng [Wed, 18 Jun 2025 06:59:35 +0000 (14:59 +0800)]
test/crimson/gtest_seastar: account test time

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 weeks agoMerge pull request #63416 from VallariAg/wip-revert-nvmeof-ceph-status
SrinivasaBharathKanta [Thu, 19 Jun 2025 00:04:49 +0000 (05:34 +0530)]
Merge pull request #63416 from VallariAg/wip-revert-nvmeof-ceph-status

mon: Revert "mon: Add nvmeof group/gateway name in "ceph -s""

4 weeks agoMerge pull request #63296 from NitzanMordhai/wip-nitzan-peering-state-toofull-race
SrinivasaBharathKanta [Thu, 19 Jun 2025 00:03:16 +0000 (05:33 +0530)]
Merge pull request #63296 from NitzanMordhai/wip-nitzan-peering-state-toofull-race

osd/PeeringState: re-evaluate full OSDs while waiting for recovery re…

4 weeks agoMerge pull request #62952 from aainscow/scrub_improvements
Laura Flores [Wed, 18 Jun 2025 21:15:55 +0000 (16:15 -0500)]
Merge pull request #62952 from aainscow/scrub_improvements

osd: Correct scrub analysis for optimised EC

4 weeks agoMerge pull request #61850 from AliMasarweh/wip-alimasa-rgw-standalone
Daniel Gryniewicz [Wed, 18 Jun 2025 17:03:12 +0000 (13:03 -0400)]
Merge pull request #61850 from AliMasarweh/wip-alimasa-rgw-standalone

RGW/standalone: Build without RadosStore

4 weeks agoMerge pull request #63572 from Naveenaidu/wip-naveen-fix-DeferBackfill-race-condition
Naveen Naidu [Wed, 18 Jun 2025 16:25:54 +0000 (21:55 +0530)]
Merge pull request #63572 from Naveenaidu/wip-naveen-fix-DeferBackfill-race-condition

osd/PeeringState: handle race condition of DeferBackfill event for Backfilling state

4 weeks agorgw/logging: make unique part of log file both random and incremental 63959/head
Yuval Lifshitz [Mon, 16 Jun 2025 11:05:25 +0000 (11:05 +0000)]
rgw/logging: make unique part of log file both random and incremental

new format will be: 10 char incremental count (so 32bit uint fit in it).
and 6 char alphanumeric random part.
this should fix possible race conditions in case of multisite

Fixes: https://tracker.ceph.com/issues/71608
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
4 weeks agoMerge pull request #64001 from tchaikov/wip-debian-systemd-install
Kefu Chai [Wed, 18 Jun 2025 13:27:54 +0000 (21:27 +0800)]
Merge pull request #64001 from tchaikov/wip-debian-systemd-install

deb: use glob match to support systemd unit dir changes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 weeks agoceph-object-corpus: update submodule 64007/head
Kefu Chai [Wed, 18 Jun 2025 13:19:21 +0000 (21:19 +0800)]
ceph-object-corpus: update submodule

Update the ceph-object-corpus submodule to pick up the change to
mark cls_rbd_snap as forward incompatible since nautilus. This change
allows us to update ceph-dencoder to allocate fresh instances for each
decode operation instead of reusing existing ones. The uncoming
change in ceph-dencoder will allow us to identify the potential
compatibility break early.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agomgr/cephadm/nvmeof: Allow setting NVMEoF gateway read notifications interval in the... 64006/head
Gil Bregman [Wed, 18 Jun 2025 12:38:33 +0000 (15:38 +0300)]
mgr/cephadm/nvmeof: Allow setting NVMEoF gateway read notifications interval in the spec file

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

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
4 weeks agodeb: use variable expansion to support systemd unit dir changes 64001/head
Kefu Chai [Wed, 18 Jun 2025 09:22:36 +0000 (17:22 +0800)]
deb: use variable expansion to support systemd unit dir changes

Ubuntu changed the systemd unit directory location between releases:
- Jammy (22.04): /lib/systemd/system
- Noble (24.04): /usr/lib/systemd/system

To maintain compatibility across both versions, update .install files
to use brace expansion pattern {usr/,}lib/systemd/system/<service>.

This pattern works because dh_install uses bsd_glob() with GLOB_CSH
flags, which expands braces and matches files in both locations
depending on where CMakeLists.txt actually installed them.

Fixes installation issues when building packages on Noble while
maintaining backward compatibility with Jammy builds.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agotest/rgw/test_d4n_filter: remove unused captures 64000/head
Ronen Friedman [Wed, 18 Jun 2025 08:17:25 +0000 (03:17 -0500)]
test/rgw/test_d4n_filter: remove unused captures

to silence warnings

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agoqa/cephfs: ignore `OSD_DOWN/osds down` warning 63517/head
Venky Shankar [Tue, 27 May 2025 07:26:12 +0000 (07:26 +0000)]
qa/cephfs: ignore `OSD_DOWN/osds down` warning

Runs have started failing a lot with the human friendly variant
of the warning. OSD_DOWN is in the ignore list, however, the human
friendly warning (osds down) isn't.

Fixes: http://tracker.ceph.com/issues/71446
Signed-off-by: Venky Shankar <vshankar@redhat.com>
4 weeks agoMerge PR #63619 into main 18.2.1-334.el9cp
Venky Shankar [Wed, 18 Jun 2025 05:29:58 +0000 (10:59 +0530)]
Merge PR #63619 into main

* refs/pull/63619/head:
client: asynchronous fsync can decrement request ref twice

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>