]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agomgr/dashboard: Fix delete listener 63165/head
Afreen Misbah [Tue, 6 May 2025 14:27:03 +0000 (19:57 +0530)]
mgr/dashboard: Fix delete listener

- pass gw_group to delete API in frontend
- when more than one gw groups present delete listener failing with error message: Multiple NVMe-oF gateway groups are configured. Please specify the 'gw_group' parameter in the request.
- added missing types, i18n

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge PR #62250 into main
Venky Shankar [Mon, 12 May 2025 13:02:40 +0000 (18:32 +0530)]
Merge PR #62250 into main

* refs/pull/62250/head:
qa/cephfs: increase data to be delay data sync by mirror daemon
cephfs-mirror: integrate blockdiff API for regular file transfers
mds: dout snapdiff snapid's before validation check
cephfs-mirror: current sync mechanism uses sync mechanism subclass'ing
qa: add test for syncing already existing snapshots
cephfs_mirror: avoid latest changes on the source fs to enable mirroring

Reviewed-by: Jos Collin <jcollin@redhat.com>
2 months agoMerge PR #62414 into main
Venky Shankar [Mon, 12 May 2025 13:01:14 +0000 (18:31 +0530)]
Merge PR #62414 into main

* refs/pull/62414/head:
mds: introduce BLOCKDIFF feature bit

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agoMerge pull request #63209 from bluikko/doc-vault-cosmetic-radosgw
Zac Dover [Mon, 12 May 2025 09:11:21 +0000 (19:11 +1000)]
Merge pull request #63209 from bluikko/doc-vault-cosmetic-radosgw

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

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63175 from rhcs-dashboard/multisite-sync-status-alignment
afreen23 [Mon, 12 May 2025 07:25:04 +0000 (12:55 +0530)]
Merge pull request #63175 from rhcs-dashboard/multisite-sync-status-alignment

mgr/dashboard: Multi-site-sync-status UI distortion for status in data sync

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 months agodoc/radosgw: Cosmetic and formatting improvements in vault.rst 63209/head
Ville Ojamo [Fri, 9 May 2025 10:15:02 +0000 (17:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in vault.rst

Use generated "contents" instead of repeating section titles in an
ordered list.

Use Title Case for section titles.

Capitalize consistently "Ceph" and "Object Gateway", "Vault".

Use consistently all caps for acronyms.

Change one entry of "kms" to "SSE-KMS", seems obvious from the context.
Use "certificates" instead of "certs".

Use double backticks for file paths, commands, config options etc.

Improve language in one sentence, several words missing.

Call it consistently "the Object Gateway" and not sometimes "the
Gateway".

Add pre-formatted block for CLI command examples where missing (should
be promptified in the future).

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63127 from rishabh-d-dave/vols-snappath-v1-and-legacy
Rishabh Dave [Mon, 12 May 2025 05:51:14 +0000 (11:21 +0530)]
Merge pull request #63127 from rishabh-d-dave/vols-snappath-v1-and-legacy

mgr/vol: make "snapshot getpath" cmd work with v1 and legacy

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 months agoMerge pull request #63145 from tchaikov/no-using-std
Kefu Chai [Mon, 12 May 2025 03:59:20 +0000 (11:59 +0800)]
Merge pull request #63145 from tchaikov/no-using-std

tools/ceph_dedup: remove 'using namespace std'

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 months agoMerge pull request #62969 from zhscn/fix-cache-lru-size-metric
Yingxin Cheng [Mon, 12 May 2025 02:02:40 +0000 (10:02 +0800)]
Merge pull request #62969 from zhscn/fix-cache-lru-size-metric

crimson/os/seastore/cache/LRU: account the empty extent when adding it to LRU

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agotools/ceph_dedup: remove 'using namespace std' 63145/head
Kefu Chai [Wed, 7 May 2025 01:09:00 +0000 (09:09 +0800)]
tools/ceph_dedup: remove 'using namespace std'

Remove 'using namespace std' from common.h to maintain consistent coding
practices. Although common.h is only used by ceph_dedup implementation,
keeping namespace declarations out of header files prevents potential
name conflicts and follows best practices for C++ code organization.

This change improves code clarity and reduces the risk of symbol collisions
when standard library elements are used alongside custom
implementations.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63143 from ceph/wip-retrigger-rtd2
David Galloway [Fri, 9 May 2025 13:42:50 +0000 (09:42 -0400)]
Merge pull request #63143 from ceph/wip-retrigger-rtd2

.github: Fix RTD build retrigger

2 months agoMerge pull request #63203 from bluikko/doc-archsync-ref-radosgw
Anthony D'Atri [Fri, 9 May 2025 12:29:24 +0000 (08:29 -0400)]
Merge pull request #63203 from bluikko/doc-archsync-ref-radosgw

doc/radosgw: Use ref for hyperlink in archive-sync-module.rst

2 months agoMerge pull request #63205 from bluikko/doc-group-a-ref-radosgw
Anthony D'Atri [Fri, 9 May 2025 12:26:35 +0000 (08:26 -0400)]
Merge pull request #63205 from bluikko/doc-group-a-ref-radosgw

doc/radosgw: Use ref for hyperlinks, 1st batch

2 months agoMerge pull request #63084 from zdover23/wip-doc-2025-05-01-mgr-administrator-62782...
Zac Dover [Fri, 9 May 2025 08:26:06 +0000 (18:26 +1000)]
Merge pull request #63084 from zdover23/wip-doc-2025-05-01-mgr-administrator-62782-followup

doc/mgr: edit administrator.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agodoc/radosgw: Use ref for hyperlinks, 1st batch 63205/head
Ville Ojamo [Fri, 9 May 2025 08:17:00 +0000 (15:17 +0700)]
doc/radosgw: Use ref for hyperlinks, 1st batch

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Add a label at beginning of referenced files if missing.
- Remove unused "target definitions".

The rendered PR should look the same as the old docs, only differing in
the source RST.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/radosgw: Use ref for hyperlink in archive-sync-module.rst 63203/head
Ville Ojamo [Fri, 9 May 2025 07:06:44 +0000 (14:06 +0700)]
doc/radosgw: Use ref for hyperlink in archive-sync-module.rst

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63173 from zdover23/wip-doc-2025-05-08-mgr-alerts-62782-followup
Zac Dover [Fri, 9 May 2025 05:25:09 +0000 (15:25 +1000)]
Merge pull request #63173 from zdover23/wip-doc-2025-05-08-mgr-alerts-62782-followup

doc/mgr: edit alerts.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63172 from zdover23/wip-doc-2025-05-08-mgr-ceph-api-index-62782...
Zac Dover [Fri, 9 May 2025 05:18:42 +0000 (15:18 +1000)]
Merge pull request #63172 from zdover23/wip-doc-2025-05-08-mgr-ceph-api-index-62782-followup

doc/mgr/ceph_api: edit index.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63103 from jdurgin/wip-crimson-gen-state-diagram
Josh Durgin [Thu, 8 May 2025 22:32:01 +0000 (15:32 -0700)]
Merge pull request #63103 from jdurgin/wip-crimson-gen-state-diagram

doc/script/gen_state_diagram.py: adapt for crimson BackfillMachine

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoqa/cephfs: increase data to be delay data sync by mirror daemon 62250/head
Venky Shankar [Fri, 21 Mar 2025 17:09:58 +0000 (22:39 +0530)]
qa/cephfs: increase data to be delay data sync by mirror daemon

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agocephfs-mirror: integrate blockdiff API for regular file transfers
Venky Shankar [Fri, 28 Feb 2025 04:57:46 +0000 (04:57 +0000)]
cephfs-mirror: integrate blockdiff API for regular file transfers

Fixes: http://tracker.ceph.com/issues/70225
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agomds: dout snapdiff snapid's before validation check
Venky Shankar [Wed, 12 Mar 2025 05:11:57 +0000 (05:11 +0000)]
mds: dout snapdiff snapid's before validation check

As a debug aid when the snapdiff request is erroring out.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agocephfs-mirror: current sync mechanism uses sync mechanism subclass'ing
Jos Collin [Thu, 30 Jan 2025 12:02:30 +0000 (17:32 +0530)]
cephfs-mirror: current sync mechanism uses sync mechanism subclass'ing

Fixes: https://tracker.ceph.com/issues/69671
Signed-off-by: Jos Collin <jcollin@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoqa: add test for syncing already existing snapshots
Jos Collin [Tue, 28 Jan 2025 11:07:39 +0000 (16:37 +0530)]
qa: add test for syncing already existing snapshots

Fixes: https://tracker.ceph.com/issues/68567
Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agocephfs_mirror: avoid latest changes on the source fs to enable mirroring
Jos Collin [Mon, 27 Jan 2025 12:42:34 +0000 (18:12 +0530)]
cephfs_mirror: avoid latest changes on the source fs to enable mirroring

This avoids considering latest changes from the source filesystem for
the mirroring of already existing snapshots. Thus the destination
filesystem and snapshots would be created based only on the source snapshots.
The destination fs would be a replica of the last snapshot taken.

Fixes: https://tracker.ceph.com/issues/68567
Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agomds: introduce BLOCKDIFF feature bit 62414/head
Venky Shankar [Thu, 20 Mar 2025 13:27:08 +0000 (13:27 +0000)]
mds: introduce BLOCKDIFF feature bit

Fixes: http://tracker.ceph.com/issues/70584
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63126 from rhcs-dashboard/rgw-site-test-skip
Ernesto Puerta [Thu, 8 May 2025 20:48:51 +0000 (22:48 +0200)]
Merge pull request #63126 from rhcs-dashboard/rgw-site-test-skip

qa/tests: skip rgw site tests in api

2 months ago.github: Fix RTD build retrigger 63143/head
David Galloway [Tue, 6 May 2025 21:31:03 +0000 (17:31 -0400)]
.github: Fix RTD build retrigger

Fixes: https://tracker.ceph.com/issues/70430
Signed-off-by: David Galloway <david.galloway@ibm.com>
2 months agoMerge pull request #63088 from spuiuk/doc-provider
Anthony D'Atri [Thu, 8 May 2025 16:06:03 +0000 (12:06 -0400)]
Merge pull request #63088 from spuiuk/doc-provider

doc/mgr/smb: document the 'provider' option for smb share

2 months agoMerge pull request #63180 from afreen23/fix-tox
Nizamudeen A [Thu, 8 May 2025 15:37:56 +0000 (21:07 +0530)]
Merge pull request #63180 from afreen23/fix-tox

mgr/dashboard: fix make check tests

2 months agodoc/mgr/smb: document the 'provider' option for smb share 63088/head
Sachin Prabhu [Thu, 1 May 2025 10:59:54 +0000 (11:59 +0100)]
doc/mgr/smb: document the 'provider' option for smb share

Signed-off-by: Sachin Prabhu <sp@spui.uk>
2 months agoMerge pull request #63090 from ceph/wip-yuriw-18.2.7-release.notes-main
Yuri Weinstein [Thu, 8 May 2025 14:19:21 +0000 (07:19 -0700)]
Merge pull request #63090 from ceph/wip-yuriw-18.2.7-release.notes-main

doc: reef 18.2.7 release notes

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.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 agoqa/cephfs: use "snapshot getpath" cmd instead of constructing... 63127/head
Rishabh Dave [Tue, 6 May 2025 17:53:28 +0000 (23:23 +0530)]
qa/cephfs: use "snapshot getpath" cmd instead of constructing...

the path to a specific snapshot wherever possible.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoqa/cephfs: add tests for "snapshot getpath" cmd against v1 and...
Rishabh Dave [Mon, 5 May 2025 16:45:42 +0000 (22:15 +0530)]
qa/cephfs: add tests for "snapshot getpath" cmd against v1 and...

legacy subvolumes.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
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 agomgr/dashboard: fix make check tests 63180/head
Afreen Misbah [Thu, 8 May 2025 08:53:07 +0000 (14:23 +0530)]
mgr/dashboard: fix make check tests

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

Pr are failing with errors import errors running pylint

Signed-off-by: Afreen Misbah <afreen@ibm.com>
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 agoFixes:https://tracker.ceph.com/issues/71248 63175/head
Prachi [Thu, 8 May 2025 05:44:25 +0000 (11:14 +0530)]
Fixes:https://tracker.ceph.com/issues/71248

Signed-off-by: Prachi <prgoel@redhat.com>
Changes:
Fixes for RGW multi-site-sync-status UI distortion in data sync

2 months agodoc/mgr: edit alerts.rst 63173/head
Zac Dover [Thu, 8 May 2025 02:29:25 +0000 (12:29 +1000)]
doc/mgr: edit alerts.rst

Edit doc/mgr/alerts.rst as part of the project to determine where the
error is in https://github.com/ceph/ceph/pull/62782 that prevents the
Jenkins tests from passing.

This commit adds to the work done in
https://github.com/ceph/ceph/pull/62782 by correcting some of the
English that was present in that PR.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/mgr/ceph_api: edit index.rst 63172/head
Zac Dover [Thu, 8 May 2025 00:08:06 +0000 (10:08 +1000)]
doc/mgr/ceph_api: edit index.rst

Edit doc/mgr/ceph_api/index.rst as part of the project to determine
where the error is in https://github.com/ceph/ceph/pull/62782 that
prevents the Jenkins tests from passing.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

Signed-off-by: Zac Dover <zac.dover@proton.me>
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 agoqa/tests: skip rgw site tests in api 63126/head
Nizamudeen A [Tue, 6 May 2025 10:25:11 +0000 (15:55 +0530)]
qa/tests: skip rgw site tests in api

Failure in https://jenkins.ceph.com/job/ceph-api/95185/

```
dashboard.rest_client.RequestException: RGW REST API GET timed out after 45 seconds (url=http://172.21.5.32:8000/admin/realm?list).
```

Signed-off-by: Nizamudeen A <nia@redhat.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/releases: format bullet points 63090/head
Laura Flores [Fri, 2 May 2025 20:07:18 +0000 (15:07 -0500)]
doc/releases: format bullet points

Signed-off-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
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 agoqa/cephfs: add a helper method to construct the snapshot path
Rishabh Dave [Tue, 6 May 2025 12:05:34 +0000 (17:35 +0530)]
qa/cephfs: add a helper method to construct the snapshot path

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 months agoqa/cephfs: move tests for "snapshot getpath" cmd to a separate class
Rishabh Dave [Mon, 5 May 2025 16:38:19 +0000 (22:08 +0530)]
qa/cephfs: move tests for "snapshot getpath" cmd to a separate class

Signed-off-by: Rishabh Dave <ridave@redhat.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 agodoc/script/gen_state_diagram.py: adapt for crimson BackfillMachine 63103/head
Josh Durgin [Fri, 2 May 2025 23:42:15 +0000 (23:42 +0000)]
doc/script/gen_state_diagram.py: adapt for crimson BackfillMachine

Allow non-const events and abbreviating 'boost::statechart' as 'sc'

Signed-off-by: Josh Durgin <jdurgin@ibm.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: reef 18.2.7 release notes
Yuri Weinstein [Thu, 1 May 2025 20:18:49 +0000 (13:18 -0700)]
doc: reef 18.2.7 release notes

Signed-off-by: Yuri Weinstein <yweinste@redhat.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 agodoc/mgr: edit administrator.rst 63084/head
Zac Dover [Thu, 1 May 2025 04:12:45 +0000 (14:12 +1000)]
doc/mgr: edit administrator.rst

Edit doc/mgr/administrator.rst. Add prompts and correct some of the
inelegant English present in the file.

This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.

Credit for this initiative should go to Ville Ojamo.

Signed-off-by: Zac Dover <zac.dover@proton.me>
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>