From 941398b22cb2f5be9eaa4131e876b10921b8e5b2 Mon Sep 17 00:00:00 2001 From: Byron McCollum Date: Wed, 25 Oct 2017 11:54:49 -0500 Subject: [PATCH] IMAGES_ALLOW_LOCATION Wrongly Templated As String In the template file horizon_local_settings.py.j2, the IMAGES_ALLOW_LOCATION value is being set as a string, when it should be a bool. Change-Id: I6589fe93abab76243d30136babaa7b1e95989243 Closes-Bug: 1727438 --- templates/horizon_local_settings.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index e2965f90..d142ac0e 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -368,7 +368,7 @@ 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 }}' +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