]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agoCMakeLists: Fallback to RelWithDebInfo
Matan Breizman [Tue, 4 Feb 2025 10:24:43 +0000 (10:24 +0000)]
CMakeLists: Fallback to RelWithDebInfo

Currently, if .git exists, we set CMAKE_BUILD_TYPE=Debug.
Otherwise, we leave it empty and no optimization flags will
be used.
With this change, the fallback CMAKE_BUILD_TYPE is set
to RelWithDebInfo instead.

From CMAKE_BUILD_TYPE manual:
The default value is often an empty string, but this is usually not
desirable and one of the other standard build types is usually more appropriate.

Note: One notable change is that -DNDEBUG will now be defined.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #62745 from VallariAg/fix-2279225
Vallari Agrawal [Thu, 8 May 2025 12:16:22 +0000 (17:46 +0530)]
Merge pull request #62745 from VallariAg/fix-2279225

mgr/cephadm/module.py: Run ok_to_stop logic for stop

2 months agoMerge pull request #62815 from aclamk/aclamk-bs-debug-print-shards
Adam Kupczyk [Thu, 8 May 2025 09:05:15 +0000 (11:05 +0200)]
Merge pull request #62815 from aclamk/aclamk-bs-debug-print-shards

os/bluestore: Add printing shards to Onode::printer

2 months agoMerge pull request #63001 from tchaikov/librbd-tools-std-variant
Ilya Dryomov [Thu, 8 May 2025 07:15:37 +0000 (09:15 +0200)]
Merge pull request #63001 from tchaikov/librbd-tools-std-variant

librbd, tools: migrate from boost::variant to std::variant

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #63171 from dmick/shut-up-do-cmake
Dan Mick [Wed, 7 May 2025 23:21:50 +0000 (16:21 -0700)]
Merge pull request #63171 from dmick/shut-up-do-cmake

do_cmake.sh: remove --progress, it's just noise

2 months agodo_cmake.sh: remove --progress, it's just noise 63171/head
Dan Mick [Wed, 7 May 2025 20:59:12 +0000 (13:59 -0700)]
do_cmake.sh: remove --progress, it's just noise

and is particularly annoying in jenkins logs

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2 months agoMerge pull request #63038 from Hezko/remove-map-collection-dec
Hezko [Wed, 7 May 2025 17:37:11 +0000 (20:37 +0300)]
Merge pull request #63038 from Hezko/remove-map-collection-dec

Remove map collection dec

2 months agoMerge pull request #63156 from bluikko/doc-frontends-cosmetic-radosgw
Anthony D'Atri [Wed, 7 May 2025 17:31:37 +0000 (13:31 -0400)]
Merge pull request #63156 from bluikko/doc-frontends-cosmetic-radosgw

doc/radosgw: Cosmetic and formatting improvements in frontends.rst

2 months agoMerge pull request #63157 from bluikko/doc-index-titlecase-radosgw
Anthony D'Atri [Wed, 7 May 2025 16:14:09 +0000 (12:14 -0400)]
Merge pull request #63157 from bluikko/doc-index-titlecase-radosgw

doc/radosgw: Use Title Case consistently in index.rst

2 months agoMerge pull request #63164 from yuvalif/wip-yuval-lua-doc
Yuval Lifshitz [Wed, 7 May 2025 16:10:33 +0000 (19:10 +0300)]
Merge pull request #63164 from yuvalif/wip-yuval-lua-doc

doc/rgw/lua: add info on luarocks package

2 months agoMerge pull request #63050 from nbalacha/wip-nbalacha-71138
Ilya Dryomov [Wed, 7 May 2025 14:48:55 +0000 (16:48 +0200)]
Merge pull request #63050 from nbalacha/wip-nbalacha-71138

cls/rbd: write image mirror status if state is CREATING

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agodoc/rgw/lua: add info on luarocks package 63164/head
Yuval Lifshitz [Wed, 7 May 2025 10:10:56 +0000 (10:10 +0000)]
doc/rgw/lua: add info on luarocks package

* remove duplicate contexts
* trim trailing spaces

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 months agodoc/radosgw: Cosmetic and formatting improvements in frontends.rst 63156/head
Ville Ojamo [Wed, 7 May 2025 08:15:32 +0000 (15:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in frontends.rst

Capitalize terms like IPv4, SSL, URI consistently.

Title case for "Ceph Monitor".

Fix "Nagel" to "Nagle".

Use inline code consistently in references to configuration values and
reference to "beast" front-end.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agolibrbd, tools: migrate from boost::variant to std::variant 63001/head
Kefu Chai [Wed, 7 May 2025 00:42:52 +0000 (08:42 +0800)]
librbd, tools: migrate from boost::variant to std::variant

Complete migration started in commit 017f333, replacing boost::variant with
std::variant throughout the librbd codebase. This change is part of our ongoing
effort to reduce third-party dependencies by leveraging C++ standard library
alternatives where possible.

Benefits include:
- Improved code readability and maintainability
- Reduced external dependency surface
- More consistent API usage with other components

Implementation note: Unlike Boost.variant, std::variant lacks built-in
operator<< support. This commit implements the necessary operator<< for
AttributeValue, our specific std::variant instantiation, to preserve the
existing behavior.

Also, despite that `apply_visit()` calls can be replaced with `visit()`
without being qualified with `std::` because of ADL, we are taking this
opportunity to adding the `std::` prefix for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63139 from anthonyeleven/icu
Zac Dover [Wed, 7 May 2025 01:13:00 +0000 (11:13 +1000)]
Merge pull request #63139 from anthonyeleven/icu

doc/cephadm: Correct formatting in upgrade.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/cephadm: Correct formatting in upgrade.rst 63139/head
Anthony D'Atri [Tue, 6 May 2025 16:42:18 +0000 (12:42 -0400)]
doc/cephadm: Correct formatting in upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoMerge pull request #57789 from ifed01/wip-ifed-non-spatial-alloc 62862/head
Igor Fedotov [Tue, 6 May 2025 13:07:54 +0000 (16:07 +0300)]
Merge pull request #57789 from ifed01/wip-ifed-non-spatial-alloc

os/bluestore: introduce device type specific allocation policy

Reviewed-by: Mark Nelson <mark.a.nelson@gmail.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoMerge pull request #53989 from mchangir/mds-handle-bad-arguments-during-subvolume...
Rishabh Dave [Tue, 6 May 2025 12:35:21 +0000 (18:05 +0530)]
Merge pull request #53989 from mchangir/mds-handle-bad-arguments-during-subvolume-create-2

mgr/volumes: handle bad arguments during subvolume create

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #62709 from kshtsk/wip-another-brxnet-by-default
Venky Shankar [Tue, 6 May 2025 12:07:29 +0000 (13:07 +0100)]
Merge pull request #62709 from kshtsk/wip-another-brxnet-by-default

tasks/cephfs/mount: use 192.168.144.0.0/20 for brxnet

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #62847 from Matan-B/wip-matanb-crimson-do_recovery
Matan Breizman [Tue, 6 May 2025 07:29:06 +0000 (10:29 +0300)]
Merge pull request #62847 from Matan-B/wip-matanb-crimson-do_recovery

crimson/osd/pg_recovery: rework start_recovery_ops

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #62947 from VallariAg/fix-nvmeof-limit-alerts
Vallari Agrawal [Tue, 6 May 2025 06:57:44 +0000 (12:27 +0530)]
Merge pull request #62947 from VallariAg/fix-nvmeof-limit-alerts

monitoring: Fix NVMeoF subsys/namespace limit alerts

2 months agoMerge pull request #62516 from mkogan1/wip-d3n-long-cache-ident
Mark Kogan [Mon, 5 May 2025 18:32:09 +0000 (21:32 +0300)]
Merge pull request #62516 from mkogan1/wip-d3n-long-cache-ident

rgw/d3n: store cached objects using hash digest

2 months agoMerge pull request #63112 from ceph/wip-yuriw-build-script
Yuri Weinstein [Mon, 5 May 2025 18:05:13 +0000 (11:05 -0700)]
Merge pull request #63112 from ceph/wip-yuriw-build-script

qa/tests: added "tentacle" option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2 months agoMerge pull request #62398 from AliMasarweh/wip-alimasa-rgw-standalone-zone
Casey Bodley [Mon, 5 May 2025 16:02:29 +0000 (12:02 -0400)]
Merge pull request #62398 from AliMasarweh/wip-alimasa-rgw-standalone-zone

RGW/standalone: refactor rgw_zone.h with configstore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 months agoMerge pull request #62891 from ShwetaBhosale1/fix_issue_70985_nfs_add_vip_in_HAProxy_...
Adam King [Mon, 5 May 2025 15:08:28 +0000 (11:08 -0400)]
Merge pull request #62891 from ShwetaBhosale1/fix_issue_70985_nfs_add_vip_in_HAProxy_Hosts_list

mgr/nfs: Add VIP to HAProxy_Hosts list for ingress type haproxy-protocol

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #62848 from ShwetaBhosale1/fix_issue_70950_add_command_to_stop_hos...
Adam King [Mon, 5 May 2025 15:05:37 +0000 (11:05 -0400)]
Merge pull request #62848 from ShwetaBhosale1/fix_issue_70950_add_command_to_stop_host_drain

mgr/cephadm: Add command to stop host drain

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #62755 from adk3798/cephadm-upgrade-smb
Adam King [Mon, 5 May 2025 15:00:13 +0000 (11:00 -0400)]
Merge pull request #62755 from adk3798/cephadm-upgrade-smb

mgr/cephadm: add smb to upgrade order

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62718 from adk3798/nfs-export-parse-systype
Adam King [Mon, 5 May 2025 14:52:46 +0000 (10:52 -0400)]
Merge pull request #62718 from adk3798/nfs-export-parse-systype

mgr/nfs: make sure sectype is a list when parsed

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62585 from adk3798/block-nvmeof-deployment-all-groups
Adam King [Mon, 5 May 2025 14:49:12 +0000 (10:49 -0400)]
Merge pull request #62585 from adk3798/block-nvmeof-deployment-all-groups

mgr/cephadm: block deploying nvmeof daemons on the same host

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoqa/tests: added "tentacle" option 63112/head
Yuri Weinstein [Mon, 5 May 2025 14:47:05 +0000 (07:47 -0700)]
qa/tests: added "tentacle" option

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 months agoMerge pull request #62743 from cloudbehl/pool_metadata
Adam King [Mon, 5 May 2025 14:43:55 +0000 (10:43 -0400)]
Merge pull request #62743 from cloudbehl/pool_metadata

mgr/dashboard: Added application label to pool_metadata query

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anmol Babu <anmolbudugutta@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #62638 from rishabh-d-dave/vols-path-gone-missing
Rishabh Dave [Mon, 5 May 2025 11:37:00 +0000 (17:07 +0530)]
Merge pull request #62638 from rishabh-d-dave/vols-path-gone-missing

mgr/vol: some improvements for stats_util.py and async_cloner.py

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agoMerge pull request #63093 from ronen-fr/wip-rf-restrictions
Ronen Friedman [Mon, 5 May 2025 07:26:24 +0000 (10:26 +0300)]
Merge pull request #63093 from ronen-fr/wip-rf-restrictions

osd/scrub: check all(*) conditions in restrictions_on_scrubbing()

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2 months agocrimson/osd: Logging fixes 62847/head
Matan Breizman [Sun, 4 May 2025 14:22:38 +0000 (14:22 +0000)]
crimson/osd: Logging fixes

* Fix "failed to log message"
* PGRecovery move to new logging macro
* PGRecovery to print pg prefix as it's impossible to debug specific pg
  recovery ops without it.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agocrimson/osd/pg: Let PGListener use start_peering_event_operation
Matan Breizman [Thu, 24 Apr 2025 07:57:00 +0000 (07:57 +0000)]
crimson/osd/pg: Let PGListener use start_peering_event_operation

PG::start_peering_event_operation is a template function while
PGRecovery::pg is of PGRecoveryListener* type. We can't expose a template
function through the PGRecoveryListener interface since it must be
also virtual.
Instead, introduce start_peering_event_operation_listener which will act
as a wrapper to PG::start_peering_event_operation for PGRecovery to use
freely.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agocrimson/osd: Convert do_recovery() from bool to stop_iteration
Matan Breizman [Wed, 16 Apr 2025 12:24:31 +0000 (12:24 +0000)]
crimson/osd: Convert do_recovery() from bool to stop_iteration

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agocrimson/osd/pg_recovery: rewrite start_recovery_ops
Matan Breizman [Wed, 16 Apr 2025 11:58:51 +0000 (11:58 +0000)]
crimson/osd/pg_recovery: rewrite start_recovery_ops

We had few confusions around the return value from start_recovery_ops.
This commit is a groundwork for the return type change.

* Move to coroutines
* Update logging macro

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agomgr/vol: log in case path goes in missing in async_cloner.py 62638/head
Rishabh Dave [Wed, 2 Apr 2025 18:26:28 +0000 (23:56 +0530)]
mgr/vol: log in case path goes in missing in async_cloner.py

Add a log entry in case the source and/or destination path goes missing
for a clone operation.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agomgr/vol: handle case where path goes missing for a clone
Rishabh Dave [Wed, 2 Apr 2025 15:31:31 +0000 (21:01 +0530)]
mgr/vol: handle case where path goes missing for a clone

A thread is spawned to get the value of a certain extended attribute to
generate the progress statistics for the ongoing clone operations. In
case source and/or destination path for a clone operation goes missing,
this thread crashes. Instead of crashing, handle this case gracefully.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #62809 from rzarzynski/wip-bug-70878
SrinivasaBharathKanta [Sun, 4 May 2025 00:47:53 +0000 (06:17 +0530)]
Merge pull request #62809 from rzarzynski/wip-bug-70878

osd: fix init of op_queue_type_t due to returnable ceph_assert()

2 months agoMerge pull request #62705 from NitzanMordhai/wip-nitzan-pglog-missing-validation
SrinivasaBharathKanta [Sun, 4 May 2025 00:47:20 +0000 (06:17 +0530)]
Merge pull request #62705 from NitzanMordhai/wip-nitzan-pglog-missing-validation

osd_types: Restore new_object marking for delete missing entries

2 months agoosd/scrub: check all(*) conditions in restrictions_on_scrubbing() 63093/head
Ronen Friedman [Fri, 2 May 2025 08:03:15 +0000 (03:03 -0500)]
osd/scrub: check all(*) conditions in restrictions_on_scrubbing()

Modified OsdScrub::restrictions_on_scrubbing() to check all(*)
conditions, instead of stopping at the first one that is true.
The "new" (since Tentacle) scrub-type-to-conditions mapping is no
longer a simple one (is not "monotonic" in the sense of restrictions
always being removed as the scrub type is more important),
and the caller may want to know them all.

(*) The somewhat costly check for the random backoff is still only
    performed if the OSD is not already running too many scrubs.

Fixes: https://tracker.ceph.com/issues/71169
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #62873 from chardan/jfw-wip-rgw-support-catch2
Jesse Williamson [Fri, 2 May 2025 23:32:44 +0000 (16:32 -0700)]
Merge pull request #62873 from chardan/jfw-wip-rgw-support-catch2

Add Support for Catch2 unit tests

2 months agoAdd support for Catch2 62873/head
Jesse F. Williamson [Wed, 16 Apr 2025 21:56:14 +0000 (14:56 -0700)]
Add support for Catch2

Makes Catch2 available for C++ unit tests;
Adds GPM script availability to CMake.
Adds rudimentary test for rgw_hex.

Signed-off-by: Jesse F. Williamson <jfw@ibm.com>
2 months agoMerge pull request #63081 from clwluvw/admin-bucket-rm-err-code
Casey Bodley [Fri, 2 May 2025 13:04:06 +0000 (09:04 -0400)]
Merge pull request #63081 from clwluvw/admin-bucket-rm-err-code

rgw-admin: report correct error code for non-existent bucket on deletion

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 months agoMerge pull request #62993 from cbodley/wip-71098
Casey Bodley [Fri, 2 May 2025 13:03:54 +0000 (09:03 -0400)]
Merge pull request #62993 from cbodley/wip-71098

rgw/multisite: rgw_forward_request_to_master() preserves Error responses

Reviewed-by: Seena Fallah <seenafallah@gmail.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 months agoMerge pull request #62903 from jzhu116-bloomberg/wip-70992
Casey Bodley [Fri, 2 May 2025 13:03:21 +0000 (09:03 -0400)]
Merge pull request #62903 from jzhu116-bloomberg/wip-70992

rgw: prefetch data from versioned object instance head

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #62011 from kchheda3/wip-allow-multiple-rgws
Casey Bodley [Fri, 2 May 2025 13:03:02 +0000 (09:03 -0400)]
Merge pull request #62011 from kchheda3/wip-allow-multiple-rgws

rgw/frontend: Allow multiple RGWs to run on same port on same host

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 months agoMerge pull request #62851 from cbodley/wip-rgw-beast-async-disable
Casey Bodley [Fri, 2 May 2025 13:01:52 +0000 (09:01 -0400)]
Merge pull request #62851 from cbodley/wip-rgw-beast-async-disable

rgw: frontend reads/writes respect rgw_beast_enable_async

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 months agoMerge PR #63083 into main
Patrick Donnelly [Fri, 2 May 2025 02:53:36 +0000 (22:53 -0400)]
Merge PR #63083 into main

* refs/pull/63083/head:
doc/cephfs: add snapshot name note

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2 months agodoc/cephfs: add snapshot name note 63083/head
Patrick Donnelly [Wed, 30 Apr 2025 20:55:18 +0000 (16:55 -0400)]
doc/cephfs: add snapshot name note

The charmap is not applied to snapshot names!

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge pull request #63056 from ronen-fr/wip-rf-fadvise
Ronen Friedman [Thu, 1 May 2025 15:37:23 +0000 (18:37 +0300)]
Merge pull request #63056 from ronen-fr/wip-rf-fadvise

osd/scrub: making Scrub's fadvide flags a constant

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
2 months agoMerge pull request #62805 from Matan-B/wip-matanb-rep-read-perfcount
Yuri Weinstein [Thu, 1 May 2025 14:42:40 +0000 (07:42 -0700)]
Merge pull request #62805 from Matan-B/wip-matanb-rep-read-perfcount

osd/PrimaryLogPG: Relax replicated reads when recovering

Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #62866 from ifed01/wip-ifed-osd-bench-more-logging
Igor Fedotov [Thu, 1 May 2025 11:02:30 +0000 (14:02 +0300)]
Merge pull request #62866 from ifed01/wip-ifed-osd-bench-more-logging

osd: be more verbose in OSD::run_osd_bench_test

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2 months agomgr/dashboard: remove map_collection decorator and adapt host list nvme endpoint 63038/head
Tomer Haskalovitch [Mon, 21 Apr 2025 09:48:00 +0000 (12:48 +0300)]
mgr/dashboard:  remove map_collection decorator and adapt host list nvme endpoint

Signed-off-by: Tomer Haskalovitch <il033030@tomers-mbp.givatayim.il.ibm.com>
2 months agoMerge pull request #63041 from cbodley/wip-qa-rgw-upgrade-goodbye-quincy
Casey Bodley [Wed, 30 Apr 2025 20:24:44 +0000 (16:24 -0400)]
Merge pull request #63041 from cbodley/wip-qa-rgw-upgrade-goodbye-quincy

qa/rgw: prepare for tentacle testing

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 months agodoc/radosgw: Use Title Case consistently in index.rst 63157/head
Ville Ojamo [Wed, 30 Apr 2025 18:50:24 +0000 (01:50 +0700)]
doc/radosgw: Use Title Case consistently in index.rst

Change to title case the few remaining index entries that weren't
already.

I believe "Multi-factor" is the more common spelling instead of "Multi
factor", also index has "Multi-tenancy" so seems appropriate.

The "troubleshooting" entry would be fine as-is, but changed it also for
consistency with other such cases ("Role", "Compression", ...).

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agorgw-admin: report correct error code for non-existent bucket on deletion 63081/head
Seena Fallah [Wed, 30 Apr 2025 18:40:13 +0000 (20:40 +0200)]
rgw-admin: report correct error code for non-existent bucket on deletion

admin api should return the correct error code when the bucket doesn't
exist on bucket deletion. apparently a regression by 9ae2d8c4e95807179fc17f84be6754d2b19fe639.

Fixes: https://tracker.ceph.com/issues/71159
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2 months agoMerge pull request #62827 from afreen23/bump-version
Adam King [Wed, 30 Apr 2025 17:42:24 +0000 (13:42 -0400)]
Merge pull request #62827 from afreen23/bump-version

mgr/dashboard: Bump grafana version to 11.6.0

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #63057 from bluikko/doc-rgw-capitalization-radosgw
Anthony D'Atri [Wed, 30 Apr 2025 16:08:10 +0000 (12:08 -0400)]
Merge pull request #63057 from bluikko/doc-rgw-capitalization-radosgw

doc/radosgw: Improve language, capitalization and use config database

2 months agodoc/radosgw: Improve language, capitalization and use config database 63057/head
Ville Ojamo [Wed, 30 Apr 2025 07:37:57 +0000 (14:37 +0700)]
doc/radosgw: Improve language, capitalization and use config database

Use "RADOS Gateway" instead of "Rados Gateway", "rados gateway" etc.
I am aware of the term "Ceph Object Gateway" but this change intends to
be an uncontroversial low hanging fruit fix of obviously incorrectly
capitalized terms.

Use "RGW daemon" instead of "Gateway", "Rados Gateway" etc.
Use "RGW instance" instead of "rados gateway" for consistency with
exactly similar other instance.
If referring obviously clearly to an instance of the daemon with an
obviously not preferred term, change it to "RGW daemon"; for example
when talking about restarting the RGW.
Do not touch other instances that are not 100% clear.

The files touched mostly do not use "Ceph Object Gateway" so changing
the term to it would create inconsistency, or several more changes
would need to be done to update all instances to use this terminology.

Use configuration database instead of ceph.conf in d3n_datacache.rst.

Improve language in d3n_datacache.rst.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agorgw/frontend: Allow multiple rgw's to run on same port on same host. 62011/head
kchheda3 [Wed, 26 Feb 2025 15:36:15 +0000 (10:36 -0500)]
rgw/frontend: Allow multiple rgw's to run on same port on same host.

The idea here is to leverage the `SO_REUSEPORT` param supported by kernel 3.9 and above, which allows the multiple services to run on the same port.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
2 months agoMerge pull request #63064 from bluikko/doc-metrics-inlinecode-radosgw
Anthony D'Atri [Wed, 30 Apr 2025 14:52:56 +0000 (10:52 -0400)]
Merge pull request #63064 from bluikko/doc-metrics-inlinecode-radosgw

doc/radosgw: Use inline code for label syntax in metrics.rst

2 months agoMerge pull request #60515 from ideepika/fix-68327
Casey Bodley [Wed, 30 Apr 2025 14:43:44 +0000 (10:43 -0400)]
Merge pull request #60515 from ideepika/fix-68327

rgw: make keystone work without admin token(service ac requirement)

Reviewed-by: Tobias Urdin <tobias.urdin@binero.com>
2 months agoMerge pull request #62980 from cbodley/wip-71083
Casey Bodley [Wed, 30 Apr 2025 14:27:56 +0000 (10:27 -0400)]
Merge pull request #62980 from cbodley/wip-71083

rgw/lc: stop using merge_and_store_attrs in remove_bucket_config

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 months agodoc/radosgw: Language and use inline code for labels in metrics.rst 63064/head
Ville Ojamo [Wed, 30 Apr 2025 09:06:31 +0000 (16:06 +0700)]
doc/radosgw: Language and use inline code for labels in metrics.rst

Use inline code formatting for label syntax examples inside text.

Small improvements to language. Use all lower case for labels.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge PR #63046 into main
Patrick Donnelly [Wed, 30 Apr 2025 14:24:43 +0000 (10:24 -0400)]
Merge PR #63046 into main

* refs/pull/63046/head:
qa/crontab: add tentacle nightlies

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2 months agoosd/scrub: making Scrub's fadvide flags a constant 63056/head
Ronen Friedman [Wed, 30 Apr 2025 07:00:25 +0000 (02:00 -0500)]
osd/scrub: making Scrub's fadvide flags a constant

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #63060 from zdover23/wip-doc-2025-04-30-cephadm-services-rgw-markup
Anthony D'Atri [Wed, 30 Apr 2025 12:33:08 +0000 (08:33 -0400)]
Merge pull request #63060 from zdover23/wip-doc-2025-04-30-cephadm-services-rgw-markup

doc/cephadm: correct markup in rgw.rst

2 months agoMerge pull request #63062 from bluikko/doc-radogw-fix-radosgw
Anthony D'Atri [Wed, 30 Apr 2025 12:31:24 +0000 (08:31 -0400)]
Merge pull request #63062 from bluikko/doc-radogw-fix-radosgw

doc/radosgw: Use Ceph Object Gateway as term in metrics.rst

2 months agoMerge pull request #62843 from rishabh-d-dave/vols-user-pool
Rishabh Dave [Wed, 30 Apr 2025 11:46:15 +0000 (17:16 +0530)]
Merge pull request #62843 from rishabh-d-dave/vols-user-pool

mgr/vol: don't delete user-created pool in "volume create" command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #62760 from mohit84/pg_stuck_backfill
Matan Breizman [Wed, 30 Apr 2025 09:36:13 +0000 (12:36 +0300)]
Merge pull request #62760 from mohit84/pg_stuck_backfill

crimson: PG backfill is not showing any progress

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agodoc/radosgw: Use Ceph Object Gateway as term in metrics.rst 63062/head
Ville Ojamo [Wed, 30 Apr 2025 08:41:36 +0000 (15:41 +0700)]
doc/radosgw: Use Ceph Object Gateway as term in metrics.rst

The document uses mostly the term Ceph Object Gateway except in three
places where "Radosgw", "rgw" or obviously typod "radogw" is used.

Change those instances to Ceph Object Gateway consistent with the rest
of the document.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/cephadm: correct markup in rgw.rst 63060/head
Zac Dover [Wed, 30 Apr 2025 08:13:40 +0000 (18:13 +1000)]
doc/cephadm: correct markup in rgw.rst

Correct the presentation of an example string in doc/cephadm/rgw.rst in
order to obviate an error reading "rgw.rst:202: WARNING: Inline emphasis start-string without end-string."

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #62894 from rzarzynski/wip-crimson-unused-errors
Matan Breizman [Wed, 30 Apr 2025 07:59:09 +0000 (10:59 +0300)]
Merge pull request #62894 from rzarzynski/wip-crimson-unused-errors

crimson: fix unused variable warnings due to assert() and NDEBUG builds

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agoMerge pull request #62826 from sseshasa/wip-doc-max-iops-cap-override
Sridhar Seshasayee [Wed, 30 Apr 2025 07:58:32 +0000 (13:28 +0530)]
Merge pull request #62826 from sseshasa/wip-doc-max-iops-cap-override

doc/rados: Update mClock doc on steps to override OSD IOPS capacity config

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agodoc/rados: Update mClock doc on steps to override OSD IOPS capacity config 62826/head
Sridhar Seshasayee [Tue, 15 Apr 2025 13:01:50 +0000 (18:31 +0530)]
doc/rados: Update mClock doc on steps to override OSD IOPS capacity config

Describe the steps involved to
 - Specify a global value for osd_mclock_max_capacity_iops_{ssd,hdd}, and
 - Override existing individually scoped values for OSDs determined during
   start-up for osd_mclock_max_capacity_iops_{ssd,hdd}.

The above is to help with the following:
 - Steps to override existing setting with a global value.
 - reduce the number of entries in the mon store and instead use a single
   global specification for all OSDs in the cluster in case the underlying
   hardware is the same for all OSDs.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/70774
2 months agorbd: write image mirror status if state is CREATING 63050/head
N Balachandran [Wed, 30 Apr 2025 05:15:13 +0000 (10:45 +0530)]
rbd: write image mirror status if state is CREATING

It can take upto 30s for the image mirror status to be written
to rbd_mirroring on the secondary for a newly created image. This fix
attempts to reduce the time by writing the status to rbd_mirroring even
if the image state is set to CREATING.

Fixes: https://tracker.ceph.com/issues/71138
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2 months agoMerge pull request #62972 from laimis9133/laimis9133-compression-docs
Anthony D'Atri [Tue, 29 Apr 2025 22:03:02 +0000 (18:03 -0400)]
Merge pull request #62972 from laimis9133/laimis9133-compression-docs

doc/radosgw/compression: separate RGW and RADOS pool level compression

2 months agoMerge pull request #62836 from athanatos/sjust/wip-crimson-repop-reply-ordering-69439
Samuel Just [Tue, 29 Apr 2025 21:45:20 +0000 (14:45 -0700)]
Merge pull request #62836 from athanatos/sjust/wip-crimson-repop-reply-ordering-69439

crimson: osd_operation cleanups and fix for MOSDRepOpReply ordering

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge branch 'main' into laimis9133-compression-docs 62972/head
Laimis Juzeliūnas [Tue, 29 Apr 2025 21:15:20 +0000 (00:15 +0300)]
Merge branch 'main' into laimis9133-compression-docs

Signed-off-by: Laimis Juzeliūnas <58551069+laimis9133@users.noreply.github.com>
2 months agoMerge pull request #59206 from ygtzf/bugfix-compress-use-isal
Yuri Weinstein [Tue, 29 Apr 2025 18:15:08 +0000 (11:15 -0700)]
Merge pull request #59206 from ygtzf/bugfix-compress-use-isal

compressor: compressor_zlib_isal did not take effect in compression

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2 months agoqa/crontab: add tentacle nightlies 63046/head
Patrick Donnelly [Tue, 29 Apr 2025 18:03:57 +0000 (14:03 -0400)]
qa/crontab: add tentacle nightlies

And delete reef nightlies. This is primarily because we do not have capacity to also test reef.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #62904 into main
Patrick Donnelly [Tue, 29 Apr 2025 16:52:27 +0000 (12:52 -0400)]
Merge PR #62904 into main

* refs/pull/62904/head:
pybind/mgr/volumes: make casesensitive attr uniform in interface

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agoMerge pull request #63035 from Matan-B/wip-matanb-crimson-scan_for_backfill-fix
Matan Breizman [Tue, 29 Apr 2025 16:21:45 +0000 (19:21 +0300)]
Merge pull request #63035 from Matan-B/wip-matanb-crimson-scan_for_backfill-fix

crimson/osd/recovery_backend: scan_for_backfill_primary correctly handle missing object

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge pull request #63033 from bluikko/doc-placement-formatting-radosgw
Anthony D'Atri [Tue, 29 Apr 2025 16:21:11 +0000 (12:21 -0400)]
Merge pull request #63033 from bluikko/doc-placement-formatting-radosgw

doc/radosgw: Promptify cmds and improve formatting in placement.rst

2 months agoMerge pull request #63028 from bluikko/doc-d3n-formatting-radosgw
Anthony D'Atri [Tue, 29 Apr 2025 16:15:22 +0000 (12:15 -0400)]
Merge pull request #63028 from bluikko/doc-d3n-formatting-radosgw

doc/radosgw: Improve formatting in d3n_datacache.rst

2 months agoMerge pull request #63029 from bluikko/doc-admin-privprompts-radosgw
Anthony D'Atri [Tue, 29 Apr 2025 16:12:06 +0000 (12:12 -0400)]
Merge pull request #63029 from bluikko/doc-admin-privprompts-radosgw

doc/radosgw: Use privileged prompt for CLI commands in admin.rst

2 months agoMerge pull request #63032 from bluikko/doc-compression-typo-radosgw
Anthony D'Atri [Tue, 29 Apr 2025 16:11:41 +0000 (12:11 -0400)]
Merge pull request #63032 from bluikko/doc-compression-typo-radosgw

doc/radosgw: Remove stray full stop mid-sentence in compression.rst

2 months agotest/rgw/multisite: test error handling of forwarded s3:PutBucketPolicy 62993/head
Casey Bodley [Mon, 28 Apr 2025 17:00:00 +0000 (13:00 -0400)]
test/rgw/multisite: test error handling of forwarded s3:PutBucketPolicy

PutBucketPolicy doesn't parse the given policy until after it's
forwarded and applied on the master zone, so add a test that sends a
non-json policy document that will fail to parse

without the fix to rgw_forward_request_to_master(), the InvalidArgument
error Code is still mapped correctly, but the error Message is not
preserved:

>     assert e.response['Error']['Message']
> AssertionError

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agotest/rgw/multisite: test error handling of forwarded iam:DeleteRole
Casey Bodley [Sun, 27 Apr 2025 16:44:40 +0000 (12:44 -0400)]
test/rgw/multisite: test error handling of forwarded iam:DeleteRole

DeleteRole's conflict handling happens after forwarding, so use
test_role_delete_sync() to test that forwarded 409 Conflict errors
preserve the DeleteConflict code and error message

without the fix to forward_iam_request_to_master(), DeleteRole instead
fails with:

> botocore.exceptions.ClientError: An error occurred (BucketNotEmpty) when calling the DeleteRole operation: None

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agorgw/multisite: forward_iam_request_to_master() preserves ErrorResponse responses
Casey Bodley [Sun, 27 Apr 2025 14:49:54 +0000 (10:49 -0400)]
rgw/multisite: forward_iam_request_to_master() preserves ErrorResponse responses

same changes as rgw_forward_request_to_master(), except the <Error>
element is wrapped in a <ErrorResponse>

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agorgw/multisite: rgw_forward_request_to_master() preserves Error responses
Casey Bodley [Sat, 26 Apr 2025 02:46:12 +0000 (22:46 -0400)]
rgw/multisite: rgw_forward_request_to_master() preserves Error responses

when a forwarded request fails on the master zone, the local zone should
return that same error response back to the client. this means
reproducing both the http error and the aws xml <Error> response

rgw_forward_request_to_master() stores these errors in s->err, and
set_req_state_err() now avoids overwriting existing an error

Fixes: https://tracker.ceph.com/issues/71098
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agorgw/rest: RGWRESTConn::forward() prefers to return http errors
Casey Bodley [Sat, 26 Apr 2025 01:02:29 +0000 (21:02 -0400)]
rgw/rest: RGWRESTConn::forward() prefers to return http errors

callers need to distinguish between transport errors (a failure to
forward the request) and http errors (successfully forwarded and got a
response). forward() was losing this information by mapping any http
errors to errnos

use tl::expected to differentiate between transport errors and http
errors, with the latter being the successful/expected case

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agorgw: remove unused RGWObjVersionTracker from RGWDeleteBucket
Casey Bodley [Tue, 29 Apr 2025 15:16:43 +0000 (11:16 -0400)]
rgw: remove unused RGWObjVersionTracker from RGWDeleteBucket

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agorgw/rest: removed unused 'objv' from RGWRESTConn::forward()
Casey Bodley [Sun, 27 Apr 2025 14:17:09 +0000 (10:17 -0400)]
rgw/rest: removed unused 'objv' from RGWRESTConn::forward()

all callers of forward() and forward_iam_request() were passing null

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #62672 from adamemerson/wip-test-common-signed-comparison
Yuri Weinstein [Tue, 29 Apr 2025 14:55:58 +0000 (07:55 -0700)]
Merge pull request #62672 from adamemerson/wip-test-common-signed-comparison

test/common: Fix signed comparison

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #62670 from adamemerson/wip-not-before-queue-signed-comparison
Yuri Weinstein [Tue, 29 Apr 2025 14:55:18 +0000 (07:55 -0700)]
Merge pull request #62670 from adamemerson/wip-not-before-queue-signed-comparison

common/not_before_queue: Fix signed comparison warning

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoqa/rgw/upgrade: add upgrade from tentacle 63041/head
Casey Bodley [Tue, 29 Apr 2025 13:41:44 +0000 (09:41 -0400)]
qa/rgw/upgrade: add upgrade from tentacle

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoqa/rgw/upgrade: add upgrade from squid
Casey Bodley [Tue, 29 Apr 2025 13:39:43 +0000 (09:39 -0400)]
qa/rgw/upgrade: add upgrade from squid

Signed-off-by: Casey Bodley <cbodley@redhat.com>