Skip to content

Commit 6bb1639

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Adapt the admin guide to describe the direct RBD export"
2 parents 91d283b + a33f455 commit 6bb1639

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/source/admin/configuration/hypervisor-kvm.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,36 @@ Local `LVM volumes
260260
used. Set the :oslo.config:option:`libvirt.images_volume_group` configuration
261261
option to the name of the LVM group you have created.
262262

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+
263293
Specify the CPU model of KVM guests
264294
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265295

0 commit comments

Comments
 (0)