From: John Wilkins Date: Thu, 31 Oct 2013 00:44:24 +0000 (-0700) Subject: doc: Restored show_image_direct and added a link to older versions. X-Git-Tag: v0.73~52^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9aa708ac53cff5149c40b24694880dcb6bad7b1;p=ceph.git doc: Restored show_image_direct and added a link to older versions. Signed-off-by: John Wilkins --- diff --git a/doc/rbd/rbd-openstack.rst b/doc/rbd/rbd-openstack.rst index da0a2313bbd..7f709adb15f 100644 --- a/doc/rbd/rbd-openstack.rst +++ b/doc/rbd/rbd-openstack.rst @@ -47,13 +47,17 @@ Two parts of OpenStack integrate with Ceph's block devices: to boot VMs, or to attach volumes to running VMs. OpenStack manages volumes using Cinder services. -You can use OpenStack Glance to store images in a Ceph Block Device, and you +You can use OpenStack Glance to store images in a Ceph Block Device, and you can use Cinder to boot a VM using a copy-on-write clone of an image. The instructions below detail the setup for Glance and Cinder, although they do not have to be used together. You may store images in Ceph block devices while running VMs using a local disk, or vice versa. +.. tip:: This document describes using Ceph Block Devices with OpenStack Havana. + For earlier versions of OpenStack see + `Block Devices and OpenStack (Dumpling)`_. + .. index:: pools; OpenStack Create a Pool @@ -152,6 +156,14 @@ default, edit ``/etc/glance/glance-api.conf`` and add:: rbd_store_user=images rbd_store_pool=images +If you’re using Folsom and want to enable copy-on-write cloning of images into +volumes, also add:: + + show_image_direct_url=True + +Note that this exposes the back end location via Glance’s API, so the endpoint +with this option enabled should not be publicly accessible. + Configuring Cinder ------------------ @@ -212,3 +224,4 @@ instance, choosing the image that you created the volume from, and selecting 'boot from volume' and the volume you created. .. _qemu-img: ../qemu-rbd/#running-qemu-with-rbd +.. _Block Devices and OpenStack (Dumpling): http://ceph.com/docs/dumpling/rbd/rbd-openstack \ No newline at end of file