]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 weeks agolibrbd: add mirror group API
Mykola Golub [Sat, 28 Nov 2020 10:15:26 +0000 (10:15 +0000)]
librbd: add mirror group API

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agolibrbd: don't send 'image updated' notifications
Mykola Golub [Fri, 18 Dec 2020 10:15:11 +0000 (10:15 +0000)]
librbd: don't send 'image updated' notifications

when enabling/disabling group mirroring

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agolibrbd: introduce 'group updated' mirroring watcher notification
Mykola Golub [Thu, 17 Dec 2020 12:22:57 +0000 (12:22 +0000)]
librbd: introduce 'group updated' mirroring watcher notification

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agolibrbd: introduce 'group add/remove image' async requests
Mykola Golub [Wed, 27 Jan 2021 17:19:32 +0000 (17:19 +0000)]
librbd: introduce 'group add/remove image' async requests

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agolibrbd/api: assume user namespace for group snapshot
Mykola Golub [Fri, 23 Jul 2021 15:04:48 +0000 (16:04 +0100)]
librbd/api: assume user namespace for group snapshot

when the snapshot is specified by name only

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: add method to unlink image snapshot from group snapshot
Mykola Golub [Thu, 18 Feb 2021 12:41:53 +0000 (12:41 +0000)]
cls/rbd: add method to unlink image snapshot from group snapshot

When no image snapshots are left the group snapshot will be
automatically removed.

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: make possible mirror_image_list filter out group images
Mykola Golub [Tue, 19 Jan 2021 13:48:07 +0000 (13:48 +0000)]
cls/rbd: make possible mirror_image_list filter out group images

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: add async versions of some group functions
Mykola Golub [Fri, 15 Jan 2021 16:23:37 +0000 (16:23 +0000)]
cls/rbd: add async versions of some group functions

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: add group_spec and group_snap_id to mirror snapshot
Mykola Golub [Mon, 7 Dec 2020 10:40:40 +0000 (10:40 +0000)]
cls/rbd: add group_spec and group_snap_id to mirror snapshot

which are going to be used when creating a group mirror snapshot.

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: add mirror group types and methods
Mykola Golub [Sat, 28 Nov 2020 10:14:27 +0000 (10:14 +0000)]
cls/rbd: add mirror group types and methods

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: add group snapshot namespace
Mykola Golub [Sun, 6 Dec 2020 13:12:39 +0000 (13:12 +0000)]
cls/rbd: add group snapshot namespace

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agocls/rbd: rename GroupSnapshotNamespace to GroupImageSnapshotNamespace
Mykola Golub [Wed, 23 Jun 2021 16:56:20 +0000 (17:56 +0100)]
cls/rbd: rename GroupSnapshotNamespace to GroupImageSnapshotNamespace

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
8 weeks agoMerge pull request #63945 from ArbitCode/wip-raja-get-account-summary
Raja [Mon, 28 Jul 2025 05:26:26 +0000 (10:56 +0530)]
Merge pull request #63945 from ArbitCode/wip-raja-get-account-summary

rgw/iam: getAccountSummary API

8 weeks agoMerge pull request #64592 from ArbitCode/wip-raja-get-caller-identity-docs
Raja [Mon, 28 Jul 2025 05:25:59 +0000 (10:55 +0530)]
Merge pull request #64592 from ArbitCode/wip-raja-get-caller-identity-docs

doc/radosgw: get caller identity docs

8 weeks agoMerge pull request #64289 from sseshasa/wip-mclock-new-benchmark-mechanism
Sridhar Seshasayee [Mon, 28 Jul 2025 03:39:10 +0000 (09:09 +0530)]
Merge pull request #64289 from sseshasa/wip-mclock-new-benchmark-mechanism

src/ceph_osd, osd: Implement running benchmark during OSD creation - Phase 1

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
8 weeks agoMerge pull request #64593 from chanyoung/fix-omap-iterate
Matan Breizman [Sun, 27 Jul 2025 10:34:15 +0000 (13:34 +0300)]
Merge pull request #64593 from chanyoung/fix-omap-iterate

crimson/.../omap_btree_node_impl: fix inner node iterate

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
8 weeks agoMerge pull request #64585 from myoungwon/wip-parallel-write-ool
Matan Breizman [Sun, 27 Jul 2025 10:33:54 +0000 (13:33 +0300)]
Merge pull request #64585 from myoungwon/wip-parallel-write-ool

crimson/os/seastore/rbm: improve large sequential write by issuing writes in parallel

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
8 weeks agoMerge pull request #64498 from xxhdx1985126/wip-seastore-io-block-time
Matan Breizman [Sun, 27 Jul 2025 10:32:11 +0000 (13:32 +0300)]
Merge pull request #64498 from xxhdx1985126/wip-seastore-io-block-time

crimson/os/seastore/async_cleaner: measure io block time

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agoMerge pull request #64418 from ifed01/wip-ifed-discard-mkfs 64678/head
SrinivasaBharathKanta [Sat, 26 Jul 2025 00:22:42 +0000 (05:52 +0530)]
Merge pull request #64418 from ifed01/wip-ifed-discard-mkfs

os/bluestore: make full device discard on mkfs a default behavior

2 months agoMerge pull request #64142 from phlogistonjohn/jjm-smb-ip-bind
Adam King [Fri, 25 Jul 2025 17:45:41 +0000 (13:45 -0400)]
Merge pull request #64142 from phlogistonjohn/jjm-smb-ip-bind

smb: support custom ip address binds

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
2 months agoMerge pull request #64690 from zdover23/wip-doc-2025-07-25-cephfs-ceph-dokan
Anthony D'Atri [Fri, 25 Jul 2025 14:19:32 +0000 (10:19 -0400)]
Merge pull request #64690 from zdover23/wip-doc-2025-07-25-cephfs-ceph-dokan

doc/cephfs: edit ceph-dokan.rst (1 of x)

2 months agodoc/cephfs: edit ceph-dokan.rst (1 of x) 64690/head
Zac Dover [Fri, 25 Jul 2025 13:21:28 +0000 (23:21 +1000)]
doc/cephfs: edit ceph-dokan.rst (1 of x)

Edit the first 62 lines of doc/cephfs/ceph-dokan. This is part of a
larger project whose goal is the improvement of the CephFS
documentation.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #64523 into main
Venky Shankar [Fri, 25 Jul 2025 11:20:03 +0000 (16:50 +0530)]
Merge PR #64523 into main

* refs/pull/64523/head:

Reviewed-by: Laura Flores <lflores@redhat.com>
2 months agoMerge pull request #64409 from bolzo/mds_disallow_root_fragmentation
Venky Shankar [Fri, 25 Jul 2025 11:18:56 +0000 (16:48 +0530)]
Merge pull request #64409 from bolzo/mds_disallow_root_fragmentation

MDS: disallow root directory fragmentation

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge PR #64308 into main
Venky Shankar [Fri, 25 Jul 2025 11:17:45 +0000 (16:47 +0530)]
Merge PR #64308 into main

* refs/pull/64308/head:

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge PR #64297 into main
Venky Shankar [Fri, 25 Jul 2025 11:16:21 +0000 (16:46 +0530)]
Merge PR #64297 into main

* refs/pull/64297/head:

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63524 from batrick/i71462
Venky Shankar [Fri, 25 Jul 2025 11:15:20 +0000 (16:45 +0530)]
Merge pull request #63524 from batrick/i71462

 mds: wrong snap check for directory with parent snaps

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge PR #62554 into main
Venky Shankar [Fri, 25 Jul 2025 11:12:41 +0000 (16:42 +0530)]
Merge PR #62554 into main

* refs/pull/62554/head:

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge pull request #64465 from tchaikov/wip-crimson-formatter-sans-fmt-local
Kefu Chai [Fri, 25 Jul 2025 08:45:58 +0000 (16:45 +0800)]
Merge pull request #64465 from tchaikov/wip-crimson-formatter-sans-fmt-local

crimson/common: replace deprecated fmt::localtime() with localtime_r()

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63408 from aainscow/ec_recovery_zero_detect
Alex Ainscow [Fri, 25 Jul 2025 06:17:05 +0000 (07:17 +0100)]
Merge pull request #63408 from aainscow/ec_recovery_zero_detect

OSD: EC recovery zero detect

2 months agoMerge pull request #64545 from ajarr/cleanup-librbd-mirror-enable-req
Ilya Dryomov [Fri, 25 Jul 2025 05:26:58 +0000 (07:26 +0200)]
Merge pull request #64545 from ajarr/cleanup-librbd-mirror-enable-req

librbd/mirror: cleanup EnableRequest::handle_get_mirror_image()

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #64193 from tchaikov/wip-bluestore-test-shutdown
SrinivasaBharathKanta [Fri, 25 Jul 2025 04:55:21 +0000 (10:25 +0530)]
Merge pull request #64193 from tchaikov/wip-bluestore-test-shutdown

os/bluestore: fix memory leak in HybridAllocator destructor

2 months agoMerge pull request #64661 from afreen23/revert-stylus
afreen23 [Thu, 24 Jul 2025 23:04:38 +0000 (04:34 +0530)]
Merge pull request #64661 from afreen23/revert-stylus

Revert "mgr/dashboard: Fix stylus issue"

Reviewed-by: Naman Munet <nmunet@redhat.com>
2 months agoMerge pull request #64352 from aclamk/aclamk-bs-remove-cache_blob
SrinivasaBharathKanta [Thu, 24 Jul 2025 23:03:08 +0000 (04:33 +0530)]
Merge pull request #64352 from aclamk/aclamk-bs-remove-cache_blob

os/bluestore: Get rid of unused CACHE_BLOB_BL

2 months agoMerge pull request #64219 from kamoltat/wip-ksirivad-fix-qa-rados-test
SrinivasaBharathKanta [Thu, 24 Jul 2025 23:02:24 +0000 (04:32 +0530)]
Merge pull request #64219 from kamoltat/wip-ksirivad-fix-qa-rados-test

qa/workunits/rados/test.sh: add timeout mechanism and more info to workloads with parallel tests

2 months agoMerge pull request #63642 from ifed01/wip-ifed-dynamic-vsel-params
SrinivasaBharathKanta [Thu, 24 Jul 2025 23:01:17 +0000 (04:31 +0530)]
Merge pull request #63642 from ifed01/wip-ifed-dynamic-vsel-params

os/bluestore: make vselector reserved* parameters applicable in run-time

2 months agoMerge pull request #64667 from afreen23/fix-localization-load
afreen23 [Thu, 24 Jul 2025 19:57:19 +0000 (01:27 +0530)]
Merge pull request #64667 from afreen23/fix-localization-load

mgr/dashboard: Fix issue with loading localization module

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #62790 from ceph/rm-ceph-common-postun 64656/head
Justin Caratzas [Thu, 24 Jul 2025 17:00:07 +0000 (13:00 -0400)]
Merge pull request #62790 from ceph/rm-ceph-common-postun

ceph.spec.in: don't rm ceph conf and logs in ceph-common postun

2 months agoMerge pull request #64535 from yuvalif/wip-yuval-71979
Yuval Lifshitz [Thu, 24 Jul 2025 16:26:35 +0000 (19:26 +0300)]
Merge pull request #64535 from yuvalif/wip-yuval-71979

rgw/test/notification: add more info when retry test fail

2 months agolibrbd/mirror: cleanup EnableRequest::handle_get_mirror_image() 64545/head
Ramana Raja [Wed, 16 Jul 2025 17:43:18 +0000 (13:43 -0400)]
librbd/mirror: cleanup EnableRequest::handle_get_mirror_image()

In the EnableRequest state machine, clean up the handling of the async
request to fetch the mirror image, particularly when a non-primary image
is being created by the rbd-mirror daemon.

Signed-off-by: Ramana Raja <rraja@redhat.com>
2 months agoMerge pull request #64402 from sam0044/sam0044-bug_72034
Adam King [Thu, 24 Jul 2025 15:20:58 +0000 (11:20 -0400)]
Merge pull request #64402 from sam0044/sam0044-bug_72034

mgr/cephadm: updating maintenance health status in the serve loop

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #63825 from leomylonas/main
Adam King [Thu, 24 Jul 2025 15:14:01 +0000 (11:14 -0400)]
Merge pull request #63825 from leomylonas/main

mgr/cephadm: handle possibly undefined template variable in haproxy.cfg.j2

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #63391 from Kushal-deb/fix-rgw-bootstrap
Adam King [Thu, 24 Jul 2025 15:06:41 +0000 (11:06 -0400)]
Merge pull request #63391 from Kushal-deb/fix-rgw-bootstrap

mgr/rgw: Improve error handling and add --resume flag to 'ceph rgw realm bootstrap'

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #64185 from kshtsk/wip-add-cephadm-file-path
Adam King [Thu, 24 Jul 2025 15:00:21 +0000 (11:00 -0400)]
Merge pull request #64185 from kshtsk/wip-add-cephadm-file-path

qa/tasks/cephadm: allow to select from 'cephadm' and 'cephadm.py'

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #64635 from abitdrag/tracker_72134
Ilya Dryomov [Thu, 24 Jul 2025 14:45:52 +0000 (16:45 +0200)]
Merge pull request #64635 from abitdrag/tracker_72134

krbd: "rbd device map" command should use msgr2 by default

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #62886 from Kushal-deb/fix-issue-2302464-ceph_orch_commands_to_rep...
Adam King [Thu, 24 Jul 2025 14:11:33 +0000 (10:11 -0400)]
Merge pull request #62886 from Kushal-deb/fix-issue-2302464-ceph_orch_commands_to_report_the_exit_code

mgr/cephadm: Provide appropriate exit codes for orch operations

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #64454 from anoopcs9/fix-var-lib-samba-perms
Adam King [Thu, 24 Jul 2025 13:26:29 +0000 (09:26 -0400)]
Merge pull request #64454 from anoopcs9/fix-var-lib-samba-perms

cephadm: Bind mount /var/lib/samba with 0755

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Sachin Prabhu <sp@spui.uk>
Reviewed-by: Shwetha K Acharya <Shwetha.K.Acharya@ibm.com>
2 months agomgr/dashboard: Fix issue with loading localization module 64667/head
Afreen Misbah [Thu, 24 Jul 2025 11:29:10 +0000 (16:59 +0530)]
mgr/dashboard: Fix issue with loading localization module

- this module is only required to be imported from polyfill
-  nx now loading this module as well breaking CI tests and dashboard `@angular/localize`

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #64616 from afreen23/fix-smb
afreen23 [Thu, 24 Jul 2025 11:14:54 +0000 (16:44 +0530)]
Merge pull request #64616 from afreen23/fix-smb

mgr/dashboard: Fix redirection of SMB enable module

Reviewed-by: Naman Munet <nmunet@redhat.com>
2 months agoRevert "mgr/dashboard: Fix stylus issue" 64661/head
Afreen Misbah [Thu, 24 Jul 2025 06:58:33 +0000 (12:28 +0530)]
Revert "mgr/dashboard: Fix stylus issue"

This reverts commit c7053dff52bc1a93af45b8017a6e13a578a2f71e.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agokrbd: "rbd device map" command should use msgr2 by default 64635/head
Miki Patel [Wed, 23 Jul 2025 11:41:10 +0000 (17:11 +0530)]
krbd: "rbd device map" command should use msgr2 by default

Making msgr2 and ms_mode=prefer-crc as default option for "rbd device
map" command

Fixes: https://tracker.ceph.com/issues/72134
Signed-off-by: Miki Patel <miki.patel132@gmail.com>
2 months agoMerge PR #62682 into main
Venky Shankar [Thu, 24 Jul 2025 05:07:31 +0000 (10:37 +0530)]
Merge PR #62682 into main

* refs/pull/62682/head:

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agodoc/mgr: add documentation for bind_addrs option 64142/head
John Mulligan [Fri, 27 Jun 2025 14:00:19 +0000 (10:00 -0400)]
doc/mgr: add documentation for bind_addrs option

Add some documentation for the bind_addrs option including a warning
about how combining public_addrs and bind_addrs gets quirky.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/smb: add bind_addrs field to cluster resource type
John Mulligan [Tue, 17 Jun 2025 23:07:56 +0000 (19:07 -0400)]
mgr/smb: add bind_addrs field to cluster resource type

Add bind_addrs, which is largely a wrapper around the service spec's
bind_addrs to the smb cluster resource.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agocephadm: add support for specific network binds to smb service
John Mulligan [Tue, 17 Jun 2025 19:09:20 +0000 (15:09 -0400)]
cephadm: add support for specific network binds to smb service

Add a bunch of code to support specific IP address (and/or interface -
see below) binds for the smb service. When the smb service is not
clustered it is using container networking - in this case we use
publish options for the container manager to only listen on the supplied
addresses.

When the smb service is clustered we need to jump through a bunch of
hoops to configure each service individually. Many are easy with just
a short set of CLI options. CTDB only listens on the (first) node
address that it can bind to and only that. smbd has complex interactions
based on the `interfaces` and `bind interfaces only` config parameters.
Because these parameters may be unique to a node (addresses certainly
will be - and interfaces names could be) we can not store this in
the registry based conf. Instead, we take the slightly hacky approach
of generating a stub conf file with just the interfaces related params
in them and telling sambacc to generate a config that includes this
stub config.

IMPORTANT: When using ctdb with public addresses smbd doesn't know what
additional IPs it may need to listen to, so instead of binding to
a fixed IP we configure it to use an interface. This does have a
downside of possibly listening to another address on the same interface
we don't want it to. Additionally, I have observed that as addresses
are added or removed from the interface by ctdb, smbd doesn't
consistently start listening to those addresses.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/cephadm: pass bind_networks with other smb config blobs
John Mulligan [Tue, 17 Jun 2025 19:09:07 +0000 (15:09 -0400)]
mgr/cephadm: pass bind_networks with other smb config blobs

Tell the cephadm binary deploying an smb service about the networks
this smb service will be binding to.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/cephadm: teach ctdb nodes logic about bind_addrs
John Mulligan [Wed, 18 Jun 2025 21:18:30 +0000 (17:18 -0400)]
mgr/cephadm: teach ctdb nodes logic about bind_addrs

Within the cephadm smb service class we have logic to help manage CTDB's
nodes. Ensure that this node handling logic also conforms to the recent
addition of the smb service's bind_addrs field.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/cephadm: add filter_host_candidates method to smb service class
John Mulligan [Mon, 16 Jun 2025 20:05:22 +0000 (16:05 -0400)]
mgr/cephadm: add filter_host_candidates method to smb service class

Add a filter_host_candidates method to the smb service class allowing
that class to act as a HostSelector. The HostSelector was added in an
earlier commit to allow classes like this one to make specific host
selections based on unique to that class (or it's spec) criteria.

This method uses the newly added `bind_addrs` field of the smb service
spec to ensure only hosts that meet the desired set of
networks/addresses get used in placement.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agopython-common/deployment: add bind_addrs and related type for smb
John Mulligan [Mon, 16 Jun 2025 20:04:35 +0000 (16:04 -0400)]
python-common/deployment: add bind_addrs and related type for smb

Add a `bind_addrs` field and `SMBClusterBindIPSpec` to the smb service
spec. If specified the `bind_addrs` field can contain one or more
SMBClusterBindIPSpec value. In JSON these values can contain either an
address `{"address": "192.168.76.10"}` or network `{"network":
"192.168.76.0/24"}`.

These specs will be used by cephadm to place the smb service only on
hosts that have IPs matching the supplied IP Address/Network values. It
will also instruct the smb services to only bind to these addresses.

A suggested future enhancement may be include an IP address range
representation for the SMBClusterBindIPSpec.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/cephadm: teach serve.py about host selector support
John Mulligan [Mon, 16 Jun 2025 20:05:14 +0000 (16:05 -0400)]
mgr/cephadm: teach serve.py about host selector support

A previous commit added a HostSelector protocol type to the schedule
code. This change makes it so the function calling upon the
HostAssignment class detects if a CephService provides a
filter_host_candidates method - meaning the service class can act as a
HostSelector. If the class can be a HostSelector pass it to the
HostAssignment so that the custom selection operation can be run.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agomgr/cephadm: prepare schedule.py for per-service-type host filtering
John Mulligan [Mon, 16 Jun 2025 20:05:01 +0000 (16:05 -0400)]
mgr/cephadm: prepare schedule.py for per-service-type host filtering

Prepare schedule.py for per-service-type host filtering based on allowed
host addresses/networks. Add a new HostSelector protocol type to the
module defining what the filtering interface looks like.

This interface is intended allows CephService classes to "take over" the
network based filtering of nodes prior to placement and customize the
behavior of this step in cephamd's placement algorithm.

Note that the type must be passed in to the HostAssignment class as an
optional argument. If nothing is passed the class behaves as it did
before.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #64633 from afreen23/fix-stylus
Nizamudeen A [Wed, 23 Jul 2025 16:50:58 +0000 (22:20 +0530)]
Merge pull request #64633 from afreen23/fix-stylus

mgr/dashboard: Fix stylus issue

2 months agoMerge pull request #64568 from cbodley/wip-qa-rgw-s3a-hadont
J. Eric Ivancich [Wed, 23 Jul 2025 16:47:23 +0000 (12:47 -0400)]
Merge pull request #64568 from cbodley/wip-qa-rgw-s3a-hadont

qa/rgw: remove hadoop-s3a subsuite

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 months agoMerge pull request #64639 from zdover23/wip-doc-2025-07-23-pr-64532-followup
Anthony D'Atri [Wed, 23 Jul 2025 13:04:49 +0000 (09:04 -0400)]
Merge pull request #64639 from zdover23/wip-doc-2025-07-23-pr-64532-followup

doc/radosgw: edit config-ref.rst

2 months agoMerge pull request #64640 from zdover23/wip-doc-2025-07-23-pr-64604-followup
Anthony D'Atri [Wed, 23 Jul 2025 13:04:06 +0000 (09:04 -0400)]
Merge pull request #64640 from zdover23/wip-doc-2025-07-23-pr-64604-followup

doc/cephfs: edit disaster-recovery.rst

2 months agodoc/cephfs: edit disaster-recovery.rst 64640/head
Zac Dover [Wed, 23 Jul 2025 12:44:32 +0000 (22:44 +1000)]
doc/cephfs: edit disaster-recovery.rst

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/radosgw: edit config-ref.rst 64639/head
Zac Dover [Wed, 23 Jul 2025 12:36:04 +0000 (22:36 +1000)]
doc/radosgw: edit config-ref.rst

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63974 from baum/dsa 64619/head
Adam King [Wed, 23 Jul 2025 12:14:44 +0000 (08:14 -0400)]
Merge pull request #63974 from baum/dsa

mgr/cephadm/nvmeof: idxd/dsa

Reviewed-by: Adam King <adking@redhat.com>
2 months agomgr/dashboard: Fix stylus issue 64633/head
Afreen Misbah [Wed, 23 Jul 2025 09:33:17 +0000 (15:03 +0530)]
mgr/dashboard: Fix stylus issue

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #64543 from phlogistonjohn/jjm-bib
Dan Mick [Tue, 22 Jul 2025 21:10:13 +0000 (14:10 -0700)]
Merge pull request #64543 from phlogistonjohn/jjm-bib

src/script/build-integration-branch improvements

2 months agoMerge pull request #62767 from rhcs-dashboard/notification-list-ui
afreen23 [Tue, 22 Jul 2025 11:07:08 +0000 (16:37 +0530)]
Merge pull request #62767 from rhcs-dashboard/notification-list-ui

mgr/dashboard: Add RGW bucket notification listing in dashboard

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agomgr/dashboard: Fix redirection of SMB enable module 64616/head
Afreen Misbah [Tue, 22 Jul 2025 09:13:14 +0000 (14:43 +0530)]
mgr/dashboard: Fix redirection of SMB enable module
- taking to dashboard page due to remains of `buttonToEnableModule`

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #64595 from aainscow/align_storage
Alex Ainscow [Tue, 22 Jul 2025 07:42:53 +0000 (08:42 +0100)]
Merge pull request #64595 from aainscow/align_storage

osd: Replace deprecated std::align_storage_t with alignas

2 months agoMerge pull request #64225 from rhcs-dashboard/inline-tip-notification
afreen23 [Tue, 22 Jul 2025 06:59:54 +0000 (12:29 +0530)]
Merge pull request #64225 from rhcs-dashboard/inline-tip-notification

mgr/dashboard: add support for inline-tip notification

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #64505 from abitdrag/tracker_71961
Ilya Dryomov [Tue, 22 Jul 2025 06:56:13 +0000 (08:56 +0200)]
Merge pull request #64505 from abitdrag/tracker_71961

librbd: images aren't closed in group_snap_*_by_record() on error

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agoMerge pull request #64527 from rhcs-dashboard/edit-storage-class-mgmt
naman munet [Tue, 22 Jul 2025 06:53:23 +0000 (12:23 +0530)]
Merge pull request #64527 from rhcs-dashboard/edit-storage-class-mgmt

mgr/dashboard: Storage Class - Update

2 months agomgr/dashboard: Add RGW bucket notification listing in dashboard 62767/head
pujaoshahu [Thu, 10 Apr 2025 17:29:06 +0000 (22:59 +0530)]
mgr/dashboard: Add RGW bucket notification listing in dashboard

Fixes: https://tracker.ceph.com/issues/70880
Signed-off-by: pujaoshahu <pshahu@redhat.com>
Signed-off-by: pujashahu <pshahu@redhat.com>
2 months agoMerge pull request #64591 from tchaikov/wip-auth-remove-unused
Kefu Chai [Tue, 22 Jul 2025 01:07:57 +0000 (09:07 +0800)]
Merge pull request #64591 from tchaikov/wip-auth-remove-unused

auth: remove unused AuthTicket::renew_after member variable

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agorgw/iam: documentation get-account-summary 63945/head
Raja Sharma [Mon, 21 Jul 2025 02:15:28 +0000 (07:45 +0530)]
rgw/iam: documentation get-account-summary

Tracker: https://tracker.ceph.com/issues/72158

Signed-off-by: Raja Sharma <raja@ibm.com>
2 months agorgw/iam: getAccountSummary API
Raja Sharma [Fri, 6 Jun 2025 08:35:27 +0000 (14:05 +0530)]
rgw/iam: getAccountSummary API

Tracker: https://tracker.ceph.com/issues/72158

Signed-off-by: Raja Sharma <raja@ibm.com>
2 months agoMerge pull request #64437 from avanthakkar/add-smb-metadata-metric
Avan [Mon, 21 Jul 2025 14:49:29 +0000 (20:19 +0530)]
Merge pull request #64437 from avanthakkar/add-smb-metadata-metric

mgr/prometheus: add smb_metadata metric

2 months agoMerge pull request #64604 from zdover23/wip-doc-2025-07-21-cephfs-disaster-recovery...
Zac Dover [Mon, 21 Jul 2025 13:57:34 +0000 (23:57 +1000)]
Merge pull request #64604 from zdover23/wip-doc-2025-07-21-cephfs-disaster-recovery-data-pool-damage

doc/cephfs: edit disaster-recovery.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agomgr/dashboard: Storage Class - Update 64527/head
Dnyaneshwari [Wed, 16 Jul 2025 10:02:22 +0000 (15:32 +0530)]
mgr/dashboard: Storage Class - Update

Fixes: https://tracker.ceph.com/issues/72156
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
2 months agodoc/cephfs: edit disaster-recovery.rst 64604/head
Zac Dover [Mon, 21 Jul 2025 12:50:19 +0000 (22:50 +1000)]
doc/cephfs: edit disaster-recovery.rst

Edit the section "Data Pool Damage" in doc/cephfs/disaster-recovery.rst.
This commit is part of the project of improving the data-recovery parts
of the CephFS documentation, as requested in the Ceph Power Users
Feedback Summary in mid-2025.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #61767 from ivoalmeida/mfe-app-shell
afreen23 [Mon, 21 Jul 2025 09:44:36 +0000 (15:14 +0530)]
Merge pull request #61767 from ivoalmeida/mfe-app-shell

mgr/dashboard: set up dashboard as a app shell for plugin framework

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoauth: remove unused AuthTicket::renew_after member variable 64591/head
Kefu Chai [Sun, 20 Jul 2025 23:09:11 +0000 (07:09 +0800)]
auth: remove unused AuthTicket::renew_after member variable

The AuthTicket::renew_after field is only set in init_timestamps() and
read by dump() for debugging purposes. It has no functional use cases
and causes encoding/decoding inconsistencies.

During decoding, this field remains unchanged, creating discrepancies
between original and decoded values. This issue was masked because
check-generated.sh and readable.sh reused struct instances, preserving
stale field values across encode/decode cycles.

An upcoming change will allocate fresh instances for each decode
operation, which would expose these inconsistent values.

Remove the unused field to eliminate the encoding inconsistency and
simplify the codebase.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agocrimson/os/seastore/rbm: improve large sequential write by issuing writes in parallel 64585/head
myoungwon oh [Fri, 18 Jul 2025 21:54:31 +0000 (21:54 +0000)]
crimson/os/seastore/rbm: improve large sequential write by issuing writes in parallel

In large chunk workload, for instance, when 4MB data is divided into 64KB chunks,
the current implementation writes sequentially one by one. On general NVMe SSD
writing large chunk (>=64KB) can lead to relatively higher latency compared to a small write case,
resulting in performance degradation. Although NVMe SSD shows the increased
latency in such cases, this does not mean that thay reach their performance limit,
as they can handle multiple concurrent requests.

This commit improves parallelism by using parallel_for_each() to issue writes in parallel.

Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
2 months agoosd: Replace deprecated std::align_storage_t with alignas 64595/head
Alex Ainscow [Mon, 21 Jul 2025 07:17:57 +0000 (08:17 +0100)]
osd: Replace deprecated std::align_storage_t with alignas

C++23 has been enabled, causing deprecated warnings. Following the
"possible implementation" in the C++ docs, I have replaced the last
remaining aligned_storage_t.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
2 months agoMerge pull request #63407 from adk3798/cephadm-rbd-iscsi-ignore-mon-down
Ilya Dryomov [Mon, 21 Jul 2025 07:16:51 +0000 (09:16 +0200)]
Merge pull request #63407 from adk3798/cephadm-rbd-iscsi-ignore-mon-down

qa/rbd/iscsi: ignore MON_DOWN warning in logs

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agomgr/dashboard: add support for inline-tip notification 64225/head
Naman Munet [Fri, 27 Jun 2025 08:30:42 +0000 (14:00 +0530)]
mgr/dashboard: add support for inline-tip notification

https://tracker.ceph.com/issues/71870

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 months agocrimson/.../omap_btree_node_impl: fix inner node iterate 64593/head
Chanyoung Park [Mon, 21 Jul 2025 06:37:17 +0000 (06:37 +0000)]
crimson/.../omap_btree_node_impl: fix inner node iterate

Signed-off-by: Chanyoung Park <chaney.p@kakaoenterprise.com>
2 months agoMerge PR #64005 into main
Venky Shankar [Mon, 21 Jul 2025 05:28:42 +0000 (10:58 +0530)]
Merge PR #64005 into main

* refs/pull/64005/head:
qa: Run test_admin with the squid client

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge PR #63214 into main
Venky Shankar [Mon, 21 Jul 2025 05:26:30 +0000 (10:56 +0530)]
Merge PR #63214 into main

* refs/pull/63214/head:
release note: add a note that "subvolume info" cmd output can also...
doc/cephfs: update docs since "subvolume info" cmd output can also...
qa/cephfs: add test to check clone source info's present in...
mgr/vol: show clone source info in "subvolume info" cmd output
mgr/vol: keep clone source info even after cloning is finished

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2 months agoMerge PR #57953 into main
Venky Shankar [Mon, 21 Jul 2025 05:23:54 +0000 (10:53 +0530)]
Merge PR #57953 into main

* refs/pull/57953/head:
mds: Mark the scrub passed if dirfrag is dirty

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge PR #64356 into main
Venky Shankar [Mon, 21 Jul 2025 05:22:50 +0000 (10:52 +0530)]
Merge PR #64356 into main

* refs/pull/64356/head:
client: prohibit unprivileged users from setting sgid/suid bits

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 months agodoc/radosgw docs get-caller-identity API 64592/head
Raja Sharma [Mon, 21 Jul 2025 04:46:00 +0000 (10:16 +0530)]
doc/radosgw docs get-caller-identity API

Tracker: https://tracker.ceph.com/issues/72157

Signed-off-by: Raja Sharma <raja@ibm.com>
2 months agoMerge PR #58564 into main
Venky Shankar [Mon, 21 Jul 2025 04:09:13 +0000 (09:39 +0530)]
Merge PR #58564 into main

* refs/pull/58564/head:
client: clamp sizes to INT_MAX in sync i/o code paths
client: restrict bufferlist to total write size
src/test: test sync/async i/o code paths with huge (4GiB) buffers

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 months agoMerge pull request #64459 from cbodley/wip-72083
Kefu Chai [Sun, 20 Jul 2025 10:52:19 +0000 (18:52 +0800)]
Merge pull request #64459 from cbodley/wip-72083

deb/cephadm: add explicit --home for cephadm user

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63261 from NitzanMordhai/wip-nitzan-msg-shutdown-hang-drain
SrinivasaBharathKanta [Sun, 20 Jul 2025 10:37:41 +0000 (16:07 +0530)]
Merge pull request #63261 from NitzanMordhai/wip-nitzan-msg-shutdown-hang-drain

msg: drain stack before stopping processors to avoid shutdown hang

2 months agoMerge pull request #63239 from mohit84/upgrade_health_warning
SrinivasaBharathKanta [Sun, 20 Jul 2025 10:37:17 +0000 (16:07 +0530)]
Merge pull request #63239 from mohit84/upgrade_health_warning

qa: Add "osds down" in log-ignorelist to avoid the test case failure during upgrade