]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 days agodoc: Clarify the status of MS Windows client support 64481/head
Anthony D'Atri [Mon, 7 Jul 2025 15:47:02 +0000 (11:47 -0400)]
doc: Clarify the status of MS Windows client support

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 89eabfc3f0c8db3501b3ea3097e2983617c5234a)

5 days agoMerge pull request #64472 from zdover23/wip-doc-2025-07-14-backport-64462-to-squid
Anthony D'Atri [Mon, 14 Jul 2025 13:30:05 +0000 (09:30 -0400)]
Merge pull request #64472 from zdover23/wip-doc-2025-07-14-backport-64462-to-squid

squid: doc/cephfs: Improve mount-using-fuse.rst

5 days agoMerge pull request #64475 from zdover23/wip-doc-2025-07-14-backport-63080-to-squid
Anthony D'Atri [Mon, 14 Jul 2025 13:28:51 +0000 (09:28 -0400)]
Merge pull request #64475 from zdover23/wip-doc-2025-07-14-backport-63080-to-squid

squid: doc/radosgw: Improve rgw-cache.rst

5 days agodoc/radosgw: Improve rgw-cache.rst 64475/head
Ville Ojamo [Wed, 30 Apr 2025 18:17:14 +0000 (01:17 +0700)]
doc/radosgw: Improve rgw-cache.rst

Try to improve the language by completely rewriting some sentences.
Attempt to format the document more like the rest of the docs.
Fix several errors in punctuation, capitalization, spaces etc.
Use blocks with bash prompts for CLI commands instead of hardcoded
prompts.
Fix section hierarchy and section title underline lengths.
Use admonition.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit 6e836f8f1e1e53bc7f8d8b497960b100e6b625d6)

5 days agodoc/cephfs: Improve mount-using-fuse.rst 64472/head
Anthony D'Atri [Fri, 11 Jul 2025 19:02:45 +0000 (15:02 -0400)]
doc/cephfs: Improve mount-using-fuse.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 329ee7b3038e49cf0def2f2628444e3e90796c05)

5 days agoMerge pull request #64387 from cbodley/wip-72026-squid
anrao19 [Mon, 14 Jul 2025 04:57:19 +0000 (10:27 +0530)]
Merge pull request #64387 from cbodley/wip-72026-squid

squid: rgw: don't use merge_and_store_attrs() when recreating a bucket

8 days agoMerge pull request #64269 from zdover23/wip-doc-2025-06-30-backport-64164-to-squid
afreen23 [Fri, 11 Jul 2025 15:30:29 +0000 (21:00 +0530)]
Merge pull request #64269 from zdover23/wip-doc-2025-06-30-backport-64164-to-squid

squid: mgr/dashboard: Fix inline markup warning in API documentation

Reviewed-by: Afreen Misbah <afreen@ibm.com>
10 days agoMerge pull request #64086 from adk3798/wip-69514-squid
Adam King [Wed, 9 Jul 2025 15:48:22 +0000 (11:48 -0400)]
Merge pull request #64086 from adk3798/wip-69514-squid

squid: mgr/cephadm: mgr orchestrator module raise exception if there is trailing tab in yaml file

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
10 days agoMerge pull request #59829 from joscollin/wip-68108-squid
Jos Collin [Wed, 9 Jul 2025 09:35:37 +0000 (15:05 +0530)]
Merge pull request #59829 from joscollin/wip-68108-squid

squid: qa: multiple fixes in test_mirroring.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
10 days agoMerge pull request #62115 from joscollin/wip-70285-squid
Jos Collin [Wed, 9 Jul 2025 04:36:20 +0000 (10:06 +0530)]
Merge pull request #62115 from joscollin/wip-70285-squid

squid: cephfs-journal-tool: fix segfault during 'journal import' from invalid dump file

Reviewed-by: Venky Shankar <vshankar@redhat.com>
10 days agoMerge pull request #64166 from zdover23/wip-doc-2025-06-25-backport-64160-to-squid
Anthony D'Atri [Wed, 9 Jul 2025 04:05:20 +0000 (00:05 -0400)]
Merge pull request #64166 from zdover23/wip-doc-2025-06-25-backport-64160-to-squid

squid: doc/dev/config: Document how to use :confval: directive for config op…

10 days agoMerge pull request #64396 from zdover23/wip-doc-2025-07-09-backport-64161-to-squid
Anthony D'Atri [Wed, 9 Jul 2025 04:04:20 +0000 (00:04 -0400)]
Merge pull request #64396 from zdover23/wip-doc-2025-07-09-backport-64161-to-squid

squid: doc: Document ceph-mgr module configuration options

10 days agodoc: Document ceph-mgr module configuration options 64396/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>
(cherry picked from commit 121192f4c95df0ee282cecc7237c8ca788e9cfba)

10 days agoMerge pull request #61774 from joscollin/wip-69927-squid
Jos Collin [Wed, 9 Jul 2025 02:10:16 +0000 (07:40 +0530)]
Merge pull request #61774 from joscollin/wip-69927-squid

squid: cephfs-top: exception when terminal size greater than PAD_WIDTH

Reviewed-by: Venky Shankar <vshankar@redhat.com>
10 days agoMerge pull request #64393 from zdover23/wip-doc-2025-07-09-backport-64334-to-squid
Zac Dover [Wed, 9 Jul 2025 02:01:13 +0000 (12:01 +1000)]
Merge pull request #64393 from zdover23/wip-doc-2025-07-09-backport-64334-to-squid

squid: doc/rados: remove clonedata command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 days agoMerge pull request #64217 from zdover23/wip-doc-2025-06-27-backport-62944-to-squid
Anthony D'Atri [Wed, 9 Jul 2025 01:58:32 +0000 (21:58 -0400)]
Merge pull request #64217 from zdover23/wip-doc-2025-06-27-backport-62944-to-squid

squid: common/options: fix typo in description

10 days agodoc/rados: remove clonedata command 64393/head
Zac Dover [Thu, 3 Jul 2025 12:32:48 +0000 (22:32 +1000)]
doc/rados: remove clonedata command

Remove the "clonedata" command from the rados manpage.

The "clonedata" command was removed in
https://github.com/ceph/ceph/pull/13008.

Fixes: https://tracker.ceph.com/issues/71943
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1eff1c1147bdb683701a55fbe3ea846fde6937f0)

11 days agorgw: don't use merge_and_store_attrs() when recreating a bucket 64387/head
Casey Bodley [Wed, 18 Dec 2024 16:28:02 +0000 (11:28 -0500)]
rgw: don't use merge_and_store_attrs() when recreating a bucket

https://github.com/ceph/ceph/pull/56583 recently fixed
merge_and_store_attrs() to preserve existing attrs, but this broke the
swift api's ability to remove container metadata. RGWCreateBucket
handles this merging itself with prepare_add_del_attrs(), so we should
just assign createparams.attrs to the bucket and store it with
bucket->put_info()

make the same change for RGWPutMetadataBucket which swift uses to
add/remove existing metadata

Fixes: https://tracker.ceph.com/issues/69301
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 340e353de6882dcd6e327d6691da9ef2b767ab4f)

12 days agoMerge pull request #64084 from adk3798/wip-69712-squid
Adam King [Mon, 7 Jul 2025 17:36:34 +0000 (13:36 -0400)]
Merge pull request #64084 from adk3798/wip-69712-squid

squid: cephadm: rgw: allow specifying the ssl_certificate by filepath

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2 weeks agoMerge pull request #64343 from zdover23/wip-doc-2025-07-04-backport-63779-to-squid
Anthony D'Atri [Thu, 3 Jul 2025 23:42:06 +0000 (19:42 -0400)]
Merge pull request #64343 from zdover23/wip-doc-2025-07-04-backport-63779-to-squid

squid: doc/mgr: edit telemetry.rst

2 weeks agoMerge pull request #63981 from cbodley/wip-71691-squid
Casey Bodley [Thu, 3 Jul 2025 22:16:38 +0000 (18:16 -0400)]
Merge pull request #63981 from cbodley/wip-71691-squid

squid: test/common: unittest_fault_injector omits unit-main target

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #64338 from zdover23/wip-doc-2025-07-03-backport-64319-to-squid
Zac Dover [Thu, 3 Jul 2025 22:14:43 +0000 (08:14 +1000)]
Merge pull request #64338 from zdover23/wip-doc-2025-07-03-backport-64319-to-squid

squid: doc/radosgw: add rgw_enable_lc_threads & rgw_enable_gc_threads

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agodoc/mgr: edit telemetry.rst 64343/head
Zac Dover [Fri, 6 Jun 2025 04:57:19 +0000 (14:57 +1000)]
doc/mgr: edit telemetry.rst

Edit doc/mgr/telemetry.rst.

Incorporate the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/63735.

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

2 weeks agoMerge pull request #64321 from zdover23/wip-doc-2025-07-03-backport-64306-to-squid
Anthony D'Atri [Thu, 3 Jul 2025 14:36:49 +0000 (10:36 -0400)]
Merge pull request #64321 from zdover23/wip-doc-2025-07-03-backport-64306-to-squid

squid: doc/rados/ops: add caps restore command

2 weeks agodoc/radosgw: add rgw_enable_lc_threads & rgw_enable_gc_threads 64338/head
Zac Dover [Thu, 3 Jul 2025 06:45:31 +0000 (16:45 +1000)]
doc/radosgw: add rgw_enable_lc_threads & rgw_enable_gc_threads

Add rgw_enable_lc_threads and rgw_enable_gc_threads to
doc/radosgw/config-ref.rst.

Fixes: https://tracker.ceph.com/issues/58092
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 45e5468ea7fc57b1cb60f1936558dc2678adc6fd)

2 weeks agoMerge pull request #59880 from adk3798/squid-cephadm-nvmeof-allow-passing-group
Adam King [Thu, 3 Jul 2025 12:39:00 +0000 (08:39 -0400)]
Merge pull request #59880 from adk3798/squid-cephadm-nvmeof-allow-passing-group

squid: mgr/orchestrator: allow passing group to apply/add nvmeof commands

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #63115 from adk3798/squid-nfs-export-parse-sectype
Adam King [Thu, 3 Jul 2025 12:37:13 +0000 (08:37 -0400)]
Merge pull request #63115 from adk3798/squid-nfs-export-parse-sectype

squid: mgr/nfs: make sure sectype is a list when parsed

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #64082 from adk3798/wip-68583-squid
Adam King [Thu, 3 Jul 2025 12:34:14 +0000 (08:34 -0400)]
Merge pull request #64082 from adk3798/wip-68583-squid

squid: cephadm: add ability to continue on failure when applying multiple specs

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agodoc/rados/ops: add caps restore command 64321/head
Zac Dover [Wed, 2 Jul 2025 12:29:48 +0000 (22:29 +1000)]
doc/rados/ops: add caps restore command

Add a command that restores caps to client.admin after they have been
accidentally destroyed or removed.

Fixes: https://tracker.ceph.com/issues/23594
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit de8c148a2f99db3a1dc4eb70a19aca19a0e9bacf)

2 weeks agoMerge pull request #64315 from zdover23/wip-doc-2025-07-03-backport-63359-to-squid
Anthony D'Atri [Thu, 3 Jul 2025 02:02:33 +0000 (22:02 -0400)]
Merge pull request #64315 from zdover23/wip-doc-2025-07-03-backport-63359-to-squid

squid: doc/radosgw/s3: Document delete-if-unmodified-since

2 weeks agoMerge pull request #62612 from zdover23/wip-doc-2025-04-02-backport-62610-to-squid
Zac Dover [Thu, 3 Jul 2025 01:27:47 +0000 (11:27 +1000)]
Merge pull request #62612 from zdover23/wip-doc-2025-04-02-backport-62610-to-squid

squid: doc/dev/release-process.rst: document new Jenkins job for containers

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agodoc/radosgw/s3: Document delete-if-unmodified-since 64315/head
Anthony D'Atri [Mon, 19 May 2025 14:14:00 +0000 (10:14 -0400)]
doc/radosgw/s3: Document delete-if-unmodified-since

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 3381041d190fd48cf9f6d53f679f1737028cccf4)
(cherry picked from commit 7e2bd1595d64c12e1959cc29acfaf906a9027fc6)

2 weeks agoMerge pull request #63812 from zdover23/wip-doc-2025-06-09-backport-63782-to-squid
Zac Dover [Wed, 2 Jul 2025 21:11:41 +0000 (07:11 +1000)]
Merge pull request #63812 from zdover23/wip-doc-2025-06-09-backport-63782-to-squid

squid: doc/radosgw: edit metrics.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #62551 from zdover23/wip-doc-2025-03-28-backport-62537-to-squid
Zac Dover [Wed, 2 Jul 2025 21:04:22 +0000 (07:04 +1000)]
Merge pull request #62551 from zdover23/wip-doc-2025-03-28-backport-62537-to-squid

squid: src/common: add guidance for mon_warn_pg_not_scrubbed

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agodoc/radosgw: edit metrics.rst 63812/head
Zac Dover [Fri, 6 Jun 2025 05:16:17 +0000 (15:16 +1000)]
doc/radosgw: edit metrics.rst

Edit doc/radosgw/metrics.rst.

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

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

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

2 weeks agoMerge pull request #64147 from zdover23/wip-doc-2025-06-25-backport-64088-to-squid
Zac Dover [Wed, 2 Jul 2025 13:19:28 +0000 (23:19 +1000)]
Merge pull request #64147 from zdover23/wip-doc-2025-06-25-backport-64088-to-squid

squid: doc: Fixed a spelling error.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64284 from zdover23/wip-doc-2025-07-01-backport-64239-to-squid
Zac Dover [Wed, 2 Jul 2025 13:18:18 +0000 (23:18 +1000)]
Merge pull request #64284 from zdover23/wip-doc-2025-07-01-backport-64239-to-squid

squid: doc/mgr/crash.rst: remove outdated module enabling instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64287 from zdover23/wip-doc-2025-07-01-backport-64255-to-squid
Zac Dover [Wed, 2 Jul 2025 13:17:56 +0000 (23:17 +1000)]
Merge pull request #64287 from zdover23/wip-doc-2025-07-01-backport-64255-to-squid

squid: doc/rados/configuration: Small improvements in ceph-conf.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64170 from zdover23/wip-doc-2025-06-25-backport-64163-to-squid
Zac Dover [Wed, 2 Jul 2025 13:10:01 +0000 (23:10 +1000)]
Merge pull request #64170 from zdover23/wip-doc-2025-06-25-backport-64163-to-squid

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #60360 from adk3798/squid-ganesha-set-io-flusher-fail-true
Adam King [Tue, 1 Jul 2025 15:52:05 +0000 (11:52 -0400)]
Merge pull request #60360 from adk3798/squid-ganesha-set-io-flusher-fail-true

squid: mgr/cephadm: add "allow_set_io_flusher_fail = true;" to ganesha conf

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #59932 from adk3798/wip-68138-squid
Adam King [Tue, 1 Jul 2025 15:50:29 +0000 (11:50 -0400)]
Merge pull request #59932 from adk3798/wip-68138-squid

squid: mgr/cephadm: open ceph-exporter when firewalld is enabled

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #63567 from cbodley/wip-70374-squid
Casey Bodley [Tue, 1 Jul 2025 15:14:24 +0000 (11:14 -0400)]
Merge pull request #63567 from cbodley/wip-70374-squid

squid: rgw: trigger resharding of versioned buckets sooner

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 weeks agoMerge pull request #64081 from adk3798/wip-67499-squid
Adam King [Tue, 1 Jul 2025 14:56:06 +0000 (10:56 -0400)]
Merge pull request #64081 from adk3798/wip-67499-squid

squid: mgr/nfs: scrape nfs monitoring endpoint

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #62593 from adk3798/squid-cephadm-sidecar-redeploy
Adam King [Tue, 1 Jul 2025 14:51:13 +0000 (10:51 -0400)]
Merge pull request #62593 from adk3798/squid-cephadm-sidecar-redeploy

squid: cephadm: stop sidecar systemd units when restarting main units

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61905 from adk3798/squid-stop-orch-on-cleanup
Adam King [Tue, 1 Jul 2025 14:50:10 +0000 (10:50 -0400)]
Merge pull request #61905 from adk3798/squid-stop-orch-on-cleanup

squid: qa/cephadm: stop cephadm mgr module during cleanup

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61902 from adk3798/squid-cephadm-fix-vrrp-typo
Adam King [Tue, 1 Jul 2025 14:28:20 +0000 (10:28 -0400)]
Merge pull request #61902 from adk3798/squid-cephadm-fix-vrrp-typo

squid: mgr/cephadm: fix typo with vrrp_interfaces in keepalive setup

Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agoMerge pull request #61350 from adk3798/squid-cephadm-rgw-no-multisite-traffic
Adam King [Tue, 1 Jul 2025 14:26:41 +0000 (10:26 -0400)]
Merge pull request #61350 from adk3798/squid-cephadm-rgw-no-multisite-traffic

squid: mgr/cephadm: allow disabling rgw_run_sync_thread through spec

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2 weeks agodoc/rados/configuration: Small improvements in ceph-conf.rst 64287/head
Ville Ojamo [Mon, 30 Jun 2025 07:30:34 +0000 (14:30 +0700)]
doc/rados/configuration: Small improvements in ceph-conf.rst

Fix a missing space typo.

Use title case in section titles.

Use ref for hyperlink to a section that already has a label instead of
linking to title text of the section.

Use privileged command prompt for all ceph commands except ceph commands
that invoke help.

Use INI preformatted block for last remaining block that was just using
plain preformatted.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit 6687c9767d9764f34d7099ba6980992dd8ae8737)

2 weeks agodoc/mgr/crash.rst: remove outdated module enabling instructions 64284/head
Kefu Chai [Sun, 29 Jun 2025 02:55:30 +0000 (10:55 +0800)]
doc/mgr/crash.rst: remove outdated module enabling instructions

The crash module has been enabled by default since commit 18f253aa in
Nautilus and is now in the always_on_modules list. However, the
documentation still contained instructions for manually enabling it.

When users followed these outdated instructions, they encountered:
```
  module 'crash' is already enabled (always-on)
```

The module cannot be disabled either. Running:
```
  ceph mgr module disable crash
```

Returns the error:
```
  Error EINVAL: module 'crash' cannot be disabled (always-on)
```
In this change, we remove the obsolete enabling instructions and clarify
that this module is always active and cannot be disabled.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 0fcd7677586f7edf3eb091420a8ace0c4f887167)

2 weeks agoMerge pull request #64227 from adamemerson/wip-71577-squid
Yuri Weinstein [Mon, 30 Jun 2025 17:09:08 +0000 (10:09 -0700)]
Merge pull request #64227 from adamemerson/wip-71577-squid

squid: qa/rgw: fix perl tests missing Amazon::S3 module

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 weeks agomgr/dashboard: Fix inline markup warning in API documentation 64269/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>
(cherry picked from commit 5f1dc9af57b0398c33226410f801d16feed823f2)

3 weeks agoqa/rgw: fix perl tests missing Amazon::S3 module 64227/head
Mark Kogan [Wed, 25 Jun 2025 12:21:49 +0000 (12:21 +0000)]
qa/rgw: fix perl tests missing Amazon::S3 module

and a second case where perl tests can fail without error output

1. fix errors like: `Can't locate Amazon/S3.pm in @INC (you may need to
   install the Amazon::S3 module)`
by priming the perl tests with installing the Amazon::S3 module from cpan

ex:
```
2025-06-23T19:18:40.162 INFO:tasks.workunit.client.0.smithi090.stderr:Can't locate Amazon/S3.pm in @INC (you may need to install the Amazon::S3 module) (@INC contains: /usr/local/lib64/perl5/5.32 ...
```

2. log an error when RGW process is not detected

Fixes: https://tracker.ceph.com/issues/71577
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit 7faa23f160c9f4b40d25fe27f2345dbf999b0c84)

Conflicts:
qa/suites/rgw/multifs/0-install.yaml
 - Doesn't exist in this branch, or support for it, so duplicated in
   individual tests.
qa/suites/rgw/multifs/tasks/rgw_bucket_quota.yaml
qa/suites/rgw/multifs/tasks/rgw_multipart_upload.yaml
qa/suites/rgw/multifs/tasks/rgw_user_quota.yaml
 - Has overrides no longer needed in main

Fixes: https://tracker.ceph.com/issues/71873
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #64196 from idryomov/wip-71838-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:29:35 +0000 (16:29 +0200)]
Merge pull request #64196 from idryomov/wip-71838-squid

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

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 weeks agoMerge pull request #64092 from idryomov/wip-70951-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:28:32 +0000 (16:28 +0200)]
Merge pull request #64092 from idryomov/wip-70951-squid

squid: rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

Reviewed-by: VinayBhaskar-V <vvarada@redhat.com>
3 weeks agoMerge pull request #64097 from idryomov/wip-71335-squid
Ilya Dryomov [Fri, 27 Jun 2025 14:27:39 +0000 (16:27 +0200)]
Merge pull request #64097 from idryomov/wip-71335-squid

squid: librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 weeks agoMerge pull request #64113 from zdover23/wip-doc-2025-06-23-backport-64103-to-squid
Zac Dover [Thu, 26 Jun 2025 20:28:36 +0000 (06:28 +1000)]
Merge pull request #64113 from zdover23/wip-doc-2025-06-23-backport-64103-to-squid

squid: doc/radosgw: improve "pubsub_push_pending" info

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agocommon/options: fix typo in description 64217/head
Lorenz Bausch [Thu, 24 Apr 2025 09:55:45 +0000 (11:55 +0200)]
common/options: fix typo in description

Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
(cherry picked from commit aa54c08eb01efa4f048cc8fba9f909e0226ac905)

3 weeks agolibrbd/migration/QCOWFormat: don't complete read_clusters() inline 64196/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>
(cherry picked from commit a02cc13191d5e695620791c883ff1460d2e42f57)

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>
(cherry picked from commit 9d9c73435341f98cecf0a450357408f8d49624fa)

3 weeks agoMerge pull request #64155 from zdover23/wip-doc-2025-06-25-backport-64107-to-squid 64144/head
Zac Dover [Wed, 25 Jun 2025 13:11:36 +0000 (23:11 +1000)]
Merge pull request #64155 from zdover23/wip-doc-2025-06-25-backport-64107-to-squid

squid: doc/radosgw: remove "pubsub_event_triggered"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
3 weeks agoMerge pull request #64132 from afreen23/wip-71808-squid
afreen23 [Wed, 25 Jun 2025 09:52:44 +0000 (15:22 +0530)]
Merge pull request #64132 from afreen23/wip-71808-squid

squid: mgr/dashboard: Add --force flag for listeners

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
3 weeks agodoc: Fix unterminated inline literal in ceph-conf.rst 64170/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>
(cherry picked from commit 7f79f3d6aa7f71c9b2434b843036a3f1da660231)

3 weeks agomgr/dashboard: Add --force flag for listeners 64132/head
Afreen Misbah [Mon, 16 Jun 2025 15:16:39 +0000 (20:46 +0530)]
mgr/dashboard: Add --force flag for listeners

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 604d351a4e7bbf47baf57e10f67219a2eea919e0)

Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/shared/api/nvmeof.service.ts
        src/pybind/mgr/dashboard/frontend/src/app/ceph/block/nvmeof-listeners-list/nvmeof-listeners-list.component.ts

3 weeks agodoc/dev/config: Document how to use :confval: directive for config options 64166/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>
(cherry picked from commit d61f9fffac0a1a0c18cbba89e8c43f469ee55c44)

3 weeks agoMerge pull request #64049 from cbodley/wip-71751-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:58:50 +0000 (12:58 -0700)]
Merge pull request #64049 from cbodley/wip-71751-squid

squid: fix: the RGW crash caused by special characters

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #63928 from cbodley/wip-71671-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:58:21 +0000 (12:58 -0700)]
Merge pull request #63928 from cbodley/wip-71671-squid

squid: qa/rgw: bump maven version in hadoop task to resolve 404 Not Found

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agoMerge pull request #61162 from ivancich/wip-69182-squid
Yuri Weinstein [Tue, 24 Jun 2025 19:57:42 +0000 (12:57 -0700)]
Merge pull request #61162 from ivancich/wip-69182-squid

squid: Revert "rgw/auth: Fix the return code returned by AuthStrategy,"

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 weeks agodoc/radosgw: remove "pubsub_event_triggered" 64155/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>
(cherry picked from commit 44dc57fc15749583fc13560c9409b7687df7c223)

3 weeks agodoc: Fixed a spelling error. 64147/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>
(cherry picked from commit c328902e3929d9841f952948b0336ec5b20d36fa)

3 weeks agoMerge pull request #64139 from zdover23/wip-doc-2025-06-25-backport-64106-to-squid
Zac Dover [Tue, 24 Jun 2025 17:45:56 +0000 (03:45 +1000)]
Merge pull request #64139 from zdover23/wip-doc-2025-06-25-backport-64106-to-squid

squid: doc/radosgw: add "persistent_topic_size"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #64126 from zdover23/wip-doc-2025-06-24-backport-64104-to-squid
Zac Dover [Tue, 24 Jun 2025 16:42:33 +0000 (02:42 +1000)]
Merge pull request #64126 from zdover23/wip-doc-2025-06-24-backport-64104-to-squid

squid: doc/radosgw: remove "pubsub_event_lost"

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agodoc/radosgw: add "persistent_topic_size" 64139/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>
(cherry picked from commit 5f96ade1734d1ab7053b792a1df4e316e31691a5)

3 weeks agoqa: fix test_cephfs_mirror_stats failure 59829/head
Jos Collin [Tue, 6 May 2025 11:50:39 +0000 (17:20 +0530)]
qa: fix test_cephfs_mirror_stats failure

* Don't create huge files that results in 'No space left on device'.
* Relax last_synced_end > last_synced_start check, so that
  the test wouldn't fail even if 'counter dump' delays getting updated
  values within a particular snapshot sync.

Fixes: https://tracker.ceph.com/issues/71186
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 9738b8d36275fda42d847058aab55ba1e6e6e7fc)

3 weeks agoqa: fix test_cephfs_mirror_stats failure
Jos Collin [Fri, 13 Dec 2024 02:53:07 +0000 (08:23 +0530)]
qa: fix test_cephfs_mirror_stats failure

100MB files would take less than a second to sync, which makes no difference
in 'last_synced_end' and the test fails intermittently. We need to increase the
size of the files, as the time/duration is determined only in seconds.
Because of this, it also needs more sleep time before checking the status.

Fixes: https://tracker.ceph.com/issues/69232
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 005e492288b71c641f33396cc8b13cc53d52b478)

3 weeks agoqa: do the set/get attribute on the remote filesystem
Jos Collin [Thu, 8 Aug 2024 05:22:14 +0000 (10:52 +0530)]
qa: do the set/get attribute on the remote filesystem

Fixes: https://tracker.ceph.com/issues/67435
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 9a46c52387fbdce580dd50584f9ea01469de6d51)

3 weeks agoMerge pull request #63718 from NitzanMordhai/wip-71542-squid
SrinivasaBharathKanta [Tue, 24 Jun 2025 06:21:26 +0000 (11:51 +0530)]
Merge pull request #63718 from NitzanMordhai/wip-71542-squid

squid: qa/suites: wait longer before stopping OSDs with valgrind

3 weeks agodoc/radosgw: remove "pubsub_event_lost" 64126/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>
(cherry picked from commit b308f50d1e0c2d238c3b2bf54df99cc7ac2ac679)

3 weeks agoMerge pull request #63154 from NitzanMordhai/wip-71224-squid
SrinivasaBharathKanta [Mon, 23 Jun 2025 23:47:23 +0000 (05:17 +0530)]
Merge pull request #63154 from NitzanMordhai/wip-71224-squid

squid: osd_types: Restore new_object marking for delete missing entries

3 weeks agoMerge pull request #63341 from amathuria/wip-69774-squid
SrinivasaBharathKanta [Mon, 23 Jun 2025 23:29:24 +0000 (04:59 +0530)]
Merge pull request #63341 from amathuria/wip-69774-squid

squid: mon/test_mon_osdmap_prune: Use first_pinned instead of first_committed

3 weeks agoMerge pull request #64012 from cbodley/wip-71674-squid
Yuri Weinstein [Mon, 23 Jun 2025 22:43:26 +0000 (15:43 -0700)]
Merge pull request #64012 from cbodley/wip-71674-squid

squid: build: Fix opentelemetry-cpp build failure on Noble

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
3 weeks agoMerge pull request #59621 from pponnuvel/wip-67741-squid
Yuri Weinstein [Mon, 23 Jun 2025 17:23:12 +0000 (10:23 -0700)]
Merge pull request #59621 from pponnuvel/wip-67741-squid

squid: client: Prevent race condition when printing Inode in ll_sync_inode

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 weeks agorgw: make sure max_objs_per_shard is appropriate in debugging scenarios 63567/head
J. Eric Ivancich [Thu, 22 May 2025 20:15:56 +0000 (16:15 -0400)]
rgw: make sure max_objs_per_shard is appropriate in debugging scenarios

When we have a versioned bucket, we reduce max_objs_per_shard by a
factor of 3 to account for the extra bucket index entries required in
such buckets. And during debugging, we may want to induce early
resharding by setting max_objs_per_shard to an artificially low
value. Combined, that math could result in max_objs_per_shard with a
value of 0 that would cause a division by zero crash. This fixes that.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 27f9c103f1a98b78b9bd58d0e669d557c3851702)

Conflicts:
src/rgw/driver/rados/rgw_rados.cc
  calculate_preferred_shards() changes from #57538 not on squid

3 weeks agoMerge pull request #64118 from zdover23/wip-doc-2025-06-24-backport-64075-to-squid
Zac Dover [Mon, 23 Jun 2025 14:51:23 +0000 (00:51 +1000)]
Merge pull request #64118 from zdover23/wip-doc-2025-06-24-backport-64075-to-squid

squid: doc/rados/operations: Actually mention `upmap_max_deviation` setting …

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 weeks agoMerge pull request #63853 from adk3798/wip-69513-squid
Yuri Weinstein [Mon, 23 Jun 2025 14:23:39 +0000 (07:23 -0700)]
Merge pull request #63853 from adk3798/wip-69513-squid

squid: mgr/cephadm: fixing logic in cert-store save_cert method

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
Reviewed-by: Adam King adking@redhat.com
3 weeks agoMerge pull request #64095 from zdover23/wip-doc-2025-06-23-backport-64026-to-squid
Anthony D'Atri [Mon, 23 Jun 2025 14:14:48 +0000 (10:14 -0400)]
Merge pull request #64095 from zdover23/wip-doc-2025-06-23-backport-64026-to-squid

squid: doc/radosgw: update aws specification link

3 weeks agodoc/rados/operations: Actually mention `upmap_max_deviation` setting name 64118/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>
(cherry picked from commit 60797187f33ab69f1947d95106f33f4af3e8af5b)

3 weeks agodoc/radosgw: improve "pubsub_push_pending" info 64113/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>
(cherry picked from commit 26f2c0ebbe364cd27f8f0ae1adc954ce206371b7)

3 weeks agodoc/radosgw: update aws specification link 64095/head
Zac Dover [Thu, 19 Jun 2025 06:24:24 +0000 (16:24 +1000)]
doc/radosgw: update aws specification link

Update the link to the AWS specification format.

Fixes: https://tracker.ceph.com/issues/68619
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit cca1a17d07fd31ccf13acf846ad13e6fad85d5f2)

3 weeks agolibrbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup 64097/head
Kefu Chai [Tue, 3 Jun 2025 08:07:33 +0000 (16:07 +0800)]
librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup

Previously, SyncPoint allocated two C_Gather instances tracked by raw
pointers but failed to properly clean them up when only a single sync
point existed, causing memory leaks detected by AddressSanitizer.

This change fixes the leak by modifying AbstractWriteLog::shut_down()
to check for prior sync points in the chain. When the current sync point
is the only one present, we now activate the m_prior_log_entries_persisted
context to ensure:

- The onfinish callback executes and releases the captured strong
  reference to the enclosing SyncPoint
- The parent m_sync_point_persist context completes and gets properly
  released

This ensures all allocated contexts are cleaned up correctly during
shutdown, eliminating the memory leak.

The ASan report:

```
Indirect leak of 2064 byte(s) in 1 object(s) allocated from:
    #0 0x56440919ae2d in operator new(unsigned long) (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/unittest_librbd+0x2f3de2d) (BuildId: 6a04677c6ee5235f1a41815df807f97c5b96d4cd)
    #1 0x56440bd67751 in __gnu_cxx::new_allocator<Context*>::allocate(unsigned long, void const*) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h:127:27
    #2 0x56440bd676e0 in std::allocator<Context*>::allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/allocator.h:185:32
    #3 0x56440bd676e0 in std::allocator_traits<std::allocator<Context*>>::allocate(std::allocator<Context*>&, unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:464:20
    #4 0x56440bd6730b in std::_Vector_base<Context*, std::allocator<Context*>>::_M_allocate(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h:346:20
    #5 0x7fd33e00e8d1 in std::vector<Context*, std::allocator<Context*>>::reserve(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/vector.tcc:78:22
    #6 0x7fd33e00c51c in librbd::cache::pwl::SyncPoint::SyncPoint(unsigned long, ceph::common::CephContext*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/SyncPoint.cc:20:27
    #7 0x56440bd65f26 in decltype(::new((void*)(0)) librbd::cache::pwl::SyncPoint(std::declval<unsigned long&>(), std::declval<ceph::common::CephContext*&>())) std::construct_at<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(librbd::cache::pwl::SyncPoint*, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h:97:39
    #8 0x56440bd65b98 in void std::allocator_traits<std::allocator<librbd::cache::pwl::SyncPoint>>::construct<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint>&, librbd::cache::pwl::SyncPoint*, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h:518:4
    #9 0x56440bd657d3 in std::_Sp_counted_ptr_inplace<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:519:4
    #10 0x56440bd65371 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(librbd::cache::pwl::SyncPoint*&, std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:651:6
    #11 0x56440bd65163 in std::__shared_ptr<librbd::cache::pwl::SyncPoint, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1342:14
    #12 0x56440bd650e6 in std::shared_ptr<librbd::cache::pwl::SyncPoint>::shared_ptr<std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::_Sp_alloc_shared_tag<std::allocator<librbd::cache::pwl::SyncPoint>>, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:409:4
    #13 0x56440bd65057 in std::shared_ptr<librbd::cache::pwl::SyncPoint> std::allocate_shared<librbd::cache::pwl::SyncPoint, std::allocator<librbd::cache::pwl::SyncPoint>, unsigned long&, ceph::common::CephContext*&>(std::allocator<librbd::cache::pwl::SyncPoint> const&, unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:862:14
    #14 0x56440bca97e7 in std::shared_ptr<librbd::cache::pwl::SyncPoint> std::make_shared<librbd::cache::pwl::SyncPoint, unsigned long&, ceph::common::CephContext*&>(unsigned long&, ceph::common::CephContext*&) /usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h:878:14
    #15 0x56440bd443c8 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::new_sync_point(librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1905:20
    #16 0x56440bd42e4c in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::flush_new_sync_point(librbd::cache::pwl::C_FlushRequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1951:3
    #17 0x56440bd9cbf2 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::flush_new_sync_point_if_needed(librbd::cache::pwl::C_FlushRequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::DeferredContexts&) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1990:5
    #18 0x56440bd9c636 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*)::'lambda'(librbd::cache::pwl::GuardedRequestFunctionContext&)::operator()(librbd::cache::pwl::GuardedRequestFunctionContext&) const /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:2152:9
    #19 0x56440bd9b9b4 in boost::detail::function::void_function_obj_invoker<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*)::'lambda'(librbd::cache::pwl::GuardedRequestFunctionContext&), void, librbd::cache::pwl::GuardedRequestFunctionContext&>::invoke(boost::detail::function::function_buffer&, librbd::cache::pwl::GuardedRequestFunctionContext&) /opt/ceph/include/boost/function/function_template.hpp:100:11
    #20 0x56440bd29321 in boost::function_n<void, librbd::cache::pwl::GuardedRequestFunctionContext&>::operator()(librbd::cache::pwl::GuardedRequestFunctionContext&) const /opt/ceph/include/boost/function/function_template.hpp:789:14
    #21 0x56440bd28d85 in librbd::cache::pwl::GuardedRequestFunctionContext::finish(int) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/Request.h:335:5
    #22 0x5644091e0fe0 in Context::complete(int) /home/jenkins-build/build/workspace/ceph-pull-requests/src/include/Context.h:102:5
    #23 0x56440bd9b378 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::detain_guarded_request(librbd::cache::pwl::C_BlockIORequest<librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>>*, librbd::cache::pwl::GuardedRequestFunctionContext*, bool) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:1202:20
    #24 0x56440bd96c50 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::internal_flush(bool, Context*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:2154:3
    #25 0x56440bd1e4b5 in librbd::cache::pwl::AbstractWriteLog<librbd::MockImageCtx>::shut_down(Context*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/cache/pwl/AbstractWriteLog.cc:703:3
    #26 0x56440bdb9022 in librbd::cache::pwl::TestMockCacheSSDWriteLog_compare_and_write_compare_matched_Test::TestBody() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librbd/cache/pwl/test_mock_SSDWriteLog.cc:403:7
```

Fixes: https://tracker.ceph.com/issues/71335
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 05fd6f90e6e528c628af7fbb106b73e89d57464c)

3 weeks agorbd-mirror: release lock before calling m_async_op_tracker.finish_op() 64092/head
VinayBhaskar-V [Wed, 16 Apr 2025 15:52:21 +0000 (21:22 +0530)]
rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

m_async_op_tracker.finish_op() in InstanceReplayer::start_image_replayers
may invoke a completion that re-enters code paths that attempt to acquire
the same mutex (m_lock), violating the non-recursive lock constraint.
This can be fixed by releasing the lock before calling
m_async_op_tracker.finish_op().

Fixes: https://tracker.ceph.com/issues/70951
Signed-off-by: VinayBhaskar-V <vvarada@redhat.com>
(cherry picked from commit 07e44074ae5d18dc1248e557fd1aa2dbe39792c6)

3 weeks agoMerge pull request #64073 from ronen-fr/wip-rf-64048-squid
Ronen Friedman [Sun, 22 Jun 2025 05:52:45 +0000 (08:52 +0300)]
Merge pull request #64073 from ronen-fr/wip-rf-64048-squid

squid: osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agomgr/cephadm: mgr orchestrator module raise exception if there is trailing tab in... 64086/head
Shweta Bhosale [Wed, 11 Dec 2024 07:37:15 +0000 (13:07 +0530)]
mgr/cephadm: mgr orchestrator module raise exception if there is trailing tab in yaml file

Fixes: https://tracker.ceph.com/issues/69192
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
(cherry picked from commit dfa632b42558278d26cabb88248aa7ae8ba8fcfc)

4 weeks agoAllow passing ssl_certificate as an rgw_frontend_extra_arg. 64084/head
aza547 [Sun, 26 Jan 2025 18:10:59 +0000 (18:10 +0000)]
Allow passing ssl_certificate as an rgw_frontend_extra_arg.

Fixes: https://tracker.ceph.com/issues/69567
Signed-off-by: Alexander Hussein-Kershaw <alexhus@microsoft.com>
(cherry picked from commit 154307e817a0646e7171906d34353c6af0e82dee)

Conflicts:
src/pybind/mgr/cephadm/services/cephadmservice.py

4 weeks agocephadm: add ability to continue on failure when applying multiple specs 64082/head
Adam King [Mon, 9 Sep 2024 22:28:45 +0000 (18:28 -0400)]
cephadm: add ability to continue on failure when applying multiple specs

Additionally, add the flag that does so when cephadm applies
a spec during bootstrap. Bootstrap will continue to completion
regardless of whether applying the spec fails, so we might
as well try applying all of it while reporting errors we
do see back to the user

Fixes: https://tracker.ceph.com/issues/65338
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 12a9aba43caedf6ea2cb897708e0b31d96ee358f)

4 weeks agomgr/nfs: scrape nfs monitoring endpoint 64081/head
avanthakkar [Wed, 3 Jan 2024 11:52:33 +0000 (17:22 +0530)]
mgr/nfs: scrape nfs monitoring endpoint

Fixes: https://tracker.ceph.com/issues/62558
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 5fb45e5fb8330721e03b04d493202c9c845e33b1)

Conflicts:
src/pybind/mgr/cephadm/service_discovery.py
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2

4 weeks agomgr/cephadm: allow disabling rgw_run_sync_thread through spec 61350/head
Adam King [Mon, 15 Jul 2024 18:14:00 +0000 (14:14 -0400)]
mgr/cephadm: allow disabling rgw_run_sync_thread through spec

This is desirable for an RGW service that you don't want to
send multisite sync data so the RGW daemons can focus more
on handling IO. Note they may still receive mulsitie sync
data unless they are removed from the zone and zonegroup
replication endpoints

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d620ba65121e2a3c418d39823bc7752cd12c9f80)

Conflicts:
src/python-common/ceph/deployment/service_spec.py

4 weeks agomgr/cephadm: fixing logic in cert-store save_cert method 63853/head
Redouane Kachach [Mon, 16 Dec 2024 11:17:50 +0000 (12:17 +0100)]
mgr/cephadm: fixing logic in cert-store save_cert method

the previous code was not saving the certificates correctly, it just
overwritten the same entry reducing all the certificates to only
one. The new logic traverse and save all the certificates from the
cert dictionary.

Fixes: https://tracker.ceph.com/issues/69252
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit b71ec88c13c836e753becf807c07c46ad6076428)

Conflicts:
src/pybind/mgr/cephadm/tests/test_cephadm.py

4 weeks agoosd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects 64073/head
Ronen Friedman [Thu, 19 Jun 2025 15:27:38 +0000 (10:27 -0500)]
osd/scrub: clarify that osd_scrub_auto_repair_num_errors counts objects

'osd_scrub_auto_repair_num_errors' limits the number of damaged objects
that we will try to auto-repair during a scrub. Its documentation
referred to "number of errors", which did not fit the implementation.

Fixes: https://tracker.ceph.com/issues/71754
Fixes: Red Hat BZ2316244
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 680b58ffd0bf5b213ec525f8d783297fb0b14343)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
4 weeks agoMerge pull request #63363 from cbodley/wip-71375-squid
Yuri Weinstein [Fri, 20 Jun 2025 15:38:32 +0000 (08:38 -0700)]
Merge pull request #63363 from cbodley/wip-71375-squid

squid: rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoMerge pull request #63438 from mkogan1/wip-71421-squid
anrao19 [Fri, 20 Jun 2025 15:16:42 +0000 (20:46 +0530)]
Merge pull request #63438 from mkogan1/wip-71421-squid

squid: rgw/d3n: fix valgrind invalid read during exit