Merge "Set HORIZON_IMAGES_UPLOAD_MODE to direct by default"
This commit is contained in:
commit
a599e91178
@ -151,3 +151,6 @@ auth_endpoint = {{ keystone_internal_url }}
|
|||||||
barbican_endpoint_type = internal
|
barbican_endpoint_type = internal
|
||||||
verify_ssl_path = {{ openstack_cacert }}
|
verify_ssl_path = {{ openstack_cacert }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
[cors]
|
||||||
|
allowed_origin = {{ horizon_public_endpoint }}
|
||||||
|
@ -415,7 +415,7 @@ IMAGE_RESERVED_CUSTOM_PROPERTIES = []
|
|||||||
# Horizon server. When enabled, a file form field will appear on the create
|
# Horizon server. When enabled, a file form field will appear on the create
|
||||||
# image form. If set to 'off', there will be no file form field on the create
|
# image form. If set to 'off', there will be no file form field on the create
|
||||||
# image form. See documentation for deployment considerations.
|
# image form. See documentation for deployment considerations.
|
||||||
#HORIZON_IMAGES_UPLOAD_MODE = 'legacy'
|
HORIZON_IMAGES_UPLOAD_MODE = 'direct'
|
||||||
|
|
||||||
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
|
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
|
||||||
# in the Keystone service catalog. Use this setting when Horizon is running
|
# in the Keystone service catalog. Use this setting when Horizon is running
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
``HORIZON_IMAGES_UPLOAD_MODE`` is now set to ``'direct'`` by default.
|
||||||
|
This improves image uploads from clients, because these no longer use
|
||||||
|
Horizon's webserver as a staging area - the image upload goes directly
|
||||||
|
to Glance API.
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
``HORIZON_IMAGES_UPLOAD_MODE`` is now set to ``'direct'`` by default.
|
||||||
|
In order to retain the previous default (``'legacy'``) - please
|
||||||
|
set ``HORIZON_IMAGES_UPLOAD_MODE: 'legacy'`` in your
|
||||||
|
``custom_local_settings`` file.
|
Loading…
Reference in New Issue
Block a user