]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 weeks agosrc: typo in radosgw-admin.cc 63922/head
Mouratidis Theofilos [Fri, 13 Jun 2025 13:29:54 +0000 (15:29 +0200)]
src: typo in radosgw-admin.cc

Probably a result of a refactor

Signed-off-by: Mouratidis Theofilos <mtheofilos@gmail.com>
4 weeks agoMerge pull request #62299 from thegreenbear/cephadm-sd-fix-haproxy-labels
Adam King [Fri, 13 Jun 2025 13:04:42 +0000 (09:04 -0400)]
Merge pull request #62299 from thegreenbear/cephadm-sd-fix-haproxy-labels

src/pybind/mgr/cephadm/service_discovery: fixed HAProxy labels

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 weeks agoMerge pull request #63887 from phlogistonjohn/jjm-bwc-improvements
Dan Mick [Thu, 12 Jun 2025 23:32:26 +0000 (16:32 -0700)]
Merge pull request #63887 from phlogistonjohn/jjm-bwc-improvements

Assorted build-with-container improvements

5 weeks agoMerge pull request #63557 from Matan-B/wip-matanb-crimson-nightly-2-flavors
Matan Breizman [Thu, 12 Jun 2025 14:28:43 +0000 (17:28 +0300)]
Merge pull request #63557 from Matan-B/wip-matanb-crimson-nightly-2-flavors

qa/crontab/teuthology-cronjobs: Use Crimson flavors

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 weeks agosrc/pybind/mgr/cephadm/service_discovery: fixed HAProxy labels 62299/head
Bernard Landon [Thu, 13 Mar 2025 11:04:42 +0000 (11:04 +0000)]
src/pybind/mgr/cephadm/service_discovery: fixed HAProxy labels

Fixes: https://tracker.ceph.com/issues/70477
Signed-off-by: Bernard Landon <bernard@lndn.ch>
5 weeks agoMerge pull request #63605 from tchaikov/wip-rgw-sal-posix-fix-leak
Casey Bodley [Thu, 12 Jun 2025 13:47:18 +0000 (09:47 -0400)]
Merge pull request #63605 from tchaikov/wip-rgw-sal-posix-fix-leak

rgw/driver/posix: closedir() to free dir handle

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 weeks agoscript/buildcontainer-setup: set WITH_CRIMSON to support crimson builds 63887/head
John Mulligan [Wed, 11 Jun 2025 00:15:28 +0000 (20:15 -0400)]
script/buildcontainer-setup: set WITH_CRIMSON to support crimson builds

Set the WITH_CRIMSON env var so that crimson related dependencies are
installed and the build image can build crimson flavored ceph.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: handle failure to find source rpm better
John Mulligan [Thu, 8 May 2025 17:22:52 +0000 (13:22 -0400)]
script/build-with-container: handle failure to find source rpm better

Don't use an obscure assert, raise an exception with a helpful error
message.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: fix rpm build step when using an overlay
John Mulligan [Thu, 8 May 2025 15:21:32 +0000 (11:21 -0400)]
script/build-with-container: fix rpm build step when using an overlay

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: fix rpmbuild when no rpm build args are set
John Mulligan [Thu, 8 May 2025 15:21:11 +0000 (11:21 -0400)]
script/build-with-container: fix rpmbuild when no rpm build args are set

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: cache git branch result
John Mulligan [Fri, 21 Mar 2025 18:28:25 +0000 (14:28 -0400)]
script/build-with-container: cache git branch result

Cache the branch we got from the git command as it is highly unlikely
to change during the script execution and if it does -- we mostly don't
care anyway.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: detect when cached build images need rebuilding
John Mulligan [Fri, 21 Mar 2025 17:53:16 +0000 (13:53 -0400)]
script/build-with-container: detect when cached build images need rebuilding

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoscript/build-with-container: add log line with time taken
John Mulligan [Thu, 20 Mar 2025 21:03:43 +0000 (17:03 -0400)]
script/build-with-container: add log line with time taken

Add a log line with time taken to the output of the script, this can
help to see at a glance how long a particular bwc step took.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 weeks agoMerge pull request #63005 from bluikko/doc-layout-formatting-radosgw
Anthony D'Atri [Thu, 12 Jun 2025 12:40:35 +0000 (08:40 -0400)]
Merge pull request #63005 from bluikko/doc-layout-formatting-radosgw

doc/radosgw: Promptify CLI commands and fix formatting in layout.rst

5 weeks agoMerge pull request #63160 from yuvalif/wip-yuval-71219
Yuval Lifshitz [Thu, 12 Jun 2025 12:26:46 +0000 (15:26 +0300)]
Merge pull request #63160 from yuvalif/wip-yuval-71219

rgw/logging: send flushed object name in API reply

5 weeks agoMerge pull request #63714 from Naveenaidu/wip-naveen-update-config-diff-script
Naveen Naidu [Thu, 12 Jun 2025 02:36:22 +0000 (08:06 +0530)]
Merge pull request #63714 from Naveenaidu/wip-naveen-update-config-diff-script

.github/workflow/diff-ceph-config.yml: only detect the configuration changes that were made in the PR

5 weeks agoMerge pull request #63840 from tchaikov/wip-test-erasure-code-fix-leak
Kefu Chai [Thu, 12 Jun 2025 00:10:07 +0000 (08:10 +0800)]
Merge pull request #63840 from tchaikov/wip-test-erasure-code-fix-leak

test/erasure-code: fix memory leak in ErasureCodePlugin.parity_delta_…

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
5 weeks agoMerge pull request #63876 from zdover23/wip-doc-2025-06-11-radosgw-cloud-transition...
Anthony D'Atri [Wed, 11 Jun 2025 16:31:01 +0000 (12:31 -0400)]
Merge pull request #63876 from zdover23/wip-doc-2025-06-11-radosgw-cloud-transition-63447-followup

doc/radosgw: edit cloud-transition.rst

5 weeks agoMerge pull request #63877 from zdover23/wip-doc-2025-06-11-rados-ops-cache-tiering...
Anthony D'Atri [Wed, 11 Jun 2025 16:30:45 +0000 (12:30 -0400)]
Merge pull request #63877 from zdover23/wip-doc-2025-06-11-rados-ops-cache-tiering-63745-followup

doc/rados/ops: edit cache-tiering.rst

5 weeks agoMerge pull request #61543 from Naveenaidu/naveen/add-telemetry-upgrade-docs
Naveen Naidu [Wed, 11 Jun 2025 16:10:02 +0000 (21:40 +0530)]
Merge pull request #61543 from Naveenaidu/naveen/add-telemetry-upgrade-docs

doc/mgr/telemetry: add doc for telemetry upgrade tests

5 weeks agoMerge pull request #63003 from leonidc/fix_duplicate_entity_addr
Samuel Just [Wed, 11 Jun 2025 15:30:29 +0000 (08:30 -0700)]
Merge pull request #63003 from leonidc/fix_duplicate_entity_addr

fix duplicated entity addr in the map during reboot of several GWs

Reviewed-by: Samuel Just <sjust@redhat.com>
5 weeks agoMerge pull request #62880 from kshtsk/wip-random-sample-population
kyr [Wed, 11 Jun 2025 15:21:33 +0000 (17:21 +0200)]
Merge pull request #62880 from kshtsk/wip-random-sample-population

qa/tasks/ceph_manager: population must be a sequence

5 weeks agoMerge pull request #62148 from Jayaprakash-ibm/wip-create-bdev-label
Jaya Prakash [Wed, 11 Jun 2025 14:10:07 +0000 (19:40 +0530)]
Merge pull request #62148 from Jayaprakash-ibm/wip-create-bdev-label

os/bluestore: Implemented create-bdev-label

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
5 weeks agodoc/rados/ops: edit cache-tiering.rst 63877/head
Zac Dover [Wed, 11 Jun 2025 12:44:32 +0000 (22:44 +1000)]
doc/rados/ops: edit cache-tiering.rst

Add material to doc/rados/operations/cache-tiering.rst, as suggested by
Anthony D'Atri in
https://github.com/ceph/ceph/pull/63745#discussion_r2127887785.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agodoc/radosgw: edit cloud-transition.rst 63876/head
Zac Dover [Wed, 11 Jun 2025 12:39:50 +0000 (22:39 +1000)]
doc/radosgw: edit cloud-transition.rst

Add a link to the "Versioned Objects" section from a place in the docs
where that section is referred to. This change was requested by Anthony
D'Atri in
https://github.com/ceph/ceph/pull/63447#discussion_r2104492552.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agoMerge pull request #63875 from zdover23/wip-doc-2025-06-11-mgr-telemetry-63826-followup
Anthony D'Atri [Wed, 11 Jun 2025 12:28:01 +0000 (08:28 -0400)]
Merge pull request #63875 from zdover23/wip-doc-2025-06-11-mgr-telemetry-63826-followup

doc/mgr: edit telemetry.rst

5 weeks agodoc/mgr: edit telemetry.rst 63875/head
Zac Dover [Wed, 11 Jun 2025 12:19:07 +0000 (22:19 +1000)]
doc/mgr: edit telemetry.rst

Follow up on the suggestion made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63826#discussion_r2136820769.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agoos/bluestore: Implemented create-bdev-label 62148/head
Jaya Prakash [Wed, 5 Mar 2025 21:56:37 +0000 (21:56 +0000)]
os/bluestore: Implemented create-bdev-label

Introduces a helper function create_bdev_label() and a new command create-bdev-label
to write essential OSD metadata (e.g., fsid, whoami) directly into the device label
at offset 0, for use on devices where support_bdev_label == false.

Usage: ./bin/ceph-bluestore-tool --path dev/osd0 --dev dev/osd0/block create-bdev-label

If a label already exists, the function throws an error to avoid overwriting.

This lays the groundwork for eventually removing duplicated metadata from
the OSD directory for devices that don’t support native bdev labels

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
5 weeks agoMerge pull request #63784 from prik73/fix/audit-log-tab
Nizamudeen A [Wed, 11 Jun 2025 05:13:07 +0000 (10:43 +0530)]
Merge pull request #63784 from prik73/fix/audit-log-tab

mgr/dashboard: fix alignment of log action buttons

5 weeks agodoc/mgr/telemetry: add doc for telemetry upgrade tests 61543/head
Naveen Naidu [Mon, 27 Jan 2025 14:29:38 +0000 (19:59 +0530)]
doc/mgr/telemetry: add doc for telemetry upgrade tests

Signed-off-by: Naveen Naidu <naveen.naidu@ibm.com>
5 weeks agoMerge pull request #63827 from zdover23/wip-doc-2025-06-10-mgr-telemetry-63741-followup
Zac Dover [Wed, 11 Jun 2025 00:16:26 +0000 (10:16 +1000)]
Merge pull request #63827 from zdover23/wip-doc-2025-06-10-mgr-telemetry-63741-followup

doc/mgr: edit telemetry.rst (lines 300-400)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #63826 from zdover23/wip-doc-2025-06-10-mgr-telemetry-63740-followup
Zac Dover [Wed, 11 Jun 2025 00:09:13 +0000 (10:09 +1000)]
Merge pull request #63826 from zdover23/wip-doc-2025-06-10-mgr-telemetry-63740-followup

doc/mgr: edit telemetry.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #63842 from zdover23/wip-doc-2025-06-10-rados-ops-pools
Zac Dover [Wed, 11 Jun 2025 00:05:22 +0000 (10:05 +1000)]
Merge pull request #63842 from zdover23/wip-doc-2025-06-10-rados-ops-pools

doc/rados: enhance "pools.rst"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #63836 from zdover23/wip-doc-2025-06-10-63824-followup-test
Zac Dover [Tue, 10 Jun 2025 12:50:16 +0000 (22:50 +1000)]
Merge pull request #63836 from zdover23/wip-doc-2025-06-10-63824-followup-test

doc/rados/operations: Address suggestions for stretch-mode.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #63841 from zdover23/wip-doc-2025-06-10-rbd-mirroring-tracker...
Ilya Dryomov [Tue, 10 Jun 2025 11:46:46 +0000 (13:46 +0200)]
Merge pull request #63841 from zdover23/wip-doc-2025-06-10-rbd-mirroring-tracker-71620

doc/rbd: add mirroring troubleshooting info

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 weeks agodoc/rbd: add mirroring troubleshooting info 63841/head
Zac Dover [Tue, 10 Jun 2025 10:38:54 +0000 (20:38 +1000)]
doc/rbd: add mirroring troubleshooting info

Add a note to doc/rbd/rbd-mirroring.rst that directs the reader to set
both "site-a" and "site-b" to have the same pool names in the event that
rbd throws the error message "failed to import peer bootstrap token".

This information was reported to the Ceph upstream by Petr Tlapa in June
of 2025, and credit for its development goes to Petr.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agodoc/rados: enhance "pools.rst" 63842/head
Zac Dover [Tue, 10 Jun 2025 10:58:22 +0000 (20:58 +1000)]
doc/rados: enhance "pools.rst"

Add a link to the instructions for modifying a user's caps for a given
pool. Add this link where it makes sense to add it. Add this link where
the reader would naturally want to have the link.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agoMerge pull request #63819 from tchaikov/wip-lua-fix-leak
Kefu Chai [Tue, 10 Jun 2025 10:21:59 +0000 (18:21 +0800)]
Merge pull request #63819 from tchaikov/wip-lua-fix-leak

rgw/rgw_lua_utils: fix memory leak in luaL_error() formatting

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
5 weeks agotest/erasure-code: fix memory leak in ErasureCodePlugin.parity_delta_write 63840/head
Kefu Chai [Tue, 10 Jun 2025 09:59:28 +0000 (17:59 +0800)]
test/erasure-code: fix memory leak in ErasureCodePlugin.parity_delta_write

Fix 4KB memory leak in ErasureCodePlugin_parity_delta_write_Test caused by
unmanaged raw buffer allocation. The test was allocating a 4096-byte raw
buffer to replace shard 4 for delta encoding validation, but the buffer::ptr
constructed from the raw pointer did not manage the buffer's lifecycle.

Detected by AddressSanitizer:

```
Direct leak of 4096 byte(s) in 1 object(s) allocated from:
    #0 0x7fb73a720e15 in malloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:67
    #1 0x5562f4062ccc in ErasureCodePlugin_parity_delta_write_Test::TestBody() /home/kefu/dev/ceph/src/test/erasure-code/TestErasureCodePluginJerasure.cc:122
    #2 0x5562f41081a1 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/kefu/dev/ceph/src/googletest/googletest/src/gtest.cc:2653
    #3 0x5562f40f3004 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/kefu/dev/ceph/src/googletest/googletest/src/gtest.cc:2689
    #4 0x5562f409cbba in testing::Test::Run() /home/kefu/dev/ceph/src/googletest/googletest/src/gtest.cc:2728```
```

In this change, we replace raw pointer allocation with
create_bufferptr() to ensure proper memory management by buffer::ptr.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
5 weeks agodoc/rados/operations: Address suggestions for stretch-mode.rst 63836/head
Anthony D'Atri [Mon, 9 Jun 2025 15:02:04 +0000 (11:02 -0400)]
doc/rados/operations: Address suggestions for stretch-mode.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
fixup

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

5 weeks agoMerge pull request #63745 from zdover23/wip-doc-2025-06-05-rados-ops-cache-tiering...
Zac Dover [Tue, 10 Jun 2025 05:51:38 +0000 (15:51 +1000)]
Merge pull request #63745 from zdover23/wip-doc-2025-06-05-rados-ops-cache-tiering-63614-followup

doc/rados/ops: edit cache-tiering.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #58194 from bill-scales/fix_unittest_rocksdb_option
Kefu Chai [Tue, 10 Jun 2025 04:02:00 +0000 (12:02 +0800)]
Merge pull request #58194 from bill-scales/fix_unittest_rocksdb_option

test/objectstore/TestRocksdbOptionParse.cc: Fix race hazard

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
5 weeks agodoc/mgr: edit telemetry.rst (lines 300-400) 63827/head
Zac Dover [Tue, 10 Jun 2025 02:54:18 +0000 (12:54 +1000)]
doc/mgr: edit telemetry.rst (lines 300-400)

Edit doc/mgr/telemetry.rst (lines 300-400).

Follow up on the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63741 (except for the one about
including Lovecraftian lore in the dummy user data in this file).

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agodoc/mgr: edit telemetry.rst 63826/head
Zac Dover [Tue, 10 Jun 2025 02:50:13 +0000 (12:50 +1000)]
doc/mgr: edit telemetry.rst

Edit doc/mgr/telemetry.rst.

Follow up on the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63740.

Make several changes that were not earmarked in that PR, but that
nonetheless improve the quality of the English in telemetry.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
5 weeks agorgw/logging: return the last object name that was actually comitted 63160/head
Yuval Lifshitz [Tue, 3 Jun 2025 10:30:46 +0000 (10:30 +0000)]
rgw/logging: return the last object name that was actually comitted

when comitting a pending object that was never created we should
not reply the object name as the name of the comitted object.
instead, we should return the name of the object that was actuaslly
comitted.

Fixes: https://tracker.ceph.com/issues/71219
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 weeks agorgw/logging: send flushed object name in API reply
Yuval Lifshitz [Wed, 7 May 2025 09:34:30 +0000 (09:34 +0000)]
rgw/logging: send flushed object name in API reply

Fixes: https://tracker.ceph.com/issues/71219
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 weeks agoMerge pull request #63599 from tchaikov/wip-dbstore_tests
Casey Bodley [Mon, 9 Jun 2025 16:29:58 +0000 (12:29 -0400)]
Merge pull request #63599 from tchaikov/wip-dbstore_tests

rgw/dbstore: free objectmap in DB::Destroy()

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
5 weeks agoMerge pull request #63677 from yuvalif/wip-yuval-71537
Casey Bodley [Mon, 9 Jun 2025 16:18:59 +0000 (12:18 -0400)]
Merge pull request #63677 from yuvalif/wip-yuval-71537

rgw/logging: fix partitioned key format

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 weeks agoMerge pull request #63750 from yuvalif/wip-yuval-71563
Casey Bodley [Mon, 9 Jun 2025 16:15:19 +0000 (12:15 -0400)]
Merge pull request #63750 from yuvalif/wip-yuval-71563

rgw/logging: log only object ACls in journal mode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 weeks agoMerge pull request #63715 from benhanokh/dedup_thread_name_fix
Casey Bodley [Mon, 9 Jun 2025 16:12:38 +0000 (12:12 -0400)]
Merge pull request #63715 from benhanokh/dedup_thread_name_fix

rgw/dedup: Bug-Fix

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
5 weeks agorgw/rgw_lua_utils: fix memory leak in luaL_error() formatting 63819/head
Kefu Chai [Mon, 9 Jun 2025 10:26:21 +0000 (18:26 +0800)]
rgw/rgw_lua_utils: fix memory leak in luaL_error() formatting

Previously, error messages passed to luaL_error() were formatted using
std::string concatenation. Since luaL_error() never returns (it throws
a Lua exception via longjmp), the allocated std::string memory was
leaked, as detected by AddressSanitizer:

```
Direct leak of 105 byte(s) in 1 object(s) allocated from:
    #0 0x7fc5f1921a2d in operator new(unsigned long) /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_new_delete.cpp:86
    #1 0x563bd89144c7 in std::__new_allocator<char>::allocate(unsigned long, void const*) /usr/include/c++/15.1.1/bits/new_allocator.h:151
    #2 0x563bd89144c7 in std::allocator<char>::allocate(unsigned long) /usr/include/c++/15.1.1/bits/allocator.h:203
    #3 0x563bd89144c7 in std::allocator_traits<std::allocator<char> >::allocate(std::allocator<char>&, unsigned long) /usr/include/c++/15.1.1/bits/alloc_traits.h:614
    #4 0x563bd89144c7 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_allocate(std::allocator<char>&, unsigned long) /usr/include/c++/15.1.1/bits/basic_string.h:142
    #5 0x563bd89144c7 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long) /usr/include/c++/15.1.1/bits/basic_string.tcc:164
    #6 0x563bd896ae1b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) /usr/include/c++/15.1.1/bits/basic_string.tcc:363
    #7 0x563bd896b256 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) /usr/include/c++/15.1.1/bits/basic_string.tcc:455
    #8 0x563bd896b2bb in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*) /usr/include/c++/15.1.1/bits/basic_string.h:1585
    #9 0x563bd943c2f2 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, char const*) /usr/include/c++/15.1.1/bits/basic_string.h:3977
    #10 0x563bd943c2f2 in rgw::lua::lua_state_guard::runtime_hook(lua_State*, lua_Debug*) /home/kefu/dev/ceph/src/rgw/rgw_lua_utils.cc:245
    #11 0x7fc5f139f8ef  (/usr/lib/liblua.so.5.4+0xe8ef) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #12 0x7fc5f139fbfe  (/usr/lib/liblua.so.5.4+0xebfe) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #13 0x7fc5f13b26fe  (/usr/lib/liblua.so.5.4+0x216fe) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #14 0x7fc5f139f581  (/usr/lib/liblua.so.5.4+0xe581) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #15 0x7fc5f139b735  (/usr/lib/liblua.so.5.4+0xa735) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #16 0x7fc5f139ba8f  (/usr/lib/liblua.so.5.4+0xaa8f) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #17 0x7fc5f139f696 in lua_pcallk (/usr/lib/liblua.so.5.4+0xe696) (BuildId: b7533e2973d4b0d82e10fc29973ec5a8d355d2b8)
    #18 0x563bd8a925ef in rgw::lua::request::execute(rgw::sal::Driver*, RGWREST*, OpsLogSink*, req_state*, RGWOp*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/kefu/dev/ceph/src/rgw/rgw_lua_request.cc:824
    #19 0x563bd8952e3d in TestRGWLua_LuaRuntimeLimit_Test::TestBody() /home/kefu/dev/ceph/src/test/rgw/test_rgw_lua.cc:1628
    #20 0x563bd8a37817 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/kefu/dev/ceph/src/googletest/googletest/src/gtest.cc:2653
    #21 0x563bd8a509b5 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (/home/kefu/dev/ceph/build/bin/unittest_rgw_lua+0x11199b5) (BuildId: b2628caba5290d882d25f7bea166f058b682bc85)`
```

This change replaces std::string formatting with stack-allocated buffer
and std::to_chars() to eliminate the memory leak.

Note: We cannot format int64_t directly through luaL_error() because
lua_pushfstring() does not support long long or int64_t format specifiers,
even in Lua 5.4 (see https://www.lua.org/manual/5.4/manual.html#lua_pushfstring).
Since libstdc++ uses int64_t for std::chrono::milliseconds::rep, we use
std::to_chars() for safe, efficient conversion without heap allocation.

The maximum runtime limit was a configuration introduced by 3e3cb156.

Fixes: https://tracker.ceph.com/issues/71595
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
5 weeks agoMerge pull request #62714 from anthonyeleven/improve-stretchops
Zac Dover [Mon, 9 Jun 2025 09:51:33 +0000 (19:51 +1000)]
Merge pull request #62714 from anthonyeleven/improve-stretchops

doc/rados/operations: Improve stretch-mode.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
5 weeks agoMerge pull request #63781 from zdover23/wip-doc-2025-06-06-mgr-telemetry-63739-followup
Zac Dover [Mon, 9 Jun 2025 09:01:00 +0000 (19:01 +1000)]
Merge pull request #63781 from zdover23/wip-doc-2025-06-06-mgr-telemetry-63739-followup

doc/mgr: edit telemetry.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks ago.github/workflows/diff-ceph-config.yml: use --ref-commit-sha and --cmp-commit-sha 63714/head
Naveen Naidu [Mon, 9 Jun 2025 08:02:44 +0000 (13:32 +0530)]
.github/workflows/diff-ceph-config.yml: use --ref-commit-sha and --cmp-commit-sha

update the config_diff.py to use `--ref-commit-sha` and
`--cmp-commit-sha` to repliace the three-dot diff [1] that Github uses
for showing it's diff. This way we only output the configuration changes
that have been made in the PR.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
5 weeks agosrc/script/config_diff.py: add support for `ref-commit-sha` and `cmp-commit-sha`...
Naveen Naidu [Sun, 8 Jun 2025 13:55:24 +0000 (19:25 +0530)]
src/script/config_diff.py: add support for `ref-commit-sha` and `cmp-commit-sha` arguments

Introduced `ref-commit-sha` and `cmp-commit-sha` arguments to the
`diff-branch-remote-repo` mode, enabling comparison of remote
branches against specific commits.

This enhancement is crucial for comparing configuration changes
between a pull request (PR) and the Ceph upstream main branch. It
allows for precise comparison by focusing on files changed in the
PR, rather than simply comparing the PR's head with its latest
commit.

The approach mirrors GitHub's three-dot diff [1], where the PR is
compared against the common ancestor of the Ceph upstream repository
, i.e., the point where the PR was forked.

[1]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-comparing-branches-in-pull-requests

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
5 weeks agoMerge pull request #63460 from myoungwon/wip-fix-wrong-print-format
Matan Breizman [Mon, 9 Jun 2025 07:42:13 +0000 (10:42 +0300)]
Merge pull request #63460 from myoungwon/wip-fix-wrong-print-format

crimson/osd: fix incorrect format error in log message

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 weeks agoMerge pull request #63350 from Matan-B/wip-matanb-crimson-hwloc
Matan Breizman [Mon, 9 Jun 2025 07:41:41 +0000 (10:41 +0300)]
Merge pull request #63350 from Matan-B/wip-matanb-crimson-hwloc

src/CMakeLists: Crimson - enable libhwloc

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 weeks agoMerge pull request #63333 from Matan-B/wip-matanb-crimson-poll-mode
Matan Breizman [Mon, 9 Jun 2025 07:39:01 +0000 (10:39 +0300)]
Merge pull request #63333 from Matan-B/wip-matanb-crimson-poll-mode

common/options/crimson: introduce crimson_poll_mode

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 weeks ago.github/workflows/config-diff-post-comment.js: improve handling of GH comment
Naveen Naidu [Mon, 9 Jun 2025 07:36:00 +0000 (13:06 +0530)]
.github/workflows/config-diff-post-comment.js: improve handling of GH comment

1. When no configuration changes are detected, delete the outdated
   configuration diff Github comment. This ensures that the PR does not
   have any misleading information about configuration changes.
2. Configuration changes might change with every push event, update the
   old configuration diff comment with the new configDiff that was
   calculated in the present run.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
5 weeks agosrc/scripts/config-diff.py: simplify sparse_branch_checkout_* functions and add files...
Naveen Naidu [Sun, 8 Jun 2025 06:37:11 +0000 (12:07 +0530)]
src/scripts/config-diff.py: simplify sparse_branch_checkout_* functions and add files names to POSIX diff

Refactored `sparse_branch_checkout_skip_clone` and
`sparse_branch_checkout_remote_repo_skip_clone` to accept and use
branch/tag names directly instead of constructing `ref_sha` strings
throughout the code.

Also include filenames from where the configuration values are coming
from in the POSIX diff. This helps identify the config options faster in
case of descrepancies.

Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
5 weeks agoMerge pull request #63655 from tchaikov/wip-cmake-breakpad
Kefu Chai [Sun, 8 Jun 2025 13:23:55 +0000 (21:23 +0800)]
Merge pull request #63655 from tchaikov/wip-cmake-breakpad

cmake: enable out-of-source build of breakpad

Reviewed-by: Marcel Lauhoff <marcel.lauhoff@clyso.com>
Reviewed-by: Jesse F. Williamson <jfw@ibm.com>
5 weeks agoMerge pull request #63758 from ronen-fr/wip-rf-startedat
Ronen Friedman [Sun, 8 Jun 2025 11:53:15 +0000 (14:53 +0300)]
Merge pull request #63758 from ronen-fr/wip-rf-startedat

osd/scrub: make m_session_started_at at Session state ctor

Reviewed-by: Samuel Just <sjust@redhat.com>
5 weeks agocmake: enable out-of-source build of breakpad 63655/head
Kefu Chai [Wed, 4 Jun 2025 03:05:38 +0000 (11:05 +0800)]
cmake: enable out-of-source build of breakpad

Previously, Breakpad was built in its source tree instead of the
user-specified build directory, inconsistent with other external
projects and potentially causing source tree pollution.

Include path fix:

- Add ${INSTALL_DIR}/include/breakpad to include directories to fix
  FTBFS on Jammy builders

Build system improvements:
- Replace dedicated LSS submodule symlink target with PATCH_COMMAND to
  simplify the build process
- Use user-specified make command instead of hardcoded "make"
- Skip building unused process library and tools
- Link against breakpad with PRIVATE visibility unless required

Compiler flag cleanups:
- Remove -Wno-array-bounds from CFLAGS (Breakpad uses C++/CXXFLAGS)
- Remove compile-time flags incorrectly placed in LDFLAGS
- Remove '-fPIC' from CFLAGS, as it is already included by breakpad
  when building on linux hosts.
- Replace the individual -Wno-* flags with -Wno-error to cancel
  -Werror option specified by breakpad. This is more future-proof.

CMake target modernization:
- Rename libbreakpad_client to Breakpad::client following modern conventions
- Add Breakpad::breakpad header-only target to minimize dependencies
- Install library to enable proper include path prefixes
  (breakpad/client/... vs client/...)

Header dependency optimization:
- Remove Breakpad includes from popular headers, use forward declarations
- Include Breakpad headers before internal headers for better readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
5 weeks agoMerge pull request #63620 from athanatos/sjust/wip-71512
Samuel Just [Fri, 6 Jun 2025 21:33:14 +0000 (14:33 -0700)]
Merge pull request #63620 from athanatos/sjust/wip-71512

cls/CMakeLists.txt: find_package Lua for cls_lua

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
5 weeks agoMerge pull request #63671 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard...
Ernesto Puerta [Fri, 6 Jun 2025 16:34:59 +0000 (18:34 +0200)]
Merge pull request #63671 from ceph/dependabot-npm_and_yarn-src-pybind-mgr-dashboard-frontend-tar-fs-2.1.3

mgr/dashboard: bump tar-fs from 2.1.2 to 2.1.3 in /src/pybind/mgr/dashboard/frontend

5 weeks agoosd/scrub: make m_session_started_at at Session state ctor 63758/head
Ronen Friedman [Wed, 4 Jun 2025 17:44:16 +0000 (12:44 -0500)]
osd/scrub: make m_session_started_at at Session state ctor

ScrubMachine::get_time_scrubbing() must access the Session object
to compute the scrub duration. But the State data is not externally
accessible before its ctor has completed.

As we always happen to try to access that data inside the ctor,
this always results in a warning log message.

Here we move m_session_started_at into the outer state, simplifying
the logic required to access it.

Fixes: https://tracker.ceph.com/issues/64955
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 weeks agoMerge pull request #63782 from zdover23/wip-doc-2025-06-06-radosgw-metrics-62893...
Anthony D'Atri [Fri, 6 Jun 2025 12:28:47 +0000 (08:28 -0400)]
Merge pull request #63782 from zdover23/wip-doc-2025-06-06-radosgw-metrics-62893-followup

doc/radosgw: edit metrics.rst

6 weeks agoMerge pull request #62817 from aclamk/aclamk-bs-reshard-problem-replicate
Adam Kupczyk [Fri, 6 Jun 2025 10:49:45 +0000 (12:49 +0200)]
Merge pull request #62817 from aclamk/aclamk-bs-reshard-problem-replicate

os/bluestore: Debug code to make reshard fail faster

6 weeks agomgr/dashboard: fix alignment of log action buttons 63784/head
prik73 [Fri, 6 Jun 2025 06:09:15 +0000 (11:39 +0530)]
mgr/dashboard: fix alignment of log action buttons

Aligned the download and copy buttons in the logs component for a consistent look.

Fixes: https://tracker.ceph.com/issues/71539
Signed-off-by: prik73 <prinovac@gmail.com>
6 weeks agodoc/radosgw: edit metrics.rst 63782/head
Zac Dover [Fri, 6 Jun 2025 05:16:17 +0000 (15:16 +1000)]
doc/radosgw: edit metrics.rst

Edit doc/radosgw/metrics.rst.

Incorporate Anthony D'Atri's suggestion from
https://github.com/ceph/ceph/pull/62893#discussion_r2124662981 into the
RADOSGW documentation.

This commit clarifies the English that explains the behavior of
rgw-multitenancy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agodoc/mgr: edit telemetry.rst 63781/head
Zac Dover [Fri, 6 Jun 2025 05:11:15 +0000 (15:11 +1000)]
doc/mgr: edit telemetry.rst

Edit doc/mgr/telemetry.rst.

Incorporate Anthony D'Atri's suggestions from
https://github.com/ceph/ceph/pull/63739.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agoMerge pull request #63741 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-follow...
Zac Dover [Fri, 6 Jun 2025 04:49:57 +0000 (14:49 +1000)]
Merge pull request #63741 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-followup-4-of-x

doc/mgr: edit telemetry (4 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 weeks agoMerge pull request #63740 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-follow...
Zac Dover [Fri, 6 Jun 2025 04:48:35 +0000 (14:48 +1000)]
Merge pull request #63740 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-followup-3-of-x

doc/mgr: edit telemetry (3 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 weeks agoMerge pull request #63739 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-follow...
Zac Dover [Fri, 6 Jun 2025 04:43:11 +0000 (14:43 +1000)]
Merge pull request #63739 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-followup-2-of-x

doc/mgr: edit telemetry (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 weeks agoMerge pull request #63735 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-followup
Zac Dover [Fri, 6 Jun 2025 04:39:37 +0000 (14:39 +1000)]
Merge pull request #63735 from zdover23/wip-doc-2025-06-05-mgr-telemetry-63476-followup

doc/mgr: edit telemetry (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 weeks agoMerge pull request #63085 from zdover23/wip-doc-2025-05-01-mgr-yaml-in-62983-followup-1
Zac Dover [Fri, 6 Jun 2025 01:25:35 +0000 (11:25 +1000)]
Merge pull request #63085 from zdover23/wip-doc-2025-05-01-mgr-yaml-in-62983-followup-1

doc/src/common/options: mgr.yaml.in edit

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 weeks agoMerge pull request #63595 from tchaikov/wip-test_librados_completion-fix-leak 62330/head
Kefu Chai [Thu, 5 Jun 2025 14:56:53 +0000 (22:56 +0800)]
Merge pull request #63595 from tchaikov/wip-test_librados_completion-fix-leak

test/common: fix memory leak in librados completion tests

Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 weeks agoMerge PR #63621 into main
Patrick Donnelly [Thu, 5 Jun 2025 14:36:49 +0000 (10:36 -0400)]
Merge PR #63621 into main

* refs/pull/63621/head:
mon/FSCommands: avoid unreachable code triggering compiler warning

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 weeks agoMerge pull request #63721 from guits/dashboard-hw-fix
Nizamudeen A [Thu, 5 Jun 2025 13:02:09 +0000 (18:32 +0530)]
Merge pull request #63721 from guits/dashboard-hw-fix

mgr/dashboard: fix KeyError exception in HardwareService.get_summary()

6 weeks agoMerge pull request #63713 from anoopcs9/bump-libcephfs-major-vers
Venky Shankar [Thu, 5 Jun 2025 08:51:32 +0000 (14:21 +0530)]
Merge pull request #63713 from anoopcs9/bump-libcephfs-major-vers

libcephfs: Bump API major version

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 weeks agoqa, ec-esb-fio: Add flag for easier replication 62817/head
Adam Kupczyk [Thu, 5 Jun 2025 08:09:48 +0000 (08:09 +0000)]
qa, ec-esb-fio: Add flag for easier replication

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
6 weeks agoos/bluestore: Debug code to make reshard fail faster
Adam Kupczyk [Tue, 15 Apr 2025 08:31:49 +0000 (08:31 +0000)]
os/bluestore: Debug code to make reshard fail faster

Catch reshard on producing invalid result on encode.
This makes it much easier to catch error.
Intented for teuthology testing.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
6 weeks agorgw/logging: log only object ACls in journal mode 63750/head
Yuval Lifshitz [Thu, 5 Jun 2025 07:48:07 +0000 (07:48 +0000)]
rgw/logging: log only object ACls in journal mode

Fixes: https://tracker.ceph.com/issues/71563
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 weeks agodoc/rados/ops: edit cache-tiering.rst 63745/head
Zac Dover [Thu, 5 Jun 2025 03:28:13 +0000 (13:28 +1000)]
doc/rados/ops: edit cache-tiering.rst

Remove part of a sentence that might have led readers to think that it
is a good idea to deploy cache tiering on releases prior to Reef.

This incorporates Anthony D'Atri's suggestion from here: https://github.com/ceph/ceph/pull/63614#discussion_r2116020937

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agodoc/mgr: edit telemetry (4 of x) 63741/head
Zac Dover [Thu, 5 Jun 2025 03:05:54 +0000 (13:05 +1000)]
doc/mgr: edit telemetry (4 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits the final part of doc/mgr/telemetry.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agodoc/mgr: edit telemetry (3 of x) 63740/head
Zac Dover [Thu, 5 Jun 2025 02:24:08 +0000 (12:24 +1000)]
doc/mgr: edit telemetry (3 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits the third hundred lines in doc/mgr/telemetry.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agodoc/mgr: edit telemetry (2 of x) 63739/head
Zac Dover [Thu, 5 Jun 2025 02:06:00 +0000 (12:06 +1000)]
doc/mgr: edit telemetry (2 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits the second hundred lines in doc/mgr/telemetry.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agoMerge pull request #62935 from adk3798/cephadm-fix-shell-name-stopped-daemon
Adam King [Thu, 5 Jun 2025 00:59:09 +0000 (20:59 -0400)]
Merge pull request #62935 from adk3798/cephadm-fix-shell-name-stopped-daemon

cephadm: don't collect image ids for daemons with no container info

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
6 weeks agoMerge pull request #63729 from athanatos/sjust/wip-71568
Kefu Chai [Thu, 5 Jun 2025 00:40:39 +0000 (08:40 +0800)]
Merge pull request #63729 from athanatos/sjust/wip-71568

.gitmodules: remove shallow=true config from nvmeof/gateway

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
6 weeks agodoc/mgr: edit telemetry (1 of x) 63735/head
Zac Dover [Thu, 5 Jun 2025 00:02:47 +0000 (10:02 +1000)]
doc/mgr: edit telemetry (1 of x)

Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.

This commit edits down to the line "Note that telemetry must be on for
these commands to take effect.", inclusive.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agoMerge pull request #63734 from zdover23/wip-doc-2025-06-05-cli_api-63195-followup
Anthony D'Atri [Thu, 5 Jun 2025 00:01:26 +0000 (20:01 -0400)]
Merge pull request #63734 from zdover23/wip-doc-2025-06-05-cli_api-63195-followup

doc/mgr: edit cli_api

6 weeks agoMerge pull request #63733 from zdover23/wip-doc-2025-06-05-glossary-omap
Anthony D'Atri [Thu, 5 Jun 2025 00:00:45 +0000 (20:00 -0400)]
Merge pull request #63733 from zdover23/wip-doc-2025-06-05-glossary-omap

doc/glossary: s/OMAP/omap/

6 weeks agodoc/mgr: edit cli_api 63734/head
Zac Dover [Wed, 4 Jun 2025 23:52:40 +0000 (09:52 +1000)]
doc/mgr: edit cli_api

Improve the English in doc/mgr/cli_api.rst. Incorporate the changes
suggested by Anthony D'Atri in https://github.com/ceph/ceph/pull/63195.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agodoc/glossary: s/OMAP/omap/ 63733/head
Zac Dover [Wed, 4 Jun 2025 23:39:33 +0000 (09:39 +1000)]
doc/glossary: s/OMAP/omap/

Change "OMAP" to "omap" to match the capitalization established by
Eleanor Cawthon in her 2012 omap paper, here:
https://ceph.io/assets/pdfs/CawthonKeyValueStore.pdf.

Signed-off-by: Zac Dover <zac.dover@proton.me>
6 weeks agoMerge pull request #63596 from cbodley/wip-github-milestone-tentacle
Casey Bodley [Wed, 4 Jun 2025 22:20:55 +0000 (18:20 -0400)]
Merge pull request #63596 from cbodley/wip-github-milestone-tentacle

github: add tentacle milestone

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
6 weeks ago.gitmodules: remove shallow=true config from nvmeof/gateway 63729/head
Samuel Just [Wed, 4 Jun 2025 20:55:21 +0000 (20:55 +0000)]
.gitmodules: remove shallow=true config from nvmeof/gateway

https://github.com/ceph/ceph/pull/61264 reintroduced
https://tracker.ceph.com/issues/67640 fixed by
383091e89.

Setting shallow=true for the nvmeof/gateway submodule
is problematic because the ceph.git submodule sha1
is only very rarely the head sha1 of the default
branch.

Fixes: https://tracker.ceph.com/issues/71568
Signed-off-by: Samuel Just <sjust@redhat.com>
6 weeks agoMerge pull request #63361 from cbodley/wip-github-label-rgw-docs
Casey Bodley [Wed, 4 Jun 2025 20:22:07 +0000 (16:22 -0400)]
Merge pull request #63361 from cbodley/wip-github-label-rgw-docs

github: add rgw label for changes in doc/radosgw

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 weeks agoMerge pull request #63702 from ThomasLamprecht/deb-radosgw-media-types-dependency
Casey Bodley [Wed, 4 Jun 2025 20:21:01 +0000 (16:21 -0400)]
Merge pull request #63702 from ThomasLamprecht/deb-radosgw-media-types-dependency

debian: radosgw: add media-types packages as alternative for mime-support

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
6 weeks agomgr/dashboard: fix KeyError exception in HardwareService.get_summary() 63721/head
Guillaume Abrioux [Wed, 4 Jun 2025 14:23:43 +0000 (16:23 +0200)]
mgr/dashboard: fix KeyError exception in HardwareService.get_summary()

Typical error:

```
[dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 48, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 193, in wrapper
    return func(*vpath, **params)
  File "/usr/share/ceph/mgr/dashboard/controllers/hardware.py", line 21, in summary
    return HardwareService.get_summary(categories, hostname)
  File "/usr/share/ceph/mgr/dashboard/services/hardware.py", line 33, in get_summary
    'ok': sum(item['status']['health'] == 'OK' for items in data.values()
  File "/usr/share/ceph/mgr/dashboard/services/hardware.py", line 33, in <genexpr>
    'ok': sum(item['status']['health'] == 'OK' for items in data.values()
KeyError: 'status'
```

The recent change from commit `fbcdf571ca1` introduced this regression.

Fixes: https://tracker.ceph.com/issues/71558
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
6 weeks agoMerge pull request #63409 from cbodley/wip-70792
Casey Bodley [Wed, 4 Jun 2025 18:57:08 +0000 (14:57 -0400)]
Merge pull request #63409 from cbodley/wip-70792

run-make: work around package conflicts from llvm.sh

Reviewed-by: Dan Mick <dmick@redhat.com>