Commit Graph

150879 Commits

Author SHA1 Message Date
Ilya Dryomov
c8d3efbbd1
Merge pull request #61835 from nbalacha/wip-nbalacha-69978
rbd-mirror: fix possible recursive lock of ImageReplayer::m_lock

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2025-02-16 21:41:48 +01:00
N Balachandran
c60514087b rbd-mirror: fix possible recursive lock of ImageReplayer::m_lock
If periodic status update (LambdaContext which is queued from
handle_update_mirror_image_replay_status()) races with shutdown and
ends up being the last in-flight operation that shutdown was pending
on, we attempt to recursively acquire m_lock in shut_down() because
m_in_flight_op_tracker.finish_op() is called with m_lock (and also
m_threads->timer_lock) held.  These locks are needed only for the call
to schedule_update_mirror_image_replay_status() and should be unlocked
immediately.

Fixes: https://tracker.ceph.com/issues/69978
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>

Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
2025-02-16 15:39:57 +05:30
Ilya Dryomov
92ef6ae4a3
Merge pull request #61827 from tchaikov/python3.12-on-ubuntu-noble
do_cmake: use Python 3.12 on ubuntu >= 24

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2025-02-15 12:12:58 +01:00
Max Kellermann
e6f4a032ad
Merge pull request #61794 from MaxKellermann/cls__includes
cls: add missing includes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2025-02-15 05:49:47 +01:00
Max Kellermann
1fffa314dc
Merge pull request #61608 from MaxKellermann/mon_includes
mon: include cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2025-02-15 05:48:51 +01:00
Ronen Friedman
4df974d637
Merge pull request #61618 from ronen-fr/wip-rf-perf-sections
common/perf_counters: use the RAII helpers when dumping

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2025-02-14 19:59:08 +02:00
Adam King
c6981a0d68
Merge pull request #61678 from phlogistonjohn/jjm-bwc-fixes-1
build-with-container fixes exec bit, dnf cache dir option

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2025-02-14 12:46:20 -05:00
Max Kellermann
9caf8aeef2 cls/numops: add missing include
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-14 16:15:50 +01:00
Max Kellermann
84ece8cb2f cls/rbd: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-14 16:15:50 +01:00
Max Kellermann
b9a18ed9be cls/cephfs: add missing forward declaration
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-14 16:15:50 +01:00
Max Kellermann
e704ed9294 cls/2pc_queue: add missing include
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-14 16:15:50 +01:00
Max Kellermann
af2525c256 journal: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-14 16:15:49 +01:00
Kefu Chai
4df368381d do_cmake: use Python 3.12 on ubuntu >= 24
the "official" Python shipped along with Ubuntu 24.04 (Noble Numbat) is
Python 3.12. And some of our building have been upgraded to Ubuntu
24.04. But we are still using Python 3.10 on Ubuntu >= 22, this breaks
the build. And CMake fails like:

```
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_EXECUTABLE Python3_INCLUDE_DIRS
  Python3_LIBRARIES Interpreter Development Development.Module
  Development.Embed) (Required is exact version "3.10")

      Reason given by package:
          Interpreter: Wrong version for the interpreter "/bin/python3"

Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindPython/Support.cmake:3863 (find_package_handle_standard_args)
  cmake/modules/FindPython3.cmake:545 (include)
  CMakeLists.txt:597 (find_package)
```

This build failure should also happen on developers who build Ceph on
Ubuntu >= 24.

In this change, we use Python 3.12 on Ubuntu >= 24

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2025-02-14 18:53:58 +08:00
Ilya Dryomov
e24bb7e8ec
Merge pull request #61768 from idryomov/wip-69911
librbd: fix mirror image status summary in a namespace

Reviewed-by: N Balachandran <nibalach@redhat.com>
2025-02-14 11:30:10 +01:00
afreen23
a6f01f44ee
Merge pull request #61698 from afreen23/wip-fix-nsapi
mgr/dashboard: (refactor)fix image size in nvmeof namespace create/update api

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2025-02-14 15:04:48 +05:30
Nizamudeen A
fd080ebe50
Merge pull request #61734 from rhcs-dashboard/delete-storage-class
mgr/dashboard: RGW - Delete storage class

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2025-02-14 11:24:53 +05:30
Ronen Friedman
489cc48410 common/perf_counters: use the RAII helpers when dumping
Using Formatter::ObjectSection & Formatter::ArraySection
to guarantee consistent dump sections opening & closing.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2025-02-13 23:49:31 -06:00
Patrick Donnelly
4b3d91abce
Merge PR #61763 into main
* refs/pull/61763/head:
	pybind/mgr/mgr_module: turn off all automatic transactions

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2025-02-13 16:15:03 -05:00
Dan Mick
83ed9eee9e
Merge pull request #61688 from dmick/wip-ceph-release-docs
doc/dev/release-process.rst: release builds cannot build containers
2025-02-13 12:33:52 -08:00
Patrick Donnelly
e80e73c6c3
Merge PR #61680 into main
* refs/pull/61680/head:
	mds: do not schedule quiesce for non-head imported inodes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2025-02-13 15:18:13 -05:00
Patrick Donnelly
2448960bc6
Merge PR #61675 into main
* refs/pull/61675/head:
	qa: do read checks with non-empty file

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2025-02-13 15:17:04 -05:00
Adam Emerson
8fc3b331a1
Merge pull request #61700 from MaxKellermann/rgw_includes
rgw: add missing includes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2025-02-13 13:12:00 -05:00
Jaya Prakash
3008ab4529
Merge pull request #60791 from Jayaprakash-ibm/jaya-branch
blk/kernel : Make bdev stop immediately

Reviewed-by : Adam Kupczyk <akupczyk@ibm.com>
Reviewed-by : Igor Fedotov <igor.fedotov@croit.io>
2025-02-13 21:51:42 +05:30
Yuri Weinstein
2a6ba876e7
Merge pull request #56925 from ifed01/wip-ifed-dencoder-crc32
tools/ceph-dencoder: introduce add_crc32c command to append crc32 for…

Reviewed-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
2025-02-13 07:30:34 -08:00
afreen23
324dd6052e
Merge pull request #61428 from rhcs-dashboard/fix-69575-main
mgr/dashboard: fix service/daemon events not showing up in service details

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2025-02-13 20:24:13 +05:30
Matan Breizman
db41a212fa
Merge pull request #61769 from Matan-B/wip-matanb-clang-14-only
script/lib-build: Use clang 14

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2025-02-13 15:51:57 +02:00
Nizamudeen A
aa292e8c9a
Merge pull request #61089 from pecastro/mgr_proto_build_generation
pybind/mgr: Protobuffer file generation for grpc deps.

Reviewed-by: baum <NOT@FOUND>
Reviewed-by: ceph-jenkins <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2025-02-13 17:19:05 +05:30
Max Kellermann
31d3275f0b mon/ConfigMonitor: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:06 +01:00
Max Kellermann
379f056793 mon/MonMap: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:06 +01:00
Max Kellermann
8a4d9f5bf5 mon/mon_types: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:06 +01:00
Max Kellermann
0e543469d8 mon/MDSMonitor: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:06 +01:00
Max Kellermann
d50d19a000 mon/PGMap: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
80613fd2a8 mon/FSCommands: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
a0b4583d3d mon/Monitor: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
b7198fc6eb mon/Paxos: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
fff48287ef mon/ConfigMap: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
f33acee3b9 mon/MonClient: add missing include
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
ef94bac810 mon/MgrMap: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
9d99e6bdc6 mon/Session: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
c31a93cf29 mon/ElectionLogic: add missing includes
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
0da679061d krbd: include cleanup
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2025-02-13 10:34:05 +01:00
Max Kellermann
058003e94f
Merge pull request #60994 from MaxKellermann/formatter
Formatter code cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2025-02-13 10:25:18 +01:00
Yuval Lifshitz
3ec88df182
Merge pull request #61759 from yuvalif/wip-yuval-boto-example-bucket-param
rgw/notification/logging: add bucket as context param
2025-02-13 11:24:28 +02:00
Max Kellermann
62da191e37
Merge pull request #60305 from MaxKellermann/blk_interface
blk/CMakeLists.txt: generate interface library if `libblk` is disabled

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2025-02-13 10:19:37 +01:00
Max Kellermann
e386a76df4
Merge pull request #61699 from MaxKellermann/crimson_includes
crimson/backref_entry: add missing includes

Reviewed-By: Yingxin Cheng <yingxin.cheng@intel.com>
2025-02-13 10:12:33 +01:00
Max Kellermann
67b6a4bdf4
Merge pull request #61705 from MaxKellermann/neorados_includes
neorados: include cleanup

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2025-02-13 10:06:08 +01:00
Yuval Lifshitz
7a17c0b1fe
Merge pull request #61775 from yuvalif/wip-yuval-fix-loggin-obj-name
rgw/logging: flush command should print flushed log object name
2025-02-13 09:33:43 +02:00
Dnyaneshwari
1393a14427 mgr/dashboard: RGW - Delete Storage Class
Fixes: https://tracker.ceph.com/issues/69880

Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2025-02-13 10:38:54 +05:30
Dan Mick
8abba8b150 doc/dev/release-process.rst: release builds cannot build containers
Document that container images are not built by the ceph-build job,
but must be done manually after the package signing and upload
to download.ceph.com.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2025-02-12 20:49:15 -08:00
Adam Emerson
5c1b470372
Merge pull request #61746 from adamemerson/wip-boost.1.87-fixes
Boost 1.87 Build Fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2025-02-12 17:25:10 -05:00