Ensure create a volume from image

This patch aims to add this extra config based on the
openstack docs[1] that allows an user to create a volume
from an image

[1] https://docs.openstack.org/cinder/latest/admin/blockstorage-volume-backed-image.html

Change-Id: Iefdaf569dfdab4e28a8fe41a0846d103b5a7ce23
Closes-Bug: 1812185
This commit is contained in:
Guilherme Steinmüller 2019-01-22 17:28:01 +00:00
parent b047ad2109
commit 3dd035bbf8
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ default_volume_type = {{ cinder_default_volume_type }}
{% if cinder_backends is defined %}
enabled_backends={% for backend in cinder_backends|dictsort %}{{ backend.0 }}{% if not loop.last %},{% endif %}{% endfor %}
# Ensure that user can create a new volume by cloning image-volume
allowed_direct_url_schemes = cinder
# All given backend(s)
{% for backend_section in cinder_backends|dictsort %}
[{{ backend_section.0 }}]