Commit Graph

9670 Commits

Author SHA1 Message Date
Zac Dover
987d3163a1 doc/rbd: refine "Create a Block Device Pool"
Refine the "Create a Block Device Pool" section of
doc/rbd/rados-rbd-cmds.rst.

https://tracker.ceph.com/issues/57001

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-07 23:14:02 +10:00
zdover23
b460d283b1
Merge pull request #49283 from zdover23/wip-doc-2022-12-06-rbd-rados-rbd-cmds-create-a-block-device-user-semantics
doc/rbd: refine "Create a Block Device User"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-07 21:29:10 +10:00
Venky Shankar
dfe10da454
Merge pull request #49155 from joscollin/wip-cephfs-top-doc-update-filters
doc: updated doc for Filters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-12-07 10:05:10 +05:30
Zac Dover
51bc43845f doc/rbd: refine "Create a Block Device User"
Refine "Create a Block Device User" in doc/rbd/rados-rbd-cmds.rst.

https://tracker.ceph.com/issues/57001

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-07 13:58:20 +10:00
Ken Dreyer
db4cd72479 doc/cephfs: monospace "ceph fs set-default" command
Fix the rst syntax here to make this command match everything else.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2022-12-06 15:24:43 -05:00
colemitchell
c297b97cfe
Merge pull request #49270 from zdover23/wip-doc-2022-12-05-rados-placment-groups-3-of-3-prompts
doc/rados: add prompts to placement-groups.rst (3)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-06 02:25:12 -05:00
colemitchell
c9d3b23419
Merge pull request #49269 from zdover23/wip-doc-2022-12-05-rados-placment-groups-2-of-3-prompts
doc/rados: add prompts to placement-groups.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-06 02:20:56 -05:00
Zac Dover
eb24e24e99 doc/rados: add prompts to placement-groups.rst (3)
Add unselectable prompts to doc/rados/operations/placement-groups.rst (3
of 3).

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 17:13:44 +10:00
Zac Dover
8574cfb847 doc/rados: add prompts to placement-groups.rst
Add unselectable prompts to doc/rados/operations/placement-groups.rst.
(2 of 3)

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 17:07:18 +10:00
Zac Dover
ec38804d5a doc/rados: add prompts to placement-groups.rst
Add unselectable prompts to doc/rados/operations/placement-groups.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 16:56:02 +10:00
Zac Dover
acdb2a6ee3 doc/glossary: add matter to "RBD"
Clarify that "RBD" and "Ceph Block Device" and "RADOS Block Device" all
refer to the same thing.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 14:15:43 +10:00
Adam King
2bf65fff53
Merge pull request #48874 from senax/ingress_backend_ssl
mgr/cephadm: add ingress support for ssl rgw service

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-12-05 14:35:07 -05:00
Anthony D'Atri
4defc22e33
Merge pull request #49253 from kvanals/update-board-softiron
doc: Update Foundation member for SoftIron
2022-12-05 12:06:16 -05:00
Ilya Dryomov
8780f602a9
Merge pull request #48618 from idryomov/rbd-clone-encryption-part2
librbd: add encryption format support for clones (part 2/2)

Reviewed-by: Mykola Golub <mgolub@suse.com>
Acked-by: Or Ozeri <oro@il.ibm.com>
2022-12-05 17:47:19 +01:00
zdover23
35d70ea256
Merge pull request #49252 from zdover23/wip-doc-2022-12-05-glossary-das
doc/glossary: add DAS

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-06 02:38:53 +10:00
Zac Dover
a1f53a0fc0 doc/glossary: add DAS
Add a definition for "DAS" (directly attached storage).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 02:07:15 +10:00
kvanals
e2423ec0c5 doc: Update Foundation member for SoftIron
Signed-off-by: kvanals <Kenny.VanAlstyne@softiron.com>
2022-12-05 10:59:41 -05:00
krambrod
930fa9150c
doc/cephadm: fix initial-ceph.conf example
Signed-off-by: krambrod <114069812+krambrod@users.noreply.github.com>
2022-12-05 09:36:10 +01:00
colemitchell
a2bc2ab72d
Merge pull request #49241 from zdover23/wip-doc-2022-12-05-rados-ops-monitoring-prompts
doc/rados: add prompts to monitoring.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 22:07:29 -05:00
Zac Dover
e09007c106 doc/rados: add prompts to pg-repair.rst
Add unselectable prompts to doc/rados/operations/pg-repair.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-05 12:44:01 +10:00
Zac Dover
7f2872b776 doc/rados: add prompts to monitoring.rst
Add unselectable prompts to doc/rados/operations/monitoring.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-05 12:30:35 +10:00
Zac Dover
cd8e903c9c doc/rados: add prompts to monitoring-osd-pg.rst
Add unselectable prompts to doc/rados/operations/monitoring-osd-pg.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-05 05:18:36 +10:00
Ilya Dryomov
51d8c526f0 doc/rbd: add clone encryption details and examples
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-04 18:24:06 +01:00
Ilya Dryomov
a27ee2bdf8 rbd, rbd-nbd: make --encryption-format optional
If no --encryption-format specified at all, default to "luks" for each
specified --encryption-passphrase-file.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-04 18:19:19 +01:00
Ilya Dryomov
e62e3b6613 rbd, rbd-nbd: accept "luks", "luks1" and "luks2" formats
Since RBD_ENCRYPTION_FORMAT_LUKS1, RBD_ENCRYPTION_FORMAT_LUKS2
and RBD_ENCRYPTION_FORMAT_LUKS aren't treated the same when loading
encryption anymore, "luks1" and "luks2" formats need to be accepted
in addition to "luks" format.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-04 18:19:19 +01:00
Ilya Dryomov
d642f7804b rbd, rbd-nbd: don't strip trailing newline in passphrase files
One of the stated goals is compatibility with standard LUKS tools,
in particular being able to load encryption on images formatted with
cryptsetup.  cryptsetup doesn't do this and this really interferes
with randomly generated (binary) passphrases.

While at it, open passphrase files as binary -- it communicates the
intent if nothing else on POSIX.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-04 18:19:19 +01:00
Ilya Dryomov
2279ae08f1 librbd: remap resize target size if encryption is loaded
When encryption is loaded, rbd_get_size() and Image::size() return
"effective" size, but rbd_resize() and Image::resize() continue to take
raw size.  The user has to constantly keep these domains in mind.

Saying that resize must be done without encryption loaded is not an
answer because shrinking a clone that has snapshots involves copying up
objects in the affected range (identical to flattening).  In addition,
even if a clone doesn't have snapshots, shrinking it to a size that
isn't an object boundary is going to involve a copyup for the victim
object as well.

To avoid subtle data corruption on shrink, treat resize operation the
same as flatten operation (including on the CLI).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-12-04 18:19:19 +01:00
zdover23
33a021e5fb
Merge pull request #49217 from zdover23/wip-doc-2022-12-04-rados-ops-health-check-5-of-5-prompts
doc/rados: add prompts to health-checks (5 of 5)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:30:27 +10:00
zdover23
e184a1b839
Merge pull request #49216 from zdover23/wip-doc-2022-12-04-rados-ops-health-check-4-of-5-prompts
doc/rados: add prompts to health-checks (4 of 5)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:27:11 +10:00
zdover23
c2e1677e40
Merge pull request #49215 from zdover23/wip-doc-2022-12-04-rados-ops-health-check-3-of-5-prompts
doc/rados: add prompts to health-checks (3 of 5)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:22:18 +10:00
zdover23
6bd6d17a24
Merge pull request #49214 from zdover23/wip-doc-2022-12-04-rados-ops-health-chech-2-of-5-prompts
doc/rados: add prompts to health-checks (2 of 5)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:21:16 +10:00
zdover23
8739a6ab9e
Merge pull request #49213 from zdover23/wip-doc-2022-12-04-rados-ops-health-chech-1-of-4-prompts
doc/rados: add prompts to health-checks (1 of 5)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:15:06 +10:00
zdover23
e81f59dd90
Merge pull request #49212 from zdover23/wip-doc-2022-12-04-rados-ops-erasure-code-shec-prompts
doc/rados: add prompts to erasure-code-shec.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-04 04:09:25 +10:00
Zac Dover
b0851995af doc/rados: add prompts to health-checks (5 of 5)
Add unselectable prompts to doc/rados/operations/health-checks.rst,
fifth 300 lines.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 03:03:53 +10:00
Zac Dover
df16a23bfc doc/rados: add prompts to health-checks (4 of 5)
Add unselectable prompts to doc/rados/operations/health-checks.rst,
fourth 300 lines.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 02:56:31 +10:00
Zac Dover
73e1a29525 doc/rados: add prompts to health-checks (3 of 5)
Add unselectable prompts to doc/rados/operations/health-checks.rst,
third 300 lines.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 02:49:02 +10:00
Zac Dover
c850569e52 doc/rados: add prompts to health-checks (2 of 5)
Add unselectable prompts to doc/rados/operations/health-checks.rst,
second 300 lines.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 02:36:07 +10:00
Zac Dover
cbc334e1dd doc/rados: add prompts to health-checks (1 of 5)
Add unselectable prompts to doc/rados/operations/health-checks.rst,
first 300 lines.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 02:13:08 +10:00
Zac Dover
d6cfb65999 doc/rados: add prompts to erasure-code-shec.rst
Add unselectable prompts to doc/rados/operations/erasure-code-shec.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 01:57:13 +10:00
Zac Dover
fca696cc71 doc/rados: add prompts to erasure-code-lrc.rst
Add unselectable prompts to doc/rados/operations/erasure-code-lrc.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-04 01:28:11 +10:00
zdover23
c2690ec297
Merge pull request #49202 from zdover23/wip-doc-2022-12-01-rados-ops-erasure-code-jerasure-prompts
doc/rados: add prompts to erasure-code-jerasure.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-03 13:10:05 +10:00
zdover23
67f74ecaaa
Merge pull request #49201 from zdover23/wip-doc-2022-12-01-rados-ops-erasure-code-isa-prompts
doc/rados: add prompts to erasure-code-isa

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-03 13:07:32 +10:00
Zac Dover
a35d344f0a doc/rados: add prompts to erasure-code-jerasure.rst
Add unselectable prompts to
doc/rados/operations/erasure-code-jerasure.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-03 02:27:59 +10:00
Zac Dover
7de786ca12 doc/rados: add prompts to erasure-code-isa
Add unselectable prompts to doc/rados/operations/erasure-code-isa.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-03 02:16:43 +10:00
Zac Dover
fe2a38436f doc/rados: add prompts to erasure-code-clay.rst
Add unselectable prompts to doc/rados/operations/erasure-code-clay.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-03 02:11:49 +10:00
zdover23
f4a94fed5e
Merge pull request #49185 from zdover23/wip-doc-2022-12-01-rados-ops-devices-prompts
doc/rados: add prompts to devices.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-02 12:45:41 +10:00
Zac Dover
66ddc41be8 doc/rados: add prompts to devices.rst
Add unselectable prompts to doc/rados/operations/devices.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-02 12:28:58 +10:00
Zac Dover
65fb7165ea doc/rados: add prompts to crush-map.rst
Add unselectable prompts to doc/rados/operations/crush-map.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-02 12:15:52 +10:00
Casey Bodley
ce0bec673c
Merge pull request #48996 from yuvalif/wip-yuval-remove-pubsub
remove pubsub from the RGW

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2022-12-01 09:00:26 -05:00
Zac Dover
ad12da27cc doc/cephadm - remove "danger" admonition
Remove the "Danger!" admonition that warned against upgrading to Pacific
from an older version of Ceph. That admonition was meant to protect
against the issue discussed here: https://tracker.ceph.com/issues/53062.
That issue was fixed in this PR:
https://github.com/ceph/ceph/pull/43793.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-01 17:27:16 +10:00