commit | b170b11cf2c8d8740734dfcf35d703f026d7c07e | [log] [tgz] |
---|---|---|
author | Andrey Shestakov <ashestakov@mirantis.com> | Thu Jun 15 18:39:23 2017 +0300 |
committer | Andrey Shestakov <ashestakov@mirantis.com> | Thu Jun 15 18:39:23 2017 +0300 |
tree | dd04a74b640105c33a954561c075037ab7bb95ad | |
parent | 14c4a8dbaa537126c50ad39933cf7a0b44a6d107 [diff] |
Add fixes for images. Change-Id: I4af226a0b406b3eccd1a52b99123193a3086ad5e
diff --git a/horizon/files/horizon_settings/_glance_settings.py b/horizon/files/horizon_settings/_glance_settings.py index 67fa3c3..cc3fc85 100644 --- a/horizon/files/horizon_settings/_glance_settings.py +++ b/horizon/files/horizon_settings/_glance_settings.py
@@ -35,3 +35,6 @@ "project_id": _("Project ID"), "image_type": _("Image Type") } + +HORIZON_IMAGES_UPLOAD_MODE = "legacy" +IMAGES_ALLOW_LOCATION = True
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py index 14b317c..6dc19a5 100644 --- a/horizon/files/horizon_settings/_local_settings.py +++ b/horizon/files/horizon_settings/_local_settings.py
@@ -209,3 +209,7 @@ {%- endif %} SESSION_COOKIE_HTTPONLY = {{ app.get('session_cookie_httponly', True) }} BOOT_ONLY_FROM_VOLUME = {{ app.get('boot_only_from_volume', True) }} + +REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', + 'LAUNCH_INSTANCE_DEFAULTS', + 'OPENSTACK_IMAGE_FORMATS']