]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 weeks agonvmeofgw: fixing GW delete issues 64245/head
Leonid Chernin [Tue, 24 Jun 2025 13:00:49 +0000 (16:00 +0300)]
nvmeofgw: fixing GW delete issues
1.fixing the issue when gw is deleted based on invalid subsystem info
2. in function track_deleting_gws: break from loop only if
  delete was really done
        3. fix published rebalance index - publish ana-group instead of
  index
        4. do not dump gw-id string after gw was removed

Fixes: https://tracker.ceph.com/issues/71896
Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
3 weeks agoMerge pull request #64211 from ronen-fr/wip-rf-noshard
Ronen Friedman [Fri, 27 Jun 2025 10:52:57 +0000 (13:52 +0300)]
Merge pull request #64211 from ronen-fr/wip-rf-noshard

osd/scrub: 'starts' messages should name PGs, not shards

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
3 weeks agoMerge pull request #64164 from tchaikov/wip-dashboard-api
Nizamudeen A [Fri, 27 Jun 2025 05:06:08 +0000 (10:36 +0530)]
Merge pull request #64164 from tchaikov/wip-dashboard-api

mgr/dashboard: Fix inline markup warning in API documentation

3 weeks agoMerge pull request #64123 from phlogistonjohn/jjm-el10-replace-pathfix-spec
David Galloway [Thu, 26 Jun 2025 19:41:36 +0000 (15:41 -0400)]
Merge pull request #64123 from phlogistonjohn/jjm-el10-replace-pathfix-spec

ceph.spec.in: use rpm macro for python shebang pathfix

3 weeks agoMerge pull request #62944 from lbausch/common-fix-config-description-typo
Zac Dover [Thu, 26 Jun 2025 18:40:29 +0000 (04:40 +1000)]
Merge pull request #62944 from lbausch/common-fix-config-description-typo

common/options: fix typo in option description

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #63564 from Hezko/nvmeof-cli-update-nvme-submodule
Hezko [Thu, 26 Jun 2025 17:24:19 +0000 (20:24 +0300)]
Merge pull request #63564 from Hezko/nvmeof-cli-update-nvme-submodule

mgr/dashboard update ceph nvmeof proto files

3 weeks agoMerge pull request #63102 from ceph/wip-release-branch-protection
David Galloway [Thu, 26 Jun 2025 15:05:36 +0000 (11:05 -0400)]
Merge pull request #63102 from ceph/wip-release-branch-protection

doc: Add branch protection step to new release checklist

3 weeks agoMerge pull request #63179 from tchaikov/rgw-std-variant
Casey Bodley [Thu, 26 Jun 2025 15:03:13 +0000 (11:03 -0400)]
Merge pull request #63179 from tchaikov/rgw-std-variant

rgw: migrate from boost::variant to std::variant

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Alex Wojno <awojno@bloomberg.net>
3 weeks agoMerge pull request #63930 from cbodley/wip-cls-rgw-BucketIndexAioManager
Casey Bodley [Thu, 26 Jun 2025 15:02:22 +0000 (11:02 -0400)]
Merge pull request #63930 from cbodley/wip-cls-rgw-BucketIndexAioManager

cls/rgw: remove unused class BucketIndexAioManager

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #63926 from cbodley/wip-71667
Casey Bodley [Thu, 26 Jun 2025 14:41:43 +0000 (10:41 -0400)]
Merge pull request #63926 from cbodley/wip-71667

rgw/sal: Serializer::unlock() takes optional_yield

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 weeks agoosd/scrub: 'starts' messages should name PGs, not shards 64211/head
Ronen Friedman [Thu, 26 Jun 2025 13:27:57 +0000 (08:27 -0500)]
osd/scrub: 'starts' messages should name PGs, not shards

By mistake, the 'scrub starts' message included the shard ID
of the primary OSD, instead of just the PG ID.

Fixes: https://tracker.ceph.com/issues/71780
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #64182 from ronen-fr/wip-rf-perfcprio
Ronen Friedman [Thu, 26 Jun 2025 10:34:01 +0000 (13:34 +0300)]
Merge pull request #64182 from ronen-fr/wip-rf-perfcprio

osd/scrub: some perf counters had their priority set to '0'

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
3 weeks agoMerge pull request #64181 from tchaikov/wip-rgw-iwyu
Kefu Chai [Thu, 26 Jun 2025 08:46:58 +0000 (16:46 +0800)]
Merge pull request #64181 from tchaikov/wip-rgw-iwyu

rgw: do not include unused header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge pull request #62668 from rishabh-d-dave/vols-namespace
Rishabh Dave [Thu, 26 Jun 2025 08:23:32 +0000 (13:53 +0530)]
Merge pull request #62668 from rishabh-d-dave/vols-namespace

mgr/vol: include group name in subvolume's pool namespace name

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
3 weeks agomgr/dashboard update ceph nvmoef proto files 63564/head
Tomer Haskalovitch [Tue, 27 May 2025 09:04:49 +0000 (12:04 +0300)]
mgr/dashboard update ceph nvmoef proto files

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
3 weeks agoMerge pull request #63936 from tchaikov/wip-mds-flock-exclude-dump
Kefu Chai [Thu, 26 Jun 2025 06:18:30 +0000 (14:18 +0800)]
Merge pull request #63936 from tchaikov/wip-mds-flock-exclude-dump

mds/flock: exclude non-persisted fields from ceph_lock_state_t::dump()

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
3 weeks agoMerge pull request #64174 from idryomov/wip-71838
Ilya Dryomov [Thu, 26 Jun 2025 06:01:06 +0000 (08:01 +0200)]
Merge pull request #64174 from idryomov/wip-71838

librbd/migration/QCOWFormat: don't complete read_clusters() inline

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 weeks agoMerge pull request #63374 from Matan-B/wip-matanb-use-ceph-assert
SrinivasaBharathKanta [Wed, 25 Jun 2025 23:37:06 +0000 (05:07 +0530)]
Merge pull request #63374 from Matan-B/wip-matanb-use-ceph-assert

osd, os, mon: s/assert/ceph_assert/g'

3 weeks agoMerge pull request #63839 from aainscow/setattr_fix
Alex Ainscow [Wed, 25 Jun 2025 22:25:54 +0000 (23:25 +0100)]
Merge pull request #63839 from aainscow/setattr_fix

bluestore: Fix _setattr() with rare memory alignments

Reviewed-by: akupczyk@redhat.com
Reviewed-by: rzarzyns@redhat.com
3 weeks agoMerge pull request #63970 from tchaikov/wip-osd-scrubber-localtime
SrinivasaBharathKanta [Wed, 25 Jun 2025 21:50:19 +0000 (03:20 +0530)]
Merge pull request #63970 from tchaikov/wip-osd-scrubber-localtime

osd/scrubber: replace deprecated fmt::localtime() with localtime_r()

3 weeks agoMerge pull request #63792 from kamoltat/wip-ksirivad-small-refractor-68550
SrinivasaBharathKanta [Wed, 25 Jun 2025 21:49:48 +0000 (03:19 +0530)]
Merge pull request #63792 from kamoltat/wip-ksirivad-small-refractor-68550

src/mgr/ClusterState.cc: micro improve ingest_pgstats

3 weeks agoMerge pull request #63552 from shraddhaag/wip-shraddhaag-availability-3
SrinivasaBharathKanta [Wed, 25 Jun 2025 21:49:02 +0000 (03:19 +0530)]
Merge pull request #63552 from shraddhaag/wip-shraddhaag-availability-3

mon: add command osd pool clear-availability-status

3 weeks agoosd/scrub: some perf counters priority was '0' 64182/head
Ronen Friedman [Wed, 25 Jun 2025 14:25:08 +0000 (09:25 -0500)]
osd/scrub: some perf counters priority was '0'

Some scrub perf counters were created without specifying
individual priorities, assuming by mistake that the
default priority is '_INTERESTING'. That was not the case,
and those perf counters were not reported.

Fixes: https://tracker.ceph.com/issues/71842
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agoMerge pull request #63523 from Matan-B/wip-matanb-crimson-asock-race-fixes
Matan Breizman [Wed, 25 Jun 2025 14:17:24 +0000 (17:17 +0300)]
Merge pull request #63523 from Matan-B/wip-matanb-crimson-asock-race-fixes

crimson/osd: Admin Socket fixes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 weeks agorgw: do not include unused header 64181/head
Kefu Chai [Wed, 25 Jun 2025 13:51:04 +0000 (21:51 +0800)]
rgw: do not include unused header

previously, when building cls_rgw, we could have following build
failure:

```
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/cls/rgw/cls_rgw_types.cc:4:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/cls/rgw/cls_rgw_types.h:15:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/rgw/rgw_basic_types.h:32:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/rgw/rgw_user_types.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/dout.h:29:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/config_proxy.h:7:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/config.h:28:
In file included from /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/common/options/legacy_config_opts.h:1:10: fatal error: 'global_legacy_options.h' file not found
    1 | #include "global_legacy_options.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
```

but it turned out that `cls_rgw_types.h` does not use `dout.h` at all.
so, in this change, we just drop this include. this helps to reduce
the build dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge pull request #64172 from zdover23/wip-doc-2025-06-25-tr70758-radosgw-bucket_logging
Zac Dover [Wed, 25 Jun 2025 13:44:50 +0000 (23:44 +1000)]
Merge pull request #64172 from zdover23/wip-doc-2025-06-25-tr70758-radosgw-bucket_logging

doc/radosgw: line edit bucket_logging.rst

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #64161 from tchaikov/wip-doc-mgr-module-config
Kefu Chai [Wed, 25 Jun 2025 11:45:15 +0000 (19:45 +0800)]
Merge pull request #64161 from tchaikov/wip-doc-mgr-module-config

doc: Document ceph-mgr module configuration options

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
3 weeks agoMerge pull request #64162 from tchaikov/wip-doc-drop-typed-ast
Kefu Chai [Wed, 25 Jun 2025 11:43:41 +0000 (19:43 +0800)]
Merge pull request #64162 from tchaikov/wip-doc-drop-typed-ast

doc: do not depend on typed-ast

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agomgr/dashboard: Fix inline markup warning in API documentation 64164/head
Kefu Chai [Wed, 25 Jun 2025 04:14:36 +0000 (12:14 +0800)]
mgr/dashboard: Fix inline markup warning in API documentation

Remove trailing space from summary field that was causing Sphinx build
warning.

Sphinx was generating a warning due to malformed inline markup:

```
/home/kefu/dev/ceph/doc/mgr/ceph_api/index.rst:3349: WARNING: Inline strong start-string without end-string.`
```

The openapi directive appears to convert trailing spaces into asterisk
markers, creating unterminated strong markup. This change removes the
trailing space to eliminate the warning and maintain consistency with
other entries in the file.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agolibrbd/migration/QCOWFormat: don't complete read_clusters() inline 64174/head
Ilya Dryomov [Wed, 25 Jun 2025 10:24:35 +0000 (12:24 +0200)]
librbd/migration/QCOWFormat: don't complete read_clusters() inline

When the cluster needs to be read, the completion is posted to ASIO.
However, in the two special cases (cluster DNE and zero cluster), the
completion is completed inline at the moment.  This violates invariants
and can eventually lead to a lockup.  For example, in a scenario of
a read from a clone image whose parent is under migration:

  io::ObjectReadRequest::read_parent()
    io::util::read_parent()
      < image_lock is taken for read >
      io::ImageDispatchSpec::send()
        migration::ImageDispatch::read()
          migration::QCOWFormat::ReadRequest::send()
            ...
            migration::QCOWFormat::ReadRequest::read_clusters()
              < cluster DNE >
              migration::QCOWFormat::ReadRequest::handle_read_clusters()
                io::AioCompletion::complete()
                  io::ObjectReadRequest::copyup()
                    is_copy_on_read()
                      < image_lock is taken for read >

copyup() expects to be called with no locks held, but going through
QCOWFormat in the "cluster DNE" case essentially maintains image_lock
taken in read_parent() and then it's taken again by the same thread in
is_copy_on_read().  Under pthreads, it's not a problem:

  A thread may hold multiple concurrent read locks on rwlock (that is,
  successfully call the pthread_rwlock_rdlock() function n times). If
  so, the thread must perform matching unlocks (that is, it must call
  the pthread_rwlock_unlock() function n times).

But according to C++ standard it's undefined behavior:

  If lock_shared is called by a thread that already owns the mutex in
  any mode (exclusive or shared), the behavior is undefined.

Other, longer and more elaborate, call chains are possible too and
there it may end up being a write lock, a tripped assertion, etc.  To
avoid this, make the special cases in read_clusters() behave the same
as the main path.

Fixes: https://tracker.ceph.com/issues/71838
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agolibrbd/migration/QCOWFormat: rename handle_read_cluster()
Ilya Dryomov [Wed, 25 Jun 2025 10:55:06 +0000 (12:55 +0200)]
librbd/migration/QCOWFormat: rename handle_read_cluster()

... to handle_read_clusters() as it's a callback for read_clusters().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agodoc/radosgw: line edit bucket_logging.rst 64172/head
Zac Dover [Wed, 25 Jun 2025 09:19:49 +0000 (19:19 +1000)]
doc/radosgw: line edit bucket_logging.rst

Edit doc/radosgw/bucket_logging.rst so that it is not solecistic and so
that its punctuation is corrected and its use of articles is corrected.
This file remains in my judgment demotic and maybe demotic enough to
warrant another editorial pass in the future.

Fixes: https://tracker.ceph.com/issues/70758
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64163 from tchaikov/wip-doc-inline-literal
Zac Dover [Wed, 25 Jun 2025 08:40:11 +0000 (18:40 +1000)]
Merge pull request #64163 from tchaikov/wip-doc-inline-literal

doc: Fix unterminated inline literal in ceph-conf.rst

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #63673 from Matan-B/wip-matanb-crimson-signals-aborts
Matan Breizman [Wed, 25 Jun 2025 07:36:59 +0000 (10:36 +0300)]
Merge pull request #63673 from Matan-B/wip-matanb-crimson-signals-aborts

crimson/common/fatal_signal: Rework signals

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 weeks agoMerge pull request #63972 from cyx1231st/wip-seastore-refine-extent-states-p2
Yingxin Cheng [Wed, 25 Jun 2025 07:07:10 +0000 (15:07 +0800)]
Merge pull request #63972 from cyx1231st/wip-seastore-refine-extent-states-p2

crimson/os/seastore: update extent states from pending to stable upon prepare_record()

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
3 weeks agoMerge PR #59435 into main
Venky Shankar [Wed, 25 Jun 2025 06:39:39 +0000 (12:09 +0530)]
Merge PR #59435 into main

* refs/pull/59435/head:
mgr/volumes: Fix json.loads for test on mon caps
mgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps
mgr/volumes: Keep mon caps if auth key has remaining mds/osd caps

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agodoc: Document ceph-mgr module configuration options 64161/head
Kefu Chai [Wed, 25 Jun 2025 02:26:58 +0000 (10:26 +0800)]
doc: Document ceph-mgr module configuration options

Add comprehensive documentation for defining configuration options in
ceph-mgr modules, including all supported properties and their usage.

Previously, the documentation did not explain how to define ceph-mgr
module configuration options, despite subtle differences from other Ceph
components. This change documents all supported Option properties, their
types, and provides clear examples to help module developers properly
configure their options.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge pull request #64160 from tchaikov/wip-doc-dev-config
Zac Dover [Wed, 25 Jun 2025 05:11:42 +0000 (15:11 +1000)]
Merge pull request #64160 from tchaikov/wip-doc-dev-config

doc/dev/config: Document how to use :confval: directive for config options

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agodoc: Fix unterminated inline literal in ceph-conf.rst 64163/head
Kefu Chai [Wed, 25 Jun 2025 03:34:50 +0000 (11:34 +0800)]
doc: Fix unterminated inline literal in ceph-conf.rst

Add missing space after closing backticks to properly terminate inline literal.

Sphinx was generating a warning due to an unterminated inline literal
string:

```
/home/kefu/dev/ceph/doc/rados/configuration/ceph-conf.rst:320: WARNING: Inline literal start-string without end-string.
```

This fix ensures the inline literal is properly closed and eliminates the
build warning.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agodoc: do not depend on typed-ast 64162/head
Kefu Chai [Wed, 25 Jun 2025 03:02:46 +0000 (11:02 +0800)]
doc: do not depend on typed-ast

the typed-ast project was marked end of life since July 2023, and
not maintained anymore. since we build the document using readthedocs'
service, and in .readtherdocs.yml we use python 3.9, which comes with
ast module included by its standard library.

the typed-ast dependency was originally added in 30d41597, but now that
we are using python 3.9, there is no need to use this module anymore.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agodoc/dev/config: Document how to use :confval: directive for config options 64160/head
Kefu Chai [Wed, 25 Jun 2025 03:50:24 +0000 (11:50 +0800)]
doc/dev/config: Document how to use :confval: directive for config options

Add comprehensive guide for documenting configuration options using the
:confval: directive, including naming conventions and cross-referencing.

Previously, the documentation lacked guidance on using the :confval:
directive and the important distinction between regular config options
and mgr module options (which require the mgr/<module>/ namespace
prefix). This change provides detailed examples and best practices for
properly documenting and referencing both types of configuration options.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge PR #64153 into main
Patrick Donnelly [Wed, 25 Jun 2025 01:06:14 +0000 (21:06 -0400)]
Merge PR #64153 into main

* refs/pull/64153/head:
Revert "Merge pull request #64111 from zdover23/wip-doc-2025-06-23-tr71796-rados-ops-balancer"

Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 weeks agoRevert "Merge pull request #64111 from zdover23/wip-doc-2025-06-23-tr71796-rados... 64153/head
Patrick Donnelly [Tue, 24 Jun 2025 18:52:09 +0000 (14:52 -0400)]
Revert "Merge pull request #64111 from zdover23/wip-doc-2025-06-23-tr71796-rados-ops-balancer"

This reverts commit f2b7c0465ea2727537ea58b44b2f17c6dda7d556, reversing
changes made to e5868d88dd3ada55a7cacd7a5faec5aa9bc96aff.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
3 weeks agoMerge pull request #64107 from zdover23/wip-doc-2025-06-23-tr71789-radosgw-notifications
Zac Dover [Tue, 24 Jun 2025 18:51:11 +0000 (04:51 +1000)]
Merge pull request #64107 from zdover23/wip-doc-2025-06-23-tr71789-radosgw-notifications

doc/radosgw: remove "pubsub_event_triggered"

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #64137 from tchaikov/wip-rbd-with-krbd
Ilya Dryomov [Tue, 24 Jun 2025 18:37:34 +0000 (20:37 +0200)]
Merge pull request #64137 from tchaikov/wip-rbd-with-krbd

rbd: fix unused function warning when WITH_KRBD is disabled

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agodoc/radosgw: remove "pubsub_event_triggered" 64107/head
Zac Dover [Mon, 23 Jun 2025 08:07:40 +0000 (18:07 +1000)]
doc/radosgw: remove "pubsub_event_triggered"

Remove "pubsub_event_triggered" from the list of "Notification
Performance Statistics". It is obsolete.

Fixes: https://tracker.ceph.com/issues/71789
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64111 from zdover23/wip-doc-2025-06-23-tr71796-rados-ops-balancer
Zac Dover [Tue, 24 Jun 2025 18:09:16 +0000 (04:09 +1000)]
Merge pull request #64111 from zdover23/wip-doc-2025-06-23-tr71796-rados-ops-balancer

doc/rados: clarify "upmap_max_deviation"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64105 from zdover23/wip-doc-2025-06-23-tr71791-radosgw-notifications
Zac Dover [Tue, 24 Jun 2025 17:56:49 +0000 (03:56 +1000)]
Merge pull request #64105 from zdover23/wip-doc-2025-06-23-tr71791-radosgw-notifications

doc/radosgw: add "persistent_topic_len"

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agodoc/radosgw: add "persistent_topic_len" 64105/head
Zac Dover [Mon, 23 Jun 2025 08:26:09 +0000 (18:26 +1000)]
doc/radosgw: add "persistent_topic_len"

Add the labeled counter "persistent_topic_len" to the list of
"Notification Performance Statistics" in doc/radosgw/notifications.rst.

Fixes: https://tracker.ceph.com/issues/71791
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64106 from zdover23/wip-doc-2025-06-23-tr71792-radosgw-notifications
Zac Dover [Tue, 24 Jun 2025 15:42:10 +0000 (01:42 +1000)]
Merge pull request #64106 from zdover23/wip-doc-2025-06-23-tr71792-radosgw-notifications

doc/radosgw: add "persistent_topic_size"

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agorbd: fix unused function warning when WITH_KRBD is disabled 64137/head
Kefu Chai [Tue, 24 Jun 2025 14:38:13 +0000 (22:38 +0800)]
rbd: fix unused function warning when WITH_KRBD is disabled

Guard print_error_description() and get_unsupported_features() with
`#ifdef WITH_KRBD` to prevent compiler warnings when KRBD support is
not enabled.

These functions are only called by do_kernel_map(), which is itself
conditionally compiled. When WITH_KRBD is not defined, the compiler
generates unused function warnings for these helper functions.

Fixes warning:

```
/home/kefu/dev/ceph/src/tools/rbd/action/Kernel.cc:305:13: warning: ‘void rbd::action::kernel::print_error_description(const char*, const char*, const char*, const char*, int)’ defined but not used [-Wunused-function]
  305 | static void print_error_description(const char *poolname,
      |             ^~~~~~~~~~~~~~~~~~~~~~~
```

this silences the warning.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 weeks agoMerge PR #62675 into main
Venky Shankar [Tue, 24 Jun 2025 11:08:48 +0000 (16:38 +0530)]
Merge PR #62675 into main

* refs/pull/62675/head:
test/mds: Fix catch by value

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
3 weeks agocrimson/common/smp_helpers: cleanup invoke_on_all_seq 63523/head
Matan Breizman [Tue, 24 Jun 2025 10:25:36 +0000 (10:25 +0000)]
crimson/common/smp_helpers: cleanup invoke_on_all_seq

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #64063 from tchaikov/wip-ec-cache-refactor
Alex Ainscow [Tue, 24 Jun 2025 10:04:15 +0000 (11:04 +0100)]
Merge pull request #64063 from tchaikov/wip-ec-cache-refactor

osd/ECExtentCache: cleanup and optimization

3 weeks agoMerge pull request #60797 from rhcs-dashboard/carbon-icons-subtask
Pedro Gonzalez Gomez [Tue, 24 Jun 2025 09:55:28 +0000 (11:55 +0200)]
Merge pull request #60797 from rhcs-dashboard/carbon-icons-subtask

mgr/dashboard: Carbonize Icons for Modules (Block, Object, File, Observability, Administration)

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Pedro Gonzalez <pegonzal@ibm.com>
3 weeks agoMerge pull request #63963 from afreen23/wip-label-hosts
afreen23 [Tue, 24 Jun 2025 08:30:43 +0000 (14:00 +0530)]
Merge pull request #63963 from afreen23/wip-label-hosts

mgr/dashboard: Allow host with labels in listener form

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 weeks agoMerge pull request #63961 from afreen23/wip-force-listener
afreen23 [Tue, 24 Jun 2025 08:30:12 +0000 (14:00 +0530)]
Merge pull request #63961 from afreen23/wip-force-listener

mgr/dashboard: Add --force flag for listeners

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 weeks agoMerge pull request #64088 from InstelligenceIO/patch-2
Zac Dover [Tue, 24 Jun 2025 07:07:12 +0000 (17:07 +1000)]
Merge pull request #64088 from InstelligenceIO/patch-2

[Docs]: Corrected spelling mistake

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agodoc/rados: clarify "upmap_max_deviation" 64111/head
Zac Dover [Mon, 23 Jun 2025 12:50:03 +0000 (22:50 +1000)]
doc/rados: clarify "upmap_max_deviation"

Clarify the threshold set by "upmap_max_deviation" and add the
information about this configurable that is currently in
src/pybind/mgr/balancer/module.py to src/common/options/global.yaml.in,
so that it will be accessible by means of ".. confval::" declarations.

Fixes: https://tracker.ceph.com/issues/71796
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64104 from zdover23/wip-doc-2025-06-23-tr71790-radosgw-notifications
Zac Dover [Tue, 24 Jun 2025 04:46:11 +0000 (14:46 +1000)]
Merge pull request #64104 from zdover23/wip-doc-2025-06-23-tr71790-radosgw-notifications

doc/radosgw: remove "pubsub_event_lost"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoceph.spec.in: use rpm macro for python shebang pathfix 64123/head
John Mulligan [Thu, 13 Feb 2025 20:59:42 +0000 (15:59 -0500)]
ceph.spec.in: use rpm macro for python shebang pathfix

To support EL 10 distros, update the source of the pathfix tool (on EL
9+ distros) and use the macro for updating python shebangs that has been
available since at least EL 9.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
3 weeks agoMerge pull request #64072 from phlogistonjohn/jjm-wip-el10
Dan Mick [Mon, 23 Jun 2025 16:42:44 +0000 (09:42 -0700)]
Merge pull request #64072 from phlogistonjohn/jjm-wip-el10

script/build-with-container.: fixes and improvments towards el10

3 weeks agoMerge pull request #63883 from leonidc/fix_upgrade_gw_lost
SrinivasaBharathKanta [Mon, 23 Jun 2025 16:12:40 +0000 (21:42 +0530)]
Merge pull request #63883 from leonidc/fix_upgrade_gw_lost

nvmeofgw: fix sending acks during upgrade

3 weeks agoMerge pull request #63796 from tchaikov/wip-memstore-silence-warning
Kefu Chai [Mon, 23 Jun 2025 14:07:25 +0000 (22:07 +0800)]
Merge pull request #63796 from tchaikov/wip-memstore-silence-warning

cmake: suppress -Wmaybe-uninitialized warning in memstore PageSet

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #64075 from nh2/docs-balancer-variable-name
Zac Dover [Mon, 23 Jun 2025 14:02:25 +0000 (00:02 +1000)]
Merge pull request #64075 from nh2/docs-balancer-variable-name

doc/rados/operations: Actually mention `upmap_max_deviation` setting name

Reviewed-by: Zac Dover <zac.dover@proton.me>
3 weeks agodoc/radosgw: add "persistent_topic_size" 64106/head
Zac Dover [Mon, 23 Jun 2025 08:35:05 +0000 (18:35 +1000)]
doc/radosgw: add "persistent_topic_size"

Add "persistent_topic_size" to the list of "Notification Performance
Statistics" in doc/radosgw/notifications.rst.

Fixes: https://tracker.ceph.com/issues/71792
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64071 from tchaikov/wip-static_ptr-alignas
Casey Bodley [Mon, 23 Jun 2025 13:12:33 +0000 (09:12 -0400)]
Merge pull request #64071 from tchaikov/wip-static_ptr-alignas

common/static_ptr: pass an integer to alignas to fix GCC-11 build fai…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 weeks agoMerge pull request #64103 from zdover23/wip-doc-2025-06-23-tr71793-radosgw-notifications
Zac Dover [Mon, 23 Jun 2025 13:02:42 +0000 (23:02 +1000)]
Merge pull request #64103 from zdover23/wip-doc-2025-06-23-tr71793-radosgw-notifications

doc/radosgw: improve "pubsub_push_pending" info

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #63398 from NitzanMordhai/wip-nitzan-calc-pool-availability-valgri...
NitzanMordhai [Mon, 23 Jun 2025 12:20:14 +0000 (15:20 +0300)]
Merge pull request #63398 from NitzanMordhai/wip-nitzan-calc-pool-availability-valgrind-invalid-read

src/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability()

3 weeks agodoc/rados/operations: Actually mention `upmap_max_deviation` setting name 64075/head
Niklas Hambüchen [Sat, 21 Jun 2025 17:53:34 +0000 (19:53 +0200)]
doc/rados/operations: Actually mention `upmap_max_deviation` setting name

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
3 weeks agodoc: Fixed a spelling error. 64088/head
Stellios Williams [Mon, 23 Jun 2025 10:54:31 +0000 (20:54 +1000)]
doc: Fixed a spelling error.

Corrected communicte to communicate

Signed-off-by: Instelligence.io <github@instelligence.io>
3 weeks agocrimson/common/smp_helpers: cleanup sharded_map_seq
Matan Breizman [Mon, 23 Jun 2025 10:18:23 +0000 (10:18 +0000)]
crimson/common/smp_helpers: cleanup sharded_map_seq

Let PGShardManager::invoke_on_each_shard_seq pass the local shard_services
instance instead of using an additional helper.

The downside of dropping the generic sharded_map_seq helper is that it is
able to support *any* (seastar::)sharded object. However, as shard_services
is the only user of it - directly using the local instance without the
helper seems easier to read.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/common/smp_helpers: rename reactor_map_seq
Matan Breizman [Mon, 23 Jun 2025 10:02:37 +0000 (10:02 +0000)]
crimson/common/smp_helpers: rename reactor_map_seq

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/common/smp_helpers: fix reactor_map_seq
Matan Breizman [Sun, 22 Jun 2025 10:10:10 +0000 (10:10 +0000)]
crimson/common/smp_helpers: fix reactor_map_seq

Copy f into reactor_map_seq which would be kept alive
due to this method being a coroutine. That way, we can ensure
the lambdas passed to each core that are capturing f by
reference would be safe.
Alternatively, we can also copy f by using it's copy ctor and
pass a copy to each shard:
co_await crimson::submit_to(core, F(f))
However, avoiding the copy is possible here due to the sequential
traversal. Note, seastar's invoke_on_all do copy each callback to
every shard and is running the invocation in parallel.

The above would have fixed f's captures to be invalid and result
in a segfaults on diffrent shards.

Fixes: https://tracker.ceph.com/issues/71457
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/osd/shard_services: PerShardState::dump_ops_in_flight debug
Matan Breizman [Wed, 18 Jun 2025 10:57:37 +0000 (10:57 +0000)]
crimson/osd/shard_services: PerShardState::dump_ops_in_flight debug

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/admin/osd_admin: move to coroutines
Matan Breizman [Tue, 17 Jun 2025 13:23:26 +0000 (13:23 +0000)]
crimson/admin/osd_admin: move to coroutines

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/admin/osd_admin: add logs when calling hooks
Matan Breizman [Thu, 29 May 2025 09:18:32 +0000 (09:18 +0000)]
crimson/admin/osd_admin: add logs when calling hooks

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/admin/admin_socket: add logs, move to ceph_assert
Matan Breizman [Thu, 29 May 2025 09:18:01 +0000 (09:18 +0000)]
crimson/admin/admin_socket: add logs, move to ceph_assert

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/admin/osd_admin: DumpInFlightOpsHook to await active
Matan Breizman [Wed, 28 May 2025 10:49:13 +0000 (10:49 +0000)]
crimson/admin/osd_admin: DumpInFlightOpsHook to await active

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #63425 from NitzanMordhai/wip-nitzan-osdmap-incremental-process...
NitzanMordhai [Mon, 23 Jun 2025 09:31:02 +0000 (12:31 +0300)]
Merge pull request #63425 from NitzanMordhai/wip-nitzan-osdmap-incremental-process-idle

objecter: request OSDMap after idle ticks

3 weeks agoMerge pull request #62916 from mohit84/tick_without_osd_crash
NitzanMordhai [Mon, 23 Jun 2025 09:30:34 +0000 (12:30 +0300)]
Merge pull request #62916 from mohit84/tick_without_osd_crash

osd: Access/Modify epoch maps under mutex in OSDSuperblock class

3 weeks agodoc/radosgw: improve "pubsub_push_pending" info 64103/head
Zac Dover [Mon, 23 Jun 2025 08:47:05 +0000 (18:47 +1000)]
doc/radosgw: improve "pubsub_push_pending" info

Explain in greater detail what the counter "pubsub_push_pending" counts.

Fixes: https://tracker.ceph.com/issues/71793
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agodoc/radosgw: remove "pubsub_event_lost" 64104/head
Zac Dover [Mon, 23 Jun 2025 08:18:07 +0000 (18:18 +1000)]
doc/radosgw: remove "pubsub_event_lost"

Remove "pubsub_event_lost" from the list of "Notification Performance
Statistics" in doc/radosgw/notifications.rst. "pubsub_event_lost" is now
obsolete.

Fixes: https://tracker.ceph.com/issues/71790
Signed-off-by: Zac Dover <zac.dover@proton.me>
3 weeks agoMerge pull request #64046 from JonBailey1993/ceph_test_rados_io_sequence_error_readab...
Jon Bailey [Mon, 23 Jun 2025 08:17:41 +0000 (09:17 +0100)]
Merge pull request #64046 from JonBailey1993/ceph_test_rados_io_sequence_error_readability

test/osd: Improve readability of errors in ceph_test_rados_io_sequence

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 weeks agomgr/volumes: Fix json.loads for test on mon caps 59435/head
Enrico Bocchi [Tue, 5 Nov 2024 08:26:04 +0000 (09:26 +0100)]
mgr/volumes: Fix json.loads for test on mon caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
3 weeks agomgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps
Enrico Bocchi [Wed, 16 Oct 2024 09:40:26 +0000 (11:40 +0200)]
mgr/volumes: Add test for mon caps if auth key has remaining mds/osd caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
3 weeks agomgr/volumes: Keep mon caps if auth key has remaining mds/osd caps
Enrico Bocchi [Mon, 26 Aug 2024 11:30:02 +0000 (13:30 +0200)]
mgr/volumes: Keep mon caps if auth key has remaining mds/osd caps

Signed-off-by: Enrico Bocchi <enrico.bocchi@cern.ch>
3 weeks agoMerge pull request #64026 from zdover23/wip-doc-2025-06-19-tr-68619-radosgw-s3select
Zac Dover [Mon, 23 Jun 2025 07:01:50 +0000 (17:01 +1000)]
Merge pull request #64026 from zdover23/wip-doc-2025-06-19-tr-68619-radosgw-s3select

doc/radosgw: update aws specification link

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agomgr/dashboard: Carbonize Icons for Modules (Block, Object, File, Observability, Admin... 60797/head
Prachi Goel [Fri, 22 Nov 2024 07:15:44 +0000 (12:45 +0530)]
mgr/dashboard: Carbonize Icons for Modules (Block, Object, File, Observability, Administration)

Fixes: https://tracker.ceph.com/issues/69017
Signed-off-by: Prachi <prgoel@redhat.com>
Modules Changed for this:
1. Block( mirroring, NVMe, ICSI, Images)
2. Object RGW (Overview, Bucket, Users, Multi-site, Gateways, NFS, Config)
3. Logs
4. Alerts
5. Services
6. Cluster

3 weeks agodoc: update user docs and release notes 63552/head
Shraddha Agrawal [Thu, 19 Jun 2025 13:05:06 +0000 (18:35 +0530)]
doc: update user docs and release notes

Fixes: https://tracker.ceph.com/issues/71495
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
3 weeks agoqa/standalone/mon/availability.sh: add tests
Shraddha Agrawal [Thu, 19 Jun 2025 13:01:52 +0000 (18:31 +0530)]
qa/standalone/mon/availability.sh: add tests

This commit adds tests for the new command to clear availability
status for a particular pool. The two tests do the following:

1. Checks if availability status is cleared successfully.
2. Checks availability status is not cleared if feature is
disabled.

Fixes: https://tracker.ceph.com/issues/71495
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
3 weeks agomon: add command osd pool clear-availability-status
Shraddha Agrawal [Wed, 28 May 2025 05:56:26 +0000 (11:26 +0530)]
mon: add command osd pool clear-availability-status

This commit adds a new command to allow users to clear the
calculated availability score for a specified pool. This can be
done by issuing the command:

  ceph osd pool clear-availability-status <pool_name>

Fixes: https://tracker.ceph.com/issues/71495
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
3 weeks agosrc/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability() 63398/head
Nitzan Mordechai [Wed, 21 May 2025 11:41:01 +0000 (11:41 +0000)]
src/mon/MgrStatMonitor: fix invalid iterator increment in calc_pool_availability()

Erasing entries from `pool_availability` inside a range-for
loop invalidated the hidden iterator, triggering an
“Invalid read” under Valgrind.

- Use `std::erase_if(pool_availability, predicate)` for
  atomic removal.
- Refactor the stats-update loop to use structured bindings
  and a clear `++it` for readability.

Fixes: https://tracker.ceph.com/issues/71271
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
3 weeks agoMerge pull request #64019 from cyx1231st/wip-seastore-improve-ut
Yingxin Cheng [Mon, 23 Jun 2025 02:00:27 +0000 (10:00 +0800)]
Merge pull request #64019 from cyx1231st/wip-seastore-improve-ut

test/crimson/seastore/test_transaction_manager: improve check_available()

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
3 weeks agomgr/dashboard: Allow host with labels in listener form 63963/head
Afreen Misbah [Mon, 16 Jun 2025 17:09:46 +0000 (22:39 +0530)]
mgr/dashboard: Allow host with labels in listener form

- Currently, listeners cannot be added with the Ceph Dashboard if the gateway nodes are selected by label instead of hosts.

- Refactored the code to incorporate nodes with labels

- Also added missing typings and removed 'any'

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
3 weeks agocrimson/common/fatal_signal: Log error before collecting backtrace 63673/head
Matan Breizman [Thu, 12 Jun 2025 12:32:38 +0000 (12:32 +0000)]
crimson/common/fatal_signal: Log error before collecting backtrace

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/common/fatal_signal: skip print_segv_info and proc_maps
Matan Breizman [Wed, 4 Jun 2025 10:58:29 +0000 (10:58 +0000)]
crimson/common/fatal_signal: skip print_segv_info and proc_maps

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agocrimson/common/fatal_signal: rework print_backtrace
Matan Breizman [Wed, 4 Jun 2025 10:56:37 +0000 (10:56 +0000)]
crimson/common/fatal_signal: rework print_backtrace

* Move to GENERIC_LOG
* Print backtrace in log and in std out
* Switch to fmt::format

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 weeks agoMerge pull request #64006 from gbregman/main
Gil Bregman [Sat, 21 Jun 2025 19:39:40 +0000 (22:39 +0300)]
Merge pull request #64006 from gbregman/main

mgr/cephadm/nvmeof: Allow setting NVMEoF gateway notifications interval in the spec file

3 weeks agoMerge pull request #63247 from phlogistonjohn/jjm-cephadm-guess-name
Adam King [Sat, 21 Jun 2025 18:07:16 +0000 (14:07 -0400)]
Merge pull request #63247 from phlogistonjohn/jjm-cephadm-guess-name

cephadm: minor ergonomic improvements for hackers

Reviewed-by: Adam King <adking@redhat.com>