]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 weeks agodoc/mgr: edit telegraf.rst 63611/head
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)

7 weeks agoMerge pull request #63580 from zdover23/wip-doc-2025-05-29-backport-63452-to-squid
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

7 weeks agoMerge pull request #63592 from zdover23/wip-doc-2025-05-29-backport-63472-to-squid
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

7 weeks agodoc/mgr: edit rgw.rst 63592/head
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)

7 weeks agodoc/mgr: edit nfs.rst 63580/head
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)

7 weeks agoMerge pull request #63052 from pritha-srivastava/wip-71107-squid
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>
7 weeks agoMerge pull request #63030 from soumyakoduri/wip-skoduri-squid
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>
7 weeks agoMerge pull request #62954 from cbodley/wip-71061-squid
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>
7 weeks agoMerge pull request #62884 from ivancich/wip-70981-squid
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>
7 weeks agoMerge pull request #62740 from jzhu116-bloomberg/wip-70637-squid
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>
7 weeks agoMerge pull request #63535 from zdover23/wip-doc-2025-05-28-backport-63530-to-squid
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

7 weeks agoMerge pull request #63538 from zdover23/wip-doc-2025-05-28-backport-63255-to-squid
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

7 weeks agoMerge pull request #63541 from zdover23/wip-doc-2025-05-28-backport-63253-to-squid
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

7 weeks agoMerge pull request #63544 from zdover23/wip-doc-2025-05-28-backport-63254-to-squid
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

7 weeks agoMerge pull request #63547 from zdover23/wip-doc-2025-05-28-backport-63275-to-squid
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

7 weeks agoMerge pull request #63550 from zdover23/wip-doc-2025-05-28-backport-63419-to-squid
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

7 weeks agodoc/mgr: edit localpool.rst 63550/head
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)

7 weeks agodoc/dev/cephfs-mirroring: edit file 3 of x 63547/head
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)

7 weeks agodoc/cephfs: correct reference structure in fs-volumes.rst 63544/head
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)

7 weeks agodoc/monitoring: correct list formatting 63541/head
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)

7 weeks agodoc/mgr: edit crash.rst 63538/head
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)

7 weeks agodoc/rados/operations: Add settings advice to balancer.rst 63535/head
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)

7 weeks agoMerge pull request #63234 from nbalacha/wip-71240-squid
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>
7 weeks agoMerge pull request #63492 from zdover23/wip-doc-2025-05-27-backport-63420-to-squid
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

7 weeks agoMerge pull request #63495 from zdover23/wip-doc-2025-05-27-backport-62600-to-squid
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"

7 weeks agoMerge pull request #63498 from zdover23/wip-doc-2025-05-27-backport-63463-to-squid
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

7 weeks agoMerge pull request #63501 from zdover23/wip-doc-2025-05-27-backport-63464-to-squid
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

7 weeks agoMerge pull request #63504 from zdover23/wip-doc-2025-05-27-backport-63465-to-squid
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

7 weeks agoMerge pull request #63507 from zdover23/wip-doc-2025-05-27-backport-63370-to-squid
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

7 weeks agoMerge pull request #63510 from zdover23/wip-doc-2025-05-27-backport-63417-to-squid
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

7 weeks agoMerge pull request #63513 from zdover23/wip-doc-2025-05-27-backport-63418-to-squid
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

7 weeks agodoc/mgr: edit iostat.rst 63513/head
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)

7 weeks agodoc/mgr: edit insights.rst 63510/head
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)

7 weeks agodoc/mgr: edit hello.rst 63507/head
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)

7 weeks agodoc/rados: improve markup in cache-tiering.rst 63504/head
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)

7 weeks agodoc/cephfs: correct ill-formatted command 63501/head
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)

7 weeks agodoc/rados: s/enpty/empty/ in pgcalc doc 63498/head
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)

7 weeks agodoc/cephadm: improve "Maintenance Mode" 63495/head
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)

7 weeks agoMerge pull request #62573 from zdover23/wip-doc-2025-03-31-backport-62572-to-squid
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>
7 weeks agoMerge pull request #61614 from zdover23/wip-doc-2025-02-02-backport-61613-to-squid
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>
7 weeks agodoc/mgr: edit mds_autoscaler.rst 63492/head
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)

7 weeks agoMerge pull request #63467 from zdover23/wip-doc-2025-05-26-backport-63371-to-squid
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

7 weeks agodoc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst 63467/head
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)

7 weeks agoMerge pull request #63406 from idryomov/wip-rbd-live-migration-squid
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>
8 weeks agoMerge pull request #63454 from zdover23/wip-doc-2025-05-23-backport-63415-to-squid
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.

8 weeks agodoc/mgr: edit influx.rst. 63454/head
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)

8 weeks agoMerge pull request #63402 from zdover23/wip-doc-2025-05-21-backport-63368-to-squid
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>
8 weeks agolibrbd/migration/NBDStream: abstract out libnbd and add unit tests 63406/head
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)

8 weeks agoqa/suites/rbd: add snippets for migration import from NBD
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)

8 weeks agolibrbd/migration/NBDStream: call nbd_shutdown() in close()
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)

8 weeks agolibrbd/migration/NBDStream: switch to NBD URIs
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)

8 weeks agolibrbd/migration/NBDStream: check for nbd_get_size() errors
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)

8 weeks agolibrbd/migration/NBDStream: introduce from_nbd_errno()
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)

8 weeks agolibrbd/migration/NBDStream: be more thorough around nbd_block_status()
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)

8 weeks agolibrbd/migration: add nbd stream
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)

8 weeks agoqa/workunits/rbd: exercise snap_{name,id} parsing in test_import_native_format()
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)

8 weeks agodoc/rbd: clarify when image_id is expected for import-only migration
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)

8 weeks agolibrbd/migration: add external clusters support
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)

8 weeks agolibrbd/migration: move away from util::create_ioctx() in NativeFormat
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 ]

8 weeks agocommon/config: export CEPH_CONF_FILE_DEFAULT
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)

8 weeks agolibrbd: RefreshParentRequest::m_parent_snap_id is unused
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)

8 weeks agolibrbd: assert on parent in ImageCtx destructor
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)

8 weeks agoqa/tasks/qemu: remove hard-coding of cluster name
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)

8 weeks agoqa/tasks/rbd: support non-default ceph clusters
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)

8 weeks agolibrbd/migration: don't clone when flattening
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)

8 weeks agoMerge pull request #63393 from zdover23/wip-doc-2025-05-21-backport-63365-to-squid
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

8 weeks agoMerge pull request #63396 from zdover23/wip-doc-2025-05-21-backport-63367-to-squid
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

8 weeks agodoc/mgr: edit motd.inc.rst 63402/head
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)

8 weeks agodoc/mgr: edit feature_toggles.inc.rst 63396/head
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)

8 weeks agodoc/mgr: edit debug.inc.rst 63393/head
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)

8 weeks agoMerge pull request #62994 from clwluvw/wip-71041
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>
8 weeks agoMerge pull request #62959 from galsalomon66/squid-s3select
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>
8 weeks agoMerge pull request #61764 from thuvh/wip-69373-squid
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>
8 weeks agoMerge pull request #63337 from zdover23/wip-doc-2025-05-19-backport-63329-to-squid
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

8 weeks agodoc: Fix missing blank line Sphinx warnings 63337/head
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)

2 months agoMerge pull request #63311 from zdover23/wip-doc-2025-05-16-backport-63293-to-squid
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

2 months agoMerge pull request #63315 from zdover23/wip-doc-2025-05-16-backport-63301-to-squid
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

2 months agodoc/mgr: edit dashboard.rst 63315/head
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)

2 months agodoc/radosgw: Use ref for hyperlinking to multisite 63311/head
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)

2 months agoMerge pull request #63298 from zdover23/wip-doc-2025-05-15-backport-63256-to-squid
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

2 months agoMerge pull request #63211 from ceph/squid-rtd
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

2 months agodoc/dev/cephfs-mirroring: edit file 1 of x 63298/head
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)

2 months agoMerge pull request #63054 from shraddhaag/wip-70999-squid
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

2 months agoMerge pull request #62198 from NitzanMordhai/wip-69887-squid
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

2 months agoMerge pull request #63273 from zdover23/wip-doc-2025-05-14-backport-63259-to-squid
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

2 months agodoc/dev/cephfs-mirroring: edit file 2 of x 63273/head
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)

2 months agoMerge pull request #63250 from zdover23/wip-doc-2025-05-13-backport-63237-to-squid
Anthony D'Atri [Tue, 13 May 2025 14:09:15 +0000 (10:09 -0400)]
Merge pull request #63250 from zdover23/wip-doc-2025-05-13-backport-63237-to-squid

squid: doc: fix formatting in cephfs_mirror dev doc

2 months agodoc: fix formatting in cephfs_mirror dev doc 63250/head
Jos Collin [Mon, 12 May 2025 12:42:36 +0000 (18:12 +0530)]
doc: fix formatting in cephfs_mirror dev doc

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit 8280d334b9b3ee98cb1372d91991fa476a89424b)

2 months agoMerge pull request #63187 from rhcs-dashboard/wip-71258-squid
Nizamudeen A [Mon, 12 May 2025 14:22:26 +0000 (19:52 +0530)]
Merge pull request #63187 from rhcs-dashboard/wip-71258-squid

squid: mgr/dashboard: fix make check tests

2 months agoMerge pull request #63229 from zdover23/wip-doc-2025-05-12-backport-63209-to-squid
Anthony D'Atri [Mon, 12 May 2025 13:55:21 +0000 (09:55 -0400)]
Merge pull request #63229 from zdover23/wip-doc-2025-05-12-backport-63209-to-squid

squid: doc/radosgw: Cosmetic and formatting improvements in vault.rst

2 months agorbd: write image mirror status if state is CREATING 63234/head
N Balachandran [Wed, 30 Apr 2025 05:15:13 +0000 (10:45 +0530)]
rbd: write image mirror status if state is CREATING

It can take upto 30s for the image mirror status to be written
to rbd_mirroring on the secondary for a newly created image. This fix
attempts to reduce the time by writing the status to rbd_mirroring even
if the image state is set to CREATING.

Fixes: https://tracker.ceph.com/issues/71138
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit 25a8de9c3db8309387eed3502e781872bc1e035e)

2 months agopybind/mgr: attempt to fix mypy importing from python-common 63187/head
John Mulligan [Wed, 18 Sep 2024 03:21:31 +0000 (20:21 -0700)]
pybind/mgr: attempt to fix mypy importing from python-common

For some reason mypy on python 3.12 can no longer automatically find
imports from python-common. Help it out by expanding the MYPYPATH
value for the tox.ini.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d1c942a98499560bb15c50db4498f12f4916866f)

2 months agodoc/radosgw: Cosmetic and formatting improvements in vault.rst 63229/head
Ville Ojamo [Fri, 9 May 2025 10:15:02 +0000 (17:15 +0700)]
doc/radosgw: Cosmetic and formatting improvements in vault.rst

Use generated "contents" instead of repeating section titles in an
ordered list.

Use Title Case for section titles.

Capitalize consistently "Ceph" and "Object Gateway", "Vault".

Use consistently all caps for acronyms.

Change one entry of "kms" to "SSE-KMS", seems obvious from the context.
Use "certificates" instead of "certs".

Use double backticks for file paths, commands, config options etc.

Improve language in one sentence, several words missing.

Call it consistently "the Object Gateway" and not sometimes "the
Gateway".

Add pre-formatted block for CLI command examples where missing (should
be promptified in the future).

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

2 months ago.github: Fix RTD build retrigger 63211/head
David Galloway [Tue, 6 May 2025 21:31:03 +0000 (17:31 -0400)]
.github: Fix RTD build retrigger

Fixes: https://tracker.ceph.com/issues/70430
Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 27521bf5580d4f878fbf7cafbd854bc6ef94aed4)

2 months agoMerge pull request #63197 from zdover23/wip-doc-2025-05-09-backport-63172-to-squid
Anthony D'Atri [Fri, 9 May 2025 12:45:20 +0000 (08:45 -0400)]
Merge pull request #63197 from zdover23/wip-doc-2025-05-09-backport-63172-to-squid

squid: doc/mgr/ceph_api: edit index.rst

2 months agoMerge pull request #63200 from zdover23/wip-doc-2025-05-08-backport-63173-to-squid
Anthony D'Atri [Fri, 9 May 2025 12:44:06 +0000 (08:44 -0400)]
Merge pull request #63200 from zdover23/wip-doc-2025-05-08-backport-63173-to-squid

squid: doc/mgr: edit alerts.rst

2 months agoMerge pull request #63207 from zdover23/wip-doc-2025-05-09-backport-63084-to-squid
Anthony D'Atri [Fri, 9 May 2025 12:27:59 +0000 (08:27 -0400)]
Merge pull request #63207 from zdover23/wip-doc-2025-05-09-backport-63084-to-squid

squid: doc/mgr: edit administrator.rst

2 months agodoc/mgr: edit administrator.rst 63207/head
Zac Dover [Thu, 1 May 2025 04:12:45 +0000 (14:12 +1000)]
doc/mgr: edit administrator.rst

Edit doc/mgr/administrator.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 859950180f0b7314b097ee9b2f9f192f4cfb3ed4)

2 months agodoc/mgr: edit alerts.rst 63200/head
Zac Dover [Thu, 8 May 2025 02:29:25 +0000 (12:29 +1000)]
doc/mgr: edit alerts.rst

Edit doc/mgr/alerts.rst as part of the project to determine where the
error is in https://github.com/ceph/ceph/pull/62782 that prevents the
Jenkins tests from passing.

This commit adds to the work done in
https://github.com/ceph/ceph/pull/62782 by correcting some of the
English that was present in that PR.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

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

2 months agodoc/mgr/ceph_api: edit index.rst 63197/head
Zac Dover [Thu, 8 May 2025 00:08:06 +0000 (10:08 +1000)]
doc/mgr/ceph_api: edit index.rst

Edit doc/mgr/ceph_api/index.rst as part of the project to determine
where the error is in https://github.com/ceph/ceph/pull/62782 that
prevents the Jenkins tests from passing.

This is a change to one of twenty-five files in
https://github.com/ceph/ceph/pull/62782, and this commit represents one
of what will be at least twenty-five other commits made to track this
error down.

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