From 8cc72b88f651c626d6b650ed09b7d51ffaf7a669 Mon Sep 17 00:00:00 2001 From: Eric Caron Date: Tue, 30 May 2017 10:20:16 -0400 Subject: [PATCH] Enable ability to upload Glance images through Horizon by default As described in at https://bugs.launchpad.net/horizon/+bug/1632383 it seems that Horizon doesn't allow adding Glance images through the UI by default. Modified Horizon local settings to allow image creation. Change-Id: If690ac47cb6141a33ff3018a669ee12c8c0aee31 --- horizon/templates/etc/_local_settings.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/horizon/templates/etc/_local_settings.tpl b/horizon/templates/etc/_local_settings.tpl index f7adcc87ad..5f1d582f77 100644 --- a/horizon/templates/etc/_local_settings.tpl +++ b/horizon/templates/etc/_local_settings.tpl @@ -645,7 +645,9 @@ SECURITY_GROUP_RULES = { # the enabled panel configuration. # You should not add settings to this list for out of tree extensions. # See: https://wiki.openstack.org/wiki/Horizon/RESTAPI -REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES'] +REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', + 'LAUNCH_INSTANCE_DEFAULTS', + 'OPENSTACK_IMAGE_FORMATS'] # Additional settings can be made available to the client side for # extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS