]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 months agodoc/mgr: edit hello.rst 63370/head
Zac Dover [Tue, 20 May 2025 06:10:43 +0000 (16:10 +1000)]
doc/mgr: edit hello.rst

Edit doc/mgr/hello.rst. This includes the rewriting of sentences so that
they now appear in grammatically-correct English.

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #62631 into main
Venky Shankar [Tue, 20 May 2025 05:32:24 +0000 (11:02 +0530)]
Merge PR #62631 into main

* refs/pull/62631/head:
cephfs: session tracker accounts for killing sessions

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agoMerge PR #62632 into main
Venky Shankar [Tue, 20 May 2025 05:28:55 +0000 (10:58 +0530)]
Merge PR #62632 into main

* refs/pull/62632/head:
libcephfs: increment library minor version
test: add test to fetch perf counters via libcephfs API
libcephfs: add API to get client perf counters
client: fix total write operations perf counter name

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #62698 into main
Venky Shankar [Tue, 20 May 2025 05:28:04 +0000 (10:58 +0530)]
Merge PR #62698 into main

* refs/pull/62698/head:
mds: add some perf counters about cache trimming

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63151 from xxhdx1985126/wip-rgw-location-https
Casey Bodley [Mon, 19 May 2025 23:00:44 +0000 (19:00 -0400)]
Merge pull request #63151 from xxhdx1985126/wip-rgw-location-https

rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #62510 from badone/wip-tracker-70645-mon_memory_target-fix
Brad Hubbard [Mon, 19 May 2025 22:39:00 +0000 (08:39 +1000)]
Merge pull request #62510 from badone/wip-tracker-70645-mon_memory_target-fix

OSDMonitor: Make sure pcm is initialised

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2 months agoMerge pull request #63266 from cbodley/wip-71291
Casey Bodley [Mon, 19 May 2025 19:50:00 +0000 (15:50 -0400)]
Merge pull request #63266 from cbodley/wip-71291

rgw/zone: remove duplicated startup logic in RGWSI_Zone

Reviewed-by: Ali Masarwa <amasarwa@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63357 from zdover23/wip-doc-2025-05-20-revert-merge-of-63351
Zac Dover [Mon, 19 May 2025 19:23:11 +0000 (05:23 +1000)]
Merge pull request #63357 from zdover23/wip-doc-2025-05-20-revert-merge-of-63351

doc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_…

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agodoc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_... 63357/head
Zac Dover [Mon, 19 May 2025 19:05:13 +0000 (05:05 +1000)]
doc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED_SINCE"

This reverts commit 6a054b06a6e60a9ded51b8be5357232b4177edb1, reversing
changes made to ff1d7c9e4efa195939b3d46a570f0d0242d54b97.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED...
Zac Dover [Mon, 19 May 2025 18:31:16 +0000 (04:31 +1000)]
Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED_SINCE

WIP DNM doc/radosgw/s3: Document delete-if-unmodified-since

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/radosgw/s3: Document delete-if-unmodified-since 63351/head
Anthony D'Atri [Mon, 19 May 2025 14:14:00 +0000 (10:14 -0400)]
doc/radosgw/s3: Document delete-if-unmodified-since

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoMerge pull request #63325 from ronen-fr/wip-rf-load2
Ronen Friedman [Mon, 19 May 2025 12:32:50 +0000 (15:32 +0300)]
Merge pull request #63325 from ronen-fr/wip-rf-load2

osd/scrub: remove the 2'nd option for determining 'low load' for scrub

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
2 months agoMerge pull request #63319 from rhcs-dashboard/accept-dot-in-uid
afreen23 [Mon, 19 May 2025 09:42:58 +0000 (15:12 +0530)]
Merge pull request #63319 from rhcs-dashboard/accept-dot-in-uid

mgr/dashboard: accept dot(.) in user_id & restrict tenant validation in user form

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2 months agoMerge PR #63281 into main
Venky Shankar [Mon, 19 May 2025 05:42:49 +0000 (11:12 +0530)]
Merge PR #63281 into main

* refs/pull/63281/head:
Revert "mgr/volumes: handle bad arguments during subvolume create"

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #63289 from tchaikov/ceph-dedup-cleanups
Ilya Dryomov [Mon, 19 May 2025 05:31:32 +0000 (07:31 +0200)]
Merge pull request #63289 from tchaikov/ceph-dedup-cleanups

tools/ceph_dedup: improve const-ness and use ranged-for loop when appropriate

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #63294 from bluikko/doc-architecture-ref
Anthony D'Atri [Sun, 18 May 2025 20:14:04 +0000 (16:14 -0400)]
Merge pull request #63294 from bluikko/doc-architecture-ref

doc: Use existing labels and ref for hyperlinks in architecture.rst

2 months agoMerge pull request #63330 from bluikko/doc-fix-bluestore-man-warning
Anthony D'Atri [Sun, 18 May 2025 19:58:47 +0000 (15:58 -0400)]
Merge pull request #63330 from bluikko/doc-fix-bluestore-man-warning

doc/man: Fix inline formatting in ceph-bluestore-tool.rst

2 months agoMerge pull request #63329 from bluikko/doc-fix-blank-line-warnings
Anthony D'Atri [Sun, 18 May 2025 19:58:16 +0000 (15:58 -0400)]
Merge pull request #63329 from bluikko/doc-fix-blank-line-warnings

doc: Fix missing blank line Sphinx warnings

2 months agoMerge pull request #63300 from tchaikov/assert-fix-leaks
Kefu Chai [Sun, 18 May 2025 13:49:16 +0000 (21:49 +0800)]
Merge pull request #63300 from tchaikov/assert-fix-leaks

common: fix backtrace leak in __ceph_abort and friends

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #60963 from k0ste/mgr_DaemonServer_mistype
SrinivasaBharathKanta [Sun, 18 May 2025 12:03:02 +0000 (17:33 +0530)]
Merge pull request #60963 from k0ste/mgr_DaemonServer_mistype

mgr/DaemonServer: fixed mistype for mgr_osd_messages

2 months agoMerge pull request #63166 from Matan-B/wip-matanb-crimson-seastore-recovery
Matan Breizman [Sun, 18 May 2025 08:01:01 +0000 (11:01 +0300)]
Merge pull request #63166 from Matan-B/wip-matanb-crimson-seastore-recovery

qa/suites/crimson-rados: Seastore recovery tests

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agodoc: Fix missing blank line Sphinx warnings 63329/head
Ville Ojamo [Sun, 18 May 2025 05:25:07 +0000 (12:25 +0700)]
doc: Fix missing blank line Sphinx warnings

Fix four warnings from Sphinx about missing blank line after explicit
markup.

Indent content in list items correctly, fixing formatting errors.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/man: Fix inline formatting in ceph-bluestore-tool.rst 63330/head
Ville Ojamo [Sun, 18 May 2025 05:35:48 +0000 (12:35 +0700)]
doc/man: Fix inline formatting in ceph-bluestore-tool.rst

A space is missing between a token with emphasis and the following
token:
- Not consistent with other commands like "show-label" (has space).
- Inline formatting is rendered verbatim in the second occurrence, without
  the formatting being applied.
- Warning from Sphinx.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc: Use existing labels and ref for hyperlinks in architecture.rst 63294/head
Ville Ojamo [Thu, 15 May 2025 10:32:29 +0000 (17:32 +0700)]
doc: Use existing labels and ref for hyperlinks in architecture.rst

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Update to use existing labels when linkin from architecture.rst.
- Remove unused "target definitions".

Also use title case for section titles in
doc/start/hardware-recommendations.rst because change to use link text
generated from section title.

Other than generated link texts 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 agoosd/scrub: minimize calls to sysconf() in scrub_load_below_threshold() 63325/head
Ronen Friedman [Sat, 17 May 2025 07:17:42 +0000 (02:17 -0500)]
osd/scrub: minimize calls to sysconf() in scrub_load_below_threshold()

Return an 'all is OK' value if the 1min CPU load - even before being
divided by the number of CPUs - is below the configured threshold.
This is a very common case, and avoids the need to call sysconf()
to get the number of CPUs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: remove the 2'nd option for determining 'low load' for scrubbing
Ronen Friedman [Sat, 17 May 2025 06:04:22 +0000 (01:04 -0500)]
osd/scrub: remove the 2'nd option for determining 'low load' for scrubbing

Previously, there were two conditions under which the CPU load was
considered
low enough to allow scrubbing:
- the CPU load was below the configured threshold, or
- the load was below a calculated "daily" average, and lower than the
  15-min average.
That second condition was confusing and surprising, and is now removed.

As the scrubber logic no longer requires the 5m & 15m load averages,
scrub_load_below_threshold() can use the data gathered by the
periodic LoadTracker::update_load_average().

Fixes: https://tracker.ceph.com/issues/71347
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #63318 from bluikko/doc-fix-crush-map-ref-rados
Anthony D'Atri [Sat, 17 May 2025 03:49:33 +0000 (23:49 -0400)]
Merge pull request #63318 from bluikko/doc-fix-crush-map-ref-rados

doc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst

2 months agoMerge pull request #63320 from bluikko/doc-fix-health-checks-formatting-rados
Anthony D'Atri [Sat, 17 May 2025 03:46:58 +0000 (23:46 -0400)]
Merge pull request #63320 from bluikko/doc-fix-health-checks-formatting-rados

doc/rados/operations: Fix unordered list in health-checks.rst

2 months agoMerge pull request #63321 from bluikko/doc-fix-cloud-transition-formatting-radosgw
Anthony D'Atri [Sat, 17 May 2025 03:43:15 +0000 (23:43 -0400)]
Merge pull request #63321 from bluikko/doc-fix-cloud-transition-formatting-radosgw

doc/radosgw: Fix indentation in cloud-transition.rst

2 months agoMerge pull request #62186 from linuxbox2/wip-rgw-cb409
Matt Benjamin [Fri, 16 May 2025 21:32:22 +0000 (17:32 -0400)]
Merge pull request #62186 from linuxbox2/wip-rgw-cb409

rgw: introduce rgw_bucket_eexist_override

2 months agoMerge pull request #63317 from bluikko/doc-fix-mclock-conf-ref-rados
Anthony D'Atri [Fri, 16 May 2025 17:20:05 +0000 (13:20 -0400)]
Merge pull request #63317 from bluikko/doc-fix-mclock-conf-ref-rados

doc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst

2 months agoMerge pull request #63309 from JoshuaGabriel/joshua/cephfs-docs
Anthony D'Atri [Fri, 16 May 2025 16:00:08 +0000 (12:00 -0400)]
Merge pull request #63309 from JoshuaGabriel/joshua/cephfs-docs

doc/cephfs: specify mount path in example command

2 months agotools/ceph_dedup: Add const qualifiers and reference parameters 63289/head
Kefu Chai [Thu, 15 May 2025 07:41:07 +0000 (15:41 +0800)]
tools/ceph_dedup: Add const qualifiers and reference parameters

Improve code quality in ceph_dedup tool by:

- Adding const qualifiers to member functions and parameters where appropriate
- Converting parameter passing to use references instead of value copies
  for complex objects

These changes enhance code readability, better express intent through
const-correctness, and improve performance by avoiding unnecessary deep
copies.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agotools/ceph_dedup: Replace iterator loops with range-based loops
Kefu Chai [Thu, 15 May 2025 07:03:42 +0000 (15:03 +0800)]
tools/ceph_dedup: Replace iterator loops with range-based loops

Refactor the code to use modern C++ range-based for loops instead of
traditional iterator-based loops, improving code readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agomgr/dashboard: accept dot(.) in user_id & (alphanumeric chars, _) in tenant in user... 63319/head
Naman Munet [Fri, 16 May 2025 08:29:04 +0000 (13:59 +0530)]
mgr/dashboard: accept dot(.) in user_id & (alphanumeric chars, _) in tenant in user form

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

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 months agodoc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst 63317/head
Ville Ojamo [Fri, 16 May 2025 08:01:14 +0000 (15:01 +0700)]
doc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst

Fix two intradocument links that pointed to the same nonexisting section
title.
These were rendered "as-is" with backticks and everything, while still
linkified pointing to invalid "#idN" anchors.

Modify them to point to the correct section title text.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/radosgw: Fix indentation in cloud-transition.rst 63321/head
Ville Ojamo [Fri, 16 May 2025 08:40:41 +0000 (15:40 +0700)]
doc/radosgw: Fix indentation in cloud-transition.rst

Indent the second paragraph of a list item at the same level as the
previous paragraph. The unexpected indentation resulted in an ERROR from
Sphinx but it was still rendered with increased indentation looking
rather out of place.

Capitalize the first letter similarly to the previous paragraph.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/rados/operations: Fix unordered list in health-checks.rst 63320/head
Ville Ojamo [Fri, 16 May 2025 08:26:56 +0000 (15:26 +0700)]
doc/rados/operations: Fix unordered list in health-checks.rst

Fix missing empty line before an unordered list that caused it to be
rendered wrong.

Also, the sentences in each list item start with a capital case letter
so add the missing full stop at the end.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst 63318/head
Ville Ojamo [Fri, 16 May 2025 08:14:09 +0000 (15:14 +0700)]
doc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst

Fix attempted use of underscores for inline emphasis which resulted in
the text being emphasized to be considered a link. The text was rendered
partially as a link to an invalid anchor "#id3".

Instead use inline italic for formatting emphasis.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63293 from bluikko/doc-multisite-ref-radosgw
Zac Dover [Fri, 16 May 2025 03:14:36 +0000 (13:14 +1000)]
Merge pull request #63293 from bluikko/doc-multisite-ref-radosgw

doc/radosgw: Use ref for hyperlinking to multisite

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 months agodoc/cephfs: specify mount path in example command 63309/head
Joshua Blanch [Fri, 16 May 2025 01:26:25 +0000 (01:26 +0000)]
doc/cephfs: specify mount path in example command

The example command for mounting CephFS was missing the local mount path.

Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
2 months agotools/ceph_dedup: add modelines for emacs and vim
Kefu Chai [Thu, 15 May 2025 06:58:22 +0000 (14:58 +0800)]
tools/ceph_dedup: add modelines for emacs and vim

add modelines for emacs and vim so that the source code is formatted
with expected alignment even if the editor's default setting is not
match with the expected settings.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63279 from rhcs-dashboard/fix-promql-query-tests
Nizamudeen A [Thu, 15 May 2025 18:06:03 +0000 (23:36 +0530)]
Merge pull request #63279 from rhcs-dashboard/fix-promql-query-tests

mgr/dashboard: fix flaky promql query test

2 months agoMerge pull request #63301 from zdover23/wip-doc-2025-05-15-mgr-dashboard-62782-followup
Anthony D'Atri [Thu, 15 May 2025 15:45:54 +0000 (11:45 -0400)]
Merge pull request #63301 from zdover23/wip-doc-2025-05-15-mgr-dashboard-62782-followup

doc/mgr: edit dashboard.rst

2 months agoMerge pull request #61637 from Matan-B/wip-matanb-cmake-rel
Matan Breizman [Thu, 15 May 2025 13:38:02 +0000 (16:38 +0300)]
Merge pull request #61637 from Matan-B/wip-matanb-cmake-rel

CMakeLists: Fallback to RelWithDebInfo

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 months agodoc/mgr: edit dashboard.rst 63301/head
Zac Dover [Thu, 15 May 2025 13:24:58 +0000 (23:24 +1000)]
doc/mgr: edit dashboard.rst

Edit doc/mgr/crash.rst. Add prompts.

This changes eighty-nine prompts. Because this makes so many changes,
all other edits included in https://github.com/ceph/ceph/pull/63255 will
be made in a separate commit. This done for the sake of the patience of
the reviewers (probably Anthony, if history is any guide).

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agocommon: fix backtrace leak in __ceph_abort and friends 63300/head
Kefu Chai [Thu, 15 May 2025 13:03:33 +0000 (21:03 +0800)]
common: fix backtrace leak in __ceph_abort and friends

Previously, in __ceph_abort and related abort handlers, we allocated
ClibBackTrace instances using raw pointers without proper cleanup. Since
these handlers terminate execution, the leaks didn't affect production
systems but were correctly flagged by ASan during testing:

```
Direct leak of 288 byte(s) in 1 object(s) allocated from:
    #0 0x55aefe8cb65d in operator new(unsigned long) (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/unittest_ceph_assert+0x1f465d) (BuildId: a4faeddac80b0d81062bd53ede3388c0c10680bc)
    #1 0x7f3b84da988d in ceph::__ceph_assertf_fail(char const*, char const*, int, char const*, char const*, ...) /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/assert.cc:157:21
    #2 0x55aefe8cf04b in supressed_assertf_line22() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/ceph_assert.cc:22:3
    #3 0x55aefe8ce4e6 in CephAssertDeathTest_ceph_assert_supresssions_Test::TestBody() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/ceph_assert.cc:31:3
    #4 0x55aefe99135d in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/src/gtest.cc:2653:10
    #5 0x55aefe94f015 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/src/gtest.cc:2689:14
...
```

This commit resolves the issue by using std::unique_ptr to manage the
lifecycle of backtrace objects, ensuring proper cleanup even in
non-returning functions. While these leaks had no practical impact in
production (as the process terminates anyway), fixing them improves code
quality and eliminates false positives in memory analysis tools.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63256 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237...
Zac Dover [Thu, 15 May 2025 12:59:59 +0000 (22:59 +1000)]
Merge pull request #63256 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237-followup-1-of-x

doc/dev/cephfs-mirroring: edit file 1 of x

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agomgr/dashboard: fix flaky promql query test 63279/head
Aashish Sharma [Wed, 14 May 2025 08:05:10 +0000 (13:35 +0530)]
mgr/dashboard: fix flaky promql query test

There is a test collision in "promql-query-test" test suite because two different IOPS panels with the same title and legend labels (Read, Write) are present, and the test framework is not able to distinguish between them.
There are two panels with the same title IOPS and legends Read / Write, but different expressions:\
1. ceph-application-overview.json
2. ceph-cluster-advanced.json

Fixes: https://tracker.ceph.com/issues/71318
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 months agodoc/radosgw: Use ref for hyperlinking to multisite 63293/head
Ville Ojamo [Thu, 15 May 2025 09:46:21 +0000 (16:46 +0700)]
doc/radosgw: Use ref for hyperlinking to multisite

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Update to use existing label in multisite.rst.
- Remove unused "target definitions".

Also use existing label for linking from multisite.rst.
Fix a broken link within multisite.rst.

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 agoMerge pull request #63163 from bluikko/doc-dynreshard-cosmetic-radosgw
Anthony D'Atri [Thu, 15 May 2025 07:28:54 +0000 (03:28 -0400)]
Merge pull request #63163 from bluikko/doc-dynreshard-cosmetic-radosgw

doc/radosgw: Cosmetic improvements in dynamicresharding.rst

2 months agoMerge pull request #62926 from ankitk18/add/size-input
afreen23 [Thu, 15 May 2025 06:33:45 +0000 (12:03 +0530)]
Merge pull request #62926 from ankitk18/add/size-input

mgr/dashboard:Added a dropdown menu for all size inputs.

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agodoc/radosgw: Cosmetic improvements in dynamicresharding.rst 63163/head
Ville Ojamo [Wed, 7 May 2025 09:48:24 +0000 (16:48 +0700)]
doc/radosgw: Cosmetic improvements in dynamicresharding.rst

Make reference to config section a hyperlink.

Capitalization consistency: use title case in section titles, fix two
invalid capitalizations in text.

Promptify CLI example commands.

A JSON key-value pair is a "property" and not an "object".

Use an ordered list instead of inline code with hardcoded list numbers.

Use the American "canceled" (majority of occurrences in doc/) instead of
"cancelled".

Use admonitions instead of spelling out "Note:".
Clarify language on sharding cleanup for multisite.

Format JSON keys as inline code.

Indent example JSON output from radosgw-admin correctly (same as real
output) with 4 spaces.

Use colon instead of full stop at the end of text that describes the
following example command. Move admonition to after such example
command.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoRevert "mgr/volumes: handle bad arguments during subvolume create" 63281/head
Venky Shankar [Wed, 14 May 2025 10:17:21 +0000 (11:17 +0100)]
Revert "mgr/volumes: handle bad arguments during subvolume create"

PR https://github.com/ceph/ceph/pull/53989 is causing failures in
fs:upgrade. Also, @VallariAg reported an issue with something
similar. I don't think adequate tests were run to qualify the PR
as mergeable. Reverting the change for now.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoqa/suites/crimson-rados:Seastore (recovery) thrash tests 63166/head
Matan Breizman [Wed, 7 May 2025 12:34:35 +0000 (12:34 +0000)]
qa/suites/crimson-rados:Seastore (recovery) thrash tests

Seastore is currently only being tested with thrash_simpe without recovery.
This commit adds recovery thrash tests with radosbench only for now.
Other workloads, mainly `ceph_test_rados` (rados) are not yet supported.
See: https://tracker.ceph.com/issues/71237

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63226 from Matan-B/wip-matanb-crimson-thrash-stale-osdmaps
Matan Breizman [Wed, 14 May 2025 07:58:35 +0000 (10:58 +0300)]
Merge pull request #63226 from Matan-B/wip-matanb-crimson-thrash-stale-osdmaps

qa/suites/crimson-rados: disable chance_trim_stale_osdmaps

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agodoc/dev/cephfs-mirroring: edit file 1 of x 63256/head
Zac Dover [Tue, 13 May 2025 06:31:42 +0000 (16:31 +1000)]
doc/dev/cephfs-mirroring: edit file 1 of x

Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in https://github.com/ceph/ceph/pull/63237/files#r2085886075.

This commit edits the first quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #63221 into main
Patrick Donnelly [Tue, 13 May 2025 15:35:19 +0000 (11:35 -0400)]
Merge PR #63221 into main

* refs/pull/63221/head:
script: ignore main branch when cleaning ci

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #63255 from zdover23/wip-doc-2025-05-13-mgr-crash-62782-followup
Anthony D'Atri [Tue, 13 May 2025 14:07:09 +0000 (10:07 -0400)]
Merge pull request #63255 from zdover23/wip-doc-2025-05-13-mgr-crash-62782-followup

doc/mgr: edit crash.rst

2 months agoMerge pull request #63259 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237...
Anthony D'Atri [Tue, 13 May 2025 14:05:26 +0000 (10:05 -0400)]
Merge pull request #63259 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237-followup-2-of-x

doc/dev/cephfs-mirroring: edit file 2 of x

2 months agoMerge pull request #63253 from zdover23/wip-doc-2025-05-13-monitoring-index
Anthony D'Atri [Tue, 13 May 2025 14:03:11 +0000 (10:03 -0400)]
Merge pull request #63253 from zdover23/wip-doc-2025-05-13-monitoring-index

doc/monitoring: correct list formatting

2 months agoMerge pull request #63254 from zdover23/wip-doc-2025-05-13-cephfs-link-fix
Anthony D'Atri [Tue, 13 May 2025 14:01:43 +0000 (10:01 -0400)]
Merge pull request #63254 from zdover23/wip-doc-2025-05-13-cephfs-link-fix

doc/cephfs: correct reference structure in fs-volumes.rst

2 months agoMerge pull request #63252 from zdover23/wip-doc-2025-05-13-mgr-dashboard-prompt-corre...
Anthony D'Atri [Tue, 13 May 2025 14:01:04 +0000 (10:01 -0400)]
Merge pull request #63252 from zdover23/wip-doc-2025-05-13-mgr-dashboard-prompt-correction

doc/mgr/dashboard: s/promt/prompt/ in dashboard.rst.

2 months agorgw/zone: remove duplicated startup logic in RGWSI_Zone 63266/head
Casey Bodley [Tue, 13 May 2025 13:42:32 +0000 (09:42 -0400)]
rgw/zone: remove duplicated startup logic in RGWSI_Zone

SiteConfig had already loaded the correct configuration without all of
the crazy search_realm_with_zone() stuff which is now confused by
defaults. remove all of this duplicated logic and rely on SiteConfig

removes functions search_realm_with_zone() create_default_zg() and
init_default_zone() which are no longer used

Fixes: https://tracker.ceph.com/issues/71291
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #63233 from Matan-B/wip-matanb-crimson-error-reply
Matan Breizman [Tue, 13 May 2025 13:01:52 +0000 (16:01 +0300)]
Merge pull request #63233 from Matan-B/wip-matanb-crimson-error-reply

crimson/osd/pg: set log_entry_update_waiting_on prior to sending requests

Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge PR #63194 into main
Venky Shankar [Tue, 13 May 2025 12:58:44 +0000 (18:28 +0530)]
Merge PR #63194 into main

* refs/pull/63194/head:
tools/cephfs/first-damage: default conf if CEPH_CONF not set

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62841 from cloudbehl/grafana-application-overview
afreen23 [Tue, 13 May 2025 12:27:57 +0000 (17:57 +0530)]
Merge pull request #62841 from cloudbehl/grafana-application-overview

mgr/dashboard: Add application overview page to grafana

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 months agoMerge PR #62025 into main
Venky Shankar [Tue, 13 May 2025 10:21:10 +0000 (15:51 +0530)]
Merge PR #62025 into main

* refs/pull/62025/head:
client: disallow unprivileged users to escalate root privileges

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agomgr/dashboard: Add application overview page to grafana 62841/head
Ankush Behl [Wed, 16 Apr 2025 07:53:57 +0000 (13:23 +0530)]
mgr/dashboard: Add application overview page to grafana

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

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2 months agoMerge pull request #63231 from rhcs-dashboard/skip-cephfs-tests
Nizamudeen A [Tue, 13 May 2025 07:08:24 +0000 (12:38 +0530)]
Merge pull request #63231 from rhcs-dashboard/skip-cephfs-tests

qa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs

2 months agoqa/suites/crimson-rados: disable chance_trim_stale_osdmaps 63226/head
Matan Breizman [Mon, 12 May 2025 08:23:39 +0000 (08:23 +0000)]
qa/suites/crimson-rados: disable chance_trim_stale_osdmaps

Avoid "no valid command" in teuthology logs.
trim stale osdmaps is not planned to be introduce soon:
See: https://tracker.ceph.com/issues/65288

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agodoc/dev/cephfs-mirroring: edit file 2 of x 63259/head
Zac Dover [Tue, 13 May 2025 06:58:39 +0000 (16:58 +1000)]
doc/dev/cephfs-mirroring: edit file 2 of x

Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in
https://github.com/ceph/ceph/pull/63237/files#r2085886075.

This commit edits the second quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/mgr: edit crash.rst 63255/head
Zac Dover [Tue, 13 May 2025 06:17:39 +0000 (16:17 +1000)]
doc/mgr: edit crash.rst

Edit doc/mgr/crash.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 agodoc/cephfs: correct reference structure in fs-volumes.rst 63254/head
Zac Dover [Tue, 13 May 2025 05:58:57 +0000 (15:58 +1000)]
doc/cephfs: correct reference structure in fs-volumes.rst

Correct the links to cross-references in the cases of the following two
directives:

1. pause-clone-threads
2. pause-purge-threads

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

2 months agodoc/monitoring: correct list formatting 63253/head
Zac Dover [Tue, 13 May 2025 05:30:07 +0000 (15:30 +1000)]
doc/monitoring: correct list formatting

Correct list formatting in doc/monitoring/index.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63039 from afreen23/update-transifex-tool
afreen23 [Tue, 13 May 2025 05:25:46 +0000 (10:55 +0530)]
Merge pull request #63039 from afreen23/update-transifex-tool

mgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agodoc/mgr/dashboard: s/promt/prompt/ in dashboard.rst. 63252/head
Zac Dover [Tue, 13 May 2025 05:18:51 +0000 (15:18 +1000)]
doc/mgr/dashboard: s/promt/prompt/ in dashboard.rst.

res ipsa loquitur

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63183 from ronen-fr/wip-rf-pool-max
Ronen Friedman [Tue, 13 May 2025 05:17:32 +0000 (08:17 +0300)]
Merge pull request #63183 from ronen-fr/wip-rf-pool-max

osd/scrub: fix deadline calculations

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63237 from joscollin/wip-dev-doc-allign
Zac Dover [Tue, 13 May 2025 05:10:05 +0000 (15:10 +1000)]
Merge pull request #63237 from joscollin/wip-dev-doc-allign

doc: fix formatting in cephfs_mirror dev doc

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63174 from afreen23/fix-nvme-combobox
afreen23 [Mon, 12 May 2025 19:00:11 +0000 (00:30 +0530)]
Merge pull request #63174 from afreen23/fix-nvme-combobox

mgr/dashboard: Add default state when gateway groups are empty

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 months agoMerge pull request #63165 from afreen23/fix-listener
afreen23 [Mon, 12 May 2025 18:53:48 +0000 (00:23 +0530)]
Merge pull request #63165 from afreen23/fix-listener

mgr/dashboard: Fix delete listener

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 months agoMerge pull request #63137 from athanatos/sjust/wip-vstart-crimson-pin-71096
Samuel Just [Mon, 12 May 2025 17:08:05 +0000 (10:08 -0700)]
Merge pull request #63137 from athanatos/sjust/wip-vstart-crimson-pin-71096

crimson: simplify vstart crimson-osd reactor pinning

Reviewed-by: Jose Juan Palacios-Perez <perezjos@uk.ibm.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63138 from athanatos/sjust/wip-crimson-perf-defaults
Samuel Just [Mon, 12 May 2025 16:59:26 +0000 (09:59 -0700)]
Merge pull request #63138 from athanatos/sjust/wip-crimson-perf-defaults

crimson: bump defaults to be more appropriate

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63215 from athanatos/sjust/wip-cancel-pglog-recovery-70337
Samuel Just [Mon, 12 May 2025 16:56:58 +0000 (09:56 -0700)]
Merge pull request #63215 from athanatos/sjust/wip-cancel-pglog-recovery-70337

crimson/osd/pg_recovery: only reset_pglog_based_recovery_op if complete

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
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 agomgr/dashboard: Add default state when gateway groups are empty 63174/head
Afreen Misbah [Thu, 8 May 2025 04:09:59 +0000 (09:39 +0530)]
mgr/dashboard: Add default state when gateway groups are empty

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

- after upgrades the nvmeof service spec does not contain `group` field
- this causes UI combobox internal errors
- checking for `group` in spec and disabling the selector

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 agodoc: fix formatting in cephfs_mirror dev doc 63237/head
Jos Collin [Mon, 12 May 2025 12:42:36 +0000 (18:12 +0530)]
doc: fix formatting in cephfs_mirror dev doc

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 months agocrimson/osd/../client_request: add logs around get_obc stage 63233/head
Matan Breizman [Mon, 12 May 2025 11:16:26 +0000 (11:16 +0000)]
crimson/osd/../client_request: add logs around get_obc stage

If this stage is in use by other operation we would keep waiting for it
to finish. Add logs before entering the stage and after to keep track of
stuck requests.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agocrimson/osd/pg: set log_entry_update_waiting_on prior to sending requests
Matan Breizman [Mon, 12 May 2025 11:14:47 +0000 (11:14 +0000)]
crimson/osd/pg: set log_entry_update_waiting_on prior to sending requests

Before this patch, we would first send the MOSDPGUpdateLogMissing to
all peers and only then insert this rep_tid to log_entry_update_waiting_on.

This could have resulted in race where we receive the reply prior to
actually inserting the rep_tid.
The reply would have been discarded with "reply on unknown tid" (which
is now aborting).
The unhandled reply would have not let submit_error to return and would
keep holding the lock on this obc.

Fixes: https://tracker.ceph.com/issues/71204
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agoqa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs 63231/head
Nizamudeen A [Mon, 12 May 2025 10:02:07 +0000 (15:32 +0530)]
qa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs

Skipping this in all PRs except the dashboard

Fixes: https://tracker.ceph.com/issues/70791
Signed-off-by: Nizamudeen A <nia@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 agolibcephfs: increment library minor version 62632/head
Venky Shankar [Thu, 8 May 2025 16:43:45 +0000 (16:43 +0000)]
libcephfs: increment library minor version

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agotest: add test to fetch perf counters via libcephfs API
Venky Shankar [Wed, 2 Apr 2025 13:02:04 +0000 (13:02 +0000)]
test: add test to fetch perf counters via libcephfs API

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agolibcephfs: add API to get client perf counters
Venky Shankar [Wed, 26 Mar 2025 12:25:21 +0000 (12:25 +0000)]
libcephfs: add API to get client perf counters

Fixes: http://tracker.ceph.com/issues/71233
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoclient: fix total write operations perf counter name
Venky Shankar [Fri, 28 Mar 2025 10:10:16 +0000 (10:10 +0000)]
client: fix total write operations perf counter name

It collides with total read operations ("rdops") and thereby
not getting reported in perf dump.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agomgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli 63039/head
Afreen Misbah [Tue, 29 Apr 2025 10:47:37 +0000 (16:17 +0530)]
mgr/dashboard: deprecate `transifex-i18ntool` and support transifex cli

- transifex-i18ntool is no longer maintained
- transifex officialy supports now a tool https://github.com/transifex/cli
- doc update

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
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>