]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
(cherry picked from commit
803140e92113ee7919b8188ea3677b472d91ac48 )
anrao19 [Thu, 24 Jul 2025 13:38:18 +0000 (19:08 +0530)]
Merge pull request #64200 from ideepika/wip-71153-reef
reef: rgw: make keystone work without admin token(service ac requirement)
Zac Dover [Wed, 23 Jul 2025 23:48:06 +0000 (09:48 +1000)]
Merge pull request #64645 from zdover23/wip-doc-2025-07-23-backport-64640-to-reef
reef: doc/cephfs: edit disaster-recovery.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuri Weinstein [Wed, 23 Jul 2025 20:01:29 +0000 (13:01 -0700)]
Merge pull request #64588 from idryomov/wip-70917-reef
reef: test/rbd: remove unit tests about cache tiering
Reviewed-by: Ramana Raja <rraja@redhat.com>
Anthony D'Atri [Wed, 23 Jul 2025 16:15:12 +0000 (12:15 -0400)]
Merge pull request #64648 from zdover23/wip-doc-2025-07-23-backport-64639-to-reef
reef: doc/radosgw: edit config-ref.rst
Ilya Dryomov [Wed, 23 Jul 2025 14:39:44 +0000 (16:39 +0200)]
Merge pull request #64596 from idryomov/wip-cephadm-rbd-iscsi-ignore-mon-down-reef
reef: qa/rbd/iscsi: ignore MON_DOWN warning in logs
Reviewed-by: Adam King <adking@redhat.com>
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>
(cherry picked from commit
18e9b08393cac7ed8fdb1c65021f74deba3dc44c )
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>
(cherry picked from commit
37df8e43baa1e75587686fd661310dfb4ad30312 )
Zac Dover [Wed, 23 Jul 2025 12:04:42 +0000 (22:04 +1000)]
Merge pull request #64609 from zdover23/wip-doc-2025-07-21-backport-64604-to-reef
reef: doc/cephfs: edit disaster-recovery.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 23 Jul 2025 12:03:53 +0000 (22:03 +1000)]
Merge pull request #64267 from zdover23/wip-doc-2025-06-30-backport-62785-to-reef
reef: pybind/mgr: Fix missing empty lines in mgr_module.py
Reviewed-by: Josh Durgin <jdurgin@ibm.com>
Deepika Upadhyay [Mon, 28 Oct 2024 09:19:52 +0000 (14:49 +0530)]
rgw: make keystone work without admin token(service ac requirement)
Ceph RGW admin credentials must not be a requirement.
Both ec2 auth and keystone token validation work without an admin token.
And the user token verification will use its own token. The only
requirement for the service admin user token is the allow_expired, but
in our case we don't use this parameter.
fixes: https://tracker.ceph.com/issues/68327
Co-authored-by: @kayrus
Signed-off-by: Deepika Upadhyay <deepika.upadhyay@clyso.com>
(cherry picked from commit
55ce1782e159190fd9202b6e270a1a2c470b0626 )
Yuri Weinstein [Tue, 22 Jul 2025 20:37:45 +0000 (13:37 -0700)]
Merge pull request #64195 from idryomov/wip-71838-reef
reef: librbd/migration/QCOWFormat: don't complete read_clusters() inline
Reviewed-by: Ramana Raja <rraja@redhat.com>
J. Eric Ivancich [Tue, 22 Jul 2025 15:13:17 +0000 (11:13 -0400)]
Merge pull request #64311 from ivancich/wip-70824-reef
reef: rgw: add force option to `radosgw-admin object rm ...`
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Ernesto Puerta [Tue, 22 Jul 2025 08:50:41 +0000 (10:50 +0200)]
Merge pull request #64612 from rhcs-dashboard/sys-packages-dashboard-reef
reef: mgr/dashboard: use system packages when running tox
Nizamudeen A [Mon, 17 Mar 2025 05:10:21 +0000 (10:40 +0530)]
mgr/dashboard: sitepackages only for py3
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
6985ed15ce20c24f7fa87c23ac65b28cf544c9b7 )
Nizamudeen A [Thu, 13 Mar 2025 06:47:41 +0000 (12:17 +0530)]
Revert "mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure"
This reverts commit
1f84505f1232dd8445df1a2a819fa000062d3934 .
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
8e6b6cdd5c302577c81aa041ef4b3f494ed717a7 )
Conflicts:
src/pybind/mgr/dashboard/requirements.txt
- only removed the lxml pinning
Nizamudeen A [Wed, 12 Mar 2025 08:32:10 +0000 (14:02 +0530)]
mgr/dashboard: disable saml2 tests when the dep is not there
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
8acf8f7e4fe6d283212154857abd97b6e641de4d )
(cherry picked from commit
740df4666545c1e358757beeceba4bfbeed76e7c )
Conflicts:
src/pybind/mgr/dashboard/controllers/saml2.py
- kept the config options as it is in reef
src/pybind/mgr/dashboard/tox.ini
- kept the file as is in reef
Yuri Weinstein [Mon, 21 Jul 2025 18:36:28 +0000 (11:36 -0700)]
Merge pull request #62403 from adamemerson/wip-70422-reef
reef: rgw: Try to handle unwatch errors sensibly
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Nizamudeen A [Wed, 12 Mar 2025 05:27:29 +0000 (10:57 +0530)]
mgr/dashboard: use system packages when running tox
Fixes: https://tracker.ceph.com/issues/70411
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
ffde8d044a207d304ec8f916e45c98289f740bec )
(cherry picked from commit
604b7253cdc62a3a7fd7a60d4927b09051246f22 )
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>
(cherry picked from commit
891e9cf2492ad250936171e9b510e8df4996faf9 )
Adam King [Wed, 21 May 2025 15:41:06 +0000 (11:41 -0400)]
qa/rbd/iscsi: ignore MON_DOWN warning in logs
These seem to be popping up very briefly and don't
appear to be relevant to what is being tested
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
3b2064e7066fa58e0d812e85a293f74401d295f4 )
Laura Flores [Tue, 8 Jul 2025 18:49:03 +0000 (14:49 -0400)]
test: remove unit tests about cache tiering
Cache tiering was deprecated in the Reef release,
so we are no longer supporting any issues related
to it.
Ref: https://docs.ceph.com/en/latest/rados/operations/cache-tiering/
Fixes: https://tracker.ceph.com/issues/70917
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit
b6dd408c87b384ce88b097f706f324e50fc61ace )
Anthony D'Atri [Fri, 18 Jul 2025 13:17:56 +0000 (09:17 -0400)]
Merge pull request #64497 from zdover23/wip-doc-2025-07-15-backport-63877-to-reef
reef: doc/rados/ops: edit cache-tiering.rst
Zac Dover [Wed, 11 Jun 2025 12:44:32 +0000 (22:44 +1000)]
doc/rados/ops: edit cache-tiering.rst
Add material to doc/rados/operations/cache-tiering.rst, as suggested by
Anthony D'Atri in
https://github.com/ceph/ceph/pull/63745#discussion_r2127887785.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
d3c46820a5fc72391ef46ab4b03bbe867e0e51d2 )
J. Eric Ivancich [Mon, 24 Mar 2025 23:44:20 +0000 (19:44 -0400)]
rgw: clean-up of some code
Comments added and formatting adjusted.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
a84f984d0324e9abc060f166dd626063361a7ab0 )
J. Eric Ivancich [Thu, 3 Apr 2025 00:23:41 +0000 (20:23 -0400)]
rgw: add doc & doc testing for force option on `radosgw-admin object rm ...`
Subject says it all.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
333b5cd1e36c53b69462961046199e69e906f1cc )
J. Eric Ivancich [Mon, 24 Mar 2025 23:45:06 +0000 (19:45 -0400)]
rgw: add force option to `radosgw-admin object rm ...`
The `radosgw-admin object rm ...` sub-command will give up if it
determines that there's an issue with the head object. This can make
it difficult for an admin to clean up a bucket index when there's a
damaged or missing head object.
When the user adds the "--yes-i-really-mean-it" command-line option,
it enables the "force mode". The bucket index entry(ies) will be
removed. If the object being removed is the current version in a
versioned bucket, the appropriate changes to the OLH will take place.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
7e1ac21069e14a4d6c4d4748971943b7c8b8137c )
Anthony D'Atri [Thu, 17 Jul 2025 04:04:42 +0000 (00:04 -0400)]
Merge pull request #64548 from zdover23/wip-doc-2025-07-17-backport-64532-to-reef
reef: doc/radosgw: edit "Lifecycle Settings"
Zac Dover [Wed, 16 Jul 2025 12:11:03 +0000 (22:11 +1000)]
doc/radosgw: edit "Lifecycle Settings"
Edit the section "Lifecycle Settings" in the file
doc/radosgw/config-ref.rst. Remove solecisms and pleonasms and plain old
infelicitious formulations.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
ac2e5f502523d1bf326303e904ccb47236c81fcb )
Anthony D'Atri [Wed, 16 Jul 2025 14:23:07 +0000 (10:23 -0400)]
Merge pull request #64531 from zdover23/wip-doc-2025-07-16-backport-64433-to-reef
reef: doc: update mgr modules notify_types
Nitzan Mordechai [Thu, 10 Jul 2025 10:03:06 +0000 (10:03 +0000)]
doc: update mgr modules notify_types
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit
fc4396d6280fcbf0a95567cff144052d81dcd964 )
Jos Collin [Wed, 16 Jul 2025 07:20:56 +0000 (12:50 +0530)]
Merge pull request #64340 from joscollin/wip-71949-reef
reef: qa: fix multi-fs tests in test_mds_metrics.py
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Anthony D'Atri [Tue, 15 Jul 2025 02:37:22 +0000 (22:37 -0400)]
Merge pull request #64493 from zdover23/wip-doc-2025-07-15-backport-64483-to-reef
reef: doc: add note admonitions in two files
Zac Dover [Mon, 14 Jul 2025 14:40:21 +0000 (00:40 +1000)]
doc: add note admonitions in two files
Add note admonitions when discussing client package support in the
context of OS Recommendations in the following two files:
- doc/cephfs/ceph-dokan.rst
- doc/rbd/rbd-windows.rst
This addresses a change requested by Ilya Dryomov in
https://github.com/ceph/ceph/pull/64374#discussion_r2199756581.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
69d641f0207d803cd9a3c3e102d5b2073e6b0f77 )
SrinivasaBharathKanta [Mon, 14 Jul 2025 22:40:14 +0000 (04:10 +0530)]
Merge pull request #63343 from amathuria/wip-69773-reef
reef: mon/test_mon_osdmap_prune: Use first_pinned instead of first_committed
Anthony D'Atri [Mon, 14 Jul 2025 17:22:52 +0000 (13:22 -0400)]
Merge pull request #64482 from zdover23/wip-doc-2025-07-15-backport-64374-to-reef
reef: doc: Clarify the status of MS Windows client support
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 )
Anthony D'Atri [Mon, 14 Jul 2025 13:29:51 +0000 (09:29 -0400)]
Merge pull request #64473 from zdover23/wip-doc-2025-07-14-backport-64462-to-reef
reef: doc/cephfs: Improve mount-using-fuse.rst
Anthony D'Atri [Mon, 14 Jul 2025 13:29:08 +0000 (09:29 -0400)]
Merge pull request #64476 from zdover23/wip-doc-2025-07-14-backport-63080-to-reef
reef: doc/radosgw: Improve rgw-cache.rst
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 )
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 )
afreen23 [Fri, 11 Jul 2025 15:29:56 +0000 (20:59 +0530)]
Merge pull request #64270 from zdover23/wip-doc-2025-06-30-backport-64164-to-reef
reef: mgr/dashboard: Fix inline markup warning in API documentation
Reviewed-by: Afreen Misbah <afreen@ibm.com>
anrao19 [Fri, 11 Jul 2025 12:53:07 +0000 (18:23 +0530)]
Merge pull request #64312 from ivancich/wip-69409-reef
reef: rgw: fix empty storage class on display of multipart uploads
anrao19 [Fri, 11 Jul 2025 05:45:48 +0000 (11:15 +0530)]
Merge pull request #64281 from mkogan1/wip-71904-reef
reef: qa/rgw: fix perl tests missing Amazon::S3 module
Zac Dover [Thu, 10 Jul 2025 06:21:51 +0000 (16:21 +1000)]
Merge pull request #64397 from zdover23/wip-doc-2025-07-09-backport-64161-to-reef
reef: doc: Document ceph-mgr module configuration options
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
SrinivasaBharathKanta [Wed, 9 Jul 2025 23:30:29 +0000 (05:00 +0530)]
Merge pull request #63805 from badone/wip-tracker-70645-mon_memory_target-fix-reef
Reef: OSDMonitor: Make sure pcm is initialised
SrinivasaBharathKanta [Wed, 9 Jul 2025 23:29:22 +0000 (04:59 +0530)]
Merge pull request #56520 from k0ste/wip-64412-reef
reef: osd: don't send stale hb msgr's addresses in MOSDBoot
Jos Collin [Wed, 9 Jul 2025 04:38:34 +0000 (10:08 +0530)]
Merge pull request #62114 from joscollin/wip-70286-reef
reef: cephfs-journal-tool: fix segfault during 'journal import' from invalid dump file
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Jos Collin [Wed, 9 Jul 2025 04:33:16 +0000 (10:03 +0530)]
Merge pull request #62116 from joscollin/wip-70280-reef
reef: qa: fix test_cephfs_mirror_stats failure
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Anthony D'Atri [Wed, 9 Jul 2025 04:23:01 +0000 (00:23 -0400)]
Merge pull request #64167 from zdover23/wip-doc-2025-06-25-backport-64160-to-reef
reef: doc/dev/config: Document how to use :confval: directive for config op…
Anthony D'Atri [Wed, 9 Jul 2025 04:03:37 +0000 (00:03 -0400)]
Merge pull request #64400 from zdover23/wip-doc-2025-07-09-backport-64162-to-reef
reef: doc: do not depend on typed-ast
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>
(cherry picked from commit
85b6d55b1f4587121d92a061950cd7ad7e13b082 )
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 )
Jos Collin [Wed, 9 Jul 2025 02:05:41 +0000 (07:35 +0530)]
Merge pull request #61773 from joscollin/wip-69926-reef
reef: cephfs-top: exception when terminal size greater than PAD_WIDTH
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Zac Dover [Wed, 9 Jul 2025 02:00:46 +0000 (12:00 +1000)]
Merge pull request #64394 from zdover23/wip-doc-2025-07-09-backport-64334-to-reef
reef: doc/rados: remove clonedata command
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Anthony D'Atri [Wed, 9 Jul 2025 01:58:00 +0000 (21:58 -0400)]
Merge pull request #64218 from zdover23/wip-doc-2025-06-27-backport-62944-to-reef
reef: common/options: fix typo in description
Zac Dover [Wed, 9 Jul 2025 01:52:48 +0000 (11:52 +1000)]
Merge pull request #63772 from zdover23/wip-doc-2025-06-06-backport-63739-to-reef
reef: doc/mgr: edit telemetry (2 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 9 Jul 2025 01:47:51 +0000 (11:47 +1000)]
Merge pull request #64179 from zdover23/wip-doc-2025-06-25-pr64140-reversion-reef-only
doc: Revert "doc/radosgw: add "persistent_topic_size""
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
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 )
Anthony D'Atri [Thu, 3 Jul 2025 22:36:45 +0000 (18:36 -0400)]
Merge pull request #64344 from zdover23/wip-doc-2025-07-04-backport-63779-to-reef
reef: doc/mgr: edit telemetry.rst
Casey Bodley [Thu, 3 Jul 2025 22:16:21 +0000 (18:16 -0400)]
Merge pull request #63979 from cbodley/wip-71689-reef
reef: test/common: unittest_fault_injector omits unit-main target
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Zac Dover [Thu, 3 Jul 2025 22:14:50 +0000 (08:14 +1000)]
Merge pull request #64339 from zdover23/wip-doc-2025-07-03-backport-64319-to-reef
reef: doc/radosgw: add rgw_enable_lc_threads & rgw_enable_gc_threads
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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 )
Anthony D'Atri [Thu, 3 Jul 2025 14:36:35 +0000 (10:36 -0400)]
Merge pull request #64322 from zdover23/wip-doc-2025-07-03-backport-64306-to-reef
reef: doc/rados/ops: add caps restore command
Zac Dover [Thu, 3 Jul 2025 13:17:34 +0000 (23:17 +1000)]
Merge pull request #64148 from zdover23/wip-doc-2025-06-25-backport-64088-to-reef
reef: doc: Fixed a spelling error.
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Zac Dover [Thu, 3 Jul 2025 13:16:51 +0000 (23:16 +1000)]
Merge pull request #64316 from zdover23/wip-doc-2025-07-03-backport-63359-to-reef
reef: doc/radosgw/s3: Document delete-if-unmodified-since
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Jos Collin [Fri, 11 Apr 2025 06:08:20 +0000 (11:38 +0530)]
qa: fix multi-fs tests in test_mds_metrics.py
* Avoids the unnecessary setup, when writing a multi-fs test.
Avoids creating the default filesystem, deleting it and creating the required filesystems, mounting them.
This change uses the filesystems created using 'REQUIRE_BACKUP_FILESYSTEM' for conducting tests.
* This change consequently fixes the old/deleted filesystems appearing in the `perf stats` output,
making it stale output.
* Drops unused function parameters.
Fixes: https://tracker.ceph.com/issues/68001
Fixes: https://tracker.ceph.com/issues/68446
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit
eaf2a8360d0d70b20d5ea61022fdde4f6a9b6464 )
Jos Collin [Fri, 18 Oct 2024 12:39:41 +0000 (18:09 +0530)]
qa: reconfigure only the appropriate client auth caps
* Fix _setup_fs to reconfigure only the appropriate client auth caps,
by avoiding iterating the self.mounts.
* Delete unused filesystems in test_perf_stats_stale_metrics_with_multiple_filesystem.
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit
7ac14cac91c73779d480d42c38f4f99524ceedd7 )
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 )
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 )
Zac Dover [Thu, 3 Jul 2025 05:59:56 +0000 (15:59 +1000)]
Merge pull request #64022 from zdover23/wip-doc-2025-06-19-backport-63983-to-reef
reef: doc/radosgw/admin.rst: explain bucket and uid flags for bucket quota
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 25 Jun 2025 13:31:08 +0000 (23:31 +1000)]
doc: Revert "doc/radosgw: add "persistent_topic_size""
This reverts commit
c25d52a28fc4984d7e42df599026bc7b2064f139 .
Signed-off-by: Zac Dover <zac.dover@proton.me>
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 )
Zac Dover [Thu, 5 Jun 2025 02:06:00 +0000 (12:06 +1000)]
doc/mgr: edit telemetry (2 of x)
Improve the English and the formatting in doc/mgr/telemetry.rst. This
follows up on https://github.com/ceph/ceph/pull/63476.
This commit edits the second hundred lines in doc/mgr/telemetry.rst.
(cherry picked from commit
f8975b05a6cff674ad5fb6ce93c839ca1856464c )
Signed-off-by: Zac Dover <zac.dover@proton.me>
J. Eric Ivancich [Tue, 22 Oct 2024 17:17:14 +0000 (13:17 -0400)]
rgw: fix empty storage class on display of multipart uploads
Some multipart uploads do not have a stored storage class, however the
code is written such that an empty storage class is treated as the
"STANDARD" storage class. So when encoding the storage class in JSON,
use the canonical storage.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit
eab096c188d2430ccc3e865b614b845f1a92af08 )
Zac Dover [Wed, 2 Jul 2025 13:23:25 +0000 (23:23 +1000)]
Merge pull request #63813 from zdover23/wip-doc-2025-06-09-backport-63782-to-reef
reef: doc/radosgw: edit metrics.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 2 Jul 2025 13:21:36 +0000 (23:21 +1000)]
Merge pull request #63810 from zdover23/wip-doc-2025-06-09-backport-63781-to-reef
reef: doc/mgr: edit telemetry.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 2 Jul 2025 13:18:10 +0000 (23:18 +1000)]
Merge pull request #64285 from zdover23/wip-doc-2025-07-01-backport-64239-to-reef
reef: doc/mgr/crash.rst: remove outdated module enabling instructions
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 2 Jul 2025 13:17:49 +0000 (23:17 +1000)]
Merge pull request #64288 from zdover23/wip-doc-2025-07-01-backport-64255-to-reef
reef: doc/rados/configuration: Small improvements in ceph-conf.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 2 Jul 2025 13:10:13 +0000 (23:10 +1000)]
Merge pull request #64171 from zdover23/wip-doc-2025-06-25-backport-64163-to-reef
reef: doc: Fix unterminated inline literal in ceph-conf.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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 )
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 )
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 )
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 )
Radosław Zarzyński [Tue, 7 Mar 2023 12:30:11 +0000 (13:30 +0100)]
osd: don't send stale hb msgr's addresses in MOSDBoot
See comments in the ticket for the RCA.
NOTE: we can't just hold a reference to what `get_myaddrs()`
returns as the `safe_item_history` is involved:
```cpp
template<class T>
class safe_item_history {
//...
T *current = nullptr;
// ...
const T& operator=(const T& other) {
std::lock_guard l(lock);
history.push_back(other);
current = &history.back();
return *current;
}
```
Fixes: https://tracker.ceph.com/issues/58915
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit
81944f60478abe2d4253caaeb4165da5ccffaca1 )
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 )
Ville Ojamo [Fri, 11 Apr 2025 14:54:28 +0000 (21:54 +0700)]
pybind/mgr: Fix missing empty lines in mgr_module.py
The inline function documentation needs an empty
line between description and metadata.
Otherwise automethod from docs renders the metadata
as text together with the description instead of
rendering it as function metadata, e.g. parameters
and return value.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
b521e969b94b93b41a37ef5f9726ed63cb77a97c )
Zac Dover [Thu, 26 Jun 2025 20:28:50 +0000 (06:28 +1000)]
Merge pull request #64114 from zdover23/wip-doc-2025-06-23-backport-64103-to-reef
reef: doc/radosgw: improve "pubsub_push_pending" info
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
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 )
Zac Dover [Thu, 26 Jun 2025 17:42:14 +0000 (03:42 +1000)]
Merge pull request #64156 from zdover23/wip-doc-2025-06-25-backport-64107-to-reef
reef: doc/radosgw: remove "pubsub_event_triggered"
Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuri Weinstein [Thu, 26 Jun 2025 14:52:50 +0000 (07:52 -0700)]
Merge pull request #64093 from idryomov/wip-71335-reef
reef: librbd/cache/pwl: fix memory leak in SyncPoint persist context cleanup
Reviewed-by: Ramana Raja <rraja@redhat.com>
Yuri Weinstein [Thu, 26 Jun 2025 14:51:30 +0000 (07:51 -0700)]
Merge pull request #64091 from idryomov/wip-70951-reef
reef: rbd-mirror: release lock before calling m_async_op_tracker.finish_op()
Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
Yuri Weinstein [Thu, 26 Jun 2025 14:48:57 +0000 (07:48 -0700)]
Merge pull request #63927 from cbodley/wip-71670-reef
reef: qa/rgw: bump maven version in hadoop task to resolve 404 Not Found
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Casey Bodley [Thu, 26 Jun 2025 14:30:54 +0000 (10:30 -0400)]
Merge pull request #64052 from cbodley/wip-71750-reef
reef: fix: the RGW crash caused by special characters
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
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 )
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 )
David Galloway [Wed, 25 Jun 2025 23:37:12 +0000 (19:37 -0400)]
Merge pull request #63616 from ceph/djg-reef-rtd
reef: .github: Fix RTD build retrigger
Casey Bodley [Wed, 25 Jun 2025 19:38:38 +0000 (15:38 -0400)]
Merge pull request #64130 from tchaikov/wip-reef-ceph-spec.in
reef: ceph.spec.in: Remove rgw-restore-bucket-index.8* from packaging
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
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 )
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 )