]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: openstack glance mitaka uses show_multiple_locations
authorSébastien Han <seb@redhat.com>
Wed, 16 Nov 2016 12:36:45 +0000 (13:36 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 17 Nov 2016 09:57:36 +0000 (10:57 +0100)
As of the Mitaka release show_image_direct_url is not needed, but
instead show_multiple_locations should be used.
Adding the necessary guidance for Mitaka release.

Signed-off-by: Sébastien Han <seb@redhat.com>
doc/rbd/rbd-openstack.rst

index c26e5f5a4f0186db8687fe84bcaaaeab1085e986..6248644d6c6aa0a6655ea7749afa36829ea076b0 100644 (file)
@@ -218,8 +218,9 @@ Edit ``/etc/glance/glance-api.conf`` and add under the ``[glance_store]`` sectio
 .. important:: Glance has not completely moved to 'store' yet.
     So we still need to configure the store in the DEFAULT section until Kilo.
 
-Kilo
-~~~~
+Kilo and after
+~~~~~~~~~~~~~~
+
 Edit ``/etc/glance/glance-api.conf`` and add under the ``[glance_store]`` section::
 
     [glance_store]
@@ -232,15 +233,29 @@ Edit ``/etc/glance/glance-api.conf`` and add under the ``[glance_store]`` sectio
 
 For more information about the configuration options available in Glance please refer to the OpenStack Configuration Reference: http://docs.openstack.org/.
 
-Any OpenStack version
-~~~~~~~~~~~~~~~~~~~~~
+Enable copy-on-write cloning of images
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Note that this exposes the back end location via Glance's API, so the endpoint
+with this option enabled should not be publicly accessible.
+
+Any OpenStack version except Mitaka
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 If you want to enable copy-on-write cloning of images, also add under the ``[DEFAULT]`` section::
 
     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.
+For Mitaka only
+^^^^^^^^^^^^^^^
+
+To enable image locations and take advantage of copy-on-write cloning for images, add under the ``[DEFAULT]`` section::
+
+    show_multiple_locations = True
+    show_image_direct_url = True
+
+Disable cache management (any OpenStack version)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Disable the Glance cache management to avoid images getting cached under ``/var/lib/glance/image-cache/``,
 assuming your configuration file has ``flavor = keystone+cachemanagement``::