Add IMAGES_ALLOW_LOCATION configuration option.

IMAGES_ALLOW_LOCATION is needed to be able to specify an external location
during image creation.

Change-Id: I102a14577415549ac12e6cf7d62bafd48d95c1bf
This commit is contained in:
Marc Gariepy 2017-05-31 14:14:47 -04:00 committed by Jesse Pretorius (odyssey4me)
parent 5f325f86be
commit e20f12cc3a
3 changed files with 11 additions and 0 deletions

View File

@ -95,6 +95,7 @@ horizon_dropdown_max_items: 30
horizon_instance_log_length: 35
horizon_overview_days_range: 1
horizon_images_upload_mode: direct
horizon_images_allow_location: False
horizon_time_zone: UTC
horizon_enforce_password_check: False
horizon_disable_password_reveal: False

View File

@ -0,0 +1,5 @@
---
features:
- The ``horizon_images_allow_location`` variable is added to support the
``IMAGES_ALLOW_LOCATION`` setting in the horizon_local_settings.py file to
allow to specify and external location during the image creation.

View File

@ -356,6 +356,11 @@ IMAGE_RESERVED_CUSTOM_PROPERTIES = []
# image form. See documentation for deployment considerations.
HORIZON_IMAGES_UPLOAD_MODE = '{{ horizon_images_upload_mode }}'
# Allow a location to be set when creating or updating Glance images.
# If using Glance V2, this value should be False unless the Glance
# configuration and policies allow setting locations.
IMAGES_ALLOW_LOCATION = '{{ horizon_images_allow_location }}'
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
# in the Keystone service catalog. Use this setting when Horizon is running
# external to the OpenStack environment. The default is 'publicURL'.