Enable glance-api show_image_direct_url for COW
authorFrançois Charlier <francois.charlier@redhat.com>
Mon, 21 Sep 2015 16:52:38 +0000 (18:52 +0200)
committerFrançois Charlier <francois.charlier@redhat.com>
Tue, 22 Sep 2015 13:39:54 +0000 (15:39 +0200)
Setting `show_image_direct_url` to true allows to enable Copy-On-Write
features when using some storage backends across Nova, Cinder & Glance.
It allows for example nearly instantaneous creation of instances root
disk and volumes when using RBD as a storage backend for all projects by
using Ceph features instead of downloading from Ceph via Glance, then
convert the image, then upload to Ceph via Nova or Cinder.

Change-Id: I1f56273c6b7c8d3922799cae07a66eebc0884205

puppet/hieradata/controller.yaml

index 9929cfa..798e63f 100644 (file)
@@ -61,6 +61,7 @@ swift::proxy::account_autocreate: true
 
 # glance
 glance::api::pipeline: 'keystone'
+glance::api::show_image_direct_url: true
 glance::registry::pipeline: 'keystone'
 glance::backend::swift::swift_store_create_container_on_put: true
 glance::backend::rbd::rbd_store_user: 'openstack'