]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 weeks agomon: add LARGE_CRUSH_BUCKET heath warning dvanders_large_crush_buckets 64055/head
Dan van der Ster [Fri, 20 Jun 2025 00:58:29 +0000 (17:58 -0700)]
mon: add LARGE_CRUSH_BUCKET heath warning

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agoqa/workunits: test rescale-by-scaling-factor
Dan van der Ster [Thu, 19 Jun 2025 21:57:19 +0000 (14:57 -0700)]
qa/workunits: test rescale-by-scaling-factor

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agomon/OSDMonitor: implement osd crush reweight-by-scaling-factor
Dan van der Ster [Thu, 19 Jun 2025 23:59:38 +0000 (16:59 -0700)]
mon/OSDMonitor: implement osd crush reweight-by-scaling-factor

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agoOSD: check crush weight at startup
Dan van der Ster [Thu, 19 Jun 2025 23:56:33 +0000 (16:56 -0700)]
OSD: check crush weight at startup

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agocrimson/OSD::_add_me_to_crush: apply osd_crush_scaling_factor
Dan van der Ster [Thu, 19 Jun 2025 20:10:07 +0000 (13:10 -0700)]
crimson/OSD::_add_me_to_crush: apply osd_crush_scaling_factor

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agoOSD::update_crush_location: apply osd_crush_scaling_factor
Dan van der Ster [Wed, 18 Jun 2025 19:33:12 +0000 (12:33 -0700)]
OSD::update_crush_location: apply osd_crush_scaling_factor

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
4 weeks agocommon/options: add option osd_crush_scaling_factor
Dan van der Ster [Wed, 18 Jun 2025 19:28:16 +0000 (12:28 -0700)]
common/options: add option osd_crush_scaling_factor

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.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 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 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 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 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 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 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 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 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>
4 weeks agoMerge pull request #60507 from synarete/ss-cephfs-asyncio-use-after-free-bugfix
Venky Shankar [Wed, 18 Jun 2025 05:06:01 +0000 (10:36 +0530)]
Merge pull request #60507 from synarete/ss-cephfs-asyncio-use-after-free-bugfix

client: fix memory leak in Client::CRF_iofinish::complete

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks agoMerge pull request #63937 from tchaikov/wip-mds-inode-valid-test-instances
Kefu Chai [Wed, 18 Jun 2025 03:28:52 +0000 (11:28 +0800)]
Merge pull request #63937 from tchaikov/wip-mds-inode-valid-test-instances

mds: generate symlink inode with correct mode

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks agoMerge pull request #63933 from tchaikov/wip-rbd-cls_rbd_snap
Ilya Dryomov [Tue, 17 Jun 2025 20:41:52 +0000 (22:41 +0200)]
Merge pull request #63933 from tchaikov/wip-rbd-cls_rbd_snap

cls/rbd: use default values for non-decoded fields in test instances

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
4 weeks agoMerge pull request #63975 from tchaikov/wip-cmake-find_program
Casey Bodley [Tue, 17 Jun 2025 16:13:13 +0000 (12:13 -0400)]
Merge pull request #63975 from tchaikov/wip-cmake-find_program

cmake: use find_program(REQUIRED) to fail early on missing programs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks agoMerge pull request #63399 from Shwetha-Acharya/share_config_update
Adam King [Tue, 17 Jun 2025 15:52:27 +0000 (11:52 -0400)]
Merge pull request #63399 from Shwetha-Acharya/share_config_update

mgr/smb: Add new configs to share definition

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 weeks agocls/rbd: use default values for non-decoded fields in test instances 63933/head
Kefu Chai [Sat, 14 Jun 2025 13:44:05 +0000 (21:44 +0800)]
cls/rbd: use default values for non-decoded fields in test instances

Previously, test instances for cls_rbd_snap used non-default values
for the "parent" field, which is ignored during decoding. The
check-generated.sh test passed because they reused the same instance
for re-encoding, preserving undecoded fields.

An upcoming change will allocate new instances for each encode/decode
verification instead of reusing instances. This will expose
discrepancies between original test instances and re-encoded values
when fields contain non-default values but aren't decoded.

This change sets ignored fields to their default values in test
instances, ensuring consistency between encoding and decoding
operations regardless of the verification approach used.

Since the incompatibility of cls_rbd_snap's on-disk format was
introduced in 32b14ed1, which was introduced Ceph v14, we will
mark this version the first incompatible version in ceph-object-corpus
in the sense that the re-encoded cls_rbd_snap with v8 struct version
is different from the original copy if its parent field is set with
< v8 struct version.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agodoc/radosgw/admin.rst: explain bucket and uid flags for bucket quota 63983/head
Hyun Jin Kim [Tue, 17 Jun 2025 13:01:28 +0000 (09:01 -0400)]
doc/radosgw/admin.rst: explain bucket and uid flags for bucket quota

Clarify behavior of bucket and uid flags when setting a quota with
quota-scope=bucket.

Signed-off-by: Hyun Jin Kim <hello.hyunjin@gmail.com>
4 weeks agoMerge pull request #63951 from zdover23/wip-doc-2025-06-16-tracker-71628-cephfs-disas...
Zac Dover [Tue, 17 Jun 2025 10:27:32 +0000 (20:27 +1000)]
Merge pull request #63951 from zdover23/wip-doc-2025-06-16-tracker-71628-cephfs-disaster-recovery-first-damage

doc/cephfs: document first-damage.py

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agocmake: use find_program(REQUIRED) to fail early on missing programs 63975/head
Kefu Chai [Tue, 17 Jun 2025 09:22:16 +0000 (17:22 +0800)]
cmake: use find_program(REQUIRED) to fail early on missing programs

Since upgrading minimum CMake version to 3.22.1 (commit 469d82a1), we can
now use find_program(REQUIRED) which was introduced in CMake 3.18.

This change replaces manual FATAL_ERROR checks with the REQUIRED option
and adds it to programs that are actually needed during the build. This
ensures the build fails early during configuration rather than later
during compilation when missing programs are invoked.

Changes:
- Replace find_program() + message(FATAL_ERROR) patterns with REQUIRED
- Add REQUIRED to programs that are used during build but previously
  had no error checking

Reference: https://cmake.org/cmake/help/latest/command/find_program.html

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agodoc/cephfs: document first-damage.py 63951/head
Zac Dover [Mon, 16 Jun 2025 08:02:49 +0000 (18:02 +1000)]
doc/cephfs: document first-damage.py

Document the use of first-damage.py.

Fixes: https://tracker.ceph.com/issues/71628
Signed-off-by: Zac Dover <zac.dover@proton.me>
4 weeks agodoc: mgr/dashboard: add --enable-auth flag 60440/head
Zac Dover [Tue, 17 Jun 2025 06:05:08 +0000 (16:05 +1000)]
doc: mgr/dashboard: add --enable-auth flag

Add an instruction that includes the --enable-auth flag in a "git orch
apply mgmt-gateway" command, in accordance with a request made by
afreen23 here: https://github.com/ceph/ceph/pull/60440#discussion_r1953530599

Signed-off-by: Zac Dover <zac.dover@proton.me>
4 weeks agomgr/dashboard: bump vite and @angular-devkit/build-angular 63891/head
dependabot[bot] [Tue, 17 Jun 2025 04:56:28 +0000 (04:56 +0000)]
mgr/dashboard: bump vite and @angular-devkit/build-angular

Removes [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). It's no longer used after updating ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together.

Removes `vite`

Updates `@angular-devkit/build-angular` from 18.2.11 to 18.2.20
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/18.2.11...18.2.20)

---
updated-dependencies:
- dependency-name: vite
  dependency-version:
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-version: 18.2.20
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoMerge pull request #55875 from rhcs-dashboard/update-npm-deps
Nizamudeen A [Tue, 17 Jun 2025 04:52:58 +0000 (10:22 +0530)]
Merge pull request #55875 from rhcs-dashboard/update-npm-deps

mgr/dashboard: update npm dependencies

4 weeks agoMerge pull request #63872 from rhcs-dashboard/side-panel-carbon
Nizamudeen A [Tue, 17 Jun 2025 04:52:00 +0000 (10:22 +0530)]
Merge pull request #63872 from rhcs-dashboard/side-panel-carbon

mgr/dashboard: introduce side panel as a reusable component

4 weeks agoMerge pull request #62806 from NitzanMordhai/wip-nitzan-mixed-balance-read-and-rworde...
SrinivasaBharathKanta [Tue, 17 Jun 2025 04:02:05 +0000 (09:32 +0530)]
Merge pull request #62806 from NitzanMordhai/wip-nitzan-mixed-balance-read-and-rwordered-fix

mixed balance read and rwordered in read ops

4 weeks agoMerge pull request #63515 from xxhdx1985126/wip-seastore-start-stop-trim_dirty
Yingxin Cheng [Tue, 17 Jun 2025 03:19:48 +0000 (11:19 +0800)]
Merge pull request #63515 from xxhdx1985126/wip-seastore-start-stop-trim_dirty

crimson/os/seastore/async_cleaner: set different threshold for starting and stopping trimming dirty

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 weeks agopybind/mgr/dashboard: fetch image's mirror mode 63149/head
Ramana Raja [Tue, 13 May 2025 16:37:52 +0000 (12:37 -0400)]
pybind/mgr/dashboard: fetch image's mirror mode

... only if the image is not disabled for mirroring.

If the image is disabled for mirroring, fetching the image's
mirroring mode is invalid. So validate that the image is not disabled
for mirroring before fetching the mirroring mode.

Signed-off-by: Ramana Raja <rraja@redhat.com>
4 weeks agoMerge pull request #63822 from cbodley/wip-71600
Casey Bodley [Mon, 16 Jun 2025 22:35:28 +0000 (18:35 -0400)]
Merge pull request #63822 from cbodley/wip-71600

test/common: unittest_fault_injector omits unit-main target

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63303 from mkogan1/wip-eio-to-err_internal
Adam Emerson [Mon, 16 Jun 2025 21:34:10 +0000 (17:34 -0400)]
Merge pull request #63303 from mkogan1/wip-eio-to-err_internal

rgw/multisite: change HTTP error handling from EIO to ERR_INTERNAL_ERROR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 weeks agopybind/mgr/rbd_support: check whether mirroring is enabled
Ramana Raja [Tue, 6 May 2025 00:07:18 +0000 (20:07 -0400)]
pybind/mgr/rbd_support: check whether mirroring is enabled

... before fetching the mirroring mode of the image.

In the CreateSnapshotRequests class, which asynchronously issues mirror
snapshot creation requests, prevalidation includes checking that the
image is enabled for snapshot-based mirroring and is marked as primary.
Since mirroring mode can only be queried if mirroring is already
enabled, the code first fetches the image’s mirroring info to verify
that mirroring is enabled, and only then retrieves the mirroring mode.

Signed-off-by: Ramana Raja <rraja@redhat.com>
4 weeks agolibrbd/api/Mirror: return EINVAL from image_resync()
Ramana Raja [Tue, 6 May 2025 20:19:09 +0000 (16:19 -0400)]
librbd/api/Mirror: return EINVAL from image_resync()

... when mirroring is not enabled for the image.

Mirror::image_resync() returns ENOENT when mirroring is disabled for the
image. Instead, make it return EINVAL indicating that the call is
invalid when mirroring is not enabled for the image. This also causes
the public facing C, C++, and Python APIs that resync an image to
return EINVAL or raise an equivalent exception when mirroring is not
enabled for the image.

Signed-off-by: Ramana Raja <rraja@redhat.com>
4 weeks agolibrbd/mirror/PromoteRequest: return EINVAL
Ramana Raja [Mon, 5 May 2025 23:37:42 +0000 (19:37 -0400)]
librbd/mirror/PromoteRequest: return EINVAL

... instead of ENOENT when mirroring is not enabled for the image.

The PromoteRequest async state machine returns ENOENT when mirroring is
not enabled for the image. Instead, make it return EINVAL similar to
DemoteRequest's behavior, which is more appropriate. This also causes
the public facing C, C++, and Python APIs that promote an image
to return EINVAL or raise an equivalent exception when mirroring is
not enabled for the image.

Signed-off-by: Ramana Raja <rraja@redhat.com>
4 weeks agolibrbd/api/Mirror: return EINVAL from image_get_mode()
Ramana Raja [Mon, 5 May 2025 17:31:34 +0000 (13:31 -0400)]
librbd/api/Mirror: return EINVAL from image_get_mode()

... when the image is disabled for mirroring.

When an image is disabled for mirroring, fetching the image's
mirroring mode is invalid. So, modify the Mirror::image_get_mode()
internal API to return EINVAL instead of success when mirroring is
disabled.

The Mirror::image_get_mode() method is called by the public C++, C, and
Python APIs that fetch the mirroring mode of an image. The behavior of
these public APIs will change. They will return an error code or raise
an exception indicating that it's an invalid operation to fetch the
image's mirroring mode when mirroring is disabled.

Fixes: https://tracker.ceph.com/issues/71226
Signed-off-by: Ramana Raja <rraja@redhat.com>
4 weeks agoMerge pull request #63177 from NitzanMordhai/wip-nitzan-aio-cxx-test-inflight-checks
SrinivasaBharathKanta [Mon, 16 Jun 2025 14:05:49 +0000 (19:35 +0530)]
Merge pull request #63177 from NitzanMordhai/wip-nitzan-aio-cxx-test-inflight-checks

test/librados/aio_cxx: skip EIO boundary assertion when no in-flight I/Os

4 weeks agoMerge pull request #62197 from NitzanMordhai/wip-nitzan-mgr-pymodule-mem-leaks
SrinivasaBharathKanta [Mon, 16 Jun 2025 14:04:09 +0000 (19:34 +0530)]
Merge pull request #62197 from NitzanMordhai/wip-nitzan-mgr-pymodule-mem-leaks

mgr: PyModule memory leaks fix

4 weeks agoMerge pull request #63326 from linuxbox2/wip-cksum-golang
Matt Benjamin [Mon, 16 Jun 2025 13:27:12 +0000 (09:27 -0400)]
Merge pull request #63326 from linuxbox2/wip-cksum-golang

rgw: recognize checksum from x-amz-checksum-{type} alone

4 weeks agoMerge pull request #63821 from zdover23/wip-doc-2025-06-09-pr-63490-followup 18.2.1-327.el9c
Anthony D'Atri [Mon, 16 Jun 2025 12:30:54 +0000 (08:30 -0400)]
Merge pull request #63821 from zdover23/wip-doc-2025-06-09-pr-63490-followup

doc/src: edit osd.yaml.in (osd_deep_scrub_interval_cv)

4 weeks agomgr/dashboard: bump node to 20.18.1 55875/head
Nizamudeen A [Mon, 16 Jun 2025 04:50:45 +0000 (10:20 +0530)]
mgr/dashboard: bump node to 20.18.1

one of the inner dependency expects it
```
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'undici@7.10.0',
npm WARN EBADENGINE   required: { node: '>=20.18.1' },
npm WARN EBADENGINE   current: { node: 'v20.13.1', npm: '10.5.2' }
npm WARN EBADENGINE }

```

Fixes: https://tracker.ceph.com/issues/70934
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 weeks agomgr/dashboard: update npm dependencies
Nizamudeen A [Sat, 5 Aug 2023 18:23:29 +0000 (23:53 +0530)]
mgr/dashboard: update npm dependencies

Fixes: https://tracker.ceph.com/issues/70934
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 weeks agomgr/dashboard: introduce side panel as a reusable component 63872/head
Nizamudeen A [Wed, 11 Jun 2025 07:59:58 +0000 (13:29 +0530)]
mgr/dashboard: introduce side panel as a reusable component

Fixes: https://tracker.ceph.com/issues/71653
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 weeks agoMerge pull request #63291 from VallariAg/nvmeof-teuthology-reduce-devices
Vallari Agrawal [Mon, 16 Jun 2025 07:39:06 +0000 (13:09 +0530)]
Merge pull request #63291 from VallariAg/nvmeof-teuthology-reduce-devices

qa: reduce nvmeof thrasher fio to 32 devices from 200

4 weeks agoMerge pull request #63034 from thotz/cloud-restore-allow-copy-cloud-restored-temp-obj
Soumya Koduri [Mon, 16 Jun 2025 05:44:53 +0000 (11:14 +0530)]
Merge pull request #63034 from thotz/cloud-restore-allow-copy-cloud-restored-temp-obj

rgw/cloud-restore: allow copy of temporary object

4 weeks agoqa/suites/nvmeof: remove "--refresh" from "ceph orch ps/ls" 63291/head
Vallari Agrawal [Tue, 10 Jun 2025 14:47:13 +0000 (20:17 +0530)]
qa/suites/nvmeof: remove "--refresh" from "ceph orch ps/ls"

Also in scalability test, set SCALING_DELAYS: '400'
instead of '300' because we might need more time for
namespace load balancing.

Fixes: https://tracker.ceph.com/issues/70927
Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 weeks agoqa: archive dmesg logs if nvmeof basic_tests fails
Vallari Agrawal [Thu, 29 May 2025 03:30:22 +0000 (09:00 +0530)]
qa: archive dmesg logs if nvmeof basic_tests fails

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 weeks agoqa: change processing of "nvme list" json output
Vallari Agrawal [Wed, 28 May 2025 02:36:36 +0000 (08:06 +0530)]
qa: change processing of "nvme list" json output

Revert changes made in 22f91cdc65246a0f9255e9348c15230670574e64
to processing of "nvme list -o json".

nvme-cli has changed json output in 2.11
and then reverted the change in 2.13 release.
So this commit goes back to 2.13 (or pre-2.11)
processing of "nvme list" json output.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 weeks agoqa: run nvmeof tests against "devel" tag
Vallari Agrawal [Tue, 20 May 2025 11:40:21 +0000 (17:10 +0530)]
qa: run nvmeof tests against "devel" tag

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 weeks agoqa: reduce nvmeof thrasher fio to 32 devices from 200
Vallari Agrawal [Mon, 19 May 2025 06:08:21 +0000 (11:38 +0530)]
qa: reduce nvmeof thrasher fio to 32 devices from 200

This is because teuthology machines are not
powerful enough to support fio on huge amount of
devices.

This commit also adds CEPHADM_STRAY_DAEMON and
CEPHADM_DAEMON_PLACE_FAIL to thrasher ignorelist.

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 weeks agoMerge pull request #63934 from anthonyeleven/ceph-conf
Zac Dover [Mon, 16 Jun 2025 02:48:59 +0000 (12:48 +1000)]
Merge pull request #63934 from anthonyeleven/ceph-conf

doc/rados/configuration: Improve ceph-conf.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
4 weeks agodoc/rados/configuration: Improve ceph-conf.rst 63934/head
Anthony D'Atri [Sun, 15 Jun 2025 02:09:11 +0000 (22:09 -0400)]
doc/rados/configuration: Improve ceph-conf.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
4 weeks agoMerge pull request #62671 from adamemerson/wip-test-objectstore-signed-comparison
Matan Breizman [Sun, 15 Jun 2025 08:07:53 +0000 (11:07 +0300)]
Merge pull request #62671 from adamemerson/wip-test-objectstore-signed-comparison

test/objectstore: Fix signed comparison warning

Reviewed-by: Kefu Chai <kefu.chai@scylladb.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
4 weeks agoMerge pull request #63833 from Matan-B/wip-matanb-crimson-flavor
Matan Breizman [Sun, 15 Jun 2025 07:57:32 +0000 (10:57 +0300)]
Merge pull request #63833 from Matan-B/wip-matanb-crimson-flavor

qa/suites/crimson-rados: Accommodate to new crimson flavors

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 weeks agoMerge pull request #63834 from tchaikov/wip-install-deps
Kefu Chai [Sun, 15 Jun 2025 07:37:07 +0000 (15:37 +0800)]
Merge pull request #63834 from tchaikov/wip-install-deps

install-deps.sh: refresh package index before installing dependencies

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agomds: generate symlink inode with correct mode 63937/head
Kefu Chai [Fri, 13 Jun 2025 12:22:20 +0000 (20:22 +0800)]
mds: generate symlink inode with correct mode

Fix test instance generation for InodeStoreBare and InodeStore to
properly set the mode field to S_IFLNK for symlink inodes.

Previously, generated test instances with symlink inodes had unset
mode fields, creating inconsistent data. This issue was masked because
ceph-dencoder reused existing instances during encode/decode consistency
tests, leaving stale values intact.

The problem would surface when check-generated.sh and readable.sh
allocate fresh instances for decoding tests, as the missing mode field
would cause decode/encode inconsistencies.

This change fixes generate_test_instances() to set the mode field to
S_IFLNK for symlink inodes, creating valid InodeStore and InodeStoreBare
instances with consistent field values for proper encode/decode testing.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
4 weeks agoMerge pull request #63675 from afreen23/main 63932/head
afreen23 [Sat, 14 Jun 2025 13:33:23 +0000 (19:03 +0530)]
Merge pull request #63675 from afreen23/main

mgr/dashboard: Fix capitalization in SMB

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
5 weeks agopybind/mgr: disable mypy error in diskprediction_local module 63931/head
John Mulligan [Fri, 13 Jun 2025 22:05:50 +0000 (18:05 -0400)]
pybind/mgr: disable mypy error in diskprediction_local module

Currently on python 3.12 mypy detects one of the variables used in the
expression as an zero-element tuple. This module is not getting a lot
of attention so I'm doing the bare minimum to stop the tests from
failing here and silencing mypy with a magic comment.

Signed-off-by: John Mulligan <jmulligan@redhat.com>