]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ville Ojamo [Mon, 26 May 2025 10:41:24 +0000 (17:41 +0700)]
doc/mgr: Small improvements in rgw.rst
Use double backticks consistently for module name, CLI commands and
parameters etc.
Use title case in section titles and underline them only until end of
title text.
Use "command line" instead of "cmd line" in text.
Capitalize RGW consistently.
Delete one paragraph that included a strange out of place text fragment.
Call it "Manager" consistently instead of "MGR" in text one time.
Improve language in CA cert upgrade.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
7a3c6b563bb39e2adde4d3211cb603161fd46f02 )
Zac Dover [Fri, 30 May 2025 21:49:06 +0000 (07:49 +1000)]
Merge pull request #63589 from zdover23/wip-doc-2025-05-29-backport-63471-to-squid
squid: doc/mgr: edit prometheus.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Fri, 30 May 2025 18:01:04 +0000 (04:01 +1000)]
Merge branch 'squid' into wip-doc-2025-05-29-backport-63471-to-squid
Signed-off-by: Zac Dover <zac.dover@proton.me>
Anthony D'Atri [Fri, 30 May 2025 16:03:49 +0000 (12:03 -0400)]
Merge pull request #63577 from zdover23/wip-doc-2025-05-29-backport-63451-to-squid
squid: doc/mgr: edit modules.rst.
Anthony D'Atri [Fri, 30 May 2025 15:58:04 +0000 (11:58 -0400)]
Merge pull request #63586 from zdover23/wip-doc-2025-05-29-backport-63470-to-squid
squid: doc/mgr: edit progress.rst
Anthony D'Atri [Fri, 30 May 2025 15:57:37 +0000 (11:57 -0400)]
Merge pull request #63583 from zdover23/wip-doc-2025-05-29-backport-63469-to-squid
squid: doc/mgr: edit orchestrator.rst
Anthony D'Atri [Fri, 30 May 2025 14:23:27 +0000 (10:23 -0400)]
Merge pull request #63611 from zdover23/wip-doc-2025-05-30-backport-63475-to-squid
squid: doc/mgr: edit telegraf.rst
Zac Dover [Fri, 30 May 2025 13:01:36 +0000 (23:01 +1000)]
Merge pull request #62930 from zdover23/wip-doc-2025-04-23-backport-62696-to-squid
squid: doc/mgr: Improve prometheus.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Fri, 30 May 2025 12:56:24 +0000 (22:56 +1000)]
Merge pull request #63448 from zdover23/wip-doc-2025-05-23-backport-63446-to-squid
squid: doc/radosgw: Cosmetic improvements in cloud-transition.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Mon, 26 May 2025 04:42:59 +0000 (14:42 +1000)]
doc/mgr: edit telegraf.rst
Edit doc/mgr/telegraf.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1da172872792d797875ee99e97842414d9c2bb5e )
Anthony D'Atri [Thu, 29 May 2025 14:10:42 +0000 (10:10 -0400)]
Merge pull request #63580 from zdover23/wip-doc-2025-05-29-backport-63452-to-squid
squid: doc/mgr: edit nfs.rst
Anthony D'Atri [Thu, 29 May 2025 14:04:30 +0000 (10:04 -0400)]
Merge pull request #63592 from zdover23/wip-doc-2025-05-29-backport-63472-to-squid
squid: doc/mgr: edit rgw.rst
Zac Dover [Sun, 25 May 2025 23:57:40 +0000 (09:57 +1000)]
doc/mgr: edit rgw.rst
Edit doc/mgr/rgw.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e7f2a4b5b22280b32800930a5707791360e68f59 )
Zac Dover [Sun, 25 May 2025 23:52:17 +0000 (09:52 +1000)]
doc/mgr: edit prometheus.rst
Edit doc/mgr/prometheus.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
7cae041f46b010694c6c40b31e36719af1f3fb26 )
Zac Dover [Sun, 25 May 2025 23:45:58 +0000 (09:45 +1000)]
doc/mgr: edit progress.rst
Edit doc/mgr/progress.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
9bada3be2f49377bec06f4a270dea7174777b763 )
Zac Dover [Sun, 25 May 2025 23:40:31 +0000 (09:40 +1000)]
doc/mgr: edit orchestrator.rst
Edit doc/mgr/orchestrator.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
31ce3058fbc06709759e4c129a1af8678b257a6e )
Zac Dover [Fri, 23 May 2025 10:54:58 +0000 (20:54 +1000)]
doc/mgr: edit nfs.rst
Edit doc/mgr/nfs.rst. Improve some of the English.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
This commit and the PR of which it is a part includes the changes made
in https://github.com/ceph/ceph/pull/62782 and some corrections to
glaring grammatical errors. However, this file could use a careful
grammar pass.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1c2544d8e1df8b9fcd53617f2b5cb1d6a5814f22 )
Zac Dover [Fri, 23 May 2025 10:24:01 +0000 (20:24 +1000)]
doc/mgr: edit modules.rst.
Edit doc/mgr/modules.rst. Improve some of the English.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
This commit and the PR of which it is a part includes the changes made
in https://github.com/ceph/ceph/pull/62782 and some corrections to
glaring grammatical errors. However, this file could use a careful
grammar pass. As it currently stands, it contains run-on sentences and
English that is acceptable in conversation but not acceptable in written
communication.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1818e48abbb6853817c626fac4a32cace1b5ebc0 )
Yuri Weinstein [Wed, 28 May 2025 21:15:59 +0000 (14:15 -0700)]
Merge pull request #63052 from pritha-srivastava/wip-71107-squid
squid: rgw/sts: Implementation of validating JWT using modulus and exponent
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Yuri Weinstein [Wed, 28 May 2025 21:14:56 +0000 (14:14 -0700)]
Merge pull request #63030 from soumyakoduri/wip-skoduri-squid
[squid] RGW backports
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Yuri Weinstein [Wed, 28 May 2025 21:13:57 +0000 (14:13 -0700)]
Merge pull request #62954 from cbodley/wip-71061-squid
squid: qa/rgw: run verify tests with garbage collection disabled
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Yuri Weinstein [Wed, 28 May 2025 21:13:28 +0000 (14:13 -0700)]
Merge pull request #62884 from ivancich/wip-70981-squid
squid: rgw: prevent crash in `radosgw-admin bucket object shard ...`
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Yuri Weinstein [Wed, 28 May 2025 21:12:58 +0000 (14:12 -0700)]
Merge pull request #62740 from jzhu116-bloomberg/wip-70637-squid
squid: rgw: revert PR #41897 to allow multiple delete markers to be created
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Anthony D'Atri [Wed, 28 May 2025 13:40:49 +0000 (09:40 -0400)]
Merge pull request #63535 from zdover23/wip-doc-2025-05-28-backport-63530-to-squid
squid: doc/rados/operations: Add settings advice to balancer.rst
Anthony D'Atri [Wed, 28 May 2025 13:39:32 +0000 (09:39 -0400)]
Merge pull request #63538 from zdover23/wip-doc-2025-05-28-backport-63255-to-squid
squid: doc/mgr: edit crash.rst
Anthony D'Atri [Wed, 28 May 2025 13:38:26 +0000 (09:38 -0400)]
Merge pull request #63541 from zdover23/wip-doc-2025-05-28-backport-63253-to-squid
squid: doc/monitoring: correct list formatting
Anthony D'Atri [Wed, 28 May 2025 13:37:32 +0000 (09:37 -0400)]
Merge pull request #63544 from zdover23/wip-doc-2025-05-28-backport-63254-to-squid
squid: doc/cephfs: correct reference structure in fs-volumes.rst
Anthony D'Atri [Wed, 28 May 2025 13:36:15 +0000 (09:36 -0400)]
Merge pull request #63547 from zdover23/wip-doc-2025-05-28-backport-63275-to-squid
squid: doc/dev/cephfs-mirroring: edit file 3 of x
Anthony D'Atri [Wed, 28 May 2025 13:34:56 +0000 (09:34 -0400)]
Merge pull request #63550 from zdover23/wip-doc-2025-05-28-backport-63419-to-squid
squid: doc/mgr: edit localpool.rst
Zac Dover [Thu, 22 May 2025 06:55:52 +0000 (16:55 +1000)]
doc/mgr: edit localpool.rst
Edit doc/mgr/localpool.rst. Improve the English where necessary.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
9e7246b74075da557012b0744167011ca43eedb1 )
Zac Dover [Wed, 14 May 2025 06:14:07 +0000 (16:14 +1000)]
doc/dev/cephfs-mirroring: edit file 3 of x
Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in
https://github.com/ceph/ceph/pull/63237/files#r2085886075.
This commit edits the third quarter of the doc/dev/cephfs-mirroring.rst
file. This commit edits down to the line beginning "`Peers` section in
the command output".
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
3915238f21cd82896e6cda9cc90b68fee5d12750 )
Zac Dover [Tue, 13 May 2025 05:58:57 +0000 (15:58 +1000)]
doc/cephfs: correct reference structure in fs-volumes.rst
Correct the links to cross-references in the cases of the following two
directives:
1. pause-clone-threads
2. pause-purge-threads
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e59364f152847eabbedfe7fc72dfb66e7378b72b )
(cherry picked from commit
2c76845a2108f449e1295aebce02a97e04a64b6a )
Zac Dover [Tue, 13 May 2025 05:30:07 +0000 (15:30 +1000)]
doc/monitoring: correct list formatting
Correct list formatting in doc/monitoring/index.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
b7889dc4f088ce2a5fa8165c21fa2d0a75700f56 )
Zac Dover [Tue, 13 May 2025 06:17:39 +0000 (16:17 +1000)]
doc/mgr: edit crash.rst
Edit doc/mgr/crash.rst. Add prompts and correct some of the inelegant
English present in the file.
This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.
Credit for this initiative should go to Ville Ojamo.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
aa2d9f98676928df02f898512f6eedc7c2bccd69 )
Anthony D'Atri [Tue, 27 May 2025 19:00:59 +0000 (15:00 -0400)]
doc/rados/operations: Add settings advice to balancer.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
f188003530e55f6ac46ab3d56c53fab65cdb7e7c )
Yuri Weinstein [Tue, 27 May 2025 17:46:56 +0000 (10:46 -0700)]
Merge pull request #63234 from nbalacha/wip-71240-squid
squid: cls/rbd: write image mirror status if state is CREATING
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Anthony D'Atri [Tue, 27 May 2025 14:27:49 +0000 (10:27 -0400)]
Merge pull request #63492 from zdover23/wip-doc-2025-05-27-backport-63420-to-squid
squid: doc/mgr: edit mds_autoscaler.rst
Anthony D'Atri [Tue, 27 May 2025 14:26:12 +0000 (10:26 -0400)]
Merge pull request #63495 from zdover23/wip-doc-2025-05-27-backport-62600-to-squid
squid: doc/cephadm: improve "Maintenance Mode"
Anthony D'Atri [Tue, 27 May 2025 14:25:21 +0000 (10:25 -0400)]
Merge pull request #63498 from zdover23/wip-doc-2025-05-27-backport-63463-to-squid
squid: doc/rados: s/enpty/empty/ in pgcalc doc
Anthony D'Atri [Tue, 27 May 2025 14:24:17 +0000 (10:24 -0400)]
Merge pull request #63501 from zdover23/wip-doc-2025-05-27-backport-63464-to-squid
squid: doc/cephfs: correct ill-formatted command
Anthony D'Atri [Tue, 27 May 2025 14:23:17 +0000 (10:23 -0400)]
Merge pull request #63504 from zdover23/wip-doc-2025-05-27-backport-63465-to-squid
squid: doc/rados: improve markup in cache-tiering.rst
Anthony D'Atri [Tue, 27 May 2025 14:21:32 +0000 (10:21 -0400)]
Merge pull request #63507 from zdover23/wip-doc-2025-05-27-backport-63370-to-squid
squid: doc/mgr: edit hello.rst
Anthony D'Atri [Tue, 27 May 2025 14:20:09 +0000 (10:20 -0400)]
Merge pull request #63510 from zdover23/wip-doc-2025-05-27-backport-63417-to-squid
squid: doc/mgr: edit insights.rst
Anthony D'Atri [Tue, 27 May 2025 14:09:47 +0000 (10:09 -0400)]
Merge pull request #63513 from zdover23/wip-doc-2025-05-27-backport-63418-to-squid
squid: doc/mgr: edit iostat.rst
Zac Dover [Thu, 22 May 2025 06:48:49 +0000 (16:48 +1000)]
doc/mgr: edit iostat.rst
Edit doc/mgr/iostat.rst. Improve the English where necessary.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
98708a7f7f3c470758063e21e840393440450381 )
Zac Dover [Thu, 22 May 2025 06:41:38 +0000 (16:41 +1000)]
doc/mgr: edit insights.rst
Edit doc/mgr/insights.rst. Improve the English where necessary.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
31d7dac8ff62ca31ffe86d8ef07a6f16047f2a64 )
Zac Dover [Tue, 20 May 2025 06:10:43 +0000 (16:10 +1000)]
doc/mgr: edit hello.rst
Edit doc/mgr/hello.rst. This includes the rewriting of sentences so that
they now appear in grammatically-correct English.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
87a375c20fcf2366b5f4b4178e9d89a2fba19585 )
Zac Dover [Sun, 25 May 2025 23:19:38 +0000 (09:19 +1000)]
doc/rados: improve markup in cache-tiering.rst
Correct ill-formatted markup in cache-tiering.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
2c3815aadb45eb607608e6390a48e1eaa5e4f034 )
Zac Dover [Sun, 25 May 2025 23:09:38 +0000 (09:09 +1000)]
doc/cephfs: correct ill-formatted command
Correct a command that was broken across two lines, causing the argument
of an option to appear as though it was a command.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
bd4e8d8f03a8c39191ad1b7683e7dd1bea4105f1 )
Zac Dover [Sun, 25 May 2025 23:05:20 +0000 (09:05 +1000)]
doc/rados: s/enpty/empty/ in pgcalc doc
s/enpty/empty/ in doc/rados/operations/pgcalc/index.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
50dc9f1a04c13faa3d5e7971ec7f0724ddf70709 )
Zac Dover [Tue, 1 Apr 2025 10:25:46 +0000 (20:25 +1000)]
doc/cephadm: improve "Maintenance Mode"
Improve the English in the section "Maintenance Mode" in the file
doc/cephadm/host-management.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
2d4ee6aea3a3003eff910feb130110a6588fb384 )
Zac Dover [Tue, 27 May 2025 03:25:07 +0000 (13:25 +1000)]
Merge pull request #62573 from zdover23/wip-doc-2025-03-31-backport-62572-to-squid
squid: doc/rados/operations: Improve erasure-code.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Tue, 27 May 2025 03:18:14 +0000 (13:18 +1000)]
Merge pull request #61614 from zdover23/wip-doc-2025-02-02-backport-61613-to-squid
squid: doc/architecture: remove sentence
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Thu, 22 May 2025 07:05:54 +0000 (17:05 +1000)]
doc/mgr: edit mds_autoscaler.rst
Edit mds_autoscaler.rst. Improve the English where necessary.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
efc438bd9f5753b42c74bf8f53ff94ebba1d4fb8 )
Anthony D'Atri [Mon, 26 May 2025 00:21:23 +0000 (20:21 -0400)]
Merge pull request #63467 from zdover23/wip-doc-2025-05-26-backport-63371-to-squid
squid: doc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst
Ville Ojamo [Tue, 20 May 2025 06:10:18 +0000 (13:10 +0700)]
doc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst
Don't format an unordered list as preformatted block.
Fix (not linked) reference to a section name that doesn't exist.
Don't call systemd unit files "systemctl unit files", add an "and"
between them.
Clarify by means of inline formatting and whitespace that config value
is "60" and the unit for that is seconds (as opposed to value being
"60s").
Use double backticks consistently when listing commands, file names or
paths, command parameters, syntaxes, etc.
Use star for inline italic instead of single backtick (to differentiate
from the previous).
Don't use double backticks for "cephadm" when talking about the concept.
Don't capitalize a few words that didn't need it.
Capitalize table data for consistency.
All caps for "MDS".
Small updates to language in text.
Call it "cephfs-mirror" everywhere and not "cephfs_mirror" at one place.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
2a1558a543bd047729c96d6a86232adc6c3ee1c5 )
Ilya Dryomov [Sun, 25 May 2025 20:29:10 +0000 (22:29 +0200)]
Merge pull request #63406 from idryomov/wip-rbd-live-migration-squid
squid: librbd/migration: add external clusters support + NBD stream
Reviewed-by: Ramana Raja <rraja@redhat.com>
Anthony D'Atri [Fri, 23 May 2025 12:25:09 +0000 (08:25 -0400)]
Merge pull request #63454 from zdover23/wip-doc-2025-05-23-backport-63415-to-squid
squid: doc/mgr: edit influx.rst.
Zac Dover [Thu, 22 May 2025 06:27:40 +0000 (16:27 +1000)]
doc/mgr: edit influx.rst.
Edit doc/mgr/influx.rst.
This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
32bdcaab3c4cad830fa05d192a35954ce846a9ae )
Zac Dover [Fri, 23 May 2025 11:02:32 +0000 (21:02 +1000)]
Merge pull request #63402 from zdover23/wip-doc-2025-05-21-backport-63368-to-squid
squid: doc/mgr: edit motd.inc.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Ville Ojamo [Fri, 23 May 2025 07:29:05 +0000 (14:29 +0700)]
doc/radosgw: Cosmetic improvements in cloud-transition.rst
Indent text that should belong to list items so they are formatted as
list items.
Add missing full stop for a few sentences.
Move "the" outside of inline preformatted.
Format S3 API operation name with inline preformatted which seems
common.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
863d57de735b3ad2d22adf065d86a92fc6b57261 )
Ilya Dryomov [Thu, 5 Sep 2024 13:43:07 +0000 (15:43 +0200)]
librbd/migration/NBDStream: abstract out libnbd and add unit tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
6fd11c0276dc3f0b2349e42d877d7da692161bc9 )
Ilya Dryomov [Tue, 3 Sep 2024 15:03:55 +0000 (17:03 +0200)]
qa/suites/rbd: add snippets for migration import from NBD
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
3260b8fbea9257f12eb04a59af2ebb6f46042d82 )
Ilya Dryomov [Mon, 2 Sep 2024 20:21:23 +0000 (22:21 +0200)]
librbd/migration/NBDStream: call nbd_shutdown() in close()
Avoid warnings like
qemu-nbd: Disconnect client, due to: Failed to read request:
Unexpected end-of-file before all bytes were read
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
e1418e1975753bd3b5fbb7af88e361d3bbf7a1b6 )
Ilya Dryomov [Mon, 2 Sep 2024 20:17:40 +0000 (22:17 +0200)]
librbd/migration/NBDStream: switch to NBD URIs
This removes the constraint on the transport being TCP, allowing to
use a Unix domain socket or other options. It also allows specifying
export names which a) are needed in case of serving different content
on different exports and b) some servers may require regardless.
Additionally, NBD URIs are future proof as all that NBDStream needs to
do is forward the string to libnbd.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
90b55cfdc25e9ad5247f076ff48a80e91d907adb )
Ilya Dryomov [Mon, 2 Sep 2024 20:14:27 +0000 (22:14 +0200)]
librbd/migration/NBDStream: check for nbd_get_size() errors
nbd_get_size() can fail with EOVERFLOW and possibly other errors.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
d6d308003b2c291f28c0c9defd4895c76137f89c )
Ilya Dryomov [Mon, 2 Sep 2024 20:11:29 +0000 (22:11 +0200)]
librbd/migration/NBDStream: introduce from_nbd_errno()
Errors returned by nbd_get_errno() can't be used to complete Contexts
directly because a) these errors are positive while complete() in most
cases expects a negative error and b) nbd_get_errno() can return 0 even
after libnbd call fails (i.e. returns -1).
Introduce a helper with EIO as a default/fallback error.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
1b12f4603e5a5137e48b795565d7d807b73158ec )
Ilya Dryomov [Sun, 25 Aug 2024 11:10:58 +0000 (13:10 +0200)]
librbd/migration/NBDStream: be more thorough around nbd_block_status()
nbd_block_status() is specified to be really loose: it can return
more status (go beyond the requested range), less status (cover only
some part of the requested range) or nothing at all. The former would
likely violate some assumptions in ObjectCopyRequest, while the latter
would lead to straight data corruption -- parent blocks that weren't
covered would never get copied up into the destination image.
On top of that, the current implementation is very suboptimal.
Because only "nr_entries == 2" responses are effectively processed,
any extent which has a small amount of data and is otherwise zeroed
(e.g. 8K of data in a 4M object) gets listed as DATA. A copyup for
such an object would write 4M worth of data instead of 8K, consuming
space in the destination image unnecessarily.
Also, it's unclear whether zero-sized entries can be returned.
Currently, if it happens we would hit an assert in interval_map.
This fixes all of these issues.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
d52bd80f1f9daed51e1cdac142b07fcb9dec8615 )
Effi Ofer [Tue, 18 Jan 2022 12:43:32 +0000 (14:43 +0200)]
librbd/migration: add nbd stream
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Effi Ofer <effio@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
dc8eed68ce58077433e38317f20f3a96ec81f467 )
Ilya Dryomov [Wed, 21 Aug 2024 19:16:30 +0000 (21:16 +0200)]
qa/workunits/rbd: exercise snap_{name,id} parsing in test_import_native_format()
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
4a6800f1468df5a33802e15c9ea5d7c3ce8ddf2a )
Ilya Dryomov [Sat, 17 Aug 2024 08:28:50 +0000 (10:28 +0200)]
doc/rbd: clarify when image_id is expected for import-only migration
"optional if image in trash" can be easily interpreted as "required if
image not in trash".
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
175ca1e0f0928eed70a735c980c7619214a12cb5 )
Ilya Dryomov [Fri, 16 Aug 2024 17:09:39 +0000 (19:09 +0200)]
librbd/migration: add external clusters support
This commit extends NativeFormat (aka migration where the migration
source is an RBD image) to support external Ceph clusters, limited to
import-only mode.
Co-authored-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
293d523ea69aaf1fa5c372f058f4426d49a3e196 )
Ilya Dryomov [Mon, 5 Aug 2024 15:52:10 +0000 (17:52 +0200)]
librbd/migration: move away from util::create_ioctx() in NativeFormat
This is another step towards supporting migration from external
clusters, where creating an IoCtx from a Rados instance that has
nothing to do with dst_io_ctx would be needed. It also allows to
get rid of a pool lookup in the middle of parsing code.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
7986662157491419d366de3dd0070553abb9e1c8 )
Conflicts:
src/librbd/migration/NativeFormat.cc [ commit
8e58a52a408b
("librbd/migration: don't include ImageState.h in formats")
was backported to squid out of order ]
Ilya Dryomov [Fri, 16 Aug 2024 12:12:38 +0000 (14:12 +0200)]
common/config: export CEPH_CONF_FILE_DEFAULT
It used to be exported until commit
318c62f8ae16 ("common/config:
cleanup remove some unused macros"). Having CEPH_CONF_FILE_DEFAULT
avaialable is handy to prevent parse_config_files() from picking up
CEPH_CONF environment variable.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
57a8c535ccad35a9f6e11e8976bc32f390ad341c )
Ilya Dryomov [Wed, 14 Aug 2024 16:36:57 +0000 (18:36 +0200)]
librbd: RefreshParentRequest::m_parent_snap_id is unused
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
df2189acc5dd10e2741a8bdcb891b4f68bdac6b1 )
Ilya Dryomov [Wed, 14 Aug 2024 17:42:09 +0000 (19:42 +0200)]
librbd: assert on parent in ImageCtx destructor
... and switch to in-class initializers while at it.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
23cd20e0d5523efaf6b925df378bb2dd865729aa )
Or Ozeri [Mon, 6 Nov 2023 11:56:27 +0000 (13:56 +0200)]
qa/tasks/qemu: remove hard-coding of cluster name
This commit allows running the qemu task on an arbitrary cluster name.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
409d36c7087e1e12dd2ad321c39dc26b3271582f )
Or Ozeri [Wed, 15 Nov 2023 09:47:54 +0000 (11:47 +0200)]
qa/tasks/rbd: support non-default ceph clusters
This commit allows running the rbd task on an arbitrary cluster name.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
4f8dc834cc6cfb006a10fe4b3e715df5e720f6fe )
Or Ozeri [Tue, 31 Jan 2023 11:08:22 +0000 (13:08 +0200)]
librbd/migration: don't clone when flattening
When the flatten flag is set, instead of creating the
destination image by cloning, create it independently,
as the parent relation is unnecessary in this case.
This will be particularly useful when the migration source
is located in an external Ceph cluster, which will soon be
supported.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
1ee644d97104c9caaa83918b98b388888fc5497b )
Anthony D'Atri [Wed, 21 May 2025 14:41:27 +0000 (10:41 -0400)]
Merge pull request #63393 from zdover23/wip-doc-2025-05-21-backport-63365-to-squid
squid: doc/mgr: edit debug.inc.rst
Anthony D'Atri [Wed, 21 May 2025 14:40:12 +0000 (10:40 -0400)]
Merge pull request #63396 from zdover23/wip-doc-2025-05-21-backport-63367-to-squid
squid: doc/mgr: edit feature_toggles.inc.rst
Zac Dover [Tue, 20 May 2025 05:44:48 +0000 (15:44 +1000)]
doc/mgr: edit motd.inc.rst
Edit doc/mgr/dashboard_plugins/motd.inc.rst.
This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
8661509c16441d60778bc084df8231daa149a04b )
Zac Dover [Tue, 20 May 2025 05:37:55 +0000 (15:37 +1000)]
doc/mgr: edit feature_toggles.inc.rst
Edit doc/mgr/dashboard_plugins/features_toggles.inc.rst.
This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
18e4ca258194238699649857f5f0ba195b67dea2 )
Zac Dover [Tue, 20 May 2025 05:29:23 +0000 (15:29 +1000)]
doc/mgr: edit debug.inc.rst
Edit doc/mgr/dashboard_plugins/debug.inc.rst.
This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/63255.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1e87aa66b9de0a4e74bb4b1fbd806d974e0e8dcf )
Yuri Weinstein [Mon, 19 May 2025 14:37:03 +0000 (07:37 -0700)]
Merge pull request #62994 from clwluvw/wip-71041
squid: rgw: skip empty check on non-owned buckets by zonegroup
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuri Weinstein [Mon, 19 May 2025 14:36:31 +0000 (07:36 -0700)]
Merge pull request #62959 from galsalomon66/squid-s3select
squid: rgw/s3select
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Yuri Weinstein [Mon, 19 May 2025 14:34:39 +0000 (07:34 -0700)]
Merge pull request #61764 from thuvh/wip-69373-squid
squid: rgw: allow send bucket notification to multiple brokers of kafka cluster
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Anthony D'Atri [Mon, 19 May 2025 14:06:07 +0000 (07:06 -0700)]
Merge pull request #63337 from zdover23/wip-doc-2025-05-19-backport-63329-to-squid
squid: doc: Fix missing blank line Sphinx warnings
Ville Ojamo [Sun, 18 May 2025 05:25:07 +0000 (12:25 +0700)]
doc: Fix missing blank line Sphinx warnings
Fix four warnings from Sphinx about missing blank line after explicit
markup.
Indent content in list items correctly, fixing formatting errors.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
5e1b3cd566fd700b36001551d1c7e092fc850def )
Anthony D'Atri [Sat, 17 May 2025 03:51:27 +0000 (23:51 -0400)]
Merge pull request #63311 from zdover23/wip-doc-2025-05-16-backport-63293-to-squid
squid: doc/radosgw: Use ref for hyperlinking to multisite
Anthony D'Atri [Fri, 16 May 2025 06:47:27 +0000 (02:47 -0400)]
Merge pull request #63315 from zdover23/wip-doc-2025-05-16-backport-63301-to-squid
squid: doc/mgr: edit dashboard.rst
Zac Dover [Thu, 15 May 2025 13:24:58 +0000 (23:24 +1000)]
doc/mgr: edit dashboard.rst
Edit doc/mgr/crash.rst. Add prompts.
This changes eighty-nine prompts. Because this makes so many changes,
all other edits included in https://github.com/ceph/ceph/pull/63255 will
be made in a separate commit. This done for the sake of the patience of
the reviewers (probably Anthony, if history is any guide).
This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/63255.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
1f587883a671775b44b656cf6b7c641d02319b5f )
Ville Ojamo [Thu, 15 May 2025 09:46:21 +0000 (16:46 +0700)]
doc/radosgw: Use ref for hyperlinking to multisite
Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Update to use existing label in multisite.rst.
- Remove unused "target definitions".
Also use existing label for linking from multisite.rst.
Fix a broken link within multisite.rst.
The rendered PR should look the same as the old docs, only differing in
the source RST.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
e296c756ca191753080cb65e3df4bf3bb160398b )
Anthony D'Atri [Thu, 15 May 2025 15:57:33 +0000 (11:57 -0400)]
Merge pull request #63298 from zdover23/wip-doc-2025-05-15-backport-63256-to-squid
squid: doc/dev/cephfs-mirroring: edit file 1 of x
David Galloway [Thu, 15 May 2025 13:37:54 +0000 (09:37 -0400)]
Merge pull request #63211 from ceph/squid-rtd
squid: .github: Fix RTD build retrigger
Zac Dover [Tue, 13 May 2025 06:31:42 +0000 (16:31 +1000)]
doc/dev/cephfs-mirroring: edit file 1 of x
Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in https://github.com/ceph/ceph/pull/63237/files#r2085886075.
This commit edits the first quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
e9a27051a7c0f4884e685a4105e45273aef0abe0 )
SrinivasaBharathKanta [Thu, 15 May 2025 10:33:03 +0000 (16:03 +0530)]
Merge pull request #63054 from shraddhaag/wip-70999-squid
squid: qa/suites/orch/cephadm: add PG_DEGRADED to ignorelist
SrinivasaBharathKanta [Thu, 15 May 2025 10:32:29 +0000 (16:02 +0530)]
Merge pull request #62198 from NitzanMordhai/wip-69887-squid
squid: dencoder tests fix type backwards incompatible checks
Anthony D'Atri [Wed, 14 May 2025 10:54:35 +0000 (06:54 -0400)]
Merge pull request #63273 from zdover23/wip-doc-2025-05-14-backport-63259-to-squid
squid: doc/dev/cephfs-mirroring: edit file 2 of x
Zac Dover [Tue, 13 May 2025 06:58:39 +0000 (16:58 +1000)]
doc/dev/cephfs-mirroring: edit file 2 of x
Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in
https://github.com/ceph/ceph/pull/63237/files#r2085886075.
This commit edits the second quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
0768ef3fcab69392635d32ed6c4c7051b27afd37 )