Merge "Synchronize REST_API_REQUIRED_SETTINGS with Horizon"

This commit is contained in:
Zuul 2020-09-09 09:17:35 +00:00 committed by Gerrit Code Review
commit ec34132b25
2 changed files with 24 additions and 3 deletions

View File

@ -785,9 +785,16 @@ 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',
'LAUNCH_INSTANCE_DEFAULTS',
'OPENSTACK_IMAGE_FORMATS']
REST_API_REQUIRED_SETTINGS = [
'CREATE_IMAGE_DEFAULTS',
'DEFAULT_BOOT_SOURCE',
'ENFORCE_PASSWORD_CHECK',
'LAUNCH_INSTANCE_DEFAULTS',
'OPENSTACK_HYPERVISOR_FEATURES',
'OPENSTACK_IMAGE_FORMATS',
'OPENSTACK_KEYSTONE_BACKEND',
'OPENSTACK_KEYSTONE_DEFAULT_DOMAIN',
]
# Additional settings can be made available to the client side for
# extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS

View File

@ -0,0 +1,14 @@
---
upgrade:
- |
The default value of ``REST_API_REQUIRED_SETTINGS`` was synchronized with
Horizon. You may want to review settings exposed by the `updated
configuration
<https://docs.openstack.org/horizon/latest/configuration/settings.html#rest-api-required-settings>`__.
fixes:
- |
Updates the default value of ``REST_API_REQUIRED_SETTINGS`` in Horizon
``local_settings``, which enables some features such as `selecting the
default boot source for instances
<https://docs.openstack.org/horizon/latest/configuration/settings.html#default-boot-source>`__.
`LP#1891024 <https://launchpad.net/bugs/1891024>`__