]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agodoc/mgr: edit grammar and formatting of rgw.rst 61867/head
Zac Dover [Tue, 18 Feb 2025 13:44:15 +0000 (23:44 +1000)]
doc/mgr: edit grammar and formatting of rgw.rst

Improve the grammar and correct the formatting of the "Upgrading root ca
certificates" procedure that was added to the documentation in https://github.com/ceph/ceph/pull/61867

Fixes: https://tracker.ceph.com/issues/70014
Signed-off-by: Zac Dover <zac.dover@proton.me>
5 months agodoc/mgr: Add root CA cert instructions to rgw.rst
Anuradha Gadge [Tue, 18 Feb 2025 09:09:31 +0000 (14:39 +0530)]
doc/mgr: Add root CA cert instructions to rgw.rst

Add documentation for adding fs_id in root_ca_cert upgrade path

Fixes: https://tracker.ceph.com/issues/70014
Signed-off-by: Anuradha Gadge <anuradha.gadge@ibm.com>
5 months agoMerge pull request #61836 from myoungwon/fix-crimson-osd-invalid-argument-print
Matan Breizman [Tue, 18 Feb 2025 10:21:12 +0000 (12:21 +0200)]
Merge pull request #61836 from myoungwon/fix-crimson-osd-invalid-argument-print

crimson/osd: remove invalid an argument when printing log

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
5 months agoMerge pull request #61469 from ronen-fr/wip-rf-assert-perf
Ronen Friedman [Tue, 18 Feb 2025 10:02:04 +0000 (12:02 +0200)]
Merge pull request #61469 from ronen-fr/wip-rf-assert-perf

common/perf-counters: replace 'assert' with 'ceph_assert'

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61606 from rhcs-dashboard/create-storage-class
afreen23 [Tue, 18 Feb 2025 09:55:57 +0000 (15:25 +0530)]
Merge pull request #61606 from rhcs-dashboard/create-storage-class

mgr/dashboard: RGW - Create Storage Class

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61793 from MaxKellermann/rados__includes
Ilya Dryomov [Tue, 18 Feb 2025 08:34:50 +0000 (09:34 +0100)]
Merge pull request #61793 from MaxKellermann/rados__includes

Add missing librbd includes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 months agoMerge pull request #61814 from gbregman/main
Gil Bregman [Tue, 18 Feb 2025 06:41:57 +0000 (08:41 +0200)]
Merge pull request #61814 from gbregman/main

mgr/cephadm/nvmeof: Add QOS timeslice field to NVMeOF configuration

5 months agoMerge pull request #47189 from pdvian/wip-crush-df
Radoslaw Zarzynski [Mon, 17 Feb 2025 22:37:15 +0000 (23:37 +0100)]
Merge pull request #47189 from pdvian/wip-crush-df

crush/CrushWrapper: Merge weights if rule contains multiple take

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61752 from afreen23/wip-nvme-ns
afreen23 [Mon, 17 Feb 2025 20:21:55 +0000 (01:51 +0530)]
Merge pull request #61752 from afreen23/wip-nvme-ns

Add namespace counter in nvmeof namepsaces

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge PR #60983 into main
Patrick Donnelly [Mon, 17 Feb 2025 19:21:03 +0000 (14:21 -0500)]
Merge PR #60983 into main

* refs/pull/60983/head:
script: ceph-backport no longer launches firefox

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
5 months agoMerge PR #61552 into main
Patrick Donnelly [Mon, 17 Feb 2025 19:02:52 +0000 (14:02 -0500)]
Merge PR #61552 into main

* refs/pull/61552/head:
script/ceph-debug-docker.sh: fix manifest unknown error

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge PR #61776 into main
Patrick Donnelly [Mon, 17 Feb 2025 18:56:50 +0000 (13:56 -0500)]
Merge PR #61776 into main

* refs/pull/61776/head:
ceph-backport.sh: add squid to known milestones

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
5 months agoMerge PR #61813 into main
Patrick Donnelly [Mon, 17 Feb 2025 18:52:59 +0000 (13:52 -0500)]
Merge PR #61813 into main

* refs/pull/61813/head:
common: add missing mds op names

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 months agoMerge pull request #61785 from ceph/cve-34749-fix
David Galloway [Mon, 17 Feb 2025 17:11:37 +0000 (12:11 -0500)]
Merge pull request #61785 from ceph/cve-34749-fix

doc: Upgrade and unpin some python versions

5 months agomgr/dashboard: RGW - Create Storage Class 61606/head
Dnyaneshwari [Fri, 31 Jan 2025 09:35:12 +0000 (15:05 +0530)]
mgr/dashboard: RGW - Create Storage Class

Fixes: https://tracker.ceph.com/issues/69750
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
5 months agomgr/cephadm/nvmeof: Add QOS timeslice field to NVMeOF configuration 61814/head
Gil Bregman [Thu, 13 Feb 2025 19:42:48 +0000 (21:42 +0200)]
mgr/cephadm/nvmeof: Add QOS timeslice field to NVMeOF configuration
Fixes https://tracker.ceph.com/issues/69952

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
5 months agoMerge pull request #61702 from MaxKellermann/bluestore_includes
Max Kellermann [Mon, 17 Feb 2025 11:10:56 +0000 (12:10 +0100)]
Merge pull request #61702 from MaxKellermann/bluestore_includes

os/bluestore: include cleanup

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 months agoMerge pull request #61808 from ronen-fr/wip-rf-store-ids
Ronen Friedman [Mon, 17 Feb 2025 10:12:25 +0000 (12:12 +0200)]
Merge pull request #61808 from ronen-fr/wip-rf-store-ids

osd/scrub: cleanup scrub-store IDs generation

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61588 from rhcs-dashboard/smb-share-form-create
afreen23 [Mon, 17 Feb 2025 09:52:19 +0000 (15:22 +0530)]
Merge pull request #61588 from rhcs-dashboard/smb-share-form-create

mgr/dashboard: SMB Create Share

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agomgr/dashboard: Add namespace counter in nvmeof namepsaces 61752/head
Afreen Misbah [Fri, 7 Feb 2025 09:36:20 +0000 (15:06 +0530)]
mgr/dashboard: Add namespace counter in nvmeof namepsaces

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
5 months agomgr/dashboard: fix image size in nvmeof namespace create/update api
Afreen Misbah [Fri, 7 Feb 2025 11:43:51 +0000 (17:13 +0530)]
mgr/dashboard: fix image size in nvmeof namespace create/update api

- Different name is used in POST and PATCH for `rbd_image_size`
- Using same name in both requests
- fixing typing issues in frontend

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61779 from yuvalif/wip-yuval-logging-fields-doc
Yuval Lifshitz [Mon, 17 Feb 2025 07:54:40 +0000 (09:54 +0200)]
Merge pull request #61779 from yuvalif/wip-yuval-logging-fields-doc

doc/rgw/logging: update field description

Reviewed-By: Anthony D'Atri <anthony.datri@gmail.com>, Ali Masarwe <ali.masarwa@ibm.com>
5 months agolibrbd: add missing includes 61793/head
Max Kellermann [Mon, 28 Oct 2024 08:17:15 +0000 (09:17 +0100)]
librbd: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agorbd_replay: add missing include
Max Kellermann [Mon, 28 Oct 2024 13:51:52 +0000 (14:51 +0100)]
rbd_replay: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agoSimpleRADOSStriper: add missing include
Max Kellermann [Sat, 2 Nov 2024 22:32:59 +0000 (23:32 +0100)]
SimpleRADOSStriper: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agolibrados: add missing includes
Max Kellermann [Sun, 27 Oct 2024 11:07:18 +0000 (12:07 +0100)]
librados: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agoMerge pull request #61597 from Hezko/nvmf-update-route
Hezko [Mon, 17 Feb 2025 06:24:22 +0000 (08:24 +0200)]
Merge pull request #61597 from Hezko/nvmf-update-route

mgr/dashboard: namespace update route robustness

5 months agoMerge pull request #61835 from nbalacha/wip-nbalacha-69978
Ilya Dryomov [Sun, 16 Feb 2025 20:41:48 +0000 (21:41 +0100)]
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>
5 months agocrimson/osd: remove invalid argurment when printing log 61836/head
myoungwon oh [Sun, 16 Feb 2025 11:48:16 +0000 (11:48 +0000)]
crimson/osd: remove invalid argurment when printing log

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 months agoosd/scrub: clean-up scrub-store IDs generation 61808/head
Ronen Friedman [Tue, 11 Feb 2025 12:52:38 +0000 (06:52 -0600)]
osd/scrub: clean-up scrub-store IDs generation

The Scrub Store IDs (used to identify OMAP entries used for storing
object-specific error data) are generated by attaching some prefix to
the text representation of virtual (invented) hobjects.

This commit cleans up the code by moving the name generation
process (creating temporary un-needed objects, then
extracting the to_str() representation of their identity)
into separate functions.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 months agomgr/dashboard: ns update route robustness 61597/head
Tomer Haskalovitch [Thu, 30 Jan 2025 09:09:13 +0000 (11:09 +0200)]
mgr/dashboard: ns update route robustness

improve namespace update endpoint

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

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
5 months agorbd-mirror: fix possible recursive lock of ImageReplayer::m_lock 61835/head
N Balachandran [Sat, 15 Feb 2025 13:26:31 +0000 (18:56 +0530)]
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>
5 months agoMerge pull request #61827 from tchaikov/python3.12-on-ubuntu-noble
Ilya Dryomov [Sat, 15 Feb 2025 11:12:58 +0000 (12:12 +0100)]
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>
5 months agoMerge pull request #61794 from MaxKellermann/cls__includes
Max Kellermann [Sat, 15 Feb 2025 04:49:47 +0000 (05:49 +0100)]
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>
5 months agoMerge pull request #61608 from MaxKellermann/mon_includes
Max Kellermann [Sat, 15 Feb 2025 04:48:51 +0000 (05:48 +0100)]
Merge pull request #61608 from MaxKellermann/mon_includes

mon: include cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61618 from ronen-fr/wip-rf-perf-sections
Ronen Friedman [Fri, 14 Feb 2025 17:59:08 +0000 (19:59 +0200)]
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>
5 months agoMerge pull request #61678 from phlogistonjohn/jjm-bwc-fixes-1
Adam King [Fri, 14 Feb 2025 17:46:20 +0000 (12:46 -0500)]
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>
5 months agocls/numops: add missing include 61794/head
Max Kellermann [Wed, 30 Oct 2024 19:41:11 +0000 (20:41 +0100)]
cls/numops: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/rbd: add missing includes
Max Kellermann [Sun, 27 Oct 2024 12:35:26 +0000 (13:35 +0100)]
cls/rbd: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/cephfs: add missing forward declaration
Max Kellermann [Sat, 26 Oct 2024 18:08:20 +0000 (20:08 +0200)]
cls/cephfs: add missing forward declaration

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/2pc_queue: add missing include
Max Kellermann [Sat, 26 Oct 2024 17:40:39 +0000 (19:40 +0200)]
cls/2pc_queue: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agojournal: add missing includes
Max Kellermann [Sat, 26 Oct 2024 17:52:06 +0000 (19:52 +0200)]
journal: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomgr/dashboard: SMB Create Share 61588/head
Dnyaneshwari [Thu, 30 Jan 2025 08:14:06 +0000 (13:44 +0530)]
mgr/dashboard: SMB Create Share

Fixes: https://tracker.ceph.com/issues/69733
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
5 months agodo_cmake: use Python 3.12 on ubuntu >= 24 61827/head
Kefu Chai [Fri, 14 Feb 2025 10:53:58 +0000 (18:53 +0800)]
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>
5 months agoMerge pull request #61768 from idryomov/wip-69911
Ilya Dryomov [Fri, 14 Feb 2025 10:30:10 +0000 (11:30 +0100)]
Merge pull request #61768 from idryomov/wip-69911

librbd: fix mirror image status summary in a namespace

Reviewed-by: N Balachandran <nibalach@redhat.com>
5 months agoMerge pull request #61698 from afreen23/wip-fix-nsapi
afreen23 [Fri, 14 Feb 2025 09:34:48 +0000 (15:04 +0530)]
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>
5 months agoMerge pull request #61734 from rhcs-dashboard/delete-storage-class
Nizamudeen A [Fri, 14 Feb 2025 05:54:53 +0000 (11:24 +0530)]
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>
5 months agocommon/perf_counters: use the RAII helpers when dumping 61618/head
Ronen Friedman [Sun, 2 Feb 2025 15:24:33 +0000 (09:24 -0600)]
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>
5 months agoMerge PR #61763 into main
Patrick Donnelly [Thu, 13 Feb 2025 21:15:03 +0000 (16:15 -0500)]
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>
5 months agoMerge pull request #61688 from dmick/wip-ceph-release-docs
Dan Mick [Thu, 13 Feb 2025 20:33:52 +0000 (12:33 -0800)]
Merge pull request #61688 from dmick/wip-ceph-release-docs

doc/dev/release-process.rst: release builds cannot build containers

5 months agoMerge PR #61680 into main
Patrick Donnelly [Thu, 13 Feb 2025 20:18:13 +0000 (15:18 -0500)]
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>
5 months agoMerge PR #61675 into main
Patrick Donnelly [Thu, 13 Feb 2025 20:17:04 +0000 (15:17 -0500)]
Merge PR #61675 into main

* refs/pull/61675/head:
qa: do read checks with non-empty file

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
5 months agocommon: add missing mds op names 61813/head
Patrick Donnelly [Thu, 13 Feb 2025 19:37:45 +0000 (14:37 -0500)]
common: add missing mds op names

Fixes: 8970fef4ecc4dc28011bb57c5150fbdc691279d0
Fixes: 7f1d066756383adae37d61cc2b2f5d99bc167f65
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61700 from MaxKellermann/rgw_includes
Adam Emerson [Thu, 13 Feb 2025 18:12:00 +0000 (13:12 -0500)]
Merge pull request #61700 from MaxKellermann/rgw_includes

rgw: add missing includes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #60791 from Jayaprakash-ibm/jaya-branch
Jaya Prakash [Thu, 13 Feb 2025 16:21:42 +0000 (21:51 +0530)]
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>

5 months agoMerge pull request #56925 from ifed01/wip-ifed-dencoder-crc32
Yuri Weinstein [Thu, 13 Feb 2025 15:30:34 +0000 (07:30 -0800)]
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>
5 months agoMerge pull request #61428 from rhcs-dashboard/fix-69575-main
afreen23 [Thu, 13 Feb 2025 14:54:13 +0000 (20:24 +0530)]
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>
5 months agoMerge pull request #61769 from Matan-B/wip-matanb-clang-14-only
Matan Breizman [Thu, 13 Feb 2025 13:51:57 +0000 (15:51 +0200)]
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>
5 months agoMerge pull request #61089 from pecastro/mgr_proto_build_generation
Nizamudeen A [Thu, 13 Feb 2025 11:49:05 +0000 (17:19 +0530)]
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>
5 months agomon/ConfigMonitor: include cleanup 61608/head
Max Kellermann [Thu, 14 Nov 2024 09:52:59 +0000 (10:52 +0100)]
mon/ConfigMonitor: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/MonMap: include cleanup
Max Kellermann [Thu, 14 Nov 2024 09:51:48 +0000 (10:51 +0100)]
mon/MonMap: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/mon_types: include cleanup
Max Kellermann [Fri, 1 Nov 2024 07:25:02 +0000 (08:25 +0100)]
mon/mon_types: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/MDSMonitor: include cleanup
Max Kellermann [Wed, 30 Oct 2024 11:15:30 +0000 (12:15 +0100)]
mon/MDSMonitor: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/PGMap: include cleanup
Max Kellermann [Tue, 29 Oct 2024 19:55:02 +0000 (20:55 +0100)]
mon/PGMap: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/FSCommands: include cleanup
Max Kellermann [Mon, 28 Oct 2024 21:25:13 +0000 (22:25 +0100)]
mon/FSCommands: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/Monitor: add missing includes
Max Kellermann [Mon, 28 Oct 2024 21:22:53 +0000 (22:22 +0100)]
mon/Monitor: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/Paxos: include cleanup
Max Kellermann [Mon, 28 Oct 2024 21:09:16 +0000 (22:09 +0100)]
mon/Paxos: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/ConfigMap: add missing includes
Max Kellermann [Fri, 25 Oct 2024 09:10:04 +0000 (11:10 +0200)]
mon/ConfigMap: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/MonClient: add missing include
Max Kellermann [Fri, 4 Oct 2024 13:41:01 +0000 (15:41 +0200)]
mon/MonClient: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/MgrMap: add missing includes
Max Kellermann [Fri, 25 Oct 2024 10:57:19 +0000 (12:57 +0200)]
mon/MgrMap: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/Session: add missing includes
Max Kellermann [Sun, 27 Oct 2024 17:20:09 +0000 (18:20 +0100)]
mon/Session: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agomon/ElectionLogic: add missing includes
Max Kellermann [Tue, 5 Nov 2024 07:08:41 +0000 (08:08 +0100)]
mon/ElectionLogic: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agokrbd: include cleanup
Max Kellermann [Sun, 27 Oct 2024 12:41:30 +0000 (13:41 +0100)]
krbd: include cleanup

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agoMerge pull request #60994 from MaxKellermann/formatter
Max Kellermann [Thu, 13 Feb 2025 09:25:18 +0000 (10:25 +0100)]
Merge pull request #60994 from MaxKellermann/formatter

Formatter code cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61759 from yuvalif/wip-yuval-boto-example-bucket-param
Yuval Lifshitz [Thu, 13 Feb 2025 09:24:28 +0000 (11:24 +0200)]
Merge pull request #61759 from yuvalif/wip-yuval-boto-example-bucket-param

rgw/notification/logging: add bucket as context param

5 months agoMerge pull request #60305 from MaxKellermann/blk_interface
Max Kellermann [Thu, 13 Feb 2025 09:19:37 +0000 (10:19 +0100)]
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>
5 months agoMerge pull request #61699 from MaxKellermann/crimson_includes
Max Kellermann [Thu, 13 Feb 2025 09:12:33 +0000 (10:12 +0100)]
Merge pull request #61699 from MaxKellermann/crimson_includes

crimson/backref_entry: add missing includes

Reviewed-By: Yingxin Cheng <yingxin.cheng@intel.com>
5 months agoMerge pull request #61705 from MaxKellermann/neorados_includes
Max Kellermann [Thu, 13 Feb 2025 09:06:08 +0000 (10:06 +0100)]
Merge pull request #61705 from MaxKellermann/neorados_includes

neorados: include cleanup

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agodoc/rgw/logging: update field description 61779/head
Yuval Lifshitz [Wed, 12 Feb 2025 17:42:41 +0000 (17:42 +0000)]
doc/rgw/logging: update field description

this is updating documentation based on the change in
this PR: https://github.com/ceph/ceph/pull/61388

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 months agoMerge pull request #61775 from yuvalif/wip-yuval-fix-loggin-obj-name
Yuval Lifshitz [Thu, 13 Feb 2025 07:33:43 +0000 (09:33 +0200)]
Merge pull request #61775 from yuvalif/wip-yuval-fix-loggin-obj-name

rgw/logging: flush command should print flushed log object name

5 months agomgr/dashboard: RGW - Delete Storage Class 61734/head
Dnyaneshwari [Sun, 9 Feb 2025 12:32:11 +0000 (18:02 +0530)]
mgr/dashboard: RGW - Delete Storage Class

Fixes: https://tracker.ceph.com/issues/69880
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
5 months agodoc/dev/release-process.rst: release builds cannot build containers 61688/head
Dan Mick [Fri, 7 Feb 2025 04:35:57 +0000 (20:35 -0800)]
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>
5 months agodoc: Upgrade and unpin some python versions 61785/head
David Galloway [Wed, 12 Feb 2025 23:46:06 +0000 (18:46 -0500)]
doc: Upgrade and unpin some python versions

https://access.redhat.com/security/cve/CVE-2022-34749

https://bugzilla.redhat.com/show_bug.cgi?id=2255448

Fixes https://github.com/ceph/ceph/pull/44222

Signed-off-by: David Galloway <david.galloway@ibm.com>
5 months agoMerge pull request #61746 from adamemerson/wip-boost.1.87-fixes
Adam Emerson [Wed, 12 Feb 2025 22:25:10 +0000 (17:25 -0500)]
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>
5 months agoMerge pull request #60995 from MaxKellermann/messages__includes
Max Kellermann [Wed, 12 Feb 2025 20:07:49 +0000 (21:07 +0100)]
Merge pull request #60995 from MaxKellermann/messages__includes

messages/*: add missing includes

5 months agoMerge pull request #61418 from cbodley/wip-rgw-multisite-sync-delta-counters
J. Eric Ivancich [Wed, 12 Feb 2025 19:24:12 +0000 (14:24 -0500)]
Merge pull request #61418 from cbodley/wip-rgw-multisite-sync-delta-counters

rgw: add labeled counters for sync deltas of shards

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #61290 from BBoozmen/wip-oozmen-67846
J. Eric Ivancich [Wed, 12 Feb 2025 19:23:34 +0000 (14:23 -0500)]
Merge pull request #61290 from BBoozmen/wip-oozmen-67846

RGW/S3: truncate S3 LastModified response (timestamp) to exact seconds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61009 from cbodley/wip-69169
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:57 +0000 (14:22 -0500)]
Merge pull request #61009 from cbodley/wip-69169

rgw/rados: resolve CopyObject crash from remote zonegroup

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 months agoMerge pull request #61090 from soumyakoduri/wip-skoduri-cloud-restore
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:29 +0000 (14:22 -0500)]
Merge pull request #61090 from soumyakoduri/wip-skoduri-cloud-restore

rgw/cloud-restore: Do not send internal headers to cloud-endpoint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61358 from richardpoole/main
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:12 +0000 (14:22 -0500)]
Merge pull request #61358 from richardpoole/main

rgw: allow management of `accounts` user caps

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61573 from clwluvw/log-new-req-id
J. Eric Ivancich [Wed, 12 Feb 2025 19:21:56 +0000 (14:21 -0500)]
Merge pull request #61573 from clwluvw/log-new-req-id

rgw: log request_id on start new request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agomgr/dashboard: fix image size in nvmeof namespace create/update api 61698/head
Afreen Misbah [Fri, 7 Feb 2025 11:43:51 +0000 (17:13 +0530)]
mgr/dashboard: fix image size in nvmeof namespace create/update api

- Different name is used in POST and PATCH for `rbd_image_size`
- Using same name in both requests
- fixing typing issues in frontend

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #60175 from MaxKellermann/misc_optimizations
Max Kellermann [Wed, 12 Feb 2025 16:12:33 +0000 (17:12 +0100)]
Merge pull request #60175 from MaxKellermann/misc_optimizations

Misc optimizations

5 months agoceph-backport.sh: add squid to known milestones 61776/head
Jos Collin [Wed, 12 Feb 2025 15:36:51 +0000 (21:06 +0530)]
ceph-backport.sh: add squid to known milestones

Avoids: WARNING: Milestone ->squid<- is unknown to the script: falling back to GitHub API

Signed-off-by: Jos Collin <jcollin@redhat.com>
5 months agorgw/logging: flush command should print flushed log object name 61775/head
Yuval Lifshitz [Wed, 12 Feb 2025 15:33:55 +0000 (15:33 +0000)]
rgw/logging: flush command should print flushed log object name

and not the next pending log object name

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 months agoMerge pull request #61621 from joscollin/wip-B69669-fix-exception-smaller-pad-width
Venky Shankar [Wed, 12 Feb 2025 15:00:21 +0000 (20:30 +0530)]
Merge pull request #61621 from joscollin/wip-B69669-fix-exception-smaller-pad-width

cephfs-top: exception when terminal size greater than PAD_WIDTH

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 months agoscript/lib-build: Use clang 14 61769/head
Matan Breizman [Wed, 12 Feb 2025 13:29:02 +0000 (13:29 +0000)]
script/lib-build: Use clang 14

In attempt to update to clang16 some of the code is not yet adapted
due to deprecated functions.
Let's disable clang 16 usage until https://github.com/ceph/ceph/pull/61740
is merged.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
5 months agoqa/workunits/rbd: use create_image_and_enable_mirror() in bootstrap tests 61768/head
Ilya Dryomov [Wed, 12 Feb 2025 10:25:48 +0000 (11:25 +0100)]
qa/workunits/rbd: use create_image_and_enable_mirror() in bootstrap tests

The reason create_image() + enable_mirror() happens to work for
PARENT_POOL is that PARENT_POOL is enabled for mirroring in image mode
unconditionally, unlike POOL, POOL/NS1 or PARENT_POOL/NS1 for which
MIRROR_POOL_MODE setting is respected.  This isn't immediately obvious
because it's done in setup_pools() in rbd_mirror_helpers.sh.

Switch to create_image_and_enable_mirror() for clarity.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 months agorbd: don't clone ioctx before calling get_mirror_peer_sites()
Ilya Dryomov [Tue, 11 Feb 2025 20:01:13 +0000 (21:01 +0100)]
rbd: don't clone ioctx before calling get_mirror_peer_sites()

get_mirror_peer_sites() transitions to the default namespace
internally, doing it in advance at the call sites is redundant.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 months agolibrbd: fix mirror image status summary in a namespace
Ilya Dryomov [Tue, 11 Feb 2025 16:44:51 +0000 (17:44 +0100)]
librbd: fix mirror image status summary in a namespace

For the purposes of the summary with image counts, "rbd mirror pool
status" command is supposed to count each image only once.  To this
end, for unidirectional mirroring the status of the receiving site
should be taken while for bidirectional mirroring the statuses should
be combined/reduced.  For example, if mirroring is enabled on a single
image and everything is in order, the summary is expected to be

  image health: OK
  images: 1 total
      1 replaying

on both clusters even though on the primary the local status is
MIRROR_IMAGE_STATUS_STATE_STOPPED and only on the secondary it's
MIRROR_IMAGE_STATUS_STATE_REPLAYING.

Currently this isn't the case for custom namespaces.  In the same
scenario the primary ends up reporting

  image health: OK
  images: 1 total
      1 stopped

based solely on the local status in a namespace.

Fixes: https://tracker.ceph.com/issues/69911
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>