Skip to content

Commit d18dbe4

Browse files
authored
Merge pull request #1092 from stackhpc/2023.1-ceph-docs
2023.1: Improvements to Ceph docs & more examples
2 parents 7dbec39 + 595e916 commit d18dbe4

File tree

2 files changed

+27
-14
lines changed

2 files changed

+27
-14
lines changed

doc/source/configuration/cephadm.rst

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
================
2-
Cephadm & Kayobe
3-
================
1+
====
2+
Ceph
3+
====
44

55
This section describes how to use the Cephadm integration included in StackHPC
6-
Kayobe configuration since Xena to deploy Ceph.
6+
Kayobe configuration to deploy Ceph.
77

88
The Cephadm integration takes the form of custom playbooks that wrap
99
around the Ansible `stackhpc.cephadm collection
@@ -19,10 +19,10 @@ create or modify Ceph cluster deployments. Supported features are:
1919
Resources
2020
=========
2121

22-
- https://docs.ceph.com/en/pacific/cephadm/index.html
23-
- https://docs.ceph.com/en/pacific/
2422
- https://docs.ceph.com/en/quincy/cephadm/index.html
2523
- https://docs.ceph.com/en/quincy/
24+
- https://docs.ceph.com/en/reef/cephadm/index.html
25+
- https://docs.ceph.com/en/reef/
2626
- https://github.com/stackhpc/ansible-collection-cephadm
2727

2828
Configuration
@@ -107,7 +107,7 @@ OSD specification
107107
~~~~~~~~~~~~~~~~~
108108

109109
The following example is a basic OSD spec that adds OSDs for all
110-
available disks:
110+
available disks with encryption at rest:
111111

112112
.. code:: yaml
113113
@@ -118,9 +118,10 @@ available disks:
118118
host_pattern: "*"
119119
data_devices:
120120
all: true
121+
encrypted: true
121122
122123
More information about OSD service placement is available
123-
`here <https://docs.ceph.com/en/pacific/cephadm/services/osd/#advanced-osd-service-specifications>`__.
124+
`here <https://docs.ceph.com/en/quincy/cephadm/services/osd/#advanced-osd-service-specifications>`__.
124125

125126
Container image
126127
~~~~~~~~~~~~~~~
@@ -264,6 +265,24 @@ post-deployment configuration is applied. Commands in the
264265
``cephadm_commands_post`` list are executed after the rest of the Ceph
265266
post-deployment configuration is applied.
266267

268+
Messenger v2 encryption in transit
269+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270+
271+
Messenger v2 is the default on-wire protocol since the Nautilus release. It
272+
supports `encryption of data in transit
273+
<https://docs.ceph.com/en/quincy/rados/configuration/msgr2/#connection-mode-configuration-options>`_,
274+
but this is not used by default. It may be enabled as follows:
275+
276+
.. code:: yaml
277+
278+
# A list of commands to pass to cephadm shell -- ceph. See stackhpc.cephadm.commands
279+
# for format.
280+
cephadm_commands_pre:
281+
# Enable messenger v2 encryption in transit.
282+
- "config set global ms_cluster_mode secure"
283+
- "config set global ms_service_mode secure"
284+
- "config set global ms_client_mode secure"
285+
267286
Manila & CephFS
268287
~~~~~~~~~~~~~~~
269288

etc/kayobe/environments/ci-multinode/cephadm.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
###############################################################################
33
# Cephadm deployment configuration.
44

5-
# Ceph release name.
6-
cephadm_ceph_release: "{{ 'quincy' if (ansible_facts['distribution_release'] == 'jammy' or ansible_facts.distribution_major_version == '9') else 'pacific' }}"
7-
8-
# Ceph container image tag.
9-
cephadm_image_tag: "{{ 'v17.2.7' if cephadm_ceph_release == 'quincy' else 'v16.2.14' }}"
10-
115
# Ceph OSD specification.
126
cephadm_osd_spec:
137
service_type: osd

0 commit comments

Comments
 (0)