File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
doc/source/admin/configuration Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,36 @@ Local `LVM volumes
260
260
used. Set the :oslo.config:option: `libvirt.images_volume_group ` configuration
261
261
option to the name of the LVM group you have created.
262
262
263
+ Direct download of images from Ceph
264
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265
+
266
+ When the Glance image service is set up with the Ceph backend and Nova is using
267
+ a local ephemeral store (``[libvirt]/images_type!=rbd ``), it is possible to
268
+ configure Nova to download images directly into the local compute image cache.
269
+
270
+ With the following configuration, images are downloaded using the RBD export
271
+ command instead of using the Glance HTTP API. In some situations, especially
272
+ for very large images, this could be substantially faster and can improve the
273
+ boot times of instances.
274
+
275
+ On the Glance API node in ``glance-api.conf ``:
276
+
277
+ .. code-block :: ini
278
+
279
+ [DEFAULT]
280
+ show_image_direct_url =true
281
+
282
+ On the Nova compute node in nova.conf:
283
+
284
+ .. code-block :: ini
285
+
286
+ [glance]
287
+ enable_rbd_download =true
288
+ rbd_user =glance
289
+ rbd_pool =images
290
+ rbd_ceph_conf =/etc/ceph/ceph.conf
291
+ rbd_connect_timeout =5
292
+
263
293
Specify the CPU model of KVM guests
264
294
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265
295
You can’t perform that action at this time.
0 commit comments