@@ -26,40 +26,22 @@ Requirements
26
26
Refer to http://docs.ceph.com/docs/master/rbd/rbd-openstack/ for details on
27
27
creating the pool and keyrings with appropriate permissions for each service.
28
28
29
- Enabling External Ceph
30
- ~~~~~~~~~~~~~~~~~~~~~~
31
-
32
- To activate external Ceph integration you need to enable Ceph backend.
33
- This can be done individually per service in ``/etc/kolla/globals.yml ``:
34
-
35
- .. code-block :: yaml
36
-
37
- glance_backend_ceph : " yes"
38
- cinder_backend_ceph : " yes"
39
- nova_backend_ceph : " yes"
40
- gnocchi_backend_storage : " ceph"
41
- enable_manila_backend_cephfs_native : " yes"
42
-
43
- Edit the Inventory File
44
- ~~~~~~~~~~~~~~~~~~~~~~~
45
-
46
- When using external Ceph, there may be no nodes defined in the storage group.
47
- This will cause Cinder and related services relying on this group to fail.
48
- In this case, operator should add some nodes to the storage group, all the
49
- nodes where ``cinder-volume `` and ``cinder-backup `` will run:
50
-
51
- .. code-block :: ini
52
-
53
- [storage]
54
- compute01
55
-
56
29
Configuring External Ceph
57
30
~~~~~~~~~~~~~~~~~~~~~~~~~
58
31
32
+ Ceph integration is configured for different OpenStack services independently.
33
+
59
34
Glance
60
35
------
61
36
62
- Configuring Glance for Ceph includes the following steps:
37
+ Ceph RBD can be used as a storage backend for Glance images. Configuring Glance
38
+ for Ceph includes the following steps:
39
+
40
+ #. Enable Glance Ceph backend in ``globals.yml ``:
41
+
42
+ .. code-block :: yaml
43
+
44
+ glance_backend_ceph : " yes"
63
45
64
46
#. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
65
47
@@ -85,7 +67,24 @@ Configuring Glance for Ceph includes the following steps:
85
67
Cinder
86
68
------
87
69
88
- Configuring Cinder for Ceph includes following steps:
70
+ Ceph RBD can be used as a storage backend for Cinder volumes. Configuring
71
+ Cinder for Ceph includes following steps:
72
+
73
+ #. When using external Ceph, there may be no nodes defined in the storage
74
+ group. This will cause Cinder and related services relying on this group to
75
+ fail. In this case, operator should add some nodes to the storage group,
76
+ all the nodes where ``cinder-volume `` and ``cinder-backup `` will run:
77
+
78
+ .. code-block :: ini
79
+
80
+ [storage]
81
+ control01
82
+
83
+ #. Enable Cinder Ceph backend in ``globals.yml ``:
84
+
85
+ .. code-block :: yaml
86
+
87
+ cinder_backend_ceph : " yes"
89
88
90
89
#. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
91
90
@@ -116,22 +115,42 @@ Configuring Cinder for Ceph includes following steps:
116
115
``cinder-backup `` requires two keyrings for accessing volumes
117
116
and backup pool.
118
117
118
+ Nova must also be configured to allow access to Cinder volumes:
119
+
120
+ #. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
121
+
122
+ * ``ceph_cinder_keyring `` (default: ``ceph.client.cinder.keyring ``)
123
+
124
+ #. Copy Ceph keyring file(s) to:
125
+
126
+ * ``/etc/kolla/config/nova/<ceph_cinder_keyring> ``
127
+
119
128
Nova
120
129
----
121
130
131
+ Ceph RBD can be used as a storage backend for Nova instance ephemeral disks.
132
+ This avoids the requirement for local storage for instances on compute nodes.
133
+ It improves the performance of migration, since instances' ephemeral disks do
134
+ not need to be copied between hypervisors.
135
+
122
136
Configuring Nova for Ceph includes following steps:
123
137
138
+ #. Enable Nova Ceph backend in ``globals.yml ``:
139
+
140
+ .. code-block :: yaml
141
+
142
+ nova_backend_ceph : " yes"
143
+
124
144
#. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
125
145
126
- * ``ceph_cinder_keyring `` (default: `` ceph.client.cinder.keyring ``)
127
- * `` ceph_nova_keyring `` (by default it's the same as ceph_cinder_keyring )
146
+ * ``ceph_nova_keyring `` (by default it's the same as
147
+ `` ceph_cinder_keyring `` )
128
148
* ``ceph_nova_user `` (default: ``nova ``)
129
149
* ``ceph_nova_pool_name `` (default: ``vms ``)
130
150
131
151
#. Copy Ceph configuration file to ``/etc/kolla/config/nova/ceph.conf ``
132
152
#. Copy Ceph keyring file(s) to:
133
153
134
- * ``/etc/kolla/config/nova/<ceph_cinder_keyring> ``
135
154
* ``/etc/kolla/config/nova/<ceph_nova_keyring> `` (if your Ceph deployment
136
155
created one)
137
156
@@ -144,8 +163,15 @@ Configuring Nova for Ceph includes following steps:
144
163
Gnocchi
145
164
-------
146
165
166
+ Ceph object storage can be used as a storage backend for Gnocchi metrics.
147
167
Configuring Gnocchi for Ceph includes following steps:
148
168
169
+ #. Enable Gnocchi Ceph backend in ``globals.yml ``:
170
+
171
+ .. code-block :: yaml
172
+
173
+ gnocchi_backend_storage : " ceph"
174
+
149
175
#. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
150
176
151
177
* ``ceph_gnocchi_keyring ``
@@ -159,10 +185,15 @@ Configuring Gnocchi for Ceph includes following steps:
159
185
Manila
160
186
------
161
187
162
- Configuring Manila for Ceph includes following steps:
188
+ CephFS can be used as a storage backend for Manila shares. Configuring Manila
189
+ for Ceph includes following steps:
190
+
191
+ #. Enable Manila Ceph backend in ``globals.yml ``:
192
+
193
+ .. code-block :: yaml
194
+
195
+ enable_manila_backend_cephfs_native : " yes"
163
196
164
- #. Configure CephFS backend by setting ``enable_manila_backend_cephfs_native ``
165
- to ``true ``
166
197
#. Configure Ceph authentication details in ``/etc/kolla/globals.yml ``:
167
198
168
199
* ``ceph_manila_keyring `` (default: ``ceph.client.manila.keyring ``)
0 commit comments